/* Scenario landing pages — same surfaces as the homepage, one step quieter.
   Loaded after tokens.css and styles.css; see site/DESIGN.md. */

.landing main { padding-bottom: 0; }
/* The homepage keeps display lines unbroken between Han characters because its h1 is
   hand-broken with <br>. Scenario headings are full sentences, so let them wrap normally. */
.landing h1, .landing h2 { word-break: normal; overflow-wrap: break-word; }

/* ---------- breadcrumb ---------- */
.crumb { margin: 30px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--warm-3); font-size: 0.8125rem; }
.crumb a { color: var(--warm-2); text-decoration: none; transition: color 160ms var(--ease-io); }
.crumb [aria-current="page"] { color: var(--warm-2); }
.crumb span[aria-hidden] { color: var(--warm-3); }

/* ---------- hero ---------- */
.lhero { padding: 44px 0 8px; }
.lhero-grid { display: grid; gap: 44px; align-items: center; }
.lhero h1 { font-size: clamp(1.85rem, 3.1vw, 2.5rem); line-height: 1.2; letter-spacing: -0.022em; margin-bottom: 20px; max-width: 17em; }
.lhero .lede { max-width: 32em; }
.lhero .dl { margin-top: 28px; }
.lhero .meta { margin-top: 18px; }

/* app surface demo — glass belongs here, it stands in for the HUD / window */
.demo { width: 100%; max-width: 520px; justify-self: center; overflow: hidden; border-radius: var(--r-card); padding: 0; }
.demo-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--warm-3); font-size: 0.8125rem; }
.demo-head b { color: var(--warm); font-weight: 600; }
.demo-head .lens.sm { width: 26px; height: 26px; font-size: 11px; }
.demo-body { padding: 16px; display: grid; gap: 10px; }
.demo-in,
.demo-out,
.demo-field { padding: 9px 13px; font-size: 0.875rem; line-height: 1.55; }
.demo-in { max-width: 88%; border-radius: 15px 15px 15px 5px; background: #2a2d32; }
.demo-out { max-width: 92%; justify-self: end; border-radius: 15px 15px 5px 15px; background: rgb(138 184 250 / 0.16); box-shadow: inset 0 0 0 0.7px rgb(138 184 250 / 0.28); }
.demo-field { border-radius: 12px; background: rgb(255 255 255 / 0.045); box-shadow: inset 0 0 0 0.7px rgb(255 255 255 / 0.08); color: var(--warm-2); }
.demo-label { display: block; margin-bottom: 3px; color: var(--warm-3); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.01em; }
.demo-out .demo-label { color: var(--accent); }
.demo-hud { justify-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--hud); box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.06), inset 0 1px 0 rgb(255 255 255 / 0.1); color: var(--warm-2); font-size: 0.75rem; font-weight: 500; }
.demo-hud .key { min-width: 28px; height: 24px; padding: 0 7px; font-size: 0.6875rem; }

/* ---------- sections ---------- */
.lsec { padding: 84px 0 0; }
.lsec h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.25; }
.sec-lede { margin-top: 14px; max-width: 40em; color: var(--warm-2); font-size: 1.0625rem; }

/* three claims, hairline separated — no glass, per DESIGN.md */
.points { margin-top: 36px; border-top: 1px solid var(--line); }
.point { padding: 20px 0; border-bottom: 1px solid var(--line); }
.point h3 { font-family: var(--display); font-size: 1.125rem; letter-spacing: -0.012em; }
.point p { margin-top: 6px; max-width: 34em; color: var(--warm-2); font-size: 0.9375rem; }

/* bilingual conversation examples — the app's row material, not glass */
.examples { margin-top: 36px; display: grid; gap: 16px; }
.example { padding: 22px 24px; border-radius: var(--r-card); background: rgb(255 255 255 / 0.03); box-shadow: inset 0 0 0 0.7px rgb(255 255 255 / 0.08); }
.example h3 { font-size: 0.9375rem; font-weight: 600; }
.example dl { margin-top: 14px; display: grid; gap: 10px; }
.example dt { color: var(--warm-3); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.01em; }
.example dd { margin-top: 2px; color: var(--warm-2); font-size: 0.9375rem; line-height: 1.6; }
.example dd[lang]:not([lang="zh-Hans"]) { color: var(--warm); }

/* comparison — a table earns the panel; scrolls on narrow screens */
.compare-wrap { margin-top: 32px; overflow-x: auto; border-top: 1px solid var(--line); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.9375rem; }
.compare th,
.compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { color: var(--warm-3); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.compare thead th:first-child { width: 20%; }
.compare tbody th { color: var(--warm-2); font-weight: 500; }
.compare td { color: var(--warm-2); }
.compare .is-us { color: var(--warm); background: rgb(138 184 250 / 0.07); box-shadow: inset 0 0 0 0.7px rgb(138 184 250 / 0.16); }

/* three visible setup columns — all platforms in the HTML */
.setup { margin-top: 36px; display: grid; gap: 24px; }
.setup-col { padding-top: 18px; border-top: 1px solid var(--line); }
.setup-col h3 { font-family: var(--display); font-size: 1.0625rem; letter-spacing: -0.012em; }
.setup-col ol { margin-top: 14px; counter-reset: step; }
.setup-col li { counter-increment: step; position: relative; padding: 8px 0 8px 28px; color: var(--warm-2); font-size: 0.9375rem; }
.setup-col li::before { content: counter(step); position: absolute; left: 0; top: 0.82em; color: var(--warm-3); font: 600 0.75rem/1 var(--rounded); }

/* cross-links */
.related { margin-top: 32px; border-top: 1px solid var(--line); }
.related a { min-height: 54px; padding: 14px 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; border-bottom: 1px solid var(--line); text-decoration: none; transition: color 160ms var(--ease-io); }
.related b { font-weight: 600; }
.related span { color: var(--warm-3); font-size: 0.875rem; }

/* closing download band */
.cta-band { margin-top: 84px; padding: 36px 0; display: grid; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.cta-band p { margin-top: 10px; max-width: 34em; color: var(--warm-2); }
.cta-actions { display: grid; gap: 18px; justify-items: start; }

/* footer stays the homepage footer, minus the repeated download band */
.landing-foot .foot-guides { padding: 18px 0 10px; border-top: 0; }

@media (max-width: 719px) {
  /* Phones have less room; drop the hand-placed break and let the line balance. */
  .lhero h1 br { display: none; }
}
@media (min-width: 768px) {
  .points { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; border-top: 0; }
  .point { border-top: 1px solid var(--line); border-bottom: 0; padding-top: 18px; }
  .examples { grid-template-columns: 1fr 1fr; }
  .setup { grid-template-columns: repeat(3, 1fr); }
  .related { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .cta-band { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 980px) {
  .lhero { padding-top: 56px; }
  .lhero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); column-gap: 64px; }
}
@media (hover: hover) {
  .crumb a:hover { color: var(--warm); }
  .related a:hover { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .crumb a, .related a { transition-duration: 0.01ms; }
}
@media (prefers-reduced-transparency: reduce) {
  .demo { background: #1a1c21; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .demo-hud { background: #24252a; }
}
