/* Study Chinese — Jade Garden landing. Misty jade tokens, editorial type, cinematic motion. */
:root {
  /* surfaces */
  --paper: #F1FBF2;
  --surface: #E6F6EA;
  --surface-2: #DFF3E5;
  --card: #FFFFFF;
  --mist: #ECFAEF;

  /* jade scale */
  --jade: #15A24A;          /* primary CTA */
  --jade-bright: #18B257;
  --jade-deep: #0C7A37;     /* text accent */
  --jade-700: #0A6A33;
  --jade-soft: #DCF4E2;
  --jade-soft-2: #E9F8EC;

  /* jade-stone forest (dark sections) */
  --forest: #06251A;
  --forest-2: #0A3122;
  --forest-card: #103A29;

  /* warm accents */
  --gold: #F4B740;
  --gold-deep: #B97D08;
  --gold-soft: #FCEFCB;
  --coral: #FF6B57;
  --coral-soft: #FFE7E0;

  /* ink */
  --ink: #11241A;
  --ink2: #46584D;
  --muted: #6A7B70;
  --on-dark: #ECF8EF;
  --on-dark2: #A8CFB6;

  --border: #DAEDDF;
  --border-strong: #C8E5CF;
  --ring: #0C7A37;

  --jade-grad: linear-gradient(135deg, #18B257 0%, #0E9F6E 100%);
  --gold-grad: linear-gradient(135deg, #FFCB52, #F0A50E);

  --shadow: 0 12px 32px -10px rgba(11, 60, 35, .14);
  --shadow-lg: 0 30px 64px -28px rgba(9, 52, 30, .30);
  --shadow-xl: 0 54px 120px -44px rgba(6, 40, 24, .42);
  --shadow-jade: 0 18px 38px -14px rgba(15, 140, 64, .45);
  --shadow-gold: 0 14px 30px -12px rgba(213, 150, 16, .45);
  --hi: inset 0 1.5px 0 rgba(255, 255, 255, .65);

  --r-sm: 14px; --r-md: 22px; --r-lg: 30px; --r-xl: 42px; --r-pill: 999px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --maxw: 1200px;
  --pad: clamp(76px, 12vw, 156px);

  --f-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-hanzi: 'Noto Serif SC', 'Songti SC', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body); color: var(--ink); background: var(--paper);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--f-display); line-height: 1.04; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--jade-soft); color: var(--jade-700); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ic { width: 1.3em; height: 1.3em; display: inline-block; vertical-align: -.18em; flex: none; }
.ic-lg { width: 30px; height: 30px; }
.ic-sm { width: 16px; height: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 600;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--jade-deep); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--jade); }
.eyebrow.on-dark { color: #8FE6B0; }
.eyebrow.on-dark::before { background: #8FE6B0; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-display); font-weight: 600; font-size: 1.02rem;
  padding: 15px 26px; border-radius: var(--r-pill); border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease-out), box-shadow .3s var(--ease-out), background .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--jade); color: #fff; box-shadow: var(--shadow-jade), var(--hi); }
.btn-gold { background: var(--gold-grad); color: #3D2A03; box-shadow: var(--shadow-gold), var(--hi); }
.btn-light { background: #fff; color: var(--jade-deep); box-shadow: var(--shadow); }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); color: var(--on-dark); border: 1.5px solid rgba(236, 248, 239, .26); }
.btn-ghost { background: transparent; color: var(--jade-deep); border: 1.5px solid var(--border-strong); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 50px -16px rgba(15, 140, 64, .6), var(--hi); }
  .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 24px 46px -14px rgba(213, 150, 16, .6), var(--hi); }
  .btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
  .btn-ghost-dark:hover { border-color: #8FE6B0; color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
  .btn-ghost:hover { border-color: var(--jade); color: var(--jade-deep); transform: translateY(-2px); }
}

.badge {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-display); font-weight: 600; font-size: .8rem;
  color: var(--jade-deep); background: var(--jade-soft); padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 20px;
}
.badge .ic { color: var(--jade-deep); }
.badge-gold { color: var(--gold-deep); background: var(--gold-soft); }
.badge-gold .ic { color: var(--gold-deep); }
.badge-free { color: #062a18; background: linear-gradient(135deg, #9AF0BE, #6FE3A0); box-shadow: var(--hi); }
.badge-jade-dark { color: #8FE6B0; background: rgba(143, 230, 176, .14); }
.badge-jade-dark .ic { color: #8FE6B0; }

/* ============ REVEAL / SCROLL ============ */
.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), filter .5s var(--ease-out); will-change: transform, opacity; }
.js .reveal.from-left { transform: translateX(-46px); }
.js .reveal.from-right { transform: translateX(46px); }
.js .reveal.pop { transform: scale(.93); }
.js .reveal.in { opacity: 1; transform: none; filter: blur(0); will-change: auto; }

.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--jade-grad); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: sp linear both; animation-timeline: scroll(root); }
  @keyframes sp { to { transform: scaleX(1); } }
}

