:root {
  --ink: #122334;
  --muted: #526375;
  --navy: #081725;
  --navy-2: #102b3e;
  --paper: #f6f2e9;
  --paper-2: #fffdf8;
  --cyan: #40d6c6;
  --cyan-dark: #0e756e;
  --orange: #ff9c5a;
  --red: #b94f45;
  --line: #d8d2c6;
  --shadow: 0 24px 70px rgba(8, 23, 37, .12);
  --sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
}
a { color: var(--cyan-dark); text-underline-offset: .18em; }
a:hover { color: #074e4a; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -8rem; z-index: 99; padding: .7rem 1rem; background: white; color: var(--navy); }
.skip-link:focus { top: 1rem; }
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 50; background: transparent; }
.progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--orange)); }

.hero {
  color: #f7fbff;
  background:
    radial-gradient(circle at 79% 16%, rgba(64,214,198,.19), transparent 28rem),
    linear-gradient(135deg, var(--navy) 0%, #0a2133 58%, #123446 100%);
  min-height: 760px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px; right: -250px; bottom: -280px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018);
}
.topbar, .hero-grid, .decision-section, .route-lab, .gates, .report-layout, .downloads, footer {
  width: min(1420px, calc(100% - 64px)); margin-inline: auto;
}
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 88px; border-bottom: 1px solid rgba(255,255,255,.14); position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: .65rem; color: white; text-decoration: none; font-weight: 700; letter-spacing: .01em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--cyan); color: var(--cyan); font: 700 23px/1 Georgia, serif; border-radius: 50%; }
.toplinks { display: flex; gap: 1.5rem; }
.toplinks a { color: #dce8ef; text-decoration: none; font-size: 15.5px; }
.toplinks a:hover { color: white; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; min-height: 650px; padding: 70px 0 90px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1rem; color: var(--cyan); font-size: 14px; line-height: 1.4; letter-spacing: .16em; font-weight: 800; }
.eyebrow.dark { color: var(--cyan-dark); }
.hero h1 { margin: 0; font-size: clamp(42px, 5.2vw, 78px); line-height: 1.08; letter-spacing: -.04em; max-width: 900px; }
.hero h1 span { color: var(--cyan); }
.hero-deck { color: #c7d6df; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.65; max-width: 760px; margin: 1.65rem 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.35rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.2rem; min-height: 48px; border-radius: 4px; text-decoration: none; font-size: 16px; font-weight: 700; }
.button.primary { background: var(--cyan); color: var(--navy); }
.button.primary:hover { background: #74e4d8; }
.button.secondary { border: 1px solid rgba(255,255,255,.34); color: white; }
.button.secondary:hover { border-color: white; }
.asof { color: #91a7b5; font-size: 14.5px; }
.signal-panel { background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.17); padding: clamp(1.5rem, 3vw, 2.6rem); box-shadow: 0 35px 80px rgba(0,0,0,.23); backdrop-filter: blur(10px); }
.signal-label { color: #97afbd; font-size: 14px; letter-spacing: .08em; margin-bottom: 1.1rem; }
.signal { display: grid; grid-template-columns: 70px 1fr; gap: 1.15rem; align-items: start; padding: 1rem 0; }
.signal time { color: var(--cyan); font-size: 22px; font-weight: 800; line-height: 1.25; }
.signal.negative time { color: var(--orange); }
.signal strong { display: block; color: white; font-size: 18px; line-height: 1.45; }
.signal span { display: block; color: #b8c9d3; font-size: 15px; line-height: 1.65; margin-top: .35rem; }
.signal-axis { display: flex; align-items: center; gap: .7rem; color: #9bb1be; font-size: 13px; }
.signal-axis::before, .signal-axis::after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.17); }
.signal-verdict { margin: 1rem 0 0; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.14); color: #ecf5f8; font-weight: 700; line-height: 1.6; }

.decision-section { padding: 110px 0 70px; }
.section-heading { max-width: 850px; margin-bottom: 3rem; }
.section-heading.compact { margin-bottom: 2rem; }
.section-heading h2, .downloads h2 { margin: .2rem 0 .7rem; font-size: clamp(32px, 4vw, 53px); line-height: 1.18; letter-spacing: -.035em; }
.section-heading > p:last-child { color: var(--muted); font-size: 19px; }
.decision-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.decision-card { grid-column: span 3; position: relative; min-height: 355px; padding: 1.65rem; background: var(--paper-2); border: 1px solid var(--line); box-shadow: 0 9px 30px rgba(17,35,52,.05); }
.decision-card.lead { background: var(--navy); color: white; border-color: var(--navy); transform: translateY(-12px); box-shadow: var(--shadow); }
.card-index { position: absolute; right: 1.4rem; top: 1.1rem; color: #c6beb0; font: 700 36px/1 Georgia, serif; }
.lead .card-index { color: rgba(255,255,255,.24); }
.tag { display: inline-block; color: var(--cyan-dark); background: #e2f5f2; padding: .2rem .5rem; font-size: 13px; font-weight: 800; letter-spacing: .05em; }
.lead .tag { color: var(--navy); background: var(--cyan); }
.decision-card h3 { margin: 1.6rem 0 .8rem; font-size: 28px; line-height: 1.25; }
.decision-card p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.lead p { color: #c4d4dd; }
.decision-card strong { display: block; margin-top: 1.2rem; color: var(--cyan-dark); font-size: 15px; line-height: 1.6; }
.lead strong { color: var(--cyan); }

.route-lab { margin-top: 45px; padding: clamp(2rem, 5vw, 4.5rem); background: #e9e3d7; border: 1px solid #d4ccbd; }
.route-tabs { display: flex; gap: .6rem; flex-wrap: wrap; }
.route-tabs button { border: 1px solid #bcb4a7; background: transparent; color: var(--ink); font: 700 15px/1.4 var(--sans); min-height: 46px; padding: .7rem 1rem; cursor: pointer; }
.route-tabs button[aria-selected="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.route-panel { margin-top: 1.4rem; display: grid; grid-template-columns: minmax(180px, .4fr) 1fr; gap: 2rem; align-items: center; background: var(--paper-2); border-left: 5px solid var(--cyan-dark); padding: 1.5rem 1.7rem; min-height: 150px; }
.route-panel h3 { margin: 0; font-size: 32px; }
.route-panel p { margin: 0; color: var(--muted); }

.gates { padding: 100px 0 115px; }
.gate-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1.2rem; align-items: stretch; }
.gate-flow article { background: var(--paper-2); border-top: 5px solid var(--cyan-dark); padding: 1.5rem; }
.gate-flow article span { color: var(--cyan-dark); font-size: 13px; letter-spacing: .12em; font-weight: 800; }
.gate-flow h3 { margin: .45rem 0 .6rem; font-size: 23px; }
.gate-flow p { margin: 0; color: var(--muted); font-size: 15.5px; }
.gate-flow i { align-self: center; color: var(--orange); font-style: normal; font-size: 32px; }

.report-layout { display: grid; grid-template-columns: 250px minmax(0, 920px); gap: clamp(2rem, 5vw, 5.5rem); justify-content: center; align-items: start; background: var(--paper-2); border: 1px solid var(--line); padding: clamp(2rem, 5vw, 5rem); box-shadow: var(--shadow); }
.toc-wrap { position: sticky; top: 35px; max-height: calc(100vh - 70px); overflow: auto; padding-right: .5rem; }
.toc-wrap > p { margin-top: 0; color: var(--cyan-dark); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
#toc { display: grid; gap: .4rem; border-left: 1px solid var(--line); }
#toc a { display: block; color: #667483; text-decoration: none; font-size: 13.5px; line-height: 1.4; padding: .35rem 0 .35rem .85rem; border-left: 3px solid transparent; margin-left: -2px; }
#toc a:hover, #toc a.active { color: var(--navy); border-left-color: var(--cyan-dark); }
.report-prose { min-width: 0; }
.report-prose > p:first-child { margin-top: 0; }
.report-prose h2 { margin: 5rem 0 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 35px; line-height: 1.3; letter-spacing: -.025em; }
.report-prose h2:first-of-type { margin-top: 1rem; border-top: 0; }
.report-prose h3 { margin: 2.7rem 0 1rem; font-size: 25px; line-height: 1.4; }
.report-prose h4 { margin: 2rem 0 .8rem; font-size: 20px; }
.report-prose p, .report-prose li { color: #273b4c; }
.report-prose strong { color: #081d2c; }
.report-prose blockquote { margin: 2rem 0; padding: 1.2rem 1.4rem; background: #e8f4f2; border-left: 5px solid var(--cyan-dark); font-size: 19px; }
.report-prose blockquote p { margin: 0; }
.report-prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.5rem 0 2.4rem; font-size: 15px; line-height: 1.58; }
.report-prose th, .report-prose td { min-width: 125px; padding: .85rem .8rem; text-align: left; vertical-align: top; border: 1px solid #d7d1c5; }
.report-prose th { background: var(--navy); color: white; }
.report-prose tr:nth-child(even) td { background: #f7f3eb; }
.report-prose code { font-size: .9em; }
.report-prose hr { border: 0; border-top: 1px solid var(--line); margin: 4rem 0; }

.downloads { margin-top: 100px; margin-bottom: 90px; background: var(--navy); color: white; padding: clamp(2rem, 5vw, 4.5rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.downloads > div:first-child p:last-child { color: #b6c7d1; }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.download-grid a { display: flex; flex-direction: column; justify-content: center; min-height: 105px; padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,.2); color: white; text-decoration: none; }
.download-grid a:hover { border-color: var(--cyan); background: rgba(64,214,198,.07); }
.download-grid strong { font-size: 16px; }
.download-grid span { color: #9db1bd; font-size: 13.5px; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.3rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; padding-top: 60px; }
  .hero { min-height: auto; }
  .signal-panel { max-width: 780px; }
  .decision-card { grid-column: span 6; }
  .report-layout { grid-template-columns: 1fr; }
  .toc-wrap { position: static; max-height: none; }
  #toc { grid-template-columns: repeat(2, 1fr); border-left: 0; }
  .downloads { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; line-height: 1.72; }
  .topbar, .hero-grid, .decision-section, .route-lab, .gates, .report-layout, .downloads, footer { width: min(100% - 32px, 1420px); }
  .topbar { min-height: 72px; }
  .brand span:last-child { display: none; }
  .toplinks { gap: .8rem; }
  .toplinks a { font-size: 14px; }
  .hero-grid { padding: 48px 0 70px; }
  .hero h1 { font-size: clamp(39px, 12vw, 58px); }
  .signal { grid-template-columns: 58px 1fr; gap: .75rem; }
  .decision-section { padding: 75px 0 40px; }
  .decision-grid { display: block; }
  .decision-card { min-height: auto; margin-bottom: .8rem; }
  .decision-card.lead { transform: none; }
  .route-lab { padding: 1.4rem; }
  .route-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .route-panel { grid-template-columns: 1fr; gap: .7rem; }
  .gates { padding: 70px 0; }
  .gate-flow { grid-template-columns: 1fr; }
  .gate-flow i { transform: rotate(90deg); justify-self: center; }
  .report-layout { width: 100%; border-inline: 0; padding: 2rem 1rem; box-shadow: none; }
  #toc { grid-template-columns: 1fr; }
  .report-prose h2 { font-size: 28px; }
  .report-prose h3 { font-size: 22px; }
  .report-prose table { font-size: 14px; }
  .downloads { margin-top: 60px; padding: 1.5rem; }
  .download-grid { grid-template-columns: 1fr; }
  footer { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
