/* ══════════════════════════════════════════════════════════════════════════
   Jaunty 走堂 — landing page styles.
   Flat file, no build step: tokens at the top, components below, motion last.
   Design tokens mirror the app's DesignSystem.swift brand roles.
   No-JS keeps content visible; reduced motion disables entrance motion.
   ══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/inter-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
    U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0e110e;
  --surface: #171c17;
  --elevated: #232a22;
  --ink: #f3f5ed;
  --mute: #afb9ab;
  --faint: #7d897c;
  --line: rgb(222 235 215 / 0.16);
  --line-strong: rgb(222 235 215 / 0.28);
  --accent: #c7f544;
  --accent-deep: #48790a;
  --rose: #f43f5e;
  --slate: #64748b;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang HK", "PingFang TC", "PingFang SC",
    "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: rgb(199 245 68 / 0.25); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
/* Tight tracking is a Latin habit; CJK glyphs want room. */
html[lang^='zh'] h1,
html[lang^='zh'] .h2,
html[lang^='zh'] .statement-line { letter-spacing: 0.015em; }

.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;
}
.skip-link:focus {
  position: fixed; z-index: 60; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; margin: 0; padding: 8px 16px;
  border-radius: 999px; background: var(--accent); color: var(--bg);
  font-size: 14px; font-weight: 600;
}

/* ── Layout primitives ── */
.wrap {
  margin-inline: auto;
  width: 100%;
  max-width: 1120px;
  padding-inline: 20px;
}
@media (min-width: 640px) { .wrap { padding-inline: 32px; } }

.section-line { border-top: 1px solid var(--line); }
.timetable-section { position: relative; }
.timetable-divider {
  position: absolute;
  z-index: 1;
  top: -9px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 100%);
  height: 18px;
  padding-inline: 20px;
  transform: translateX(-50%);
  pointer-events: none;
}
.timetable-divider-ticks { display: flex; align-items: center; gap: 11px; height: 18px; }
.timetable-divider-ticks i {
  display: block;
  width: 1px;
  height: 6px;
  background: var(--faint);
  opacity: 0.7;
}
.timetable-divider-ticks i:first-child { height: 14px; background: var(--accent); opacity: 1; }
.timetable-divider-ticks i:nth-child(3) { height: 9px; }
.timetable-divider-label {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-inline: 9px 0;
  background: var(--bg);
  color: var(--faint);
  font: 600 10px/1.4 var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.timetable-divider-label b { color: var(--mute); font-weight: 600; }
.timetable-divider-label em { color: var(--accent); font-style: normal; }
@media (min-width: 640px) { .timetable-divider { padding-inline: 32px; } }
@media (max-width: 390px) {
  .timetable-divider-ticks { gap: 8px; }
  .timetable-divider-label { gap: 6px; font-size: 9px; }
}

.h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 1px;
  background: var(--accent);
  transform-origin: 0 50%;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .kicker::before {
      animation: hair-draw linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

/* scroll progress: a hairline under the nav, owned by JS (direct, deterministic) */
.scroll-progress {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  z-index: 41;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ── Nav ── */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgb(10 11 13 / 0.7);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  transform: translateY(0);
  transition: transform 0.35s var(--ease);
}
.nav.nav-hidden { transform: translateY(-100%); }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--nav-h);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-brand .zh { color: var(--mute); font-weight: 500; }
@media (max-width: 639.98px) { .nav-brand .zh { display: none; } }
.brand-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  border: 1px solid rgb(199 245 68 / 0.36);
  border-radius: 10px;
  background: rgb(199 245 68 / 0.09);
}
.brand-icon svg { width: 43px; height: 43px; color: var(--accent); }
@media (min-width: 640px) {
  .brand-icon { width: 52px; height: 52px; }
  .brand-icon svg { width: 47px; height: 47px; }
}

.lang-group {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(20 22 27 / 0.8);
}
.lang-tab {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--mute);
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.lang-tab:hover { color: var(--ink); }
.lang-tab.lang-active { background: var(--elevated); color: var(--ink); }
@media (min-width: 640px) {
  .lang-group { gap: 0; }
  .lang-tab { width: auto; min-width: 44px; padding: 0 10px; font-size: 12.5px; }
}
.lang-tab .short { display: inline; }
.lang-tab .full { display: none; }
@media (min-width: 640px) {
  .lang-tab .short { display: none; }
  .lang-tab .full { display: inline; }
}