/* ============ NAV ============ */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 72px; }
.nav.scrolled { background: rgba(241, 251, 242, .8); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 1px 0 var(--border); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; flex: none; white-space: nowrap; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; flex: none; box-shadow: 0 5px 14px -5px rgba(9, 52, 30, .45), 0 0 0 1px rgba(11, 60, 35, .06); transition: transform .2s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.05); }
.nav-links { display: flex; gap: 28px; margin-left: 24px; font-weight: 600; color: var(--ink2); font-size: .96rem; }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; border-radius: 2px; background: var(--jade); transition: right .25s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 3px; }
.lang-b { font-family: var(--f-display); font-weight: 600; font-size: .85rem; color: var(--ink2); background: transparent; border: 0; cursor: pointer; padding: 6px 13px; border-radius: var(--r-pill); transition: background .2s, color .2s, transform .15s var(--ease-out); }
.lang-b.is-on { background: var(--card); color: var(--jade-deep); box-shadow: var(--shadow); }
.lang-b:active { transform: scale(.92); }
.nav-cta { padding: 11px 20px; font-size: .94rem; }

/* ============ HERO ============ */
.hero { position: relative; text-align: center; padding-top: clamp(40px, 8vw, 88px); overflow: clip; }
.hero-glow { position: absolute; inset: -12% -10% auto -10%; height: 82%; pointer-events: none; z-index: -1;
  background: radial-gradient(58% 60% at 50% 0%, rgba(24, 178, 87, .22), transparent 70%),
              radial-gradient(46% 50% at 82% 16%, rgba(244, 183, 64, .12), transparent 72%),
              radial-gradient(46% 50% at 16% 30%, rgba(14, 159, 110, .14), transparent 72%); }
.hero-in { max-width: 900px; margin-inline: auto; position: relative; }
.hero-pill { display: inline-flex; align-items: center; gap: 9px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: var(--r-pill); padding: 7px 8px 7px 16px; font-weight: 600; font-size: .9rem; color: var(--ink2); margin-bottom: 26px; }
.hero-pill b { color: var(--jade-deep); }
.hero-pill .tag { font-family: var(--f-display); font-weight: 700; font-size: .76rem; color: #062a18; background: linear-gradient(135deg, #9AF0BE, #6FE3A0); padding: 4px 11px; border-radius: var(--r-pill); }
.hero-title { font-size: clamp(2.7rem, 6.6vw, 5.2rem); font-weight: 800; margin-bottom: 22px; }
.hero-title em { font-style: normal; color: var(--jade-deep); position: relative; white-space: nowrap; }
.hero-title em::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .04em; height: .34em; background: var(--gold); border-radius: 6px; z-index: -1; opacity: .55; transform-origin: left center; transition: transform .8s var(--ease-out) .4s; }
.js .hero-title em::after { transform: scaleX(0); }
.js .hero-title.in em::after { transform: scaleX(1); }
.hero-sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink2); max-width: 52ch; margin: 0 auto 32px; }
.hero-form { max-width: 470px; margin-inline: auto; }
.hero-alt { margin-top: 16px; font-size: .95rem; color: var(--muted); }
.hero-alt a { color: var(--jade-deep); font-weight: 700; border-bottom: 2px solid var(--jade-soft); transition: border-color .2s; }
.hero-alt a:hover { border-color: var(--jade); }

