/* Shared by index.html and privacy.html. Light only.
   Colours, radii and type mirror the Shuo Design System (claude.ai/artifact/RudhgdyFHaNiE3p4baSQkT);
   the layout follows the Shuo Site canvas (claude.ai/artifact/AXniR7rBo8iczwWs86pvev). */
:root {
  --surface: #FFFFFF;
  --grouped: #F2F2F7;      /* the one grey: panels, chips, quiet buttons */
  --line: #E5E5EA;
  --line-strong: #D1D1D6;
  --ink: #0A0A0A;
  --ink-2: #3A3A3C;
  --muted: #6E6E73;
  --blue: #2F5BFF;         /* the only action colour */
  --blue-text: #2443C9;
  --word: #5B7FFF;         /* underline of a tappable word on video */
  --danger: #C4322B;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --hanzi: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: clip; background: var(--surface); color: var(--ink); font: 17px/1.5 var(--ui); }
img { display: block; max-width: 100%; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.zh { font-family: var(--hanzi); }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }

h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 22px; line-height: 28px; }
.section-lede { margin: 12px 0 0; max-width: 36em; font-size: 18px; color: var(--muted); }

/* Header and footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--blue); }
.brand-small { font-size: 22px; }
.pill-quiet { display: flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--grouped); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.foot { display: grid; gap: 20px; padding: 48px 0 40px; font-size: 14px; line-height: 20px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a[aria-current] { color: var(--ink); font-weight: 600; }
.legal { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal p { margin: 0; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(40px, 6vw, 96px); padding-block: clamp(32px, 6vw, 88px) clamp(64px, 8vw, 120px); }
.hero-copy { flex: 1 1 440px; min-width: 0; display: grid; gap: 24px; }
h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.035em; }
.lede { margin: 0 0 8px; max-width: 32em; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }

/* Waitlist form */
.waitlist { display: grid; gap: 10px; width: 100%; max-width: 480px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.row input { flex: 1 1 220px; min-width: 0; height: 52px; padding: 0 20px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font: 17px var(--ui); }
.row input:focus { outline: none; border-color: var(--blue); }
.row input[aria-invalid="true"] { border-color: var(--danger); }
.btn { display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--blue); color: #FFFFFF; font: 600 17px/1 var(--ui); white-space: nowrap; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-small { justify-self: start; height: 48px; padding: 0 22px; }
.status { margin: 0; padding-left: 20px; font-size: 15px; line-height: 20px; color: var(--muted); }
.status:empty { display: none; }
.status svg, .done svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.status.err { display: flex; align-items: center; gap: 6px; color: var(--danger); }
.status.saved { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--grouped); color: var(--ink); font-size: 17px; font-weight: 600; }
.status.saved svg, .done svg { width: 20px; height: 20px; stroke: var(--blue); stroke-width: 2; }
.more { display: grid; gap: 14px; padding: 20px; border-radius: 20px; background: var(--grouped); }
.more p { margin: 0; }
.done { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.hint { font-size: 15px; color: var(--muted); }
.field { display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.field select { height: 48px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font: 17px var(--ui); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--blue); }
.fine { margin: 0; padding-left: 20px; font-size: 13px; line-height: 18px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Chinese on a clip: pinyin, characters, translation, each on its own line */
.sub, .line { display: grid; gap: 2px; }
.sub { color: #FFFFFF; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.sub .py { font-size: 12px; color: rgba(255,255,255,.78); }
.sub .hz { font: 500 24px/32px var(--hanzi); white-space: nowrap; }
.sub .en { font-size: 13px; color: rgba(255,255,255,.85); }
.sub u { text-decoration: none; border-bottom: 2.5px solid var(--word); }

/* The phone in the hero */
.phone { flex: 0 1 320px; min-width: 0; width: min(320px, 100%); margin-inline: auto; aspect-ratio: 9 / 19; padding: 10px; border-radius: 52px; background: var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #2B2D33; }
.screen .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.6)); }
.screen > :not(.still) { z-index: 1; }
.tabs { position: absolute; top: 28px; inset-inline: 0; display: flex; justify-content: center; gap: 16px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); }
.tabs b { color: #FFFFFF; border-bottom: 2px solid #FFFFFF; padding-bottom: 3px; }
.rail { position: absolute; right: 10px; bottom: 120px; display: grid; justify-items: center; gap: 16px; }
.rail img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #FFFFFF; object-fit: cover; }
.rail svg { width: 26px; height: 26px; fill: #FFFFFF; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.screen .sub { position: absolute; left: 16px; right: 64px; bottom: 76px; }
.series { position: absolute; left: 12px; right: 12px; bottom: 22px; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 12px; background: rgba(40,40,44,.42); border: 1px solid rgba(255,255,255,.18); color: #FFFFFF; font-size: 13px; -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); }
.series span { color: rgba(255,255,255,.78); }

/* Watch. Practice. Ask. */
.panel { padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 56px); border-radius: 28px; background: var(--grouped); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: clamp(32px, 4vw, 56px); }
.step { display: grid; gap: 6px; align-content: start; }
.step h3 { margin-top: 12px; }
.step > p { margin: 0; font-size: 16px; line-height: 23px; color: var(--muted); }
.card { position: relative; height: 340px; border-radius: 20px; background: var(--surface); padding: 22px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.card-clip { justify-content: flex-end; background: #2B2D33 url("img/noodle-shop.webp") center 30% / cover; }
.card-clip::before { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.65)); }
.card-clip .sub { position: relative; }
.card-clip .sub .hz { font-size: 22px; line-height: 30px; }
.chips { display: flex; gap: 6px; }
.chips span { display: flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--grouped); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.chips .on { background: var(--ink); color: #FFFFFF; }
.line { margin-top: auto; gap: 4px; }
.line .py { font-size: 13px; color: var(--muted); }
.line .py em { font-style: normal; color: var(--blue-text); }
.line .hz { font: 500 30px/40px var(--hanzi); white-space: nowrap; }
.line .hz u { text-decoration: none; color: var(--blue); border-bottom: 2.5px solid var(--blue); }
.line .en { font-size: 15px; color: var(--muted); }
.note { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--grouped); font-size: 15px; line-height: 20px; }
.card-tina { justify-content: flex-end; gap: 10px; font-size: 15px; line-height: 21px; }
.card-tina p { margin: 0; }
.you { align-self: flex-end; max-width: 80%; padding: 10px 14px; border-radius: 20px 20px 6px 20px; background: var(--blue); color: #FFFFFF; }
.tina { display: flex; align-items: flex-end; gap: 8px; }
.tina img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.tina p { max-width: 86%; padding: 10px 14px; border-radius: 20px 20px 20px 6px; background: var(--grouped); }

/* Levels */
.levels { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); padding-top: clamp(72px, 9vw, 128px); }
.levels > div:first-child { flex: 1 1 360px; min-width: 0; }
.levels .section-lede { max-width: 28em; }
.levels-side { flex: 1 1 480px; min-width: 0; display: grid; gap: 20px; align-content: start; }
.levels-side .fine { padding: 0; }
.level-grid, .scenes { margin: 0; padding: 0; list-style: none; }
.level-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.level-grid li { display: grid; padding: 18px; border-radius: 20px; border: 1px solid var(--line); }
.level-grid b { font-size: 22px; }
.level-grid span { font-size: 13px; color: var(--muted); }
.scenes { display: flex; flex-wrap: wrap; gap: 8px; }
.scenes li { display: flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--grouped); color: var(--ink-2); font-size: 15px; white-space: nowrap; }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: clamp(72px, 9vw, 128px); padding-top: 40px; border-top: 1px solid var(--line); }
.promises h3 { margin-bottom: 8px; font-size: 20px; line-height: 26px; }
.promises p { margin: 0; font-size: 16px; line-height: 23px; color: var(--muted); }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 80px); padding-top: clamp(72px, 9vw, 128px); }
.faq h2 { flex: 1 1 280px; }
.faq > div { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--line); }
details { padding: 20px 0; border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 24px; line-height: 1; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; font-size: 16px; line-height: 23px; color: var(--muted); }