.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
@media (min-width: 640px) { .nav-actions { gap: 8px; } }
@media (max-width: 479.98px) { .nav-actions { display: none; } }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s ease;
}
.btn-accent:hover { transform: scale(1.04); }
.btn-accent:active { transform: scale(0.97); }
.btn-accent svg { width: 16px; height: 16px; }
.btn-accent.btn-compact {
  min-height: 44px;
  gap: 4px; padding: 6px 12px; font-size: 12px;
}
@media (min-width: 640px) {
  .btn-accent.btn-compact { gap: 8px; padding: 8px 16px; font-size: 13.5px; }
}
.btn-accent.is-unavailable {
  background: var(--elevated);
  color: var(--mute);
  cursor: default;
}
.footer-links span { font-size: 14px; font-weight: 500; color: var(--mute); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding-top: var(--nav-h); }
.dot-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
}
.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 64px;
  padding-block: 80px 96px;
}
@media (min-width: 640px) { .hero-grid { padding-block: 112px 96px; } }
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    padding-block: 112px 128px;
  }
  .hero-phone { justify-self: end; }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--elevated);
  font-size: 12px;
  color: var(--mute);
}
.hero h1 {
  margin-top: 24px;
  max-width: 21ch;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 24px;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--mute);
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.hero-cta-note {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  color: var(--mute);
}

/* ── Phone chassis (used by hero and the dark/light stage) ── */
.phone {
  position: relative;
  width: min(330px, 85vw);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 52px;
  background: #000;
  box-shadow: 0 50px 140px -40px rgb(0 0 0 / 0.95);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.05);
  border-radius: 42px;
  background: radial-gradient(circle at 50% 0%, #15181e, var(--bg) 72%);
  aspect-ratio: 780 / 1696;
}
.phone-screen img.capture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html:not(.js) img[data-capture]:not([src]) { display: none; }
.phone-island {
  position: absolute;
  top: 2.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 4%;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  background: #000;
}
.phone-sm { width: min(250px, 70vw); border-radius: 40px; padding: 8px; }
.phone-sm .phone-screen { border-radius: 32px; }
.phone-hero { width: min(330px, 85vw); }
.capture-pin {
  position: absolute;
  z-index: 4;
  width: 15px;
  height: 15px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgb(14 17 14 / 0.9);
  box-shadow: 0 0 0 2px rgb(14 17 14 / 0.8);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.capture-pin::before {
  content: '';
  position: absolute;
  top: 6px;
  right: 100%;
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.capture-pin::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.capture-pin-hero, .capture-pin-week { left: 70%; top: 39%; }
.capture-pin-dark, .capture-pin-light { left: 12%; top: 37%; }
.capture-pin-courses { left: 66%; top: 60%; }
html[lang^='zh'] .capture-pin-courses { left: 72%; top: 65%; }
.capture-pin-day { left: 72%; top: 24%; }
.capture-note {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--accent);
  font: 550 11px/1.4 var(--font-sans);
  letter-spacing: 0.01em;
}
.capture-note::before {
  content: '';
  flex: none;
  width: 15px;
  height: 1px;
  margin-bottom: 3px;
  background: currentColor;
}

/* ── Pillars ── */
.pillars { padding-block: 96px; }
@media (min-width: 640px) { .pillars { padding-block: 128px; } }
.pillar-list { margin-top: 64px; }
.pillar-hair { height: 1px; width: 100%; background: var(--line); }
.pillar {
  display: grid;
  gap: 20px;
  padding-block: 40px;
}
@media (min-width: 768px) {
  .pillar { grid-template-columns: 56px 1fr; gap: 32px; padding-block: 48px; }
}
.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgb(199 245 68 / 0.1);
  color: var(--accent);
}
@media (min-width: 768px) { .pillar-icon { width: 56px; height: 56px; } }
.pillar-icon svg { width: 24px; height: 24px; }
@media (min-width: 768px) { .pillar-icon svg { width: 28px; height: 28px; } }
.pillar h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pillar p {
  margin-top: 12px;
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--mute);
}

/* ── Statement ── */
.statement {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.statement-glyph {
  position: absolute;
  top: 50%;
  /* vertical centering via margin, not transform: the parallax engine owns
     this element's transform and would overwrite a translateY(-50%) */
  margin-top: calc(min(46rem, 70vw) / -2);
  right: -12%;
  width: min(46rem, 70vw);
  pointer-events: none;
  color: var(--accent);
  opacity: 0.05;
}
.statement-inner { position: relative; padding-block: 128px; }
@media (min-width: 640px) { .statement-inner { padding-block: 176px; } }
.statement-line {
  margin-inline: auto;
  max-width: 22ch;
  text-align: center;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ── Feature cards ── */
.features { padding-block: 80px; }
@media (min-width: 640px) { .features { padding-block: 112px; } }
.features .h2 { max-width: 26ch; }
.features-sub {
  margin-top: 16px;
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--mute);
}
.feature-stack { margin-top: 48px; display: grid; gap: 16px; }
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
/* pointer-tracked spotlight sheen */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgb(199 245 68 / 0.07), transparent 65%);
}
.card:hover::after { opacity: 1; }
.card-cols { display: grid; }
@media (min-width: 1024px) { .card-cols { grid-template-columns: 0.9fr 1.1fr; } }
.card-pad { padding: 24px; }
@media (min-width: 640px) { .card-pad { padding: 32px; } }
.card-stage {
  border-top: 1px solid var(--line);
  background: rgb(10 11 13 / 0.6);
  padding: 24px;
}
@media (min-width: 640px) { .card-stage { padding: 32px; } }
@media (min-width: 1024px) {
  .card-stage { border-top: 0; border-left: 1px solid var(--line); }
}
/* mirrored variant (poster card: text right, stage left) */
@media (min-width: 1024px) {
  .card-cols.flip .card-stage { order: -1; border-left: 0; border-right: 1px solid var(--line); }
}
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.card-body { margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--mute); }
.card-note {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid rgb(199 245 68 / 0.5);
  font-size: 13px;
  line-height: 1.6;
  color: var(--mute);
}