/* waitlist form */
.waitlist-row { display: flex; gap: 10px; background: var(--card); padding: 8px; border-radius: var(--r-pill); box-shadow: var(--shadow); border: 1px solid var(--border); }
.field { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--f-body); font-size: 1rem; font-weight: 600; color: var(--ink); padding: 8px 16px; }
.field::placeholder { color: var(--muted); font-weight: 500; }
.field:focus { outline: none; }
.waitlist-row:focus-within { border-color: var(--jade); box-shadow: var(--shadow), 0 0 0 3px var(--jade-soft); }
.waitlist .btn-primary { padding: 13px 22px; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.form-msg { font-size: .95rem; font-weight: 700; margin-top: 12px; min-height: 1.2em; }
.form-msg.ok { color: var(--jade-deep); animation: msg-pop .35s var(--ease-out); }
@keyframes msg-pop { from { opacity: 0; transform: scale(.92) translateY(4px); } }
.form-msg.err { color: var(--coral); }

/* hero stage */
.hero-stage { position: relative; display: flex; justify-content: center; margin-top: clamp(46px, 8vw, 92px); padding-bottom: var(--pad); }
.floatzi { position: absolute; font-family: var(--f-hanzi); font-weight: 700; color: var(--jade); opacity: .1; animation: float 9s var(--ease-in-out) infinite alternate; z-index: -1; }
.floatzi.z1 { font-size: clamp(6rem, 16vw, 13rem); top: -8%; left: 3%; }
.floatzi.z2 { font-size: clamp(4rem, 10vw, 8rem); bottom: 18%; right: 4%; color: var(--gold); opacity: .16; animation-delay: -4s; }
@keyframes float { to { transform: translateY(-26px) rotate(3deg); } }

/* falling blossom petals (decorative) */
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
/* drifting jade-garden leaves (on-brand, subtle) */
.petal { position: absolute; top: -6%; width: 13px; height: 13px; background: radial-gradient(circle at 32% 28%, #BFEFD0, #57C586); border-radius: 80% 20% 80% 20%; opacity: .48; transform: rotate(26deg); animation: petal-fall linear infinite; }
.petal:nth-child(1) { left: 13%; animation-duration: 16s; animation-delay: 0s; }
.petal:nth-child(2) { left: 29%; animation-duration: 20s; animation-delay: -5s; width: 9px; height: 9px; background: radial-gradient(circle at 32% 28%, #FBE6AE, #F2C24F); opacity: .4; }
.petal:nth-child(3) { left: 53%; animation-duration: 18s; animation-delay: -9s; }
.petal:nth-child(4) { left: 72%; animation-duration: 22s; animation-delay: -3s; width: 10px; height: 10px; background: radial-gradient(circle at 32% 28%, #FBE6AE, #F2C24F); opacity: .36; }
.petal:nth-child(5) { left: 86%; animation-duration: 17s; animation-delay: -11s; }
@keyframes petal-fall { 0% { transform: translateY(-10vh) rotate(0); opacity: 0; } 12% { opacity: .75; } 100% { transform: translateY(112vh) translateX(40px) rotate(420deg); opacity: .15; } }

.phone { position: relative; width: clamp(248px, 30vw, 320px); aspect-ratio: 1 / 2; background: #0f1a14; border-radius: 50px; padding: 10px; box-shadow: var(--shadow-xl), 0 0 0 2px rgba(11, 60, 35, .12); will-change: transform; }
.phone-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 40px; background: var(--mist); }
.phone-hero { width: clamp(266px, 32vw, 342px); }

/* floating app chips */
.hero-chip {
  position: absolute; display: none; align-items: center; gap: 12px; z-index: 2;
  padding: 13px 18px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .76); border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: var(--shadow-lg), var(--hi); will-change: transform;
}
.chip-zh { font-family: var(--f-hanzi); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.chip-detail { display: flex; flex-direction: column; line-height: 1.3; }
.chip-detail strong { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.chip-detail em { font-style: normal; font-size: .82rem; color: var(--ink2); font-weight: 600; }
.chip-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; flex: none; }
.chip-ic .ic { width: 23px; height: 23px; }
.chip-ic-flame { background: var(--coral-soft); color: #D9402B; }
.chip-ic-xp { background: var(--gold-soft); color: var(--gold-deep); }
.chip-ic-hw { background: var(--jade-soft); color: var(--jade-deep); }
.chip-vocab { left: calc(50% - 432px); top: 4%; }
.chip-streak { left: calc(50% + 222px); top: 20%; }
.chip-hw { left: calc(50% + 196px); bottom: 30%; }
.chip-xp { left: calc(50% - 404px); bottom: 32%; }
@media (min-width: 1080px) { .hero-chip { display: inline-flex; } }

.hero-bao { position: absolute; bottom: 3%; left: calc(50% + 132px); width: clamp(110px, 16vw, 208px); z-index: 3; pointer-events: none; }
.hero-bao img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(9, 52, 30, .26)); animation: bao-bob 5.5s var(--ease-in-out) infinite alternate; }
@keyframes bao-bob { to { transform: translateY(-12px) rotate(1.5deg); } }

/* ============ SOCIAL / TRUST ============ */
.social { padding: clamp(30px, 5vw, 52px) 0; }
.social-in { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.social-title { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.social-sub { color: var(--ink2); font-size: .98rem; max-width: 44ch; margin-top: -8px; }
.social-cards { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.social-card { display: inline-flex; align-items: center; gap: 9px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 10px 18px; box-shadow: var(--shadow); font-family: var(--f-display); font-weight: 600; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } }
.social-card:active { transform: scale(.97); }
.social-logo { width: 22px; height: 22px; }

/* trust stat row */
.stats-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 5vw, 64px); margin-top: 30px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: var(--jade-deep); line-height: 1; letter-spacing: -.03em; }
.stat span { font-size: .9rem; color: var(--ink2); font-weight: 600; }

/* ============ JADE CLASS (forest spotlight) ============ */
.jadeclass { position: relative; background: radial-gradient(120% 90% at 80% 0%, var(--forest-2), var(--forest) 70%); color: var(--on-dark); padding: var(--pad) 0; overflow: clip; }
.jadeclass::before { content: "课"; position: absolute; top: 50%; right: -4%; transform: translateY(-50%); font-family: var(--f-hanzi); font-weight: 700; font-size: clamp(24rem, 50vw, 46rem); color: #fff; opacity: .035; line-height: 1; pointer-events: none; }
.jc-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; position: relative; }
.jc-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; margin-bottom: 18px; }
.jc-head h2 .hl { color: #8FE6B0; }
.jc-head p { color: var(--on-dark2); font-size: clamp(1.05rem, 1.6vw, 1.24rem); max-width: 56ch; margin-inline: auto; }
.jc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.jc-feats { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.jc-feat { display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, .04); border: 1px solid rgba(143, 230, 176, .14); border-radius: var(--r-lg); padding: 22px 24px; transition: transform .3s var(--ease-out), border-color .3s, background .3s; }
@media (hover: hover) and (pointer: fine) { .jc-feat:hover { transform: translateY(-4px); border-color: rgba(143, 230, 176, .4); background: rgba(255, 255, 255, .07); } }
.jc-ic { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, rgba(24,178,87,.3), rgba(14,159,110,.2)); color: #9AF0BE; box-shadow: var(--hi); }
.jc-ic .ic { width: 26px; height: 26px; }
.jc-feat h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 4px; color: #fff; }
.jc-feat p { color: var(--on-dark2); font-size: .98rem; }
.jc-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.jc-cta .note { color: var(--on-dark2); font-size: .92rem; }

/* phone + flying homework demo */
.jc-stage { position: relative; display: grid; place-items: center; }
.jc-stage .phone { width: clamp(244px, 30vw, 310px); }
.jc-fly { position: absolute; top: 14%; left: -6%; display: flex; align-items: center; gap: 11px; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-xl); z-index: 4; max-width: 230px; }
.jc-fly .av { width: 38px; height: 38px; border-radius: 11px; background: var(--jade-grad); display: grid; place-items: center; color: #fff; flex: none; box-shadow: var(--hi); }
.jc-fly .av .ic { width: 20px; height: 20px; }
.jc-fly b { font-family: var(--f-display); font-weight: 700; font-size: .92rem; display: block; line-height: 1.2; }
.jc-fly span { font-size: .8rem; color: var(--ink2); }
.js .jc-stage.in .jc-fly { animation: fly-in 1s var(--ease-drawer) .3s both; }
@keyframes fly-in { 0% { opacity: 0; transform: translate(40px, 30px) scale(.85); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.jc-badge-free { position: absolute; bottom: 8%; right: -4%; z-index: 4; background: var(--gold-grad); color: #3D2A03; font-family: var(--f-display); font-weight: 800; font-size: .92rem; padding: 11px 18px; border-radius: var(--r-pill); box-shadow: var(--shadow-gold), var(--hi); transform: rotate(-4deg); }

/* ============ THESIS ============ */
.thesis { padding: var(--pad) 0; text-align: center; position: relative; overflow: clip; }
.thesis-in { max-width: 880px; margin-inline: auto; position: relative; }
.thesis-xue { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -54%); width: clamp(18rem, 40vw, 34rem); height: auto; opacity: .06; pointer-events: none; z-index: -1; }
.xue-stroke { fill: none; stroke: var(--jade); stroke-width: 200; stroke-linecap: round; stroke-linejoin: round; }
.js .xue-stroke { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .thesis-in.in .xue-stroke { animation: xue-draw .5s var(--ease-in-out) forwards; }
.js .thesis-in.in .xue-stroke:nth-of-type(2) { animation-delay: .34s; }
.js .thesis-in.in .xue-stroke:nth-of-type(3) { animation-delay: .68s; }
.js .thesis-in.in .xue-stroke:nth-of-type(4) { animation-delay: 1.02s; }
.js .thesis-in.in .xue-stroke:nth-of-type(5) { animation-delay: 1.36s; }
.js .thesis-in.in .xue-stroke:nth-of-type(6) { animation-delay: 1.74s; }
.js .thesis-in.in .xue-stroke:nth-of-type(7) { animation-delay: 2.12s; }
.js .thesis-in.in .xue-stroke:nth-of-type(8) { animation-delay: 2.5s; }
@keyframes xue-draw { to { stroke-dashoffset: 0; } }
.thesis-title { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 800; margin-bottom: 22px; }
.thesis-body { font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--ink2); max-width: 42ch; margin-inline: auto; }

/* ============ TROPHY ROAD ============ */
.road { padding: var(--pad) 0 calc(var(--pad) * .62); background: var(--surface); border-block: 1px solid var(--border); overflow: clip; }
.road-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.road-copy h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; margin-bottom: 18px; max-width: 16ch; }
.road-body { color: var(--ink2); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 46ch; margin-bottom: 28px; }
.road-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; }
.road-stats li { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow); }
.road-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--jade-soft); color: var(--jade-deep); flex: none; }
.road-ic.gold { background: var(--gold-soft); color: var(--gold-deep); }
.road-ic .ic { width: 21px; height: 21px; }
.road-stats strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.18rem; line-height: 1.1; }
.road-stats div span { color: var(--ink2); font-size: .84rem; }
.road-stage { display: grid; place-items: center; }
.chapter-rail { display: flex; justify-content: center; gap: clamp(6px, 1.4vw, 18px); margin-top: clamp(40px, 6vw, 64px); padding-inline: 16px; overflow-x: auto; scrollbar-width: none; }
.chapter-rail::-webkit-scrollbar { display: none; }
.chapter-rail img { width: clamp(44px, 5vw, 71px); height: auto; flex: none; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .chapter-rail img:hover { transform: translateY(-6px) scale(1.12); } }
.rail-note { text-align: center; color: var(--ink2); font-size: .95rem; margin-top: 18px; padding-inline: 20px; }

/* ============ STORY (sticky scroll) ============ */
.story { padding: var(--pad) 0; }
.story-label { margin-bottom: 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.story-stage { position: sticky; top: 0; height: 100dvh; display: flex; align-items: center; justify-content: center; }
.story-phone { width: clamp(240px, 26vw, 300px); }
.story-shot { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; object-position: top; border-radius: 40px; background: var(--mist); opacity: 0; transform: scale(1.02); filter: blur(4px); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), filter .25s var(--ease-out); }
.story-shot.is-active { opacity: 1; transform: scale(1); filter: blur(0); transition-duration: .45s; }
.story-steps { display: flex; flex-direction: column; }
.story-step { min-height: 84vh; display: flex; flex-direction: column; justify-content: center; opacity: .4; transition: opacity .4s var(--ease-out); }
.story-step.is-active { opacity: 1; }
.story-ic { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; background: var(--jade-soft); color: var(--jade-deep); margin-bottom: 22px; }
.story-step.is-active .story-ic { animation: ic-pop .5s var(--ease-out); }
@keyframes ic-pop { from { transform: scale(.8); } 60% { transform: scale(1.08); } }
.story-step h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; margin-bottom: 16px; max-width: 16ch; }
.story-step p { color: var(--ink2); font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 42ch; }
.story-step .story-step-shot { display: none; }
.shot { display: block; border-radius: 30px; overflow: hidden; background: var(--mist); box-shadow: var(--shadow-lg); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ============ TRAINING CAMP (header — pan styles live in showcase.css) ============ */
.modes-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 60px); }
.modes-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
.modes-head p { color: var(--ink2); margin-top: 14px; font-size: 1.1rem; }

