/* ==========================================================================
   JindoLab — 孩子的数学探索乐园 · 官方网站
   视觉系统：东方星图 × 现代编辑部
   ========================================================================== */

@font-face {
  font-family: "Jindo Serif";
  src: url("./fonts/noto-serif-sc-subset.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jindo Sans";
  src: url("./fonts/noto-sans-sc-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jindo Latin";
  src: url("./fonts/space-grotesk-subset.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jindo Brush";
  src: url("./fonts/ma-shan-zheng-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --space: #06070f;
  --space-2: #0a0d1a;
  --space-3: #101528;
  --space-4: #171d36;

  --paper: #f4ecda;
  --paper-2: #ece0c8;
  --paper-3: #fbf6e9;
  --ink: #161b27;
  --ink-2: #4f4d43;
  --ink-3: #68655a;

  --gold: #f2c25c;
  --gold-bright: #ffe6a6;
  --gold-deep: #b8842b;
  --gold-ink: #8a6116;
  --coral-ink: #b8442f;
  --coral: #ff7358;
  --coral-2: #f25c41;
  --jade: #4fd6b8;
  --violet: #9b86ff;

  --text: #f6f1e5;
  --muted: #a9a89b;
  --muted-2: #8f8e83;

  --line: rgb(246 241 229 / 11%);
  --line-strong: rgb(246 241 229 / 20%);
  --line-gold: rgb(242 194 92 / 24%);
  --line-ink: rgb(22 27 39 / 14%);

  --serif: "Jindo Serif", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "Jindo Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --latin: "Jindo Latin", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --brush: "Jindo Brush", "Ma Shan Zheng", "STKaiti", "KaiTi", cursive;

  --wrap: 1240px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 0.68, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* 字阶：内容层只用下面这几档，不要再插中间值。
     9 / 10px 仅限微缩模拟界面（.map-card__* / .ledger__* / .report__* / .writ-card__*）。
     展示级标题走 clamp()，装饰数字（54–76px）单独保留。 */
  /* 12 · 14 · 16 · 17 · 20 · 24 · 30 */
}

[hidden] {
  display: none !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--space);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.014em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--coral);
  color: #1a0c08;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.mono {
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  position: relative;
}

.section {
  position: relative;
  padding-block: clamp(88px, 11vw, 150px);
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

.section--paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(120% 80% at 85% 0%, rgb(255 255 255 / 55%), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgb(184 132 43 / 9%), transparent 60%);
}

.section--paper > .wrap {
  z-index: 1;
}

.display {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 4.9vw, 4.45rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance;
}

.section--paper .display {
  color: var(--ink);
}

.display em {
  font-style: normal;
  color: var(--coral-2);
  background: linear-gradient(transparent 64%, rgb(242 194 92 / 36%) 64%);
  padding-inline: 0.04em;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.kicker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgb(255 115 88 / 14%);
}

.kicker--ink {
  color: var(--gold-ink);
}

.lead {
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.95;
  color: var(--muted);
  max-width: 42em;
  text-wrap: pretty;
}

.section--paper .lead {
  color: var(--ink-2);
}

.lead strong {
  color: var(--text);
  font-weight: 600;
}

.section--paper .lead strong {
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    transform 0.35s var(--ease),
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn--lg {
  min-height: 56px;
  padding: 0.85rem 1.7rem;
  font-size: 16px;
}

.btn--coral {
  background: linear-gradient(135deg, #ff8b67, var(--coral-2));
  color: #200d08;
  box-shadow:
    0 14px 34px rgb(242 92 65 / 28%),
    inset 0 1px 0 rgb(255 255 255 / 36%);
}

.btn--coral:hover {
  box-shadow:
    0 18px 42px rgb(242 92 65 / 38%),
    inset 0 1px 0 rgb(255 255 255 / 42%);
}

.btn--coral .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.btn--coral:hover .icon {
  transform: translateX(3px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgb(255 255 255 / 3%);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--line-gold);
  background: rgb(242 194 92 / 8%);
  color: var(--gold-bright);
}

.btn--line {
  border-color: var(--line-gold);
  color: var(--gold);
  background: transparent;
}

.btn--line:hover {
  border-color: var(--gold);
  background: rgb(242 194 92 / 9%);
}

.btn--text {
  background: transparent;
  color: var(--text);
  padding-inline: 0.4rem;
}

.btn--text:hover {
  color: var(--gold-bright);
}

.btn__play {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.btn__play .icon {
  width: 13px;
  height: 13px;
  fill: currentcolor;
  stroke: none;
  margin-left: 2px;
}

.btn--text:hover .btn__play {
  border-color: var(--gold);
  background: rgb(242 194 92 / 10%);
}

.seal {
  display: inline-grid;
  place-content: center;
  width: 84px;
  height: 84px;
  padding: 8px;
  border: 2px solid var(--coral-2);
  border-radius: 50%;
  color: var(--coral-2);
  font-family: var(--brush);
  font-size: 20px;
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0.06em;
  transform: rotate(-9deg);
  opacity: 0.82;
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px rgb(242 92 65 / 45%);
}

.section:not(.section--paper) .seal {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: inset 0 0 0 3px var(--space), inset 0 0 0 4px rgb(242 194 92 / 35%);
}

.seal--sm {
  width: 62px;
  height: 62px;
  font-size: 16px;
  border-width: 1.5px;
}

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal-delay="1"] {
  --reveal-delay: 1;
}

.js [data-reveal-delay="2"] {
  --reveal-delay: 2;
}

.js [data-reveal-delay="3"] {
  --reveal-delay: 3;
}

.js [data-reveal-delay="4"] {
  --reveal-delay: 4;
}

/* ---------- boot / grain / progress ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 50% at 50% 45%, #12162a, #06070f 70%);
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.boot.is-done {
  opacity: 0;
  visibility: hidden;
}

.boot__inner {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.boot__mark {
  width: 74px;
  height: 74px;
}

.boot__ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
  animation: drawRing 1.1s var(--ease-out) forwards;
}

.boot__star {
  fill: var(--gold);
  transform-origin: 32px 32px;
  transform: scale(0) rotate(-40deg);
  animation: starIn 0.7s 0.45s var(--ease-out) forwards;
}

.boot__word {
  font-family: var(--latin);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--text);
  opacity: 0;
  animation: fadeUp 0.6s 0.4s var(--ease-out) forwards;
}

.boot__bar {
  width: 180px;
  height: 1px;
  background: rgb(255 255 255 / 12%);
  overflow: hidden;
}

.boot__bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-100%);
  animation: bootBar 1.2s 0.2s var(--ease) forwards;
}

.boot__hint {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
  opacity: 0;
  animation: fadeUp 0.6s 0.6s var(--ease-out) forwards;
}

@keyframes drawRing {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes starIn {
  to {
    transform: scale(1) rotate(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bootBar {
  to {
    transform: translateX(0);
  }
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-2%, 2%);
  }

  40% {
    transform: translate(3%, -1%);
  }

  60% {
    transform: translate(-1%, 3%);
  }

  80% {
    transform: translate(2%, 1%);
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgb(6 7 15 / 78%);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(130%);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1360px, calc(100% - var(--gutter) * 2));
  height: 82px;
  margin-inline: auto;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

/* 标志本身只有 34px 高，用伪元素把可点区域撑到 44px，版面不动 */
.brand::after {
  content: "";
  position: absolute;
  inset: -5px -6px;
}

.brand__mark {
  width: 38px;
  height: 38px;
}

.brand__word {
  font-family: var(--latin);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}

.brand__word span {
  color: var(--gold);
  font-weight: 500;
}

.brand--mini .brand__mark {
  width: 26px;
  height: 26px;
}

.brand--mini .brand__word {
  font-size: 16px;
  color: var(--ink);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav__links a {
  position: relative;
  font-size: 14px;
  color: rgb(246 241 229 / 74%);
  transition: color 0.25s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.35s var(--ease);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.nav__links a:active {
  color: var(--gold-bright);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__cta {
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  font-size: 14px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav__toggle span:first-child {
  top: 18px;
}

.nav__toggle span:last-child {
  top: 24px;
}

.nav__toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 40px;
  background:
    radial-gradient(70% 50% at 80% 10%, rgb(242 92 65 / 12%), transparent 60%),
    var(--space);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__nav {
  display: grid;
  gap: 0;
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 600;
  color: var(--text);
}

.mobile-menu__nav span {
  font-family: var(--latin);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.mobile-menu__foot {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: 112px;
  overflow: hidden;
  isolation: isolate;
}

.hero__sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 72% 28%, #181d3b 0%, transparent 55%),
    radial-gradient(70% 70% at 20% 90%, #141326 0%, transparent 60%),
    linear-gradient(180deg, #070811 0%, #06070f 55%, #080a14 100%);
}

#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero__glow--gold {
  width: 46vw;
  height: 46vw;
  right: -8vw;
  top: 8%;
  background: radial-gradient(circle, rgb(242 194 92 / 34%), transparent 65%);
}

.hero__glow--coral {
  width: 30vw;
  height: 30vw;
  left: -10vw;
  bottom: 2%;
  background: radial-gradient(circle, rgb(242 92 65 / 24%), transparent 66%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgb(242 194 92 / 14%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(242 194 92 / 14%) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(70% 60% at 60% 40%, #000 0%, transparent 78%);
}

.hero__clouds {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 46%;
  opacity: 0.9;
}

.cloud-layer--far {
  animation: cloudDrift 40s ease-in-out infinite alternate;
}

.cloud-layer--near {
  animation: cloudDrift 30s -8s ease-in-out infinite alternate-reverse;
}

@keyframes cloudDrift {
  from {
    transform: translateX(-1.5%);
  }

  to {
    transform: translateX(1.5%);
  }
}

.ink-cloud {
  position: absolute;
  width: 48vw;
  height: 18vw;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.5;
  background: radial-gradient(ellipse at center, rgb(120 133 178 / 18%), transparent 68%);
}

.ink-cloud--a {
  top: 18%;
  left: 5%;
  animation: inkFloat 16s ease-in-out infinite alternate;
}

.ink-cloud--b {
  right: 2%;
  bottom: 22%;
  width: 38vw;
  animation: inkFloat 21s -6s ease-in-out infinite alternate-reverse;
}

@keyframes inkFloat {
  from {
    transform: translate3d(-2%, 0, 0) scale(1);
  }

  to {
    transform: translate3d(3%, -3%, 0) scale(1.08);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  width: min(1300px, calc(100% - var(--gutter) * 2));
  margin: auto;
  padding-block: 24px 8px;
  position: relative;
  z-index: 2;
}

.hero__copy {
  position: relative;
  z-index: 3;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.05rem, 6.15vw, 6.7rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 30px;
}

.hero__title .line {
  display: block;
  white-space: nowrap;
}

.hero__title .line--accent {
  background: linear-gradient(100deg, var(--gold-bright) 4%, var(--gold) 48%, #e6a63c 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.strike {
  position: relative;
  display: inline-block;
  color: #8b8c84;
}

.strike svg {
  position: absolute;
  left: -4%;
  top: 44%;
  width: 108%;
  height: 0.26em;
  overflow: visible;
  transform: rotate(-2.5deg);
}

.strike svg path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: strikeIn 1s 0.9s var(--ease-out) forwards;
  filter: drop-shadow(0 0 8px rgb(255 115 88 / 40%));
}

@keyframes strikeIn {
  to {
    stroke-dashoffset: 0;
  }
}

.hero__lead {
  max-width: 39em;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.92;
  color: #b6b4a8;
}

.hero__lead strong {
  color: var(--gold-bright);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 46px);
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}

.hero__stats div {
  position: relative;
  padding-right: clamp(20px, 3.4vw, 46px);
}

.hero__stats div + div::before {
  content: "";
  position: absolute;
  left: calc(clamp(20px, 3.4vw, 46px) * -0.5);
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: var(--line);
}

.hero__stats dt {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.hero__stats dd {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.hero__stats small {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 5px;
}

.hero__stage {
  position: relative;
  width: min(100%, 550px);
  aspect-ratio: 1 / 1.02;
  margin-inline: auto;
  perspective: 1400px;
}

.stage__halo {
  position: absolute;
  inset: 2% 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.stage__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgb(242 194 92 / 20%);
}

.stage__ring--1 {
  width: 92%;
  height: 92%;
  border-style: dashed;
  border-color: rgb(242 194 92 / 16%);
  animation: spin 90s linear infinite;
}

.stage__ring--2 {
  width: 72%;
  height: 72%;
  border-color: rgb(246 241 229 / 8%);
}

.stage__ring--3 {
  width: 54%;
  height: 54%;
  border-color: rgb(242 194 92 / 22%);
  animation: spin 60s linear infinite reverse;
}

.stage__ring--1::before,
.stage__ring--3::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 3px rgb(242 194 92 / 50%);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.stage__sun {
  position: absolute;
  width: 48%;
  height: 48%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgb(255 230 166 / 55%), rgb(242 194 92 / 18%) 45%, transparent 70%);
  filter: blur(2px);
  box-shadow:
    0 0 80px 20px rgb(242 194 92 / 12%),
    inset 0 0 60px rgb(242 194 92 / 18%);
}

.stage__sun::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgb(242 194 92 / 26%);
}

.stage__seal {
  position: absolute;
  top: 9%;
  right: 6%;
  writing-mode: vertical-rl;
  font-family: var(--brush);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 0.95;
  color: var(--coral);
  opacity: 0.55;
  transform: rotate(6deg);
  letter-spacing: 0.1em;
  text-shadow: 0 0 24px rgb(255 115 88 / 30%);
}

.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1300px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero__scroll i {
  display: block;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  position: relative;
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: scrollDot 2.6s var(--ease) infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translateX(-34px);
    opacity: 0;
  }
}

.hero__note {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

/* ---------- hero product card ---------- */
.map-card {
  --tilt-x: 4deg;
  --tilt-y: -9deg;
  position: absolute;
  left: 42.5%;
  top: 50%;
  z-index: 2;
  width: min(330px, 70%);
  padding: 17px;
  border: 1px solid rgb(242 194 92 / 24%);
  border-radius: 24px;
  background:
    linear-gradient(155deg, rgb(28 34 64 / 96%), rgb(10 13 27 / 98%) 68%),
    var(--space-3);
  box-shadow:
    0 50px 100px rgb(0 0 0 / 55%),
    0 0 0 1px rgb(255 255 255 / 3%) inset,
    0 0 80px rgb(242 194 92 / 8%);
  transform:
    translate(-50%, -50%)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    rotateZ(1.2deg);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgb(246 241 229 / 6%);
  border-radius: 24px;
  pointer-events: none;
}

.map-card__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgb(246 241 229 / 8%);
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.map-card__dots {
  display: flex;
  gap: 4px;
}

.map-card__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(246 241 229 / 20%);
}

.map-card__dots i:first-child {
  background: var(--coral);
}

.map-card__file {
  flex: 1;
}

.map-card__live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--jade);
}

.map-card__live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 8px var(--jade);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.map-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 4px 4px;
}

.map-card__head .mono {
  font-size: 10px;
  margin-bottom: 4px;
  color: var(--gold);
}

.map-card__head .map-card__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.map-card__stage {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  color: var(--muted-2);
  margin-left: 7px;
  letter-spacing: 0.06em;
}

.map-card__pct {
  display: flex;
  align-items: baseline;
  color: var(--gold);
  line-height: 1;
}

.map-card__pct strong {
  font-family: var(--latin);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.map-card__pct span {
  font-family: var(--latin);
  font-size: 12px;
  margin-left: 1px;
}

.map-card__path {
  position: relative;
  height: 200px;
  margin: 6px 0 10px;
}

.mini-route {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mini-route__base {
  fill: none;
  stroke: rgb(246 241 229 / 13%);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
}

.mini-route__lit {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgb(242 194 92 / 45%));
}

.mini-route__stops circle {
  stroke-width: 1.2;
}

.mini-route__stops circle.is-done {
  fill: rgb(242 194 92 / 16%);
  stroke: var(--gold);
}

.mini-route__stops circle.is-now {
  fill: var(--coral);
  stroke: #ffd2c6;
  filter: drop-shadow(0 0 8px rgb(255 115 88 / 65%));
}

.mini-route__stops circle.is-locked {
  fill: #11162a;
  stroke: rgb(246 241 229 / 22%);
}

.mini-route__stops text {
  font-family: var(--sans);
  font-size: 10px;
  text-anchor: middle;
  dominant-baseline: central;
  fill: var(--gold-bright);
}

.mini-route__stops text.is-now {
  fill: #2a0d08;
  font-weight: 700;
}

.mini-route__stops text.is-locked {
  fill: var(--muted-2);
}

.map-tag {
  position: absolute;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgb(10 13 27 / 82%);
  border: 1px solid rgb(246 241 229 / 10%);
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.map-tag--a {
  left: 5%;
  bottom: 15%;
}

.map-tag--b {
  right: 0;
  top: 41%;
}

.map-tag--c {
  left: 0;
  top: 27%;
  color: var(--coral);
  border-color: rgb(255 115 88 / 35%);
}

.map-tag--d {
  right: 12%;
  top: 0;
}

.map-card__now {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid rgb(242 194 92 / 16%);
  border-radius: 16px;
  background: rgb(242 194 92 / 6%);
}

.map-card__now-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.map-card__now-copy span {
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.map-card__now-copy strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.map-card__go {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: #221605;
  font-size: 9px;
  font-weight: 700;
  flex: none;
}

.map-card__go .icon {
  width: 11px;
  height: 11px;
}

.float-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgb(246 241 229 / 12%);
  border-radius: 16px;
  background: rgb(12 15 31 / 88%);
  box-shadow: 0 24px 50px rgb(0 0 0 / 40%);
  backdrop-filter: blur(16px);
  padding: 13px 15px;
  animation: floatY 7s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

.float-card--ai {
  top: 2%;
  right: -6%;
  width: 188px;
  padding: 12px 13px;
}

.float-card__top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgb(79 214 184 / 35%);
  color: var(--jade);
}

.float-card__icon .icon {
  width: 11px;
  height: 11px;
}

.float-card__value {
  margin: 9px 0 4px;
  font-size: 12px;
  color: var(--text);
}

.float-card__value b {
  font-family: var(--latin);
  font-size: 16px;
  color: var(--jade);
  margin-left: 3px;
}

.sparkline {
  width: 100%;
  height: 38px;
  overflow: visible;
}

.sparkline__area {
  fill: rgb(79 214 184 / 10%);
}

.sparkline__line {
  fill: none;
  stroke: var(--jade);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sparkline circle {
  fill: var(--jade);
  filter: drop-shadow(0 0 5px var(--jade));
}

.float-card__meta {
  display: block;
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.03em;
}

.float-card--teacher {
  left: -10%;
  bottom: 0%;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 246px;
  padding: 11px 12px;
  animation-delay: -3s;
}

.float-card--teacher .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
}

.float-card--teacher p {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.55;
  color: var(--text);
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.float-chip--streak {
  top: 9%;
  left: 2%;
  padding: 7px 12px;
  border: 1px solid rgb(242 194 92 / 30%);
  background: rgb(242 194 92 / 9%);
  color: var(--gold-bright);
  font-size: 9px;
  letter-spacing: 0.03em;
  animation: floatY 6s -2s ease-in-out infinite;
}

.float-chip--streak .icon {
  width: 11px;
  height: 11px;
  color: var(--gold);
}

.float-chip--streak b {
  font-family: var(--latin);
  font-size: 14px;
}

.float-chip--fraction {
  right: 2%;
  bottom: 5%;
  width: 58px;
  height: 58px;
  justify-content: center;
  border: 1px solid rgb(255 115 88 / 30%);
  background: rgb(255 115 88 / 8%);
  color: var(--coral);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  animation: floatY 8s -4s ease-in-out infinite;
}

.float-chip--fraction small {
  font-size: 14px;
  opacity: 0.6;
  margin-inline: 1px;
  transform: translateY(5px);
  display: inline-block;
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #080a13;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  padding: 15px 0;
  animation: marquee 34s linear infinite;
}

.marquee span {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.16em;
  color: rgb(246 241 229 / 56%);
  white-space: nowrap;
}

.marquee i {
  font-style: normal;
  font-size: 9px;
  color: var(--gold);
  opacity: 0.7;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   WHY / 我们的想法
   ========================================================================== */
.why {
  overflow: hidden;
}

.why::after {
  content: "6→1";
  position: absolute;
  right: -0.06em;
  bottom: -0.24em;
  font-family: var(--latin);
  font-size: 30vw;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(22 27 39 / 7%);
  pointer-events: none;
}

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.why__copy .display {
  font-size: clamp(2.25rem, 4.2vw, 3.85rem);
  margin-bottom: 30px;
}

.why__copy .lead {
  max-width: 34em;
}

.timebars {
  margin-top: 46px;
  max-width: 540px;
}

.timebar + .timebar {
  margin-top: 22px;
}

.timebar__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.timebar__label b {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
}

.timebar__track {
  height: 12px;
  border-radius: 999px;
  background: rgb(22 27 39 / 7%);
  border: 1px solid rgb(22 27 39 / 8%);
  overflow: hidden;
}

.timebar__track i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: repeating-linear-gradient(115deg, #bdb29a 0 8px, #c8bda4 8px 16px);
}

.timebar--jindo .timebar__track i {
  background: linear-gradient(90deg, var(--coral), #ff9d69);
  box-shadow: 0 0 16px rgb(255 115 88 / 35%);
}

.timebar p {
  margin-top: 7px;
  font-size: 12px;
  color: var(--ink-3);
}

.timebars__note {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.03em;
}

.ledger {
  position: relative;
  margin-top: 20px;
  padding: 30px;
  border: 1px solid rgb(22 27 39 / 16%);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 50%), rgb(236 224 200 / 30%)),
    var(--paper-3);
  box-shadow:
    0 30px 70px rgb(74 62 40 / 12%),
    inset 0 0 0 5px var(--paper-3),
    inset 0 0 0 6px rgb(22 27 39 / 8%);
  transform: rotate(0.7deg);
}

.ledger::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 96px;
  height: 22px;
  transform: translateX(-50%) rotate(-1.5deg);
  background: rgb(242 194 92 / 26%);
  border: 1px solid rgb(184 132 43 / 16%);
  opacity: 0.8;
}

.ledger__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-ink);
}

.ledger__head .mono {
  color: var(--ink-3);
  font-size: 9px;
}

.ledger__head h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.ledger__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  position: relative;
  padding: 24px 0 22px;
}

.ledger__vs {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(22 27 39 / 16%);
  border-radius: 50%;
  background: var(--paper-3);
  color: var(--ink-3);
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.05em;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.ledger__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.ledger__col--new .ledger__tag {
  color: var(--coral-ink);
}

.ledger__col ul {
  display: grid;
  gap: 13px;
}

.ledger__col li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}

.ledger__col li i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
  flex: none;
}

.ledger__col--old li i {
  border: 1px solid rgb(22 27 39 / 16%);
  color: var(--ink-3);
}

.ledger__col--new li i {
  background: rgb(255 115 88 / 14%);
  color: var(--coral-2);
  font-weight: 700;
}

.ledger__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-ink);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.ledger__foot .seal {
  flex: none;
}

/* ==========================================================================
   POWERS / 四件法宝
   ========================================================================== */
.powers {
  background:
    radial-gradient(70% 50% at 82% 0%, rgb(242 92 65 / 10%), transparent 55%),
    radial-gradient(50% 40% at 6% 65%, rgb(155 134 255 / 8%), transparent 60%),
    var(--space);
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(42px, 5vw, 66px);
}

.section-head .display {
  font-size: clamp(2.35rem, 4.4vw, 4rem);
}

.section-head__note {
  max-width: 330px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted-2);
  text-align: right;
  padding-bottom: 6px;
}

.section--paper .section-head__note {
  color: var(--ink-3);
}

.powers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.power-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 318px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgb(255 255 255 / 4%), transparent 56%),
    rgb(255 255 255 / 2%);
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    background 0.5s var(--ease);
}

.power-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at var(--mx) var(--my), rgb(242 194 92 / 12%), transparent 46%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.power-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-gold);
}