/* OCR ladder */
.ladder { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 8px; }
.ladder-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--elevated);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--mute);
}
.ladder-step svg { width: 14px; height: 14px; }
.ladder-step.is-verify { color: var(--ink); }
.ladder-step.is-final {
  border-color: rgb(199 245 68 / 0.4);
  background: rgb(199 245 68 / 0.1);
  color: var(--accent);
}
.ladder-arrow { flex-shrink: 0; width: 14px; height: 14px; color: var(--faint); }
.ladder-reject {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.reject-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  border: 1px solid rgb(244 63 94 / 0.3);
  border-radius: 6px;
  background: rgb(244 63 94 / 0.08);
  color: var(--rose);
  text-decoration: line-through;
}
.ladder-reject span { font-size: 11.5px; color: var(--mute); }

/* Ledger interaction */
.ledger {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--elevated);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.ledger-action {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 96px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
}
.ledger-action svg { width: 16px; height: 16px; }
.ledger-action.act-skip { left: 0; border-radius: 10px 0 0 10px; background: rgb(244 63 94 / 0.15); color: var(--rose); }
.ledger-action.act-walk { right: 0; border-radius: 0 10px 10px 0; background: rgb(199 245 68 / 0.15); color: var(--accent); }
.ledger-row {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: grab;
  touch-action: pan-y;
}
.ledger-row.dragging { cursor: grabbing; }
.ledger-mark {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
}
.ledger-mark svg { width: 16px; height: 16px; }
.ledger-mark.mk-walk { background: rgb(199 245 68 / 0.15); color: var(--accent); }
.ledger-mark.mk-skip { background: rgb(244 63 94 / 0.15); color: var(--rose); }
.ledger-code { font-size: 14px; font-weight: 600; }
.ledger-when {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
  color: var(--mute);
}
.ledger-status {
  display: none;
  flex-shrink: 0;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.ledger-status.st-walk { border-color: rgb(199 245 68 / 0.4); color: var(--accent); }
.ledger-status.st-skip { border-color: rgb(244 63 94 / 0.4); color: var(--rose); }
.ledger-row.m-walk .ledger-mark.mk-walk { display: flex; }
.ledger-row.m-walk .ledger-status.st-walk { display: flex; }
.ledger-row.m-skip { background: var(--elevated); }
.ledger-row.m-skip .ledger-mark.mk-skip { display: flex; }
.ledger-row.m-skip .ledger-status.st-skip { display: flex; }
.ledger-row.m-skip .ledger-code { text-decoration: line-through; text-decoration-thickness: 2px; }
.ledger-row.m-skip .ledger-body { color: var(--mute); }
.ledger-meta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.ledger-count { font-weight: 700; color: var(--ink); }
.ledger-label { color: var(--mute); }
.ledger-dot { color: var(--faint); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--mute);
  transition: color 0.2s ease;
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost svg { width: 14px; height: 14px; }
.ledger-try { margin-top: 12px; font-size: 13px; color: var(--mute); }
.ledger-try button { font-weight: 600; }
.ledger-try .do-walk { color: var(--accent); margin-left: 4px; }
.ledger-try .do-walk:hover { text-decoration: underline; }
.ledger-try .do-skip { color: var(--rose); }
.ledger-try .do-skip:hover { text-decoration: underline; }
.ledger-try .sep { margin-inline: 4px; color: var(--faint); }
.ledger-quip { margin-top: 12px; text-align: center; font-size: 13px; color: var(--mute); }

/* Feature pair grid (commute + add/drop) */
.pair { display: grid; gap: 16px; }
@media (min-width: 1024px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair .card { display: flex; flex-direction: column; }

/* Commute notifications */
.notif-list { margin-top: 24px; flex: 1; display: grid; gap: 10px; }
.notif {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--elevated);
}
.notif svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--mute); }
.notif .t { font-size: 13px; font-weight: 600; }
.notif .b {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--mute);
}
.notif .at {
  margin-left: auto;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: var(--mute);
}
.notif.is-live { border-color: rgb(199 245 68 / 0.3); background: rgb(199 245 68 / 0.08); }
.notif.is-live svg { color: var(--accent); }
.notif.is-muted { background: var(--surface); }
.notif.is-muted .t { color: var(--mute); }
.formula {
  margin-top: 24px;
  display: inline-block;
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  color: var(--accent);
}

