/* mapscompass.com — MAPS™ 四维罗盘
   设计系统: VISUAL-CORE Light 套（纸感编辑风，参照 "Good content deserves good paper"） */
:root {
  --bg: #F8FAFC;
  --section-bg: #F1F5F9;
  --card: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --ocean: #0369A1;
  --amber: #F59E0B;
  --cta-bg: #CA8A04;
  --cta-hover: #EAB308;
  --link: #0369A1;
  --border: #E2E8F0;
  --control-border: #64748B;
  --radius: 14px;
  --max-width: 1080px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.logo:hover {
  text-decoration: none;
  color: var(--ocean);
}
.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 15px;
}
.main-nav a:hover {
  color: var(--ocean);
  text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--cta-bg);
  color: var(--text-primary);
}
.btn-primary:hover {
  background: var(--cta-hover);
  color: var(--text-primary);
}
.btn-secondary {
  background: var(--card);
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--ocean);
  color: var(--ocean);
}
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-compass {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 480px;
  height: 480px;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ocean);
  text-transform: uppercase;
  margin-bottom: 20px;
}
h1 {
  font-size: 44px;
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
  max-width: 620px;
}
.hero-byline {
  font-size: 14px;
  color: var(--text-muted);
  margin: 14px 0 0;
}

/* ---------- Sections ---------- */
section {
  padding: 64px 0;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
.section-title {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0 0 40px;
}

/* ---------- Narrative ---------- */
.narrative p {
  font-size: 18px;
  line-height: 1.85;
  margin: 0 0 24px;
  color: var(--text-primary);
}
.narrative p:last-child {
  margin-bottom: 0;
}

/* ---------- Four dimension cards ---------- */
.dim-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.dim-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.dim-letter {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--ocean);
  line-height: 1;
  margin-bottom: 12px;
}
.dim-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.dim-name .en {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.dim-name .zh {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.dim-slogan {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 14px;
}
.dim-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}
.card-footnote {
  margin-top: 28px;
  text-align: center;
}

/* ---------- Three-path section ---------- */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.path-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.path-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ocean);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.path-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 14px;
}
.path-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 22px;
  flex-grow: 1;
}

/* ---------- About ---------- */
.about-body {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-primary);
  max-width: 720px;
}
.about-link {
  margin-top: 20px;
  display: inline-block;
}

/* ---------- Subscribe ---------- */
.subscribe {
  background: var(--section-bg);
}
.subscribe-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.subscribe-box .section-title,
.subscribe-box .section-sub {
  margin-left: auto;
  margin-right: auto;
}
.subscribe-box .section-sub {
  max-width: 480px;
}
.kajabi-embed-slot {
  margin-top: 24px;
}
.subscribe-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.subscribe-input {
  font: inherit;
  color: var(--text-primary);
  background: var(--card);
  border: 1px solid var(--control-border);
  border-radius: 999px;
  padding: 12px 22px;
  width: 100%;
  min-width: 0;
  max-width: 360px;
}
.subscribe-input::placeholder {
  color: #64748B;
  opacity: 1;
}
.subscribe-input:focus {
  outline: 2px solid var(--ocean);
  outline-offset: 1px;
  border-color: var(--ocean);
}
.hp-field {
  display: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.subscribe-note {
  font-size: 14px;
  color: var(--text-muted);
  margin: 14px 0 0;
}
.subscribe-done {
  display: none;
  margin: 16px 0 0;
  color: var(--ocean);
}
.subscribe-done:target {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  background: var(--bg);
}
.site-footer .footer-tagline {
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 20px;
}
.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--ocean);
}
.footer-copyright {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Framework page ---------- */
.page-header {
  padding: 72px 0 40px;
}
.page-header h1 {
  font-size: 38px;
}
.page-header .hero-sub {
  max-width: 680px;
}
.provenance {
  font-size: 14px;
  color: var(--text-muted);
  margin: 16px 0 0;
}
.provenance a {
  color: var(--ocean);
}
.definition-footnote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.definition-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-primary);
}
.formula-block {
  text-align: center;
  padding: 48px 0;
}
.formula {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 16px;
  line-height: 1.6;
  word-break: break-word;
}
.formula-note {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.dim-detail {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 36px;
  margin-bottom: 20px;
}
.dim-detail:last-child {
  margin-bottom: 0;
}
.dim-detail-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.dim-detail-letter {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--ocean);
  line-height: 1;
}
.dim-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.dim-detail-slogan {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 18px;
}
.dim-detail dl {
  margin: 0;
}
.dim-detail dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 18px 0 6px;
}
.dim-detail dt:first-child {
  margin-top: 0;
}
.dim-detail dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ---------- Four-step runway ---------- */
.runway-section .section-sub {
  margin-bottom: 12px;
}
.runway-relation {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 40px;
  max-width: 640px;
}
.runway {
  display: flex;
  gap: 0;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}
.runway-step {
  flex: 1;
  position: relative;
  padding: 24px 20px;
  text-align: center;
}
.runway-step::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
}
.runway-step:last-child::after {
  content: none;
}
.runway-num {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ocean);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ocean);
}
.runway-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.runway-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}
.runway-output {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 10px 0 0;
}
.runway-closing {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin: 40px auto 0;
  max-width: 560px;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:first-child {
  padding-top: 0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
}
.faq-a {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- Cite block ---------- */
.cite-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.cite-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.cite-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  word-break: break-word;
}

/* ---------- Bottom CTA band ---------- */
.cta-band {
  background: var(--section-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.cta-band-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 28px;
  color: var(--text-primary);
}
.cta-band .cta-row {
  justify-content: center;
  margin-top: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 32px;
  }
  .hero {
    padding: 56px 0 40px;
  }
  .hero-compass {
    width: 280px;
    height: 280px;
    top: -40px;
    right: -80px;
    opacity: 0.5;
  }
  .hero-sub {
    font-size: 17px;
  }
  section {
    padding: 48px 0;
  }
  .section-title {
    font-size: 24px;
  }
  .dim-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }
  .dim-card,
  .path-card,
  .definition-block,
  .dim-detail,
  .subscribe-box,
  .cta-band {
    padding: 24px;
  }
  .runway {
    flex-direction: column;
    gap: 24px;
  }
  .runway-step::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -20px;
    transform: translateX(50%);
  }
  .formula {
    font-size: 20px;
  }
  .cta-band-title {
    font-size: 21px;
  }
  .page-header {
    padding: 48px 0 32px;
  }
  .page-header h1 {
    font-size: 28px;
  }
  .main-nav {
    gap: 16px;
  }
  .main-nav a {
    font-size: 14px;
    display: inline-block;
    padding: 12px 8px;
    margin: -12px -8px;
  }
}
@media (max-width: 420px) {
  .wrap {
    padding: 0 18px;
  }
}