.power-card:hover::before {
  opacity: 1;
}

.power-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.power-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold);
  background: rgb(242 194 92 / 5%);
  transition: background 0.4s var(--ease), transform 0.6s var(--ease);
}

.power-card__icon .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.45;
}

.power-card:hover .power-card__icon {
  background: rgb(242 194 92 / 12%);
  transform: rotate(-7deg) scale(1.05);
}

.power-card__no {
  font-family: var(--latin);
  font-size: 54px;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(246 241 229 / 16%);
}

.power-card__name {
  margin-top: 28px;
  font-family: var(--brush);
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--coral);
}

.power-card h3 {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.power-card__text {
  margin-top: 14px;
  max-width: 33em;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.power-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.power-card__tags span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.power-card__glow {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(242 194 92 / 14%), transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}

.power-card__watermark {
  position: absolute;
  right: 20px;
  bottom: 8px;
  width: 154px;
  height: 154px;
  color: var(--gold);
  fill: none;
  stroke: currentcolor;
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.08;
  pointer-events: none;
}

.powers__strip {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  margin-top: 20px;
  padding: 20px clamp(20px, 2.4vw, 30px);
  border: 1px dashed var(--line-gold);
  border-radius: 16px;
  background: rgb(242 194 92 / 3%);
}

.powers__strip-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.powers__strip-label .icon {
  width: 19px;
  height: 19px;
}

.loopline {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  flex: 1;
  min-width: 0;
}

.loopline li {
  display: grid;
  gap: 1px;
  position: relative;
  white-space: nowrap;
}

.loopline li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: calc(clamp(10px, 1.6vw, 22px) * -0.5 - 5px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--muted-2);
}

.loopline b {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.loopline span {
  font-size: 10px;
  color: var(--muted-2);
}

.loopline__teacher b {
  color: var(--jade);
}

.powers__strip-note {
  font-size: 10px;
  color: var(--muted-2);
  white-space: nowrap;
  text-align: right;
}

/* ==========================================================================
   JOURNEY / 取经地图
   ========================================================================== */
.journey {
  background:
    radial-gradient(60% 50% at 50% 0%, rgb(43 53 96 / 40%), transparent 60%),
    radial-gradient(50% 40% at 100% 70%, rgb(255 115 88 / 7%), transparent 60%),
    #070914;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.map {
  margin-top: 6px;
}

.map__canvas {
  position: relative;
  height: 520px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(50% 90% at 50% 100%, rgb(242 194 92 / 5%), transparent 65%),
    linear-gradient(180deg, rgb(255 255 255 / 2.5%), transparent 45%),
    #090c19;
  overflow: hidden;
}

.map__canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgb(246 241 229 / 70%) 0 0.7px, transparent 1.2px),
    radial-gradient(circle at 72% 18%, rgb(246 241 229 / 50%) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 46% 72%, rgb(246 241 229 / 45%) 0 0.6px, transparent 1.1px),
    radial-gradient(circle at 88% 62%, rgb(242 194 92 / 55%) 0 0.7px, transparent 1.2px);
  background-size: 260px 220px, 340px 300px, 300px 260px, 420px 380px;
  opacity: 0.5;
}