/* Add/drop rows */
.adr-list { margin-top: 24px; flex: 1; display: grid; gap: 10px; }
.adr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--elevated);
}
.adr-row.is-ghost { border-style: dashed; }
.adr-bar { width: 4px; height: 32px; border-radius: 999px; flex-shrink: 0; }
.adr-code {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 6px;
}
.adr-code svg { width: 14px; height: 14px; flex-shrink: 0; }
.adr-where {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: var(--mute);
}
.adr-tag {
  flex-shrink: 0;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--mute);
}
.adr-row.is-ghost .adr-tag { border-style: dashed; }
.adr-restore {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.adr-restore:hover { border-color: rgb(199 245 68 / 0.5); color: var(--accent); }
.adr-restore svg { width: 12px; height: 12px; }
.adr-row.is-dropped { border-style: dashed; background: var(--surface); }
.adr-row.is-dropped .adr-code { color: var(--mute); text-decoration: line-through; }

/* Lock-screen wallpaper mock (illustration of the poster export) */
.lockscreen {
  position: relative;
  width: 200px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 16px;
  background: linear-gradient(to bottom, #0c0e12, #12151c);
}
.lockscreen .ls-lock { display: flex; justify-content: center; color: rgb(245 245 247 / 0.5); }
.lockscreen .ls-lock svg { width: 12px; height: 12px; }
.ls-clock { margin-top: 16px; text-align: center; }
.ls-date { font-size: 10.5px; color: rgb(245 245 247 / 0.6); font-variant-numeric: tabular-nums; }
.ls-time {
  margin-top: 2px;
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: rgb(245 245 247 / 0.95);
}
.ls-bars { margin-top: 24px; display: grid; gap: 6px; }
.ls-bar-row { display: flex; align-items: center; gap: 6px; }
.ls-dot { width: 6px; height: 6px; border-radius: 999px; flex-shrink: 0; }
.ls-bar { height: 8px; border-radius: 999px; opacity: 0.55; }
.ls-brand {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(245 245 247 / 0.4);
}
.ls-save { margin-top: 16px; display: flex; justify-content: center; color: rgb(245 245 247 / 0.3); }
.ls-save svg { width: 14px; height: 14px; }
.ls-caption {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
}
.ls-caption svg { width: 14px; height: 14px; }

/* ── Modes (dark → light scrollytelling, real captures) ── */
.modes { border-top: 1px solid var(--line); }
.modes-space { height: 260vh; }
.modes-pin {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.modes-grid {
  display: grid;
  align-items: center;
  gap: 48px;
  width: 100%;
}
@media (min-width: 1024px) { .modes-grid { grid-template-columns: 0.9fr 1.1fr; } }
.modes-copy .h2 { max-width: 18ch; }
.modes-body {
  margin-top: 16px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--mute);
}
.modes-caption {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mute);
}
/* caption swap follows the same scroll timeline as the crossfade */
.modes-captions { display: grid; margin-top: 20px; }
.modes-captions .modes-caption { grid-area: 1 / 1; }
.cap-light { opacity: 0; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cap-dark {
      animation: cap-out linear both;
      animation-timeline: --modes;
      animation-range: cover 35% cover 50%;
    }
    .cap-light {
      animation: modes-fade linear both;
      animation-timeline: --modes;
      animation-range: cover 50% cover 65%;
    }
  }
}
@keyframes cap-out { from { opacity: 1; } to { opacity: 0; } }

/* ── Gallery: three real screens, scrubbed horizontally by scroll ──
   Fallback: a native swipeable snap strip. Supporting browsers get the
   sticky pin + scroll-scrubbed translate; reduced motion keeps the swipe. */