/* ============ MEET BAO ============ */
.bao { padding: var(--pad) 0; overflow: clip; }
.bao-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.bao-art { position: relative; display: grid; place-items: center; }
.bao-art img { width: clamp(220px, 26vw, 340px); height: auto; filter: drop-shadow(0 24px 44px rgba(9, 52, 30, .2)); }
.bao-bubble { position: absolute; top: 6%; right: 8%; background: var(--card); border: 1px solid var(--border); border-radius: 18px 18px 18px 4px; box-shadow: var(--shadow-lg); padding: 12px 18px; display: flex; flex-direction: column; align-items: center; line-height: 1.2; animation: bao-bob 6s var(--ease-in-out) infinite alternate-reverse; }
.bao-bubble-zh { font-family: var(--f-hanzi); font-weight: 700; font-size: 1.5rem; color: var(--jade-deep); }
.bao-bubble small { color: var(--ink2); font-weight: 700; font-size: .78rem; }
.bao-copy h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; margin-bottom: 18px; }
.bao-body { color: var(--ink2); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 48ch; margin-bottom: 26px; }
.bao-points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bao-points li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.bao-points .ic { color: var(--jade-deep); flex: none; }

/* ============ DAILY MARQUEE ============ */
.daily { padding: var(--pad) 0; overflow: hidden; }
.daily-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.daily-head h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; }
.daily-head p { color: var(--ink2); margin-top: 14px; font-size: 1.12rem; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marq 46s linear infinite; }
.marquee-half { display: flex; gap: 18px; padding-right: 18px; flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee-rev { display: none; margin-top: 18px; }
.marquee-rev .marquee-track { animation-direction: reverse; animation-duration: 58s; }
@media (min-width: 980px) { .marquee-rev { display: block; } }
.vcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 22px 26px; display: flex; align-items: center; gap: 16px; flex: none; }
.vcard-solo { flex-direction: column; align-items: flex-start; min-width: 210px; }
.vc-side { display: flex; flex-direction: column; align-items: center; }
.vc-zh { font-family: var(--f-hanzi); font-weight: 700; font-size: 2.5rem; line-height: 1.1; color: var(--ink); }
.vc-py { color: var(--jade-deep); font-weight: 700; font-size: .95rem; margin-top: 2px; }
.vc-gl { color: var(--ink2); font-size: .9rem; }
.vc-vs { font-family: var(--f-display); font-weight: 700; color: var(--muted); font-size: .85rem; background: var(--surface); border-radius: var(--r-pill); padding: 4px 10px; }
.vc-tag { font-family: var(--f-display); font-weight: 600; font-size: .72rem; letter-spacing: .02em; color: var(--jade-deep); background: var(--jade-soft); padding: 3px 11px; border-radius: var(--r-pill); }
.vcard-solo .vc-zh { font-size: 2.2rem; margin-top: 6px; }
@media (hover: hover) and (pointer: fine) {
  .vcard { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
  .vcard:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: var(--shadow-lg); }
}