.map__canvas::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background:
    radial-gradient(120% 100% at 50% 120%, rgb(242 194 92 / 9%), transparent 70%),
    linear-gradient(180deg, transparent, rgb(6 7 15 / 70%));
  pointer-events: none;
}

.map__route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}

.map__route-shadow {
  fill: none;
  stroke: rgb(242 194 92 / 16%);
  stroke-width: 8;
  filter: blur(7px);
  stroke-linecap: round;
}

.map__route-path {
  fill: none;
  stroke: url(#goldGrad);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 2 9;
  opacity: 0.7;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}

.map__runner {
  filter: drop-shadow(0 0 7px rgb(255 115 88 / 90%));
}

.map.is-drawn .map__route-path {
  animation: routeFlow 20s linear infinite;
}

@keyframes routeFlow {
  to {
    stroke-dashoffset: -220;
  }
}

.map__stops {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.region-stop {
  --region-color: var(--gold);
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  transform: translate(-50%, -28px);
  text-align: center;
  transition: transform 0.4s var(--ease);
}

.region-stop:nth-child(1) {
  --x: 8.3%;
  --y: 65.6%;
  --region-color: #e7a04a;
}

.region-stop:nth-child(2) {
  --x: 26.7%;
  --y: 38.8%;
  --region-color: #58b7e0;
}

.region-stop:nth-child(3) {
  --x: 43.3%;
  --y: 80.9%;
  --region-color: #a78bfa;
}

.region-stop:nth-child(4) {
  --x: 60%;
  --y: 59.4%;
  --region-color: #c8a56e;
}

.region-stop:nth-child(5) {
  --x: 76.7%;
  --y: 34.6%;
  --region-color: #ff7a5c;
}

.region-stop:nth-child(6) {
  --x: 93.3%;
  --y: 69.9%;
  --region-color: #f3d27a;
}

/* 波谷处的关区把标签翻到图钉上方，否则标签会压出卡片被裁切 */
.region-stop--up {
  flex-direction: column-reverse;
  transform: translate(-50%, calc(-100% + 28px));
}

.region-stop__pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgb(246 241 229 / 20%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgb(255 255 255 / 10%), transparent 55%),
    #0e1324;
  color: var(--region-color);
  box-shadow:
    0 8px 26px rgb(0 0 0 / 45%),
    0 0 0 6px rgb(9 12 25 / 80%);
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease),
    transform 0.4s var(--ease);
}