.gallery-head { padding-top: 96px; }
.gallery-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 48px 24px;
}
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-viewport { scrollbar-width: none; }
.gallery-track {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  width: max-content;
  padding-inline: 24px;
  padding-right: max(24px, calc(50vw - 380px));
}
.gallery-card { scroll-snap-align: center; margin: 0; }
.gallery-card .phone { margin-inline: auto; }
.gallery-card.tilt-l .phone { transform: rotate(-2deg) translateY(10px); }
.gallery-card.tilt-r .phone { transform: rotate(2deg) translateY(14px); }
.gallery-card figcaption {
  margin-top: 16px;
  max-width: 260px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mute);
}
.gallery-progress {
  display: none;
  width: min(320px, 40vw);
  height: 2px;
  margin-inline: auto;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.gallery-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0.04);
  transform-origin: 0 50%;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .gallery-space {
      height: 340vh;
      view-timeline-name: --gallery;
      view-timeline-axis: block;
    }
    .gallery-head { padding-top: 0; }
    .gallery-pin {
      position: sticky;
      top: 0;
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 12px;
      overflow: hidden;
    }
    .gallery-viewport { overflow: visible; padding-block: 48px 8px; }
    .gallery-track {
      animation: gallery-scrub linear both;
      animation-timeline: --gallery;
      animation-range: cover 25% cover 75%;
    }
    .gallery-progress { display: block; }
    .gallery-progress span {
      animation: gallery-progress linear both;
      animation-timeline: --gallery;
      animation-range: cover 25% cover 75%;
    }
  }
}
@keyframes gallery-scrub {
  /* Glides ±60px so wide screens (where the track fits) still drift; on
     narrow screens min() clamps to the real overflow, so all cards pass. */
  from { transform: translateX(60px); }
  to { transform: translateX(calc(min(0px, 100vw - 100%) - 60px)); }
}
@keyframes gallery-progress {
  from { transform: scaleX(0.04); }
  to { transform: scaleX(1); }
}
.modes-stage { position: relative; justify-self: center; }
.modes-stage .phone-screen img.capture { position: absolute; }
.modes-img-dark { position: relative; }
.modes-img-light {
  position: absolute;
  inset: 0;
  opacity: 0;
}
/* Crossfade driven by the tall space's scroll progress */
.modes-space { view-timeline-name: --modes; view-timeline-axis: block; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .modes-img-light {
      animation: modes-fade linear both;
      animation-timeline: --modes;
      animation-range: cover 35% cover 65%;
    }
  }
}
@keyframes modes-fade { from { opacity: 0; } to { opacity: 1; } }
/* Fallback without scroll timelines: light mode visible statically under the
   dark one is wrong, so keep dark only (still authentic). */
.modes-stage.no-timeline .modes-img-light { display: none; }

/* ── Ownership ── */
.own { padding-block: 96px; }
@media (min-width: 640px) { .own { padding-block: 128px; } }
.own .h2 { max-width: 24ch; }
.own-claims {
  margin-top: 56px;
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) { .own-claims { grid-template-columns: 1fr 1fr; gap: 64px; } }
.own-claims h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.own-claims p {
  margin-top: 12px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--mute);
}
.stat-band {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 24px;
}
@media (min-width: 1024px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat { margin: 0; padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.stat dd {
  margin: 12px 0 0;
  max-width: 22ch;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mute);
}

/* ── FAQ ── */
.faq { padding-block: 96px; }
@media (min-width: 640px) { .faq { padding-block: 128px; } }
.faq .wrap { max-width: 820px; }
.faq-list { margin-top: 48px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  cursor: pointer;
  list-style: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--mute);
  transition: transform 0.2s ease;
}
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-a {
  padding-bottom: 20px;
  padding-right: 32px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--mute);
}
.faq-item[open] .faq-a { animation: faq-open 0.4s var(--ease) both; }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  gap: 40px;
  padding-block: 56px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand svg { width: 24px; height: 24px; color: var(--accent); }
.footer-brand p { font-size: 14px; color: var(--mute); }
.footer-line {
  margin-top: 16px;
  max-width: 42ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--faint);
}
.footer-ios {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  line-height: 1.6;
  color: var(--faint);
}
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (min-width: 640px) { .footer-links { align-items: flex-end; } }
.footer-links a { font-size: 14px; font-weight: 500; color: var(--mute); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-block: 20px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
  color: var(--faint);
}
.footer-bottom-row .right { display: flex; align-items: center; gap: 16px; }
.footer-bottom-row a { transition: color 0.2s ease; }
.footer-bottom-row a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════════════════
   Motion
   ══════════════════════════════════════════════════════════════════════════ */

/* Entrance choreography. The .js class is set by an inline head script, so
   without JavaScript everything below is simply visible. */