/* ============ COMING SOON (RMB) ============ */
.soon { padding: 0 0 var(--pad); }
.pillar { border-radius: var(--r-xl); overflow: hidden; }
.pillar-rmb { background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.pillar-copy { padding: clamp(34px, 5vw, 64px); align-self: center; }
.pillar-copy h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 800; }
.pillar-copy p { color: var(--ink2); margin-top: 16px; max-width: 44ch; font-size: 1.1rem; }
.pill-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 24px 0 30px; }
.pill-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.pill-points .ic { color: var(--jade-deep); }
.pillar-rmb .pillar-art { position: relative; display: grid; place-items: center; min-height: 280px; background: linear-gradient(150deg, var(--jade-soft), #CFEFE0); }
.art-hanzi { font-family: var(--f-hanzi); font-weight: 700; font-size: clamp(9rem, 17vw, 14rem); color: var(--jade-deep); opacity: .22; line-height: 1; }
.art-ic { position: absolute; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 26px; background: var(--card); color: var(--jade-deep); box-shadow: var(--shadow-lg); }
.art-ic .ic { width: 42px; height: 42px; }

/* ============ HOW IT WORKS ============ */
.how { padding: var(--pad) 0; background: var(--surface); border-block: 1px solid var(--border); }
.how-title { text-align: center; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; margin-bottom: clamp(36px, 5vw, 56px); }
.how-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin-inline: auto; }
.how-step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px 28px; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .how-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); } }
.how-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--jade-grad); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; box-shadow: var(--shadow-jade); margin-bottom: 18px; }
.how-step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.how-step p { color: var(--ink2); font-size: .98rem; }