/* Final call */
.join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; margin-top: clamp(72px, 9vw, 128px); padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 56px); border-radius: 28px; background: var(--grouped); }
.join-copy { flex: 1 1 360px; min-width: 0; display: flex; align-items: center; gap: 20px; }
.join-copy img { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.join h2 { margin-bottom: 6px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.join-copy p { margin: 0; color: var(--muted); }
.join .waitlist { flex: 1 1 400px; }
.join .more { background: var(--surface); }
.join .status.saved { background: var(--surface); }

/* Privacy */
.doc { max-width: 680px; margin: 0 auto; padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px); color: var(--ink-2); }
.doc h1 { margin-bottom: 8px; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; color: var(--ink); }
.doc h2 { margin: 32px 0 8px; font-size: 22px; line-height: 28px; letter-spacing: 0; color: var(--ink); }
.doc p, .doc ul { margin: 0; }
.doc ul { margin-top: 12px; padding-left: 22px; display: grid; gap: 6px; }
.doc .updated { margin: 0 0 40px; font-size: 15px; color: var(--muted); }
.doc .scope { padding: 16px 18px; border-radius: 16px; background: var(--grouped); font-size: 16px; line-height: 23px; }
.doc + .foot { border-top: 1px solid var(--line); }
.doc + .foot .legal { padding-top: 0; border-top: 0; }