html.js .rise { opacity: 0; }
html.js .loaded .rise,
html.js.loaded .rise {
  animation: rise-in 0.9s var(--ease) both;
  animation-delay: var(--d, 0ms);
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Scroll-scrubbed reveals: choreography follows the scroll position itself
   (deterministic at any frame rate, robust in throttled renderers). Content
   is visible by default; supporting browsers get the scrub. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal]:not([data-reveal='hair']) {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 8% entry 55%;
    }
    [data-reveal='hair'] {
      animation: hair-draw linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
    [data-reveal='pop'] {
      animation: reveal-pop linear both;
      animation-timeline: view();
      animation-range: entry 8% entry 55%;
    }
    [data-reveal='left'] {
      animation: reveal-left linear both;
      animation-timeline: view();
      animation-range: entry 8% entry 55%;
    }
    [data-reveal='right'] {
      animation: reveal-right linear both;
      animation-timeline: view();
      animation-range: entry 8% entry 55%;
    }
    /* staggered variant: set --i per element (JS clamps it) */
    [data-reveal].stagger {
      animation-range: entry calc(8% + var(--i, 0) * 4.5%) entry calc(55% + var(--i, 0) * 4.5%);
    }
    /* figure scrub for phone-framed captures */
    .modes-stage[data-reveal] { animation: none; } /* stage animates via crossfade, not reveal */
  }
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@keyframes reveal-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes reveal-left {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: none; }
}
@keyframes reveal-right {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes hair-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Word/char-split headlines (JS splits only when scroll timelines are
   supported; otherwise the plain text stays). Each word scrubs in with a
   small per-index range offset. */
.split .w { display: inline-block; white-space: pre; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .split .w {
      animation: word-in linear both;
      animation-timeline: view();
      animation-range: entry calc(5% + var(--i, 0) * 3.5%) entry calc(45% + var(--i, 0) * 3.5%);
    }
  }
}
@keyframes word-in {
  from { opacity: 0; transform: translateY(0.55em) rotate(1.5deg); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Parallax + tilt targets (written by the rAF engine in main.js). */
[data-parallax], [data-tilt] { will-change: transform; }
[data-tilt] { transform-origin: top center; }

/* Idle float on the hero phone (separate wrapper: parallax owns its parent's
   transform) plus a one-shot settle zoom on the hero capture. */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes capture-settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .loaded .float { animation: float-y 7s ease-in-out infinite; }
  html.js .loaded .phone-hero img.capture { animation: capture-settle 2.4s var(--ease) both; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .rise,
  html.js.loaded .rise {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .card, .card:hover, .btn-accent, .btn-accent:hover { transition: none; transform: none; }
  .card::after { display: none; }
  .nav { transition: none; }
  .split .w { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  [data-reveal] { animation: none !important; opacity: 1 !important; transform: none !important; }
  .modes-img-light { animation: none !important; opacity: 0 !important; }
  .cap-light { opacity: 0 !important; }
  .float, .phone-hero img.capture { animation: none !important; transform: none !important; }
  .kicker::before { animation: none !important; transform: none !important; }
}

/* Landing editorial layout. */
.wrap { max-width: 1280px; }
main section[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }
.nav {
  background: rgb(14 17 14 / 0.96);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav.nav-hidden { transform: none; }
.nav-row { gap: 24px; }
.nav-brand { min-height: 44px; font-size: 17px; letter-spacing: -0.025em; }
.nav-brand .zh { color: var(--accent); }
.nav-sections { display: flex; gap: 26px; margin-inline: auto; }
.nav-sections a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
  color: var(--mute);
}
.nav-sections a:hover { color: var(--ink); }
.lang-group { background: transparent; }
.lang-tab.lang-active { background: var(--accent); color: var(--bg); }
.nav .is-unavailable {
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: transparent;
  font-family: var(--font-mono);
  font-weight: 500;
}
.btn-accent { border-radius: 5px; }
.btn-accent:hover { transform: translateY(-2px); }
.btn-accent:active { transform: translateY(0); }

.hero { border-bottom: 1px solid var(--line); }
.hero::before {
  content: '';
  position: absolute;
  inset: var(--nav-h) 0 0 53%;
  pointer-events: none;
  border-left: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, transparent 0 86px, var(--line) 87px 88px);
  opacity: 0.48;
}
.hero-grid {
  min-height: min(820px, 92svh);
  gap: 36px;
  padding-block: 72px 58px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-folio {
  display: flex;
  justify-content: space-between;
  max-width: 610px;
  margin-bottom: 68px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  font: 600 11px/1.3 var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--accent);
}
.hero-folio span { color: var(--faint); }
.chip {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--accent);
  font: 600 11px/1.3 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 12ch;
  margin-top: 18px;
  font-size: clamp(3.7rem, 6.6vw, 6.6rem);
  line-height: 0.98;
  font-weight: 740;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
html[lang^='zh'] .hero h1 { max-width: 10ch; line-height: 1.13; letter-spacing: -0.035em; }
.hero-tagline {
  max-width: 29ch;
  margin-top: 28px;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.4;
  font-weight: 620;
}
.hero-sub {
  max-width: 52ch;
  margin-top: 18px;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.6;
}
.hero-cta { margin-top: 30px; gap: 20px; }
.hero-cta .btn-accent { min-height: 48px; gap: 28px; }
.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mute);
  font: 500 12px/1.4 var(--font-mono);
}
.availability-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.hero-cta-note { margin-top: 12px; }
.hero-phone {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  isolation: isolate;
  min-height: 675px;
  padding: 16px 34px 46px;
}
.hero-wordmark {
  position: absolute;
  z-index: -1;
  top: 6%;
  right: -5%;
  writing-mode: vertical-rl;
  font-size: clamp(7rem, 13vw, 13rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.1em;
  color: rgb(199 245 68 / 0.13);
  user-select: none;
}
html.js .hero-wordmark {
  opacity: var(--mark-opacity, 0.42);
  transform: translateY(var(--mark-shift, 14px));
}
.hero-schedule {
  position: absolute;
  z-index: -1;
  inset: 12% auto 15% 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font: 500 11px/1 var(--font-mono);
  color: var(--faint);
}
.hero-schedule span { display: flex; align-items: center; gap: 11px; }
.hero-schedule span::after { content: ''; width: 34px; height: 1px; background: var(--line-strong); }
.phone { box-shadow: 0 22px 65px rgb(0 0 0 / 0.35); }
.phone-hero { width: min(332px, 80%); }
.hero-image-label {
  display: flex;
  gap: 18px;
  align-items: baseline;
  max-width: 340px;
  margin-top: 16px;
  color: var(--mute);
  font: 500 11px/1.4 var(--font-mono);
}
.hero-image-label span:first-child { color: var(--accent); white-space: nowrap; }
.hero-phone > .capture-note { width: min(340px, 100%); margin-top: 7px; }

.pillars { padding-block: 106px 92px; }
.pillars .wrap { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: 8%; }
.h2 { font-size: clamp(2.6rem, 4.8vw, 4.8rem); line-height: 1.02; letter-spacing: -0.045em; }
html[lang^='zh'] .h2 { line-height: 1.16; letter-spacing: -0.025em; }
.pillars .h2 { max-width: 12ch !important; margin-top: 0; }
.pillar-list { margin-top: 0; }
.pillar { gap: 20px; padding-block: 24px; }
.pillar-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: none;
}
.pillar-icon svg { width: 19px; height: 19px; }
.pillar h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.pillar p { max-width: 53ch; margin-top: 8px; font-size: 14px; line-height: 1.6; }

.statement { background: var(--accent); color: #11180b; }
.statement-glyph { display: none; }
.statement-inner { padding-block: 72px 82px; }
.statement-line {
  max-width: 18ch;
  font-size: clamp(2.9rem, 7.1vw, 7rem);
  line-height: 0.99;
  font-weight: 750;
  letter-spacing: -0.06em;
  color: inherit;
}
html[lang^='zh'] .statement-line { line-height: 1.13; letter-spacing: -0.035em; }

.features { padding-block: 104px 120px; }
.features-sub { max-width: 58ch; }
.feature-stack { gap: 0; margin-top: 52px; border-top: 1px solid var(--line-strong); }
.card {
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.card:hover { transform: none; border-color: var(--line-strong); }
.card::after { display: none; }
.card-cols { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
.card-cols.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
.card-pad { padding: 38px 36px 40px 0; }
.card-cols.flip .card-pad { padding-inline: 36px 0; }
.card-stage {
  min-width: 0;
  padding: 32px;
  background: var(--surface);
  border-left: 1px solid var(--line);
}
.card-cols.flip .card-stage { border-left: 0; border-right: 1px solid var(--line); }
.card h3 { font-size: clamp(1.55rem, 2.4vw, 2.35rem); line-height: 1.12; letter-spacing: -0.035em; }
.card-body { font-size: 15px; line-height: 1.65; }
.card-note { max-width: 53ch; }
.pair { gap: 0; border-bottom: 1px solid var(--line-strong); }
.pair .card { border-bottom: 0; }
.pair .card:first-child { border-right: 1px solid var(--line-strong); }
.pair .card-pad { padding: 38px 30px 40px 0; }
.pair .card:last-child .card-pad { padding-left: 30px; padding-right: 0; }

.modes { background: #171c17; }
.modes-space { height: auto; }
.modes-pin { position: relative; top: auto; height: auto; min-height: 0; padding-block: 96px; }
.modes-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; }
.modes-copy .h2 { max-width: 12ch; }
.modes-caption { margin-top: 22px; font-family: var(--font-mono); }
.modes-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; justify-self: stretch; width: 100%; }
.appearance-shot { min-width: 0; margin: 0; }
.appearance-shot .phone { width: min(228px, 100%); margin-inline: auto; }
.appearance-shot > .capture-note { max-width: 228px; margin: 12px auto 0; }
.appearance-shot figcaption {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-strong);
  color: var(--mute);
  font: 600 11px/1 var(--font-mono);
  letter-spacing: .08em;
}

.gallery-space { height: auto !important; }
.gallery-pin { position: relative !important; top: auto; height: auto !important; display: block; overflow: visible; padding-block: 104px 116px; }
.gallery-head { padding-top: 0; }
.gallery .h2 { max-width: 16ch; }
.gallery-viewport { overflow: visible; padding-block: 46px 0; }
.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: auto;
  max-width: 1280px;
  gap: 26px;
  margin-inline: auto;
  padding-inline: 32px;
  animation: none !important;
}
.gallery-card {
  min-width: 0;
  padding: 24px 12px 22px;
  border-top: 1px solid var(--line-strong);
  margin: 0;
}
.gallery-card.tilt-l .phone,
.gallery-card.tilt-r .phone { transform: none; }
.gallery-card .phone { width: min(270px, 100%); }
.gallery-card > .capture-note { max-width: 31ch; margin: 18px auto 0; }
.gallery-card figcaption { max-width: 31ch; margin: 8px auto 0; text-align: left; font-size: 13px; }
.gallery-progress { display: none !important; }

.own { background: #e7eddf; color: #172016; padding-block: 100px 108px; }
.own .h2 { max-width: 17ch; }
.own-claims { margin-top: 50px; }
.own-claims h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.own-claims p { color: #455343; }
.stat-band { margin-top: 66px; gap: 0; border-top: 1px solid #adbaa7; }
.stat { padding: 22px 14px 0 0; border: 0; border-right: 1px solid #adbaa7; }
.stat:not(:first-child) { padding-left: 20px; }
.stat:last-child { border-right: 0; }
.stat dt { color: #365d0b; }
.stat dd { color: #455343; }

.faq { padding-block: 105px 130px; }
.faq .wrap { max-width: 1280px; display: grid; grid-template-columns: .6fr 1fr; gap: 8%; }
.faq .h2 { max-width: 10ch; }
.faq-list { margin-top: 0; }
.faq-item summary { font-size: 18px; font-weight: 570; }
.faq-a { max-width: 66ch; }
.footer { background: #171c17; }
.footer-grid { padding-block: 62px; }
.footer-line, .footer-ios, .footer-bottom-row { color: var(--mute); }

@media (max-width: 1100px) {
  .nav-sections { gap: 14px; }
  .hero::before { inset-inline-start: 50%; }
  .hero h1 { font-size: clamp(3.5rem, 6.3vw, 5.3rem); }
  .hero-phone { min-height: 610px; }
}
@media (max-width: 900px) {
  .nav-sections { display: none; }
  .hero::before { inset-inline-start: 46%; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 48px 62px; }
  .hero h1 { font-size: clamp(3.1rem, 6vw, 4.8rem); }
  .hero-folio { margin-bottom: 42px; }
  .hero-phone { min-height: 540px; padding-inline: 15px; }
  .hero-schedule { display: none; }
  .pillars .wrap { gap: 5%; }
  .card-cols { grid-template-columns: 1fr 1fr; }
  .modes-grid { gap: 28px; }
}
@media (max-width: 767px) {
  .nav-actions .is-unavailable { display: none; }
}
@media (max-width: 700px) {
  .footer-links { gap: 0; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom-row .right { flex-wrap: wrap; gap: 8px 16px; }
  .footer-bottom-row a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
  .hero::before { inset: 55% 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-grid { display: block; min-height: 0; padding-block: 44px 35px; }
  .hero-folio { margin-bottom: 26px; }
  .hero h1 { max-width: 12ch; font-size: clamp(3.4rem, 11vw, 5.5rem); }
  .hero-tagline { margin-top: 20px; }
  .hero-sub { max-width: 52ch; margin-top: 14px; }
  .hero-cta { margin-top: 24px; }
  .hero-phone { min-height: 0; margin-top: 26px; padding-block: 25px 12px; }
  .hero-wordmark { right: 0; top: 0; font-size: 9rem; }
  .phone-hero { width: min(300px, 78vw); }
  .pillars { padding-block: 74px 76px; }
  .pillars .wrap { display: block; }
  .pillars .h2 { max-width: 17ch !important; }
  .pillar-list { margin-top: 38px; }
  .statement-inner { padding-block: 56px 64px; }
  .features { padding-block: 76px 80px; }
  .card-cols, .card-cols.flip { display: flex; flex-direction: column; }
  .card-cols.flip .card-stage { order: 2; border: 0; }
  .card-cols.flip .card-pad { order: 1; padding-inline: 0; }
  .card-pad, .pair .card-pad, .pair .card:last-child .card-pad { padding: 30px 0 24px; }
  .card-stage { border: 0; padding: 28px 20px; }
  .pair { display: block; }
  .pair .card:first-child { border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .modes-pin { padding-block: 70px; }
  .modes-grid { display: block; }
  .modes-stage { margin-top: 40px; }
  .gallery-pin { padding-block: 75px 86px; }
  .gallery-viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 36px 10px; }
  .gallery-track { display: flex; width: max-content; gap: 12px; padding-inline: 20px; }
  .gallery-card { width: min(72vw, 310px); scroll-snap-align: center; }
  .gallery-card .phone { width: min(225px, 100%); }
  .own { padding-block: 78px; }
  .stat-band { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .faq { padding-block: 76px 90px; }
  .faq .wrap { display: block; }
  .faq-list { margin-top: 32px; }
}
@media (max-width: 390px) {
  .nav-row { gap: 6px; }
  .nav-brand { font-size: 15px; }
  .hero h1 { font-size: 3.25rem; }
  .hero-cta { align-items: flex-start; flex-direction: column; gap: 13px; }
  .hero-image-label { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track, .modes-stage, .appearance-shot { animation: none !important; }
  html.js .hero-wordmark { opacity: 1; transform: none; }
}

[data-reveal] { animation: none !important; }
html.js .loaded .rise,
html.js.loaded .rise {
  animation: editorial-enter 0.5s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: var(--d, 0ms);
}
@keyframes editorial-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .rise, html.js .loaded .rise, html.js.loaded .rise { opacity: 1; animation: none; }
}