.region-stop__pin::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px dashed rgb(246 241 229 / 12%);
  border-radius: 50%;
  transition: border-color 0.35s var(--ease), transform 0.6s var(--ease);
}

.region-stop__pin .icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.45;
}

.region-stop__meta {
  display: grid;
  justify-items: center;
  gap: 1px;
  min-width: 92px;
  padding: 7px 10px 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgb(9 12 25 / 62%);
  backdrop-filter: blur(5px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.region-stop__meta small {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.region-stop__meta b {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.region-stop__meta em {
  font-style: normal;
  font-size: 10px;
  color: var(--muted-2);
}

.region-stop:hover {
  transform: translate(-50%, -32px);
}

.region-stop:hover .region-stop__pin,
.region-stop[aria-pressed="true"] .region-stop__pin {
  border-color: var(--region-color);
  background:
    radial-gradient(circle at 35% 28%, rgb(255 255 255 / 16%), transparent 55%),
    #141a2e;
  box-shadow:
    0 10px 30px rgb(0 0 0 / 50%),
    0 0 0 6px rgb(9 12 25 / 85%),
    0 0 26px color-mix(in srgb, var(--region-color) 35%, transparent);
}

.region-stop:hover .region-stop__pin::after,
.region-stop[aria-pressed="true"] .region-stop__pin::after {
  border-color: color-mix(in srgb, var(--region-color) 55%, transparent);
  transform: scale(1.06);
}

.region-stop[aria-pressed="true"] .region-stop__meta {
  border-color: color-mix(in srgb, var(--region-color) 30%, transparent);
  background: color-mix(in srgb, var(--region-color) 9%, rgb(9 12 25 / 80%));
}

.region-stop[aria-pressed="true"] .region-stop__meta b {
  color: var(--region-color);
}

.map__caption {
  position: absolute;
  z-index: 1;
  font-family: var(--brush);
  font-size: 17px;
  letter-spacing: 0.08em;
  color: rgb(246 241 229 / 55%);
}

.map__caption--start {
  left: 3.5%;
  bottom: 3%;
}

.map__caption--end {
  right: 2.5%;
  top: 8%;
  text-align: right;
}

.region-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr 1.1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  margin-top: 16px;
  padding: 26px clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(255 255 255 / 2.5%);
  transition: opacity 0.3s var(--ease);
}

.region-detail.is-switching {
  opacity: 0.28;
}

.region-detail__grade {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

.region-detail h3 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.region-detail__tagline {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.region-detail__mid .mono {
  font-size: 9px;
  margin-bottom: 12px;
  color: var(--muted-2);
}

.region-detail__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.region-detail__topics li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
  background: rgb(255 255 255 / 2%);
}

.region-detail__side {
  padding-left: clamp(20px, 3vw, 42px);
  border-left: 1px solid var(--line);
}

.region-detail__story {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 14px;
}

.region-detail__side .btn {
  min-height: 44px;
  padding: 0.4rem 1rem;
  font-size: 12px;
}

/* ==========================================================================
   METHOD / 故事与交互
   ========================================================================== */
.method {
  overflow: hidden;
}

.method__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}

.method__head .display {
  font-size: clamp(2.6rem, 4.9vw, 4.4rem);
}

.method__intro .lead {
  max-width: 34em;
}

.method__caption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink-2);
}

.method__caption .seal {
  flex: none;
}

.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(44px, 5vw, 68px);
}

.story-card {
  --accent: var(--coral);
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgb(22 27 39 / 13%);
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgb(255 255 255 / 64%), transparent 55%),
    var(--paper-3);
  box-shadow: 0 16px 40px rgb(74 62 40 / 6%);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
  opacity: 0.7;
}

.story-card:hover {
  transform: translateY(-5px) rotate(-0.3deg);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 26px 54px rgb(74 62 40 / 12%);
}

.story-card--bajie {
  --accent: #e07565;
}

.story-card--wukong {
  --accent: #d5a23d;
}

.story-card--sandy {
  --accent: #4b8fa8;
}

.story-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.story-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--paper-3), 0 0 0 4px rgb(22 27 39 / 12%);
}

.story-card__kicker {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  text-align: right;
}

.story-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.story-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 26em;
}

.story-card__math {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed rgb(22 27 39 / 15%);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
}

.story-card__math span {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 7px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: color-mix(in srgb, var(--accent) 75%, #2a1f17);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.story-card__ghost {
  position: absolute;
  right: 12px;
  bottom: 2px;
  font-family: var(--serif);
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--accent) 8%, transparent);
  pointer-events: none;
  letter-spacing: -0.04em;
}

/* ---------- interactive demo ---------- */
.demo {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  margin-top: 18px;
  border-radius: 24px;
  background:
    radial-gradient(80% 90% at 18% 0%, rgb(242 194 92 / 8%), transparent 55%),
    radial-gradient(60% 70% at 90% 100%, rgb(255 115 88 / 8%), transparent 60%),
    #121722;
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 34px 80px rgb(61 49 32 / 18%);
}

.demo__scene {
  padding: clamp(26px, 3.4vw, 44px);
  border-right: 1px solid var(--line);
}

.demo__scene-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.demo__badge {
  padding: 4px 10px;
  border: 1px solid rgb(255 115 88 / 35%);
  border-radius: 999px;
  color: var(--coral);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.demo__story {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 10px;
}

.demo__story .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: none;
}

.demo__story p {
  font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 16.5px);
  line-height: 1.7;
  color: var(--muted);
}

.demo__story b {
  color: var(--gold-bright);
  font-weight: 600;
}

.fraction {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(16px, 2.5vw, 38px);
  align-items: center;
  margin-top: 18px;
}

.fraction__visual {
  position: relative;
}

.fraction__disc {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  overflow: visible;
}

.fraction__plate {
  fill: #191f31;
  stroke: rgb(246 241 229 / 8%);
  stroke-width: 1;
}

.fraction__sector {
  fill: rgb(244 236 218 / 3.5%);
  stroke: rgb(246 241 229 / 14%);
  stroke-width: 1;
  outline: none;
  cursor: pointer;
  transition: fill 0.4s var(--ease), opacity 0.4s var(--ease);
}

.fraction__sector:hover {
  fill: rgb(255 115 88 / 24%);
}

.fraction__sector.is-on {
  fill: rgb(255 115 88 / 82%);
}

.fraction__sector.is-on:hover {
  fill: rgb(255 140 112 / 92%);
}

.fraction__sector:focus-visible {
  outline: none;
  stroke: var(--gold);
  stroke-width: 2.5;
}

.fraction__outline {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  opacity: 0.55;
  pointer-events: none;
}

.fraction__cuts {
  fill: none;
  stroke: rgb(246 241 229 / 22%);
  stroke-width: 1;
  pointer-events: none;
}

.fraction__center {
  fill: var(--gold);
  opacity: 0.8;
  pointer-events: none;
}

.fraction__hint {
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  white-space: nowrap;
}

.fraction__panel {
  min-width: 0;
}

.fraction__readout {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
  font-family: var(--serif);
  color: var(--gold-bright);
}

.fraction__num,
.fraction__den {
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  transition: transform 0.3s var(--ease);
}

.fraction__bar {
  display: block;
  width: 0.86em;
  height: 3px;
  margin: 0.12em 0;
  border-radius: 2px;
  background: var(--coral);
  align-self: center;
}

