/* PrismRoute landing — 2026-10-22 v4. Dark ink base; the prism spectrum appears only in the hero headline and the routing diagram. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-var.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; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/fonts/jetbrains-mono-latin-var.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: #06070b;
  --surface: #0d0f16;
  --surface-2: #12141d;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --ink: #f4f5f8;
  --ink-2: #c8cad4;
  --muted: #9a9dac;
  --quiet: #868a9a;
  --p1: #7dd3fc;
  --p2: #7aa7ff;
  --p3: #5ccfb8;
  --p4: #eba57f;
  --p5: #f3d7a6;
  --prism: linear-gradient(100deg, var(--p2) 0%, var(--p1) 30%, var(--p3) 55%, var(--p5) 80%, var(--p4) 100%);
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  font-feature-settings: "cv11", "ss01";
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; color-scheme: dark; }
body { margin: 0; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:is(button, a, summary) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:is(a, button, summary, pre, [role=tabpanel]):focus-visible { outline: 2px solid var(--p2); outline-offset: 4px; border-radius: 8px; }
::selection { background: rgba(122, 167, 255, .35); color: #fff; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: #fff; color: #111; padding: 12px 20px; border-radius: 12px; }
.skip-link:focus { top: 14px; }
.s-wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.s-prism-text { background: var(--prism); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons and links */
.s-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: background 160ms, color 160ms, box-shadow 220ms var(--ease), transform 120ms var(--ease); }
.s-button:active { transform: scale(.975); }
.s-button, .s-button-primary { background: #f4f5f8; color: #0a0b10; box-shadow: none; }
.s-button-ghost { background: rgba(255, 255, 255, .04); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.s-button-ghost svg { transition: transform 200ms var(--ease); }
.s-button-small { min-height: 44px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.s-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); font-size: 15px; font-weight: 550; }
.s-link svg { color: var(--p2); transition: transform 200ms var(--ease); }
@media (hover: hover) {
  .s-button-primary:hover, .s-button:not(.s-button-ghost):hover { background: #fff; }
  .s-button-ghost:hover { background: rgba(255, 255, 255, .08); }
  .s-button-ghost:hover svg, .s-link:hover svg, .s-model-explore:hover svg, .s-badge:hover svg { transform: translateX(3px); }
}

/* Header */
.s-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: var(--bg); }
.s-header-inner { height: 64px; padding-inline: 0; display: flex; align-items: center; gap: 24px; }
.s-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; font-weight: 650; letter-spacing: -.03em; white-space: nowrap; }
.s-brand img { display: block; flex: none; }
.s-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.s-nav a, .s-login, .s-language { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 8px; transition: color 160ms, background 160ms; }
.s-nav-actions { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.s-language { border: 0; background: none; color: var(--muted); font-size: 13px; }
.s-login { color: var(--ink-2); }
@media (hover: hover) {
  .s-nav a:hover, .s-login:hover, .s-language:hover { color: #fff; background: rgba(255, 255, 255, .06); }
}
.s-menu-button { display: none; }
.s-menu-close, .s-menu-button { width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--ink); place-items: center; }
.s-mobile-menu { position: fixed; inset: max(12px, env(safe-area-inset-top)) 12px auto; width: auto; max-width: 560px; max-height: calc(100dvh - 32px); margin: 0 auto; padding: 12px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line-2); border-radius: 22px; background: rgba(14, 15, 22, .96); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.s-mobile-menu::backdrop { background: rgba(3, 4, 8, .6); transition: opacity 160ms ease-out; }
.s-mobile-menu[data-closing]::backdrop { opacity: 0; }
.s-menu-heading { display: flex; justify-content: space-between; align-items: center; padding-left: 12px; }
.s-menu-heading h2 { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0; }
.s-menu-close { display: grid; }
.s-menu-links { display: grid; gap: 2px; margin-block: 14px; }
.s-menu-links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 12px 16px; border-radius: 14px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.s-menu-links a::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); }
.s-menu-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 4px 4px; border-top: 1px solid var(--line); }
.s-menu-footer .s-login { min-height: 48px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 15px; }
.s-menu-footer .s-button { min-height: 48px; }