/* ============ FINAL CTA ============ */
.final { background: radial-gradient(120% 100% at 50% 0%, var(--forest-2), var(--forest) 72%); color: var(--on-dark); padding: var(--pad) 0; position: relative; overflow: clip; }
.final-in { max-width: 660px; margin-inline: auto; text-align: center; position: relative; }
.final-mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--f-hanzi); font-weight: 700; font-size: clamp(22rem, 50vw, 42rem); color: #fff; opacity: .04; line-height: 1; pointer-events: none; z-index: 0; }
.final h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; position: relative; }
.final p { color: var(--on-dark2); margin: 20px auto 34px; max-width: 48ch; font-size: 1.18rem; position: relative; }
.waitlist-dark { margin-inline: auto; max-width: 470px; position: relative; }
.waitlist-dark .waitlist-row { background: var(--forest-card); border-color: rgba(143, 230, 176, .18); box-shadow: none; }
.waitlist-dark .field { color: var(--on-dark); }
.waitlist-dark .field::placeholder { color: #6f9a82; }
.waitlist-dark .waitlist-row:focus-within { border-color: var(--jade-bright); box-shadow: 0 0 0 3px rgba(24, 178, 87, .25); }
.waitlist-dark .form-msg.ok { color: #6FE3A0; }
.waitlist-dark .form-msg.err { color: #ff9b8c; }
.final-follow { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; color: var(--on-dark2); font-weight: 700; position: relative; }
.follow-link { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--forest-card); border: 1px solid rgba(143, 230, 176, .18); transition: transform .2s var(--ease-out), border-color .2s; }
@media (hover: hover) and (pointer: fine) { .follow-link:hover { transform: translateY(-3px); border-color: var(--jade-bright); } }
.follow-link:active { transform: scale(.92); }
.final-bao { display: block; width: clamp(110px, 13vw, 160px); margin: 0 auto 18px; position: relative; }
.final-bao img { width: 100%; height: auto; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .4)); animation: bao-bob 5s var(--ease-in-out) infinite alternate; }

/* ============ FOOTER ============ */
.foot { background: var(--forest); color: var(--on-dark2); padding: clamp(44px, 6vw, 72px) 0 36px; border-top: 1px solid rgba(143, 230, 176, .12); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.brand-light { color: var(--on-dark); }
.foot-tag { font-family: var(--f-display); font-weight: 600; color: var(--on-dark); margin-top: 16px; font-size: 1.1rem; }
.foot-made { font-size: .92rem; margin-top: 4px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; font-weight: 700; }
.foot-links a { color: var(--on-dark2); transition: color .2s; }
.foot-links a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(143, 230, 176, .12); font-size: .9rem; }