.fraction__eq {
  margin-top: 10px;
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--coral);
}

.fraction__caption {
  min-height: 3.4em;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.fraction__range-label {
  display: block;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.fraction__range {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  accent-color: var(--coral);
  cursor: pointer;
}

.fraction__dots {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.fraction__dots i {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgb(246 241 229 / 12%);
  transition: background 0.3s var(--ease);
}

.fraction__dots i.is-on {
  background: var(--coral);
}

.fraction__reset {
  position: relative;
  margin-top: 16px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgb(246 241 229 / 25%);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.fraction__reset:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* 文字按钮只有 22px 高，下划线不能动，所以用透明伪元素扩到 44px */
.fraction__reset::after {
  content: "";
  position: absolute;
  inset: -11px -10px;
}

.demo__steps {
  padding: clamp(26px, 3.4vw, 44px);
  background: rgb(255 255 255 / 2%);
}

.demo__steps > .mono {
  font-size: 9px;
  color: var(--gold);
}

.steps {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.steps li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.steps li > span {
  font-family: var(--latin);
  font-size: 10px;
  color: var(--coral);
  padding-top: 3px;
}

.steps b {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.steps p {
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.6;
  margin-top: 2px;
}

.demo__loop {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--jade);
}

.demo__loop .icon {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   GROWTH / 成长记录
   ========================================================================== */
.growth {
  background:
    radial-gradient(60% 60% at 80% 20%, rgb(242 194 92 / 7%), transparent 60%),
    radial-gradient(50% 50% at 10% 80%, rgb(79 214 184 / 6%), transparent 60%),
    var(--space-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.growth__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.growth__copy .display {
  margin-bottom: 26px;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.rhythm {
  margin-top: 40px;
  display: grid;
  gap: 0;
}

.rhythm li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.rhythm li:last-child {
  border-bottom: 1px solid var(--line);
}

.rhythm__week {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding-top: 4px;
}

.rhythm b {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.rhythm p {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.report-wrap {
  position: relative;
  max-width: 510px;
  width: 100%;
  justify-self: end;
}

.report {
  position: relative;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 8px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / 70%), transparent 55%),
    linear-gradient(160deg, #fbf5e6, #eddfc4);
  color: var(--ink);
  box-shadow:
    0 40px 90px rgb(0 0 0 / 45%),
    inset 0 0 0 1px rgb(22 27 39 / 9%),
    inset 0 0 0 6px #f8f1e1,
    inset 0 0 0 7px rgb(22 27 39 / 10%);
  transform: rotate(0.8deg);
}

.report::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgb(22 27 39 / 8%);
  border-radius: 4px;
  pointer-events: none;
}

.report__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgb(22 27 39 / 12%);
}

.report__head .mono {
  font-size: 10px;
  color: var(--ink-3);
}

.report__head h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.report__week {
  padding: 4px 9px;
  border: 1px solid rgb(22 27 39 / 16%);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  white-space: nowrap;
}

.report__kid {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.report__kid .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.report__kid div {
  display: grid;
  line-height: 1.35;
}

.report__kid b {
  font-family: var(--serif);
  font-size: 16px;
}

.report__kid span {
  font-size: 10px;
  color: var(--ink-3);
}

.report__trend {
  margin-left: auto;
  font-size: 10px;
  color: #2e7a58;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgb(46 122 88 / 9%);
}

.report__chart {
  margin-top: 18px;
}

.report__chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ink-3);
}

.report__chart-head b {
  font-family: var(--latin);
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.report__chart-head small {
  font-size: 12px;
  margin-left: 1px;
}

.report__chart svg {
  width: 100%;
  height: 108px;
  margin-top: 4px;
  overflow: visible;
}

.chart__grid path {
  stroke: rgb(22 27 39 / 8%);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.chart__area {
  fill: url(#chartArea);
  opacity: 0;
  transition: opacity 1s 0.4s var(--ease);
}

.chart__line {
  fill: none;
  stroke: var(--coral-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  transition: stroke-dashoffset 1.6s 0.2s var(--ease-out);
}

.chart__dots circle {
  fill: var(--paper-3);
  stroke: var(--coral-2);
  stroke-width: 1.4;
  opacity: 0;
  transition: opacity 0.4s 1.2s var(--ease);
}

.report__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  color: var(--ink-3);
}

.report__bars {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgb(22 27 39 / 10%);
}

.report__bars li {
  display: grid;
  grid-template-columns: 76px 1fr 24px;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: var(--ink-2);
}

.report__bars i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgb(22 27 39 / 8%);
  overflow: hidden;
}

.report__bars b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #e2a83f);
  transition: width 1.2s 0.5s var(--ease-out);
}

.report__bars .is-weak b {
  background: linear-gradient(90deg, var(--coral), #e0543a);
}

.report__bars em {
  font-family: var(--latin);
  font-style: normal;
  font-size: 10px;
  text-align: right;
  color: var(--ink-3);
}

.report-wrap.is-in .chart__line {
  stroke-dashoffset: 0;
}

.report-wrap.is-in .chart__area,
.report-wrap.is-in .chart__dots circle {
  opacity: 1;
}

.report-wrap.is-in .report__bars b {
  width: var(--v);
}

.report__note {
  position: relative;
  margin-top: 16px;
  padding: 13px 14px 13px 16px;
  border-left: 2px solid var(--coral);
  background: rgb(255 255 255 / 46%);
}

.report__note-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--coral-2);
  font-weight: 700;
}

.report__note p {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-2);
}

.report__sign {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  color: var(--ink-3);
  text-align: right;
}

.report__stamp {
  position: absolute;
  right: 16px;
  top: 46%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid rgb(184 68 68 / 55%);
  border-radius: 50%;
  color: rgb(184 68 68 / 72%);
  font-family: var(--brush);
  font-size: 14px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  transform: rotate(-13deg);
  opacity: 0.55;
  box-shadow: inset 0 0 0 3px transparent, inset 0 0 0 4px rgb(184 68 68 / 22%);
  pointer-events: none;
}

.report-wrap__hint {
  margin-top: 14px;
  text-align: right;
  font-size: 10px;
  color: var(--muted-2);
}

/* ==========================================================================
   FIT
   ========================================================================== */
.fit {
  overflow: hidden;
}

.fit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 4vw, 46px);
}

.fit-card {
  position: relative;
  padding-top: 22px;
  border-top: 1.5px solid var(--ink);
}

.fit-card__no {
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.fit-card__tag {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--coral-ink);
  font-weight: 600;
}

.fit-card h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.fit-card p {
  margin-top: 12px;
  max-width: 28em;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}

.fit-card__line {
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 22px;
  background: var(--coral);
  transition: width 0.5s var(--ease);
}

.fit-card:hover .fit-card__line {
  width: 86px;
}

.fit__band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(42px, 5vw, 64px);
  padding: 20px 28px;
  border: 1.5px dashed rgb(22 27 39 / 30%);
  border-radius: 8px;
  background: rgb(255 255 255 / 22%);
}

.fit__band p {
  font-family: var(--serif);
  font-size: clamp(15px, 1.7vw, 19px);
  letter-spacing: 0.04em;
  color: var(--ink);
}

.fit__band .seal {
  flex: none;
}

/* ==========================================================================
   START / 通关文牒
   ========================================================================== */
.start {
  background:
    radial-gradient(60% 50% at 50% 10%, rgb(242 194 92 / 10%), transparent 60%),
    radial-gradient(50% 40% at 90% 70%, rgb(255 115 88 / 7%), transparent 60%),
    #070912;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.start__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.start__sun {
  position: absolute;
  left: 50%;
  top: -14vw;
  width: 54vw;
  height: 54vw;
  max-width: 720px;
  max-height: 720px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(242 194 92 / 14%), transparent 66%);
  border: 1px solid rgb(242 194 92 / 12%);
}

.start__orbit {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  transform: translateX(-50%);
  border: 1px dashed rgb(242 194 92 / 12%);
  border-radius: 50%;
  animation: spin 120s linear infinite;
}

.start__star {
  position: absolute;
  color: var(--gold);
  font-size: 12px;
  opacity: 0.5;
  animation: twinkle 4s ease-in-out infinite;
}

.start__star--1 {
  left: 12%;
  top: 20%;
}

.start__star--2 {
  right: 16%;
  top: 34%;
  animation-delay: -1.5s;
}

.start__star--3 {
  left: 24%;
  bottom: 18%;
  animation-delay: -2.8s;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.8);
  }

  50% {
    opacity: 0.75;
    transform: scale(1.1);
  }
}

.start__head {
  max-width: 730px;
  margin-inline: auto;
  text-align: center;
}

.start__head .kicker {
  justify-content: center;
}

.start__head .display {
  font-size: clamp(2.8rem, 5.6vw, 5rem);
}

.start__head .lead {
  margin: 22px auto 0;
}

.writ {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
  margin-top: clamp(46px, 5vw, 70px);
}

.writ__form {
  padding-top: 8px;
}

.field + .field {
  margin-top: 24px;
}

fieldset.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 9px;
  padding: 0;
  border: 0;
}

.field label span {
  color: var(--muted-2);
}