main { position: relative; }

/* Hero */
.s-hero { padding-top: 76px; padding-bottom: 128px; }
.s-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.s-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 12px; margin-bottom: 28px; border-radius: 8px; font-size: 13px; color: var(--ink-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); transition: background 160ms; }
.s-badge:hover { background: rgba(255, 255, 255, .07); }
.s-badge svg { color: var(--muted); transition: transform 200ms var(--ease); }
.s-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--p3); }
.s-hero h1 { margin: 0; font-size: clamp(52px, 6.6vw, 88px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.s-hero h1 span { display: block; }
.s-hero h1 .s-prism-text { padding-bottom: .08em; }
.s-hero-intro { max-width: 580px; margin: 24px 0 36px; color: var(--ink-2); font-size: 19px; line-height: 1.6; text-wrap: pretty; }
.s-hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.s-hero-facts { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0; margin: 32px 0 0; list-style: none; font-size: 14px; color: var(--muted); }
.s-hero-facts li { display: inline-flex; align-items: center; }
.s-hero-facts li + li::before { content: ""; width: 3px; height: 3px; margin-right: 20px; border-radius: 50%; background: var(--quiet); }

/* Product window */
/* Product preview — editor with a floating reply card. Accent follows the selected model. */
@property --accent { syntax: "<color>"; inherits: true; initial-value: #5ccfb8; }
@property --accent-2 { syntax: "<color>"; inherits: true; initial-value: #7dd3fc; }
.s-product { --selected: 0; --file: 0; --accent: #5ccfb8; --accent-2: #7dd3fc; position: relative; max-width: 1060px; margin: 72px 0 0; scroll-margin-top: 110px; transition: --accent 500ms var(--ease), --accent-2 500ms var(--ease); }
.s-product[data-model=claude] { --accent: #eba57f; --accent-2: #f3d7a6; }
.s-product[data-model=deepseek] { --accent: #7aa7ff; --accent-2: #a9c6ff; }
.s-stage { position: relative; padding: 0 120px 56px 0; }

.s-window { position: relative; isolation: isolate; border-radius: 14px; background: #0c0d13; box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px -40px rgba(0, 0, 0, .9); }
.s-window-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 60px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.s-window-dots { display: inline-flex; gap: 7px; }
.s-window-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.s-preview-label { display: inline-flex; align-items: center; gap: 8px; justify-self: end; font-size: 13px; color: var(--quiet); }
.s-preview-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.s-model-switch { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: 360px; max-width: 100%; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); }
.s-model-switch button { position: relative; z-index: 1; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; transition: color 200ms; }
.s-model-switch button:hover, .s-model-switch button[aria-selected=true] { color: var(--ink); }
.s-switch-thumb { position: absolute; inset: 3px auto 3px 3px; width: calc((100% - 6px) / 3); border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); transform: translateX(calc(var(--selected) * 100%)); transition: transform 320ms var(--ease); pointer-events: none; }

.s-editor { outline-offset: -4px; }
.s-files { position: relative; display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .18); }
.s-files button { min-height: 44px; padding: 0 14px; border: 0; background: none; color: var(--muted); font: 13px var(--mono); transition: color 200ms; }
.s-files button:hover, .s-files button[aria-pressed=true] { color: var(--ink); }
.s-file-ink { position: absolute; left: 12px; bottom: -1px; width: var(--ink-w, 76px); height: 2px; border-radius: 2px; background: var(--accent); transform: translateX(var(--ink-x, 0px)); transition: transform 380ms var(--ease), width 380ms var(--ease); }
.s-code-area { position: relative; }
.s-code { --lh: 25px; margin: 0; padding: 20px 0 24px; min-height: calc(var(--rows) * var(--lh) + 44px); overflow-x: auto; scrollbar-width: none; font: 13px/var(--lh) var(--mono); color: var(--ink-2); counter-reset: ln; }
.s-code::-webkit-scrollbar { display: none; }
.s-code code { display: block; width: max-content; min-width: 100%; font: inherit; }
.s-code .ln { position: relative; display: block; padding: 0 28px 0 64px; white-space: pre; counter-increment: ln; }
.s-code .ln::before { content: counter(ln); position: absolute; left: 0; width: 40px; text-align: right; color: rgba(255, 255, 255, .2); user-select: none; }
.s-code .ln.hl { background: color-mix(in srgb, var(--accent) 9%, transparent); box-shadow: inset 2px 0 0 var(--accent); }
.s-code .ln.hl::before { color: var(--accent); }
.t-k { color: #8da4c4; }
.t-s { color: #e3cfa6; }
.t-f { color: #eef0f5; }
.t-p { color: #aab3c2; }
.t-c { color: var(--quiet); }
.t-m { display: inline-block; color: var(--accent); }
.s-hl-note { position: absolute; right: 18px; top: calc(20px + (var(--hl, 5) - 1) * 25px - 4px); display: flex; align-items: center; gap: 4px; height: 33px; padding: 0 3px 0 12px; border-radius: 999px; font-size: 13px; color: var(--ink); background: #10121a; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); transition: top 380ms var(--ease); }
.s-copy.s-copy-inline { width: 28px; height: 28px; border-radius: 50%; }
.s-copy.s-copy-inline::after { content: ""; position: absolute; inset: -8px; }
.s-copy.s-copy-inline { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.s-copy.s-copy-inline .s-copy-check { color: var(--accent); }

.s-reply { position: absolute; right: 0; bottom: 0; z-index: 2; width: 380px; padding: 18px 20px 16px; border-radius: 18px; background: #171922; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -24px rgba(0, 0, 0, .85); }
.s-reply-head { display: flex; align-items: center; gap: 12px; }
.s-reply-head > div { display: grid; flex: 1; min-width: 0; }
.s-reply-head b { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.s-reply-head > div span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-reply-badge { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.s-reply-badge svg { width: 20px; height: 20px; }
.s-emblem-write, .s-emblem-think { display: none; }
.s-product[data-model=claude] .s-emblem-code, .s-product[data-model=deepseek] .s-emblem-code { display: none; }
.s-product[data-model=claude] .s-emblem-write, .s-product[data-model=deepseek] .s-emblem-think { display: block; }
.s-reply-status { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 13px; color: var(--quiet); }
.s-reply-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--quiet); }
.s-product[data-typing] .s-reply-status { color: var(--accent); }
.s-product[data-typing] .s-reply-status::before { background: var(--accent); }
.s-reply-ask { margin: 16px 0 0 auto; width: fit-content; max-width: 88%; padding: 8px 12px; border-radius: 12px 12px 4px 12px; font-size: 13px; line-height: 1.5; color: var(--ink); background: rgba(255, 255, 255, .07); }
.s-reply-text { min-height: calc(1.7em * 3); margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.s-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; border-radius: 1px; background: var(--accent); opacity: 0; }
.s-product[data-typing] .s-caret { opacity: 1; }
.s-reply-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--quiet); }
.s-reply-meta code { font: 13px var(--mono); color: var(--accent); }
.s-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.s-product-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: 8px; font-size: 14px; color: var(--quiet); }
.s-product-foot span:first-child { margin-right: auto; }
.s-product-foot a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink-2); white-space: nowrap; }
.s-product-foot a:hover { color: #fff; }
.s-model-explore svg { color: var(--accent); transition: transform 200ms var(--ease); }
.s-model-availability { margin: 26px 0 0; max-width: 640px; font-size: 14px; line-height: 1.7; color: var(--quiet); }

/* Motion — only in response to the visitor (model switch, typing, copy) */
@media (prefers-reduced-motion: no-preference) {
  .s-product[data-typing] .s-caret { animation: caret 1s steps(1) infinite; }
  .s-product[data-typing] .s-reply-status::before { animation: pulse 1.2s ease-in-out infinite; }
  .s-copy-inline[data-copied=true] { animation: pop 420ms cubic-bezier(.34, 1.6, .5, 1); }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
  @keyframes caret { 50% { opacity: 0; } }
  @keyframes pop { 40% { transform: scale(1.18); } }
}

/* Section headings */
.s-section-heading { max-width: 720px; margin-bottom: 52px; }
.s-section-heading h2, .s-faq h2, .s-closing h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 680; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.s-section-heading > p { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); }

/* Feature bento */
.s-features { padding-bottom: 140px; }
.s-specs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.s-spec { grid-column: span 4; display: flex; flex-direction: column; min-width: 0; padding: 32px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.s-spec-wide { grid-column: span 8; }
.s-spec-text { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: start; }
.s-spec-index { font: 200 44px/.9 var(--mono); letter-spacing: -.06em; color: var(--quiet); font-variant-numeric: tabular-nums; }
.s-spec h3 { margin: 0; font-size: 22px; font-weight: 650; line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
.s-spec-text p { max-width: 520px; margin: 8px 0 0; font-size: 15px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.s-spec-text { margin-bottom: 28px; }
.s-spec-figure { width: 100%; margin: auto 0 0; }
.s-spec-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; margin-top: 16px; }
.s-spec-foot .s-link { margin-left: auto; }
.s-spec-note { margin: 0; font-size: 14px; color: var(--quiet); }
.s-diff, .s-console { overflow: hidden; border-radius: 12px; background: #08090e; box-shadow: inset 0 0 0 1px var(--line-2); }
.s-diff-bar { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px 0 16px; border-bottom: 1px solid var(--line); font: 13px/1 var(--mono); color: var(--quiet); }
.s-diff-stat { margin-left: auto; font-family: inherit; color: var(--p1); }
.s-diff-code { margin: 0; padding: 10px 0 12px; font: 14px/1.8 var(--mono); color: var(--ink-2); }
.s-diff-code code { display: block; }
.s-diff-line { display: grid; grid-template-columns: 44px 22px minmax(0, 1fr); padding-right: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.s-diff-line > i { padding-right: 14px; font-style: normal; text-align: right; color: var(--quiet); user-select: none; }
.s-diff-line > b { font-weight: 400; color: var(--quiet); user-select: none; }
.s-diff-del { background: rgba(255, 255, 255, .03); color: var(--quiet); }
.s-diff-del > span { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .28); }
.s-diff-add { background: rgba(125, 211, 252, .08); box-shadow: inset 2px 0 0 var(--p1); color: var(--ink); }
.s-diff-add > b, .s-diff-add #base-url { color: var(--p1); }
.s-tools { display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0; list-style: none; font-size: 13px; color: var(--quiet); }
.s-tools li + li::before { content: "·"; padding: 0 10px; color: var(--line-2); }
.s-route { display: grid; grid-template-columns: auto minmax(20px, 1fr) auto; align-items: center; }
.s-route-key { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; background: #08090e; box-shadow: inset 0 0 0 1px var(--line-2); }
.s-route-key span { font-size: 13px; color: var(--quiet); }
.s-route-key code { font: 13px/1 var(--mono); color: var(--ink); white-space: nowrap; }
.s-route-lines { width: 100%; height: 132px; overflow: visible; }
.s-route-lines path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.s-route-l1 { stroke: color-mix(in srgb, var(--p3) 65%, transparent); }
.s-route-l2 { stroke: color-mix(in srgb, var(--p4) 65%, transparent); }
.s-route-l3 { stroke: color-mix(in srgb, var(--p2) 65%, transparent); }
.s-route-models { display: grid; padding: 0; margin: 0; list-style: none; }
.s-route-models a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 8px; font: 13px/1 var(--mono); color: var(--ink); white-space: nowrap; transition: background 160ms; }
@media (hover: hover) { .s-route-models a:hover { background: rgba(255, 255, 255, .05); } }
.s-route-swap { grid-column: 1 / -1; display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.s-route-swap span { font-size: 13px; color: var(--quiet); }
.s-route-swap code { font: 13px/1.4 var(--mono); color: var(--ink-2); }
.s-route-swap em { font-style: normal; color: var(--ink); }
.s-console-tag { justify-self: end; padding: 4px 8px; border-radius: 6px; font-family: inherit; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.s-console-balance { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 16px 16px 18px; border-bottom: 1px solid var(--line); }
.s-console-balance strong { grid-column: 1 / -1; }
.s-console-balance span { font-size: 13px; color: var(--quiet); }
.s-console-balance strong { font: 300 36px/1 var(--mono); letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.s-console-log { width: 100%; border-collapse: collapse; font: 13px/1 var(--mono); font-variant-numeric: tabular-nums; }
.s-console-log th { padding: 12px 12px 8px; font-size: 13px; font-weight: 500; text-align: right; color: var(--quiet); }
.s-console-log td { padding: 11px 12px; text-align: right; color: var(--ink-2); border-top: 1px solid var(--line); white-space: nowrap; }
.s-console-log :is(th, td):first-child { text-align: left; padding-left: 16px; padding-right: 0; }
.s-console-log :is(th, td):last-child { padding-right: 16px; }
.s-console-log td:first-child { color: var(--ink); }
.s-console-log tbody tr:last-child td { padding-bottom: 14px; }
.s-console-log td:last-child { color: var(--p1); }
.s-tick { display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--quiet); vertical-align: 1px; }
.s-bill { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 32px; align-items: stretch; }
.s-formula { display: grid; grid-template-columns: 16px max-content 16px minmax(0, 1fr); align-items: end; gap: 14px 12px; padding: 22px 24px; border-radius: 12px; background: #08090e; box-shadow: inset 0 0 0 1px var(--line-2); }
.s-term { display: grid; gap: 8px; min-width: 0; }
.s-term > span { font-size: 13px; color: var(--quiet); }
.s-term b { display: flex; align-items: center; min-height: 40px; font: 400 16px/1 var(--mono); color: var(--ink); white-space: nowrap; }
.s-term .s-locked { justify-self: start; padding: 6px 12px; border: 1px dashed rgba(255, 255, 255, .3); border-radius: 8px; font-family: inherit; font-size: 13px; line-height: 1.35; color: var(--ink-2); white-space: normal; }
.s-formula-rule { grid-column: 1 / -1; width: 100%; height: 1px; margin: 2px 0; border: 0; background: var(--line-2); }
.s-term-total { grid-column: 2 / -1; grid-template-columns: 1fr auto; align-items: center; }
.s-term-total b { font-family: inherit; font-size: 16px; font-weight: 600; color: var(--p1); }
.s-op { display: flex; align-items: center; justify-content: center; min-height: 40px; font: 300 20px/1 var(--mono); color: var(--quiet); }
.s-bill-facts { display: grid; align-content: space-between; margin: 0; border-top: 1px solid var(--line-2); }
.s-bill-facts div { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.s-bill-facts dt { font-size: 13px; color: var(--quiet); }
.s-bill-facts dd { margin: 0; font-size: 15px; color: var(--ink-2); }
.s-copy { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--ink-2); transition: background 160ms, color 160ms, transform 120ms var(--ease); }
.s-copy:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.s-copy:active { transform: scale(.95); }
.s-copy > svg { transition: opacity 160ms, transform 160ms; }
.s-copy .s-copy-check { position: absolute; opacity: 0; transform: scale(.8); color: var(--p1); }
.s-copy[data-copied=true] > svg:first-child { opacity: 0; transform: scale(.8); }
.s-copy[data-copied=true] .s-copy-check { opacity: 1; transform: scale(1); }
.s-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.s-dot-1 { background: var(--p3); } .s-dot-2 { background: var(--p4); } .s-dot-3 { background: var(--p2); }

/* Quick start timeline */
.s-start { padding-bottom: 140px; }
.s-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 0; margin: 0; list-style: none; }
.s-steps::before { content: ""; position: absolute; top: 24px; left: 24px; right: calc((100% - 80px) / 3 - 24px); height: 1px; background: var(--line-2); }
.s-steps li { position: relative; }
.s-step-number { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 22px; border-radius: 50%; font: 500 14px/1 var(--mono); color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 8px var(--bg); }
.s-steps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.s-steps h3 a { display: inline-flex; align-items: center; min-height: 44px; transition: color 160ms; }
.s-steps h3 a:hover { color: var(--p2); }
.s-steps p { max-width: 300px; margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.s-request { max-width: 860px; margin: 64px 0 0; border-radius: 14px; overflow: hidden; background: #08090e; box-shadow: inset 0 0 0 1px var(--line-2); }
.s-request summary { display: flex; align-items: center; gap: 16px; min-height: 54px; padding: 0 20px; list-style: none; cursor: pointer; font-size: 13px; color: var(--muted); border-bottom: 1px solid transparent; }
.s-request[open] summary { border-bottom-color: var(--line); }
.s-request summary::-webkit-details-marker { display: none; }
.s-request summary > svg { margin-left: auto; transition: transform 200ms; }
.s-request[open] summary > svg { transform: rotate(180deg); }
.s-request summary:hover { color: var(--ink); }
.s-request-content { padding: 18px 24px 22px; }
.s-request-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; color: var(--quiet); }
.s-request-toolbar button { min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--ink); font-size: 13px; font-weight: 550; white-space: nowrap; transition: background 160ms; }
.s-request-toolbar button:hover { background: rgba(255, 255, 255, .11); }
.s-request-toolbar button[data-copied=true] { color: var(--p1); }
.s-request pre { margin: 16px 0; font: 14px/1.85 var(--mono); color: var(--ink-2); overflow: auto; scrollbar-width: thin; scrollbar-color: #33364a transparent; }
.s-request pre code { font: inherit; }
.c-cmd { color: var(--p4); font-weight: 500; }
.c-url { color: var(--p1); }
.c-flag { color: var(--p3); }
.c-str { color: #e7e8ee; }
.s-request-content > p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--quiet); }

/* FAQ */
.s-faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; padding-bottom: 140px; }
.s-faq-heading { align-self: start; position: sticky; top: 110px; }
.s-faq h2 { font-size: clamp(32px, 3.6vw, 46px); }
.s-faq h2 span { display: block; }
.s-faq-list { border-top: 1px solid var(--line-2); }
.s-faq details { border-bottom: 1px solid var(--line-2); }
.s-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 550; line-height: 1.4; color: var(--ink); transition: color 160ms; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary:hover { color: #fff; }
.s-plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.s-plus::before, .s-plus::after { content: ""; position: absolute; left: 10px; top: 15.25px; width: 12px; height: 1.5px; border-radius: 1px; background: var(--ink-2); transition: transform 220ms var(--ease); }
.s-plus::after { transform: rotate(90deg); }
.s-faq details[open] .s-plus::after { transform: rotate(0); }
.s-faq details p { margin: 0; padding: 0 56px 26px 0; font-size: 15px; line-height: 1.75; color: var(--muted); }
.s-faq details p a { color: var(--p2); }

/* Closing */
.s-closing { padding-bottom: 120px; }
.s-closing-card { position: relative; overflow: hidden; padding: 72px 56px; border-radius: 16px; isolation: isolate; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.s-closing h2 span { display: block; }
.s-closing h2 span + span { color: var(--muted); }
.s-closing-card > p { max-width: 480px; margin: 20px 0 34px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* Footer */
.s-footer { padding: 44px 0 30px; border-top: 1px solid var(--line); }
.s-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 28px; }
.s-footer .s-brand { font-size: 16px; color: var(--ink); }
.s-footer-top nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 14px; color: var(--muted); }
.s-footer a { display: inline-flex; align-items: center; min-height: 44px; transition: color 160ms; }
.s-footer a:hover { color: #fff; }
.s-footer-bottom { display: flex; align-items: center; gap: 30px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--quiet); }
.s-footer-bottom > div { display: flex; flex-wrap: wrap; gap: 0 22px; }
.s-footer-bottom a[lang] { min-width: 44px; justify-content: center; }
.s-footer-bottom > span:last-child { margin-left: auto; }

.s-toast { position: fixed; left: 50%; bottom: 28px; z-index: 50; width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; transform: translate(-50%, 10px); border-radius: 14px; background: rgba(28, 30, 40, .96); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 40px rgba(0, 0, 0, .5); color: var(--ink); font-size: 14px; line-height: 1.5; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 160ms, transform 160ms, visibility 160ms; }
.s-toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Chinese typography: slightly looser leading, less negative tracking */
html[lang=zh-CN] .s-hero h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.12; letter-spacing: -.03em; }
html[lang=zh-CN] .s-hero-intro { font-size: 18px; line-height: 1.75; max-width: 560px; }
html[lang=zh-CN] :is(.s-section-heading h2, .s-faq h2, .s-closing h2) { line-height: 1.22; letter-spacing: -.02em; }
html[lang=zh-CN] .s-spec h3 { letter-spacing: 0; line-height: 1.4; font-weight: 600; }

/* Arrival motion — content is never hidden, only eased in */
@media (prefers-reduced-motion: no-preference) {
  .s-hero-copy > * { animation: rise 700ms var(--ease) both; }
  .s-hero-copy > :nth-child(2) { animation-delay: 60ms; }
  .s-hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .s-hero-copy > :nth-child(4) { animation-delay: 180ms; }
  .s-hero-copy > :nth-child(5) { animation-delay: 240ms; }
  @keyframes rise { from { opacity: .4; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .landing-v5 *, .landing-v5 *::before, .landing-v5 *::after { animation: none !important; transition: none !important; }
}

/* Tablet */
@media (max-width: 1024px) {
  .s-wrap { width: calc(100% - 48px); }
  .s-nav a { padding-inline: 10px; }
  .s-faq { gap: 48px; }
  .s-stage { padding: 0; }
  .s-reply { position: relative; width: 380px; margin: -44px 24px 0 auto; }
}
@media (max-width: 1180px) and (min-width: 761px) {
  .s-spec { grid-column: span 6; }
  .s-spec-wide { grid-column: span 12; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .s-nav { display: none; }
  .s-nav-actions { margin-left: auto; }
}

/* Phone */
@media (max-width: 760px) {
  .s-wrap { width: calc(100% - 40px); }
  .s-header-inner { height: 58px; gap: 8px; }
  .s-nav { display: none; }
  .s-nav-actions { margin-left: auto; gap: 4px; }
  html[data-navigation-ready] .s-nav-actions > .s-login,
  html[data-navigation-ready] .s-nav-actions > .s-button-small { display: none; }
  .s-menu-button:not([hidden]) { display: grid; }
  .s-hero { padding-top: 64px; padding-bottom: 88px; }
  .s-badge { font-size: 13px; margin-bottom: 24px; }
  .s-hero h1 { font-size: clamp(44px, 12.5vw, 60px); }
  html[lang=zh-CN] .s-hero h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .s-hero-intro, html[lang=zh-CN] .s-hero-intro { font-size: 16px; margin: 20px auto 28px; }
  .s-hero-actions { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }
  .s-hero-actions .s-button { width: 100%; }
  .s-hero-facts { gap: 8px 18px; margin-top: 26px; }
  .s-product { margin-top: 56px; }
  .s-window { border-radius: 18px; }
  .s-window-dots, .s-preview-label { display: none; }
  .s-window-top { grid-template-columns: 1fr; justify-items: center; padding: 10px; min-height: 0; }
  .s-model-switch button { min-height: 44px; font-size: 13px; padding: 0 6px; }
  .s-stage { padding: 0; }
  .s-files { padding: 0 6px; overflow-x: auto; scrollbar-width: none; }
  .s-files button { padding: 0 12px; }
  .s-code { --lh: 22px; padding: 14px 0 16px; font-size: 13px; min-height: 0; }
  .s-code .ln { padding: 0 20px 0 42px; }
  .s-code .ln::before { width: 26px; }
  .s-copy.s-copy-inline { width: 44px; height: 44px; }
  .s-request-toolbar button, .s-language { min-height: 44px; }
  .s-faq details p a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  .s-hl-note { position: static; justify-content: space-between; height: 44px; margin: 0 12px 12px; padding: 0 6px 0 14px; border-radius: 12px; }
  .s-reply { position: relative; width: auto; margin: -18px 12px 0 28px; padding: 16px 16px 14px; }
  .s-product-foot { margin-top: 14px; flex-direction: column; align-items: flex-start; gap: 0; }
  .s-model-switch { width: 100%; }
  .s-section-heading { margin-bottom: 36px; }
  .s-section-heading h2, .s-faq h2, .s-closing h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .s-section-heading > p { font-size: 16px; }
  .s-specs { grid-template-columns: 1fr; gap: 12px; }
  .s-spec { grid-column: auto; padding: 24px 20px 20px; border-radius: 16px; }
  .s-spec-text { column-gap: 16px; }
  .s-spec-index { font-size: 36px; }
  .s-spec h3 { font-size: 20px; }
  .s-spec-text { margin-bottom: 22px; }
  .s-diff-code { font-size: 13px; }
  .s-diff-line { grid-template-columns: 30px 18px minmax(0, 1fr); padding-right: 12px; }
  .s-diff-line > i { padding-right: 10px; }
  .s-route-key { padding: 10px 12px; }
  .s-route-models a { padding: 0 8px; font-size: 13px; }
  .s-bill { grid-template-columns: 1fr; }
  .s-formula { gap: 12px 10px; padding: 18px 16px; }
  .s-term b { font-size: 14px; }
  .s-console-log :is(th, td) { padding-inline: 8px; }
  .s-console-log :is(th, td):first-child { padding-left: 14px; }
  .s-console-log :is(th, td):last-child { padding-right: 14px; }
  .s-tick { margin-right: 8px; }
  .s-features, .s-start, .s-faq { padding-bottom: 96px; }
  .s-steps { grid-template-columns: 1fr; gap: 0; }
  .s-steps::before { top: 24px; bottom: 24px; left: 24px; right: auto; width: 1px; height: auto; background: var(--line-2); }
  .s-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; text-align: left; padding-bottom: 28px; }
  .s-steps li:last-child { padding-bottom: 0; }
  .s-step-number { grid-row: 1 / 3; margin: 0; box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 6px var(--bg); }
  .s-steps h3 { font-size: 18px; margin: 6px 0 2px; }
  .s-steps h3 a { min-height: 44px; }
  .s-steps p { margin: 0; max-width: none; font-size: 14px; }
  .s-request { margin-top: 48px; border-radius: 16px; }
  .s-request-content { padding: 16px 18px 20px; }
  .s-request-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .s-request pre { font-size: 13px; }
  .s-faq { grid-template-columns: 1fr; gap: 28px; }
  .s-faq-heading { position: static; }
  .s-faq summary { font-size: 16px; min-height: 68px; }
  .s-faq details p { padding-right: 0; font-size: 14px; }
  .s-closing { padding-bottom: 80px; }
  .s-closing-card { padding: 48px 22px; border-radius: 12px; }
  .s-closing-card > p { font-size: 15px; }
  .s-footer-top { display: block; }
  .s-footer-top nav { margin-top: 12px; gap: 0 22px; }
  .s-footer-bottom { flex-wrap: wrap; gap: 14px; }
  .s-footer-bottom > span:last-child { margin: 0; width: 100%; }
  html:not([data-navigation-ready]) .s-header-inner { height: auto; flex-wrap: wrap; padding-block: 8px; }
  html:not([data-navigation-ready]) .s-nav { display: flex; order: 3; width: 100%; }
}
@media (max-width: 360px) {
  .s-wrap { width: calc(100% - 28px); }
  .s-brand { font-size: 15px; }
  .s-model-switch button { font-size: 12.5px; }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
}
@media (prefers-contrast: more) {
  :root { --muted: #c0c3cf; --quiet: #a4a7b5; --line: rgba(255, 255, 255, .25); --line-2: rgba(255, 255, 255, .4); }
}
@media (forced-colors: active) {
  .s-prism-text { background: none; color: CanvasText; }
  .s-window { border: 1px solid CanvasText; }
  .s-header, .s-mobile-menu { background: Canvas; border-color: CanvasText; }
  .s-model-switch button[aria-selected=true] { outline: 2px solid Highlight; outline-offset: -3px; }
}