.field input[type="text"] {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgb(255 255 255 / 3%);
  color: var(--text);
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.06em;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.field input[type="text"]::placeholder {
  color: rgb(246 241 229 / 24%);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.field input[type="text"]:focus {
  outline: none;
  border-color: var(--gold);
  background: rgb(242 194 92 / 4%);
}

.field input[type="text"][aria-invalid="true"] {
  border-color: var(--coral);
}

.field__error {
  margin-top: 8px;
  font-size: 12px;
  color: var(--coral);
}

.pills {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.pills label {
  margin: 0;
  cursor: pointer;
}

.pills input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pills span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}

.pills label:hover span {
  border-color: var(--line-gold);
  color: var(--text);
}

.pills input:checked + span {
  border-color: var(--gold);
  background: rgb(242 194 92 / 10%);
  color: var(--gold-bright);
}

.pills input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.pills--route {
  grid-template-columns: repeat(3, 1fr);
}

.pills--route span {
  min-height: 46px;
  font-size: 14px;
}

.writ__submit {
  width: 100%;
  margin-top: 30px;
}

.writ__privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 10px;
  color: var(--muted-2);
}

.writ__privacy .icon {
  width: 12px;
  height: 12px;
  color: var(--jade);
}

.writ__preview {
  min-width: 0;
}

.writ-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  padding: 10px;
  border-radius: 8px;
  background:
    linear-gradient(150deg, #fbf6e7, #e9dbbf);
  color: var(--ink);
  box-shadow:
    0 40px 90px rgb(0 0 0 / 48%),
    0 0 0 1px rgb(255 255 255 / 20%);
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}

.writ-card__border {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgb(22 27 39 / 28%);
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgb(22 27 39 / 2%) 27px 28px),
    radial-gradient(120% 100% at 100% 0%, rgb(255 255 255 / 50%), transparent 55%);
}

.writ-card__border::before,
.writ-card__border::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgb(22 27 39 / 25%) 0 4px, transparent 4px 9px);
}

.writ-card__border::before {
  top: 8px;
}

.writ-card__border::after {
  bottom: 8px;
}

.writ-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.writ-card__serial {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}

.writ-card__label {
  margin-top: clamp(24px, 3.6vw, 38px);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(30px, 4.3vw, 48px);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  line-height: 1;
  color: var(--ink);
}

.writ-card__kicker {
  margin-top: 9px;
  text-align: center;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}

.writ-card__name-wrap {
  margin-top: clamp(22px, 3vw, 34px);
  padding-bottom: 14px;
  border-bottom: 1px solid rgb(22 27 39 / 20%);
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.writ-card__name-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  padding-bottom: 8px;
  flex: none;
}

.writ-card__name {
  font-family: var(--brush);
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: var(--ink);
  min-height: 1.1em;
  overflow-wrap: anywhere;
}

.writ-card__facts {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.25fr;
  gap: 14px;
  margin-top: 18px;
}

.writ-card__facts dt {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 3px;
}

.writ-card__facts dd {
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
}

.writ-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: 12px;
  border-top: 1px solid rgb(22 27 39 / 14%);
}

.writ-card__foot > span:first-child {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  white-space: nowrap;
}

.writ-card__motto {
  font-size: 10px;
  color: var(--ink-3);
  text-align: right;
  max-width: 30em;
  line-height: 1.6;
}

.writ-card__stamp {
  position: absolute;
  right: 6%;
  top: 29%;
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-content: center;
  gap: 0 4px;
  width: clamp(80px, 10vw, 96px);
  height: clamp(80px, 10vw, 96px);
  border: 3px double rgb(184 68 68 / 82%);
  border-radius: 50%;
  color: rgb(184 68 68 / 88%);
  font-family: var(--brush);
  transform: rotate(-14deg) scale(1.6);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.55s var(--ease-out);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.writ-card__stamp b {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.05;
}

.writ-card__stamp em {
  grid-column: 1 / -1;
  font-family: var(--latin);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: center;
  margin-top: 2px;
}

.writ-card.is-stamped .writ-card__stamp {
  opacity: 0.85;
  transform: rotate(-14deg) scale(1);
}

.writ-card__shine {
  position: absolute;
  inset: -40% -60%;
  z-index: 2;
  background: linear-gradient(115deg, transparent 42%, rgb(255 255 255 / 58%) 50%, transparent 58%);
  transform: translateX(-60%) rotate(8deg);
  opacity: 0;
  pointer-events: none;
}

.writ-card.is-stamped .writ-card__shine {
  animation: cardShine 1.3s 0.15s var(--ease-out) forwards;
}

@keyframes cardShine {
  0% {
    opacity: 0.8;
    transform: translateX(-70%) rotate(8deg);
  }

  100% {
    opacity: 0;
    transform: translateX(70%) rotate(8deg);
  }
}

.writ-spark {
  position: absolute;
  z-index: 5;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  pointer-events: none;
  animation: sparkFly 0.95s var(--delay, 0ms) cubic-bezier(0.16, 0.8, 0.3, 1) forwards;
}

.writ-spark:nth-child(3n) {
  background: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

@keyframes sparkFly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.2);
    opacity: 0;
  }
}

.writ-card.is-shaking {
  animation: shake 0.4s;
}

@keyframes shake {
  20%,
  60% {
    transform: translateX(-5px);
  }

  40%,
  80% {
    transform: translateX(5px);
  }
}

.writ__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  /* 与上方文牒同宽同右边界，图标不再落在卡片左侧 */
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
  margin-left: auto;
}

.writ__actions .btn--coral {
  position: relative;
  flex: 1;
  min-width: 260px;
  padding-inline: 56px;
}

.writ__actions .btn--coral .icon {
  position: absolute;
  right: 22px;
  top: 50%;
  translate: 0 -50%;
}

.writ__actions .btn--coral:hover .icon {
  transform: translateX(3px);
}

.writ__caption {
  max-width: 600px;
  margin-top: 12px;
  margin-left: auto;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted-2);
}

/* ==========================================================================
   试玩六关 / 加顾问
   ========================================================================== */
.exam,
.qrcode {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3.6vw, 44px);
}

.exam[hidden],
.qrcode[hidden] {
  display: none;
}

.exam__scrim,
.qrcode__scrim {
  position: absolute;
  inset: 0;
  background: rgb(4 5 12 / 80%);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.exam.is-open .exam__scrim,
.qrcode.is-open .qrcode__scrim {
  opacity: 1;
}

.exam__panel,
.qrcode__panel {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  max-height: min(90vh, 900px);
  overflow-y: auto;
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: 24px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgb(255 255 255 / 70%), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgb(184 132 43 / 10%), transparent 62%),
    linear-gradient(160deg, #fcf8ee, #ece0c6);
  color: var(--ink);
  box-shadow:
    0 44px 100px rgb(0 0 0 / 58%),
    inset 0 0 0 1px rgb(22 27 39 / 10%),
    inset 0 0 0 6px #f8f1e1,
    inset 0 0 0 7px rgb(22 27 39 / 8%);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.32s var(--ease), transform 0.42s var(--ease-out);
}

.exam.is-open .exam__panel,
.qrcode.is-open .qrcode__panel {
  opacity: 1;
  transform: none;
}

.exam__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.exam__head .mono,
.qrcode__kicker {
  color: var(--gold-ink);
}

.exam__title,
.qrcode__title {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.exam__who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-3);
}

.exam__who b {
  font-weight: 600;
  color: var(--ink);
}

.exam__who span::before {
  content: '·';
  margin-right: 8px;
}

.exam__close,
.qrcode__close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  padding: 0;
  border: 1px solid rgb(22 27 39 / 18%);
  border-radius: 50%;
  background: rgb(255 255 255 / 40%);
  color: var(--ink-2);
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.3s var(--ease);
}

.qrcode__close {
  position: absolute;
  top: clamp(18px, 2.6vw, 26px);
  right: clamp(18px, 2.6vw, 26px);
  z-index: 2;
}

.exam__close .icon,
.qrcode__close .icon {
  width: 14px;
  height: 14px;
  rotate: 45deg;
}

.exam__close:hover,
.qrcode__close:hover {
  border-color: var(--coral-2);
  background: rgb(242 92 65 / 10%);
  color: var(--coral-ink);
  transform: rotate(90deg);
}

.exam__meter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 26px;
}

.exam__meter-track {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgb(22 27 39 / 12%);
  overflow: hidden;
}

.exam__meter-track i {
  display: block;
  width: 16%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transition: width 0.45s var(--ease-out);
}

.exam__meter-text {
  flex: none;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.exam__meter-text b {
  font-size: 14px;
  color: var(--ink);
}

.exam__body {
  min-height: 220px;
}

.exam__question {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  font-weight: 600;
  line-height: 1.72;
  color: var(--ink);
  text-wrap: pretty;
}

.exam__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.exam__choice {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 11px 14px;
  border: 1px solid rgb(22 27 39 / 16%);
  border-radius: 12px;
  background: rgb(255 255 255 / 46%);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  transition:
    border-color 0.22s var(--ease),
    background 0.22s var(--ease),
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.exam__choice:hover {
  border-color: var(--gold-deep);
  background: #fffdf6;
  transform: translateY(-1px);
}

.exam__choice.is-picked {
  border-color: var(--coral-2);
  background: rgb(242 92 65 / 9%);
  box-shadow: inset 0 0 0 1px rgb(242 92 65 / 42%);
}

.exam__choice-key {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid rgb(22 27 39 / 20%);
  border-radius: 50%;
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-3);
  transition:
    background 0.22s var(--ease),
    border-color 0.22s var(--ease),
    color 0.22s var(--ease);
}

.exam__choice.is-picked .exam__choice-key {
  border-color: transparent;
  background: var(--coral-2);
  color: #fff6f1;
}

.exam__choice-text {
  min-width: 0;
}

.exam__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgb(22 27 39 / 14%);
}

.exam__tip {
  max-width: 21em;
  font-size: 10px;
  line-height: 1.7;
  color: var(--ink-3);
}

.exam__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.exam__quit {
  font-size: 12px;
  color: var(--ink-3);
}

.exam__quit::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: rgb(22 27 39 / 22%);
}

.exam__foot .btn--ghost {
  border-color: rgb(22 27 39 / 18%);
  background: transparent;
  color: var(--ink);
}

.exam__foot .btn--coral {
  min-width: 132px;
}

.exam__foot .btn--coral:disabled {
  opacity: 0.45;
  box-shadow: none;
  cursor: not-allowed;
}

/* ---------- 报告领取 ---------- */
.qrcode__panel {
  width: min(520px, 100%);
  text-align: left;
}

.qrcode__kicker {
  margin-bottom: 0;
}

.qrcode__title em {
  font-style: normal;
  color: var(--coral-ink);
  background: linear-gradient(transparent 64%, rgb(242 194 92 / 38%) 64%);
  padding-inline: 0.04em;
}

.qrcode__lead {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}

.qrcode__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 26px);
  align-items: center;
  margin-top: 22px;
}

.qrcode__code {
  position: relative;
  padding: 12px;
  border: 1px solid rgb(22 27 39 / 16%);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(0 0 0 / 10%);
}

.qrcode__code img {
  display: block;
  width: 168px;
  height: 168px;
}

.qrcode__badge {
  position: absolute;
  left: 50%;
  bottom: -11px;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--coral-2);
  color: #fff6f1;
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.qrcode__steps {
  display: grid;
  gap: 10px;
  counter-reset: none;
}

.qrcode__steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-2);
}

.qrcode__steps span {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold-ink);
}

.qrcode__steps p {
  margin: 0;
  min-width: 0;
}

.qrcode__steps b {
  font-weight: 600;
  color: var(--ink);
}

.qrcode__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgb(22 27 39 / 14%);
}

.qrcode__foot .btn--text {
  font-size: 12px;
  color: var(--ink-3);
}

.qrcode__later {
  border-color: rgb(22 27 39 / 18%);
  background: transparent;
  color: var(--ink);
  backdrop-filter: none;
}

.qrcode__later:hover {
  border-color: rgb(22 27 39 / 40%);
  background: rgb(22 27 39 / 5%);
  color: var(--ink);
}

@media (max-width: 720px) {
  .exam__choices {
    grid-template-columns: 1fr;
  }

  .exam__foot {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 14px;
  }

  .exam__actions {
    width: 100%;
  }

  .exam__actions .btn--coral {
    flex: 1;
  }

  .qrcode__body {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }

  .qrcode__steps {
    width: 100%;
  }

  .qrcode__foot {
    align-items: stretch;
    flex-direction: column-reverse;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}

.faq__intro .display {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.faq__note {
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-3);
}

.faq__note a {
  color: var(--coral-ink);
  border-bottom: 1px solid rgb(242 92 65 / 35%);
}

.faq__note a:hover {
  border-color: var(--coral-2);
}

.faq__seal {
  margin-top: 34px;
}

.faq__list {
  border-top: 1px solid rgb(22 27 39 / 20%);
}

.faq__list details {
  border-bottom: 1px solid rgb(22 27 39 / 16%);
}

.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary:hover,
.faq__list summary:active {
  color: var(--coral-2);
}

.region-stop:active .region-stop__pin {
  filter: brightness(1.2);
}

.faq__plus {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgb(22 27 39 / 20%);
  border-radius: 50%;
  flex: none;
  transition:
    transform 0.35s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.faq__plus .icon {
  width: 13px;
  height: 13px;
}

details[open] .faq__plus {
  transform: rotate(45deg);
  border-color: var(--coral-2);
  background: rgb(242 92 65 / 8%);
  color: var(--coral-2);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

details[open] .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer > p {
  overflow: hidden;
  max-width: 48em;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}

details[open] .faq__answer > p {
  padding-bottom: 22px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(80px, 9vw, 120px);
  background:
    radial-gradient(60% 50% at 50% 100%, rgb(242 194 92 / 10%), transparent 65%),
    var(--space);
  border-top: 1px solid var(--line);
}

.footer__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer__sun {
  position: absolute;
  left: 50%;
  bottom: -18vw;
  width: 50vw;
  height: 50vw;
  max-width: 620px;
  max-height: 620px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(242 194 92 / 18%), transparent 66%);
}

.footer__ridge {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 0;
  height: 220px;
  background: #0a0d18;
  clip-path: polygon(0 78%, 9% 58%, 17% 70%, 27% 32%, 36% 58%, 47% 42%, 57% 64%, 68% 24%, 78% 55%, 89% 38%, 100% 62%, 100% 100%, 0 100%);
  opacity: 0.7;
}

.footer__ridge--b {
  height: 150px;
  background: #06070f;
  clip-path: polygon(0 76%, 12% 46%, 23% 68%, 34% 44%, 45% 72%, 58% 38%, 70% 66%, 82% 42%, 92% 62%, 100% 46%, 100% 100%, 0 100%);
  opacity: 1;
}

.footer .wrap {
  position: relative;
  z-index: 2;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer__brand p {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

.footer__brand .footer__note {
  max-width: 42ch;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  opacity: 0.75;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, auto));
  gap: clamp(30px, 5vw, 72px);
}

.footer__nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer__nav > div > span:first-child {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.footer__nav a {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.footer__nav a:hover {
  color: var(--text);
}

.footer__plain {
  font-size: 12px;
  color: var(--muted-2);
}

.footer__word {
  font-family: var(--latin);
  font-size: clamp(60px, 13.5vw, 190px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.055em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(246 241 229 / 13%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  margin-bottom: 18px;
}

.footer__word span {
  color: transparent;
  -webkit-text-stroke: 1px rgb(242 194 92 / 26%);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer__legal a {
  transition: color 0.3s var(--ease);
}

.footer__legal a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.25s var(--ease);
}

.footer__top-link:hover {
  color: var(--gold);
}

.footer__top-link .icon {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .nav__links {
    gap: 18px;
  }

  .hero__title {
    font-size: clamp(3rem, 5.9vw, 5.6rem);
  }

  .float-card--ai {
    right: -5%;
  }

  .float-card--teacher {
    left: -3%;
  }
}

@media (max-width: 1080px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .hero {
    padding-top: 112px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 26px 10px;
  }

  .hero__copy {
    max-width: 820px;
  }

  .hero__title {
    font-size: clamp(3.1rem, 7.6vw, 6rem);
  }

  .hero__lead {
    max-width: 46em;
  }

  .hero__stage {
    width: min(100%, 540px);
    margin-top: 6px;
  }

  .hero__foot {
    margin-top: 20px;
  }

  .why__grid,
  .method__head,
  .growth__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .ledger {
    max-width: 640px;
    margin-top: 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .section-head__note {
    text-align: left;
    max-width: 44em;
  }

  .growth__copy {
    max-width: 760px;
  }

  .report-wrap {
    justify-self: start;
    max-width: 560px;
  }

  .faq__intro {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 0 30px;
  }

  .faq__intro .display {
    grid-column: 1;
  }

  .faq__intro .kicker,
  .faq__intro .faq__note {
    grid-column: 1;
  }

  .faq__seal {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    margin-top: 0;
  }
}

@media (max-width: 960px) {
  .stories {
    grid-template-columns: 1fr 1fr;
  }

  .stories .story-card:last-child {
    grid-column: 1 / -1;
  }

  .story-card:last-child {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .story-card:last-child .story-card__top {
    grid-column: 1 / -1;
  }

  .story-card:last-child .story-card__ghost {
    grid-row: 2 / span 3;
    grid-column: 2;
    position: static;
    align-self: center;
    font-size: 60px;
  }

  .demo {
    grid-template-columns: 1fr;
  }

  .demo__scene {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .demo__steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }

  .demo__steps > .mono,
  .demo__steps > .demo__loop {
    grid-column: 1 / -1;
  }

  .steps {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }

  .steps li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .writ {
    grid-template-columns: 1fr;
  }

  .writ-card {
    margin-inline: 0;
  }

  .writ__form {
    max-width: 560px;
  }
}

@media (max-width: 860px) {
  .map__canvas {
    height: auto;
    padding: 18px;
  }

  .map__route,
  .map__caption {
    display: none;
  }

  .map__stops {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .region-stop {
    position: static;
    transform: none;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgb(255 255 255 / 2%);
    text-align: left;
  }

  .region-stop:hover {
    transform: none;
    border-color: var(--line-gold);
  }

  .region-stop__pin {
    width: 44px;
    height: 44px;
    box-shadow: none;
    flex: none;
  }

  .region-stop__pin::after {
    display: none;
  }

  .region-stop__pin .icon {
    width: 20px;
    height: 20px;
  }

  .region-stop__meta {
    justify-items: start;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
  }

  .region-stop[aria-pressed="true"] .region-stop__meta {
    background: transparent;
    border-color: transparent;
  }

  .region-detail {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .region-detail__side {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .region-detail__side .btn {
    margin-top: 4px;
  }

  .fit__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fit-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 0 24px;
    align-items: start;
    padding-top: 18px;
  }

  .fit-card__no {
    grid-row: 1;
  }

  .fit-card__tag {
    grid-column: 2;
    margin-top: 0;
  }

  .fit-card h3,
  .fit-card p,
  .fit-card__line {
    grid-column: 2;
  }

  .fit-card__line {
    margin-top: 16px;
  }

  .footer__top {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  /* 窄屏下硬换行会让长句在词中折断，交给 balance 自己排 */
  .display br {
    display: none;
  }

  .nav__inner {
    height: 72px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__word {
    font-size: 20px;
  }

  .nav__cta {
    display: none;
  }

  .hero {
    padding-top: 96px;
  }

  .hero__title {
    font-size: clamp(2.7rem, 9.6vw, 4.4rem);
    margin-bottom: 24px;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.85;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__actions .btn {
    font-size: 14px;
  }

  .btn--lg {
    min-height: 50px;
    padding: 0.7rem 1.25rem;
  }

  .hero__stats {
    gap: 16px;
    margin-top: 32px;
  }

  .hero__stats div {
    padding-right: 16px;
  }

  .hero__stats div + div::before {
    left: -8px;
  }

  .hero__stage {
    width: min(100%, 440px);
  }

  .float-card--ai {
    top: 1%;
    right: -2%;
    width: 176px;
    padding: 10px 12px;
  }

  .float-card--teacher {
    display: none;
  }

  .float-chip--streak {
    left: 0;
    top: 6%;
  }

  .float-chip--fraction {
    right: 0;
    bottom: 2%;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .hero__foot {
    padding: 18px 0 20px;
  }

  .hero__note {
    display: none;
  }

  .stage__seal {
    display: none;
  }

  .start__head .lead br {
    display: none;
  }

  .section-head__note br {
    display: none;
  }

  .powers__grid {
    grid-template-columns: 1fr;
  }

  .power-card {
    min-height: 0;
  }

  .powers__strip {
    flex-wrap: wrap;
    gap: 14px;
  }

  .loopline {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 14px 24px;
  }

  .loopline li:not(:last-child)::after {
    display: none;
  }

  .powers__strip-note {
    order: 4;
    text-align: left;
  }

  .stories {
    grid-template-columns: 1fr;
  }

  .stories .story-card:last-child {
    display: block;
  }

  .story-card:last-child .story-card__ghost {
    position: absolute;
    font-size: 76px;
  }

  .method__caption {
    align-items: flex-start;
  }

  .fraction {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fraction__disc {
    max-width: 260px;
  }

  .fraction__panel {
    text-align: center;
  }

  .fraction__readout {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .fraction__bar {
    width: 2px;
    height: 0.7em;
    margin: 0;
  }

  .fraction__dots {
    display: none;
  }

  .fraction__range-label {
    text-align: left;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .demo__steps {
    display: block;
  }

  .rhythm li {
    grid-template-columns: 70px 1fr;
    gap: 12px;
  }

  .report {
    transform: none;
  }

  .report__facts {
    gap: 8px;
  }

  .faq__intro {
    display: block;
  }

  .faq__seal {
    margin-top: 26px;
  }

  .faq__list summary {
    padding: 18px 0;
  }

  .fit__band {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .writ-card__facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .writ-card__facts > div {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 8px;
  }

  .writ-card__facts dt {
    margin: 0;
  }

  .writ__actions .btn--coral {
    min-width: 0;
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer__bottom {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .footer__bottom > .footer__tagline {
    order: 3;
    flex-basis: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 20px;
  }

  .section {
    padding-block: 74px;
  }

  .hero__title {
    font-size: clamp(2.35rem, 10.6vw, 3.5rem);
    line-height: 1.1;
  }

  .hero__stats {
    gap: 14px;
  }

  .hero__stats dd {
    font-size: 1.5rem;
  }

  .hero__stats div {
    padding-right: 14px;
  }

  .hero__stats small {
    font-size: 10px;
  }

  .hero__stage {
    width: min(100%, 360px);
  }

  .map-card {
    width: 82%;
    padding: 13px;
  }

  .map-card__head .map-card__title {
    font-size: 20px;
  }

  .map-card__path {
    height: 176px;
  }

  .map-card__pct strong {
    font-size: 24px;
  }

  .map-tag--a,
  .map-tag--b {
    display: none;
  }

  .float-card {
    display: none;
  }

  .float-chip--streak {
    top: 2%;
    left: -2%;
    font-size: 10px;
  }

  .display {
    font-size: clamp(2.1rem, 8.4vw, 3rem);
  }

  .why__copy .display,
  .method__head .display,
  .growth__copy .display,
  .faq__intro .display {
    font-size: clamp(2rem, 8.2vw, 2.9rem);
  }

  .fit .display {
    font-size: clamp(1.85rem, 7.6vw, 2.6rem);
  }

  .start__head .lead {
    font-size: 16px;
  }

  .ledger {
    padding: 20px;
  }

  .ledger__cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ledger__vs {
    display: none;
  }

  .ledger__col--old {
    padding-bottom: 22px;
    border-bottom: 1px dashed rgb(22 27 39 / 18%);
  }

  .timebar__label b {
    font-size: 14px;
  }

  .map__stops {
    grid-template-columns: 1fr;
  }

  .region-stop {
    padding: 10px;
  }

  .region-stop__meta b {
    font-size: 14px;
  }

  .pills {
    grid-template-columns: repeat(3, 1fr);
  }

  .writ-card {
    padding: 7px;
  }

  .writ-card__border {
    padding: 20px 18px;
  }

  .writ-card__label {
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    font-size: 30px;
  }

  .writ-card__name-wrap {
    gap: 10px;
  }

  .writ-card__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .writ-card__motto {
    text-align: left;
  }

  .writ-card__stamp {
    top: auto;
    right: 5%;
    bottom: 5%;
    width: 72px;
    height: 72px;
  }

  .writ-card__stamp b {
    font-size: 20px;
  }

  .writ-card__stamp em {
    font-size: 9px;
  }

  .report__bars li {
    grid-template-columns: 68px 1fr 22px;
  }

  .report__stamp {
    display: none;
  }

  .fit-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fit-card__tag,
  .fit-card h3,
  .fit-card p,
  .fit-card__line {
    grid-column: 1;
  }

  .fit-card__tag {
    margin-top: 10px;
  }

  .stories .story-card {
    padding: 20px;
  }

  .story-card__ghost {
    font-size: 62px;
  }

  .footer__word {
    font-size: 19vw;
  }

  .footer__nav {
    gap: 24px;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 2.15rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions .btn--text {
    width: auto;
  }

  .float-card--ai {
    display: none;
  }

  .pills {
    grid-template-columns: 1fr 1fr;
  }

  .report__bars li {
    grid-template-columns: 62px 1fr 20px;
  }
}

/* ==========================================================================
   MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .chart__line {
    stroke-dashoffset: 0;
  }

  .chart__area,
  .chart__dots circle {
    opacity: 1;
  }

  .report__bars b {
    width: var(--v);
  }

  .strike svg path {
    stroke-dashoffset: 0;
  }

  .boot {
    display: none;
  }
}

/* ==========================================================================
   文档页：隐私政策 / 用户协议 / 404
   ========================================================================== */

.doc {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
}

.doc .brand__word {
  color: var(--ink);
}

.doc .brand__word span {
  color: var(--gold-ink);
}

.doc__bar {
  border-bottom: 1px solid var(--line-ink);
}

.doc__bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}

.doc__back:hover {
  color: var(--coral-ink);
}

.doc__main {
  flex: 1;
  padding: 56px 0 88px;
}

.doc__head {
  max-width: 44rem;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-ink);
}

.doc__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.doc__meta {
  margin-top: 14px;
  font-family: var(--latin);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.doc__body {
  max-width: 44rem;
  padding-top: 36px;
}

.doc__body h2 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.doc__body h2:first-child {
  margin-top: 0;
}

.doc__body p,
.doc__body li {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-2);
}

.doc__body p + p {
  margin-top: 12px;
}

.doc__body ul + p {
  margin-top: 12px;
}

.doc__body ul {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-left: 1.25em;
  list-style: disc;
}

.doc__body li::marker {
  color: var(--coral-ink);
}

.doc__body strong {
  font-weight: 600;
  color: var(--ink);
}

.doc__body a {
  color: var(--coral-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc .btn--ghost {
  border-color: var(--line-ink);
  color: var(--ink);
  background: transparent;
  backdrop-filter: none;
}

.doc .btn--ghost:hover {
  border-color: var(--ink);
}

.doc__foot {
  border-top: 1px solid var(--line-ink);
}

.doc__foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 28px;
  font-size: 12px;
  color: var(--ink-3);
}

.doc__foot a {
  transition: color 0.3s var(--ease);
}

.doc__foot a:hover {
  color: var(--ink);
}

/* 404 ---------------------------------------------------------------------- */

.notfound {
  display: grid;
  justify-items: center;
  padding-top: clamp(24px, 6vw, 64px);
  text-align: center;
}

.notfound__code {
  font-family: var(--serif);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.notfound__title {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
}

.notfound__text {
  max-width: 32rem;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-2);
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}








