/* Soloniq — marketing site. Tokens and measurements from design/design_handoff_soloniq_v2. */

@font-face { font-family: Geist; src: url(fonts/Geist-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/GeistMono-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0b0b0c; --surface: #161718; --text: #f4f4f2;
  --text-2: rgba(244,244,242,0.72); --text-3: rgba(244,244,242,0.5); --dim: rgba(244,244,242,0.42);
  --hairline: rgba(255,255,255,0.08);
  --light-bg: #f4f4f2; --light-card: #fff; --track: #e4e4e1;
  --ink: #1d1d1f; --ink-2: #4b4b4f; --ink-3: #6e6e73;
  --accent: #0088b0; --accent-hover: #1197c2; --accent-light: #4cb8e0; --accent-lighter: #7fd0ee; --accent-deep: #006786;
  --magenta-tint: #e7a8c6;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Geist, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; text-wrap: pretty; overflow-x: clip; }
a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--accent-lighter); text-decoration: underline; text-underline-offset: 4px; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .9s var(--ease) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .35s; animation-duration: 1.1s; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(11,11,12,0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hairline); }
.nav .wrap { padding: 0 24px; height: 52px; display: flex; align-items: center; gap: 28px; font-size: 13px; }
.brand { color: var(--text); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); text-decoration: none; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: rgba(244,244,242,0.8); }
.pill { display: inline-block; background: var(--accent); color: #fff; border-radius: 980px; font-weight: 500; border: 0; cursor: pointer; font-family: inherit; }
.pill:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.nav .pill { padding: 6px 14px; }
@media (max-width: 720px) { .nav-links { display: none; } .nav .pill { margin-left: auto; } }

/* Shared type */
.eyebrow { font-size: 19px; font-weight: 600; color: var(--accent-light); }
.h2 { font-size: clamp(40px,5.6vw,64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; }
.lead { font-size: clamp(19px,1.8vw,22px); line-height: 1.45; color: rgba(244,244,242,0.62); }
.section { padding: clamp(100px,12vw,160px) 24px; }
.light { background: var(--light-bg); color: var(--ink); }
.light .eyebrow { color: var(--accent-deep); }
.light .lead { color: var(--ink-2); }
.dim { color: var(--dim); }

/* Hero */
.hero { padding: clamp(80px,12vw,150px) 24px 0; text-align: center; }
.hero .eyebrow { font-size: clamp(17px,1.6vw,21px); font-weight: 500; }
.hero h1 { margin: 12px auto 0; max-width: 14ch; font-size: clamp(52px,9vw,112px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; }
.hero .intro { margin: 28px auto 0; max-width: 34ch; font-size: clamp(19px,2vw,24px); line-height: 1.4; color: var(--text-2); }
.ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.ctas .pill { padding: 13px 26px; font-size: 17px; }
.ctas .link { padding: 13px 10px; font-size: 17px; }

.term-wrap { max-width: 920px; margin: clamp(64px,8vw,104px) auto 0; position: relative; }
.term-glow { position: absolute; inset: -18% -10% 10%; background: radial-gradient(closest-side, rgba(0,136,176,0.35), transparent 70%); filter: blur(40px); pointer-events: none; }
.term { position: relative; text-align: left; background: linear-gradient(180deg, #1a1b1d, #121314); border: 1px solid rgba(255,255,255,0.1); border-radius: 22px; box-shadow: 0 40px 120px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.term-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.term-title { margin-left: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
.badge-eu { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--accent-lighter); background: rgba(0,136,176,0.16); padding: 4px 10px; border-radius: 980px; white-space: nowrap; }
.badge-eu::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light); }
.term-body { padding: 24px 26px 30px; font-family: var(--mono); font-size: clamp(12.5px,1.4vw,14.5px); line-height: 1.85; min-height: 230px; overflow-wrap: anywhere; }
.term-body .cmd { color: rgba(244,244,242,0.45); }
.term-body .note { color: rgba(244,244,242,0.55); }
.term-body .hl { color: var(--accent-lighter); }
.term-body .tool { color: var(--magenta-tint); }
.term-body .reply { margin-top: 10px; color: var(--text); white-space: pre-wrap; min-height: 3.7em; }
.cursor { display: inline-block; width: 8px; height: 1.1em; vertical-align: -0.2em; background: var(--accent-light); margin-left: 2px; animation: blink 1s steps(1) infinite; }
.term-foot { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 14px 26px; border-top: 1px solid rgba(255,255,255,0.07); font-size: 12.5px; color: var(--text-3); }
.term-foot b { color: var(--text); font-weight: 400; }

/* Statement */
.statement { padding: clamp(140px,18vw,240px) 24px; }
.statement p { max-width: 980px; margin: 0 auto; font-size: clamp(36px,5.6vw,72px); line-height: 1.22; font-weight: 600; letter-spacing: -0.035em; }
.statement .w { color: rgba(244,244,242,0.18); transition: color .25s; }
.statement .w.on { color: var(--text); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 56px; }
.tile { min-height: 300px; background: var(--surface); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.tile .label { font-size: 17px; font-weight: 500; color: rgba(244,244,242,0.62); }
.tile .big { font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; }
.tile .body { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.tile.hero-tile { grid-column: 1 / -1; min-height: 380px; }
.tile.hero-tile::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,136,176,0.32), transparent); pointer-events: none; }
.zero { font-size: clamp(120px,16vw,200px); line-height: .85; font-weight: 700; letter-spacing: -0.06em; background: linear-gradient(180deg, #f4f4f2, rgba(244,244,242,0.35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tile .body { position: relative; margin-top: 18px; max-width: 34ch; font-size: 19px; line-height: 1.45; }
.tile.eu { min-height: 380px; }
.tile.eu .big { font-size: 64px; line-height: 1; letter-spacing: -0.045em; color: var(--accent-light); }

/* For agents */
.agents-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px clamp(32px,6vw,96px); margin-top: 72px; align-items: center; }
.code-card { background: var(--bg); color: var(--text); border-radius: 22px; padding: 30px; font-family: var(--mono); font-size: 14.5px; line-height: 2; box-shadow: 0 30px 80px rgba(0,0,0,0.18); overflow-wrap: anywhere; }
.code-card .file { color: rgba(244,244,242,0.4); font-size: 12.5px; margin-bottom: 8px; }
.code-card .old { color: rgba(244,244,242,0.35); text-decoration: line-through; }
.code-card .hl { color: var(--accent-lighter); }
.features { display: grid; gap: 36px; }
.features h3 { font-size: 24px; font-weight: 650; letter-spacing: -0.02em; }
.features p { margin-top: 8px; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.soon { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--accent-deep); background: rgba(0,136,176,0.1); padding: 3px 9px; border-radius: 980px; }

/* Models */
.models { padding-top: 0; padding-left: 0; padding-right: 0; }
.models-head { padding: 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.seg { display: inline-flex; background: var(--track); border-radius: 980px; padding: 4px; }
.seg button { border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 980px; background: transparent; color: var(--ink); transition: background .2s, box-shadow .2s; }
.seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.cards { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 48px max(24px, calc((100% - 1080px) / 2 + 24px)) 24px; scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.cards { scroll-padding-inline: max(24px, calc((100% - 1080px) / 2 + 24px)); }
@media (min-width: 1100px) {
  .cards { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1080px; margin: 0 auto; padding: 48px 24px 24px; overflow: visible; }
}
.card { flex: 0 0 300px; scroll-snap-align: start; background: var(--light-card); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 20px; min-height: 380px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.card-top { display: flex; justify-content: space-between; align-items: center; min-height: 26px; font-size: 13px; }
.card-top .tag { font-weight: 600; color: var(--accent-deep); }
.card-top .tag.backup { color: #aa0b56; }
.card-top .ctx { color: var(--ink-3); }
.card h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.card .use { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.card .bottom { margin-top: auto; }
.card .small { font-size: 13px; color: var(--ink-3); }
.card .price { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; }
.card code { display: block; margin-top: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--accent-deep); }
.models .foot { padding: 0 24px; margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.models .foot p + p { margin-top: 6px; }

/* Journey */
.steps { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px 28px; }
.steps li { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px; }
.steps .n { font-size: 15px; font-weight: 600; color: var(--accent-light); }
.steps h3 { margin-top: 14px; font-size: 24px; font-weight: 650; letter-spacing: -0.02em; }
.steps p { margin-top: 10px; font-size: 17px; line-height: 1.5; color: rgba(244,244,242,0.62); }

/* Security */
.security { padding-top: 0; }
.sec-panel { background: radial-gradient(120% 90% at 100% 0%, rgba(214,0,108,0.16), transparent 55%), #141415; border-radius: 36px; padding: clamp(40px,6vw,80px); }
.sec-panel .eyebrow { color: var(--magenta-tint); }
.sec-panel .h2 { margin-top: 10px; max-width: 16ch; font-size: clamp(36px,4.8vw,56px); line-height: 1.06; }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px 56px; margin-top: 64px; }
.sec-grid h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; }
.sec-grid p { margin-top: 8px; font-size: 17px; line-height: 1.5; color: rgba(244,244,242,0.62); }

/* Partners */
.partners { text-align: center; }
.partners .h2 { margin: 10px auto 0; max-width: 18ch; }
.partners .lead { margin: 20px auto 0; max-width: 46ch; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 64px; text-align: left; }
.p-card { background: var(--light-card); border-radius: 28px; padding: 40px; }
.p-card .name { font-size: 32px; font-weight: 700; letter-spacing: -0.035em; }
.p-card p { margin-top: 10px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.p-card.you { background: var(--bg); color: var(--text); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.p-card.you a { color: var(--accent-lighter); font-size: 17px; }

/* Start */
.start { padding: clamp(120px,14vw,200px) 24px; text-align: center; position: relative; overflow: hidden; }
.start-glow { position: absolute; left: 50%; top: 55%; width: 900px; height: 500px; transform: translate(-50%,-50%); background: radial-gradient(closest-side, rgba(0,136,176,0.28), transparent); filter: blur(30px); pointer-events: none; }
.start .inner { position: relative; }
.start h2 { margin: 0 auto; max-width: 12ch; font-size: clamp(48px,8vw,96px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; }
.start .lead { margin: 22px auto 0; max-width: 38ch; }
.ea-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 40px auto 0; max-width: 680px; }
.ea-form input, .ea-form select { font: inherit; font-size: 17px; padding: 14px 20px; border-radius: 980px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: var(--text); outline: none; }
.ea-form input { flex: 1; min-width: 240px; }
.ea-form select { padding-right: 14px; }
.ea-form select option { background: #1c1d1f; }
.ea-form input:focus, .ea-form select:focus { border-color: var(--accent-light); box-shadow: 0 0 0 4px rgba(0,136,176,0.25); }
.ea-form .pill { font-size: 17px; padding: 14px 26px; }
.ea-form .pill[disabled] { opacity: .6; cursor: wait; }
.consent { margin: 16px auto 0; max-width: 52ch; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.ea-msg { margin-top: 40px; font-size: 21px; color: var(--accent-lighter); }
.ea-msg.err { font-size: 16px; margin-top: 16px; color: #ff7fb4; }

/* Footer */
.footer { border-top: 1px solid var(--hairline); }
.footer .wrap { padding: 28px 24px 40px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 12.5px; color: var(--text-3); }
.footer .links { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: rgba(244,244,242,0.62); }

/* Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: clamp(64px,8vw,104px) 24px 96px; }
.legal h1 { font-size: clamp(36px,5vw,52px); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; }
.legal h2 { margin-top: 44px; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.legal p, .legal li { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.legal ul { padding-left: 20px; }
.legal .meta { margin-top: 12px; color: var(--text-3); font-size: 14px; }
.todo { background: rgba(255,201,94,0.16); color: #ffc95e; padding: 1px 6px; border-radius: 6px; font-family: var(--mono); font-size: .85em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; }
  .cursor { animation: none; }
  .statement .w { transition: none; }
}

/* ---- v3: ticker, router diagram, photos, coming-soon cards ---- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes flow { to { stroke-dashoffset: -32; } }
.ticker { margin-top: clamp(72px,9vw,120px); border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker-row { display: flex; gap: 48px; padding: 22px 24px; font-size: 15px; font-weight: 500; color: rgba(244,244,242,0.55); white-space: nowrap; }
.ticker-row i { font-style: normal; color: var(--accent-light); }
.ticker-row .hi { color: var(--text); }

.router-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-top: 10px; }
.router-head p { max-width: 40ch; font-size: 18px; line-height: 1.5; color: rgba(244,244,242,0.65); }
.router-panel { margin-top: 56px; background: radial-gradient(70% 80% at 50% 50%, rgba(0,136,176,0.14), transparent 70%), #101112; border: 1px solid rgba(255,255,255,0.07); border-radius: 32px; padding: clamp(20px,3vw,40px); }
.router-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.rstatus { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 980px; background: rgba(52,195,143,0.14); color: #5fd6a8; }
.rstatus i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.router-bar button { border: 1px solid rgba(255,255,255,0.14); cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 980px; background: rgba(255,255,255,0.04); color: var(--text); }
.router-bar button:hover { background: rgba(255,255,255,0.1); }
.router-scroll { overflow-x: auto; }
.router-panel svg { display: block; width: 100%; min-width: 680px; height: auto; font-family: Geist, system-ui, sans-serif; }
.router-panel .track path { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 10; stroke-linecap: round; }
.router-panel .flow, .router-panel .flow path { fill: none; stroke: var(--accent-light); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 14; animation: flow .9s linear infinite; }
.router-panel g.flow { stroke: none; animation: none; }
.router-panel .idle { fill: none; stroke: rgba(244,244,242,0.14); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 3 9; }
.router-panel .label { font-size: 12px; font-weight: 600; letter-spacing: .12em; fill: rgba(244,244,242,0.4); }
.router-panel .node { fill: #161718; stroke: rgba(255,255,255,0.1); stroke-width: 1.5; transition: stroke .3s; }
.router-panel .n-title { font-size: 17px; font-weight: 600; fill: var(--text); }
.router-panel .n-title.muted { fill: rgba(244,244,242,0.5); }
.router-panel .n-sub { font-size: 12.5px; fill: rgba(244,244,242,0.5); transition: opacity .3s; }
.router-panel .n-sub.bad { fill: #ff7fb4; }
.router-panel .n-sub.good { fill: var(--accent-lighter); }
.router-panel .core { fill: #141516; stroke: rgba(76,184,224,0.55); stroke-width: 1.5; }
.router-panel .c-title { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; fill: var(--text); }
.router-panel .c-url { font-size: 12.5px; font-family: var(--mono); fill: var(--accent-lighter); }
.router-panel .steps-svg rect { fill: rgba(255,255,255,0.045); }
.router-panel .steps-svg circle { fill: rgba(0,136,176,0.25); }
.router-panel .sn { font-size: 12px; font-weight: 700; fill: var(--accent-lighter); }
.router-panel .st { font-size: 14px; font-weight: 500; fill: var(--text); }
.router-panel .foot { font-size: 13px; fill: rgba(244,244,242,0.45); }
.router-panel .dot-default, .router-panel .dot-ok { fill: #34c38f; transition: fill .3s; }
.router-panel .dot-idle { fill: rgba(244,244,242,0.3); }
.router-panel .out-only { opacity: 0; }
.router-panel span.out-only { display: none; }
/* outage state */
.router-panel[data-outage="true"] .rstatus { background: rgba(214,0,108,0.16); color: #ff7fb4; }
.router-panel[data-outage="true"] .ok-only { opacity: 0; }
.router-panel[data-outage="true"] .out-only { opacity: 1; }
.router-panel[data-outage="true"] span.ok-only { display: none; }
.router-panel[data-outage="true"] span.out-only { display: inline; }
.router-panel[data-outage="true"] .p-default { stroke: #ff4f9a; stroke-dasharray: 3 9; animation: none; }
.router-panel[data-outage="true"] .n-default { stroke: rgba(255,79,154,0.7); }
.router-panel[data-outage="true"] .dot-default { fill: #ff4f9a; }
.router-panel[data-outage="true"] .n-backup { stroke: rgba(76,184,224,0.7); }
.router-panel[data-outage="true"] .p-backup { stroke-width: 5; }
.router-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px 28px; margin-top: 48px; }
.router-notes h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.router-notes p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: rgba(244,244,242,0.62); }
.router-notes code { font-family: var(--mono); font-size: 14px; color: var(--accent-lighter); }
.code-card .cmt { color: rgba(244,244,242,0.4); margin-top: 8px; }

.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; margin-top: 56px; }
.photo { margin: 0; position: relative; border-radius: 28px; overflow: hidden; background: var(--surface); height: 360px; }
.photo.wide { grid-column: 1 / -1; height: clamp(320px, 42vw, 520px); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 28px 26px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65)); }
.photo figcaption b { display: block; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.photo figcaption span { display: block; font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 4px; }

.card.soon { background: rgba(255,255,255,0.55); box-shadow: none; border: 1px dashed rgba(0,0,0,0.12); }
.card.soon h3, .card.soon .price { color: #6e6e73; }
.card.soon .tag { color: #6e6e73; }
@media (min-width: 1100px) { .cards { display: flex; max-width: none; margin: 0; padding: 48px max(24px, calc((100% - 1080px) / 2 + 24px)) 24px; overflow-x: auto; } }
@media (max-width: 720px) { .nav-links { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .router-panel .flow, .router-panel .flow path { animation: none; }
}
.swipe-hint { display: none; font-size: 13px; color: var(--t3, rgba(244,244,242,0.5)); margin: 0 0 10px; }
@media (max-width: 720px) { .swipe-hint { display: block; } }

/* ---- Docs ---- */
.docs { max-width: 1080px; margin: 0 auto; padding: 56px 24px 96px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; }
.toc { position: sticky; top: 76px; align-self: start; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.toc p { margin: 18px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.toc p:first-child { margin-top: 0; }
.toc a { color: rgba(244,244,242,0.72); padding: 4px 0; }
.toc a:hover { color: var(--text); text-decoration: none; }
.doc { min-width: 0; }
.doc h1 { margin-top: 8px; font-size: clamp(36px,5vw,56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; }
.doc .lede { margin-top: 18px; font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 62ch; }
.doc h2 { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; scroll-margin-top: 72px; }
.doc h3 { margin-top: 28px; font-size: 18px; font-weight: 650; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.65; color: var(--text-2); }
.doc p { margin-top: 14px; }
.doc ol, .doc ul { padding-left: 22px; margin: 14px 0 0; }
.doc li { margin-top: 6px; }
.doc b { color: var(--text); font-weight: 600; }
.doc code { font-family: var(--mono); font-size: .88em; color: var(--accent-lighter); background: rgba(255,255,255,0.05); padding: 1px 5px; border-radius: 5px; }
.doc pre { margin: 16px 0 0; background: #121314; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px 20px; overflow-x: auto; }
.doc pre code { background: none; padding: 0; color: #e8e8e6; font-size: 13.5px; line-height: 1.7; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,0.07); color: var(--text-2); }
.doc th { color: var(--text-3); font-weight: 500; font-size: 13px; }
.doc tr:first-child th { border-top: 0; }
.doc .tscroll { overflow-x: auto; }
.doc .tscroll table { min-width: 640px; }
.doc .muted-note { font-size: 14px; color: var(--text-3); }
.doc .help { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--hairline); }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; } .toc { position: static; display: none; } }

/* Language switch */
.nav .lang { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: rgba(244,244,242,0.8); border: 1px solid rgba(255,255,255,0.18); border-radius: 980px; padding: 4px 10px; }
.nav .lang:hover { color: #fff; border-color: rgba(255,255,255,0.4); text-decoration: none; }
@media (max-width: 720px) { .nav .lang { margin-left: auto; } .nav .lang + .pill { margin-left: 0; } }

/* ---- Models & pricing page ---- */
.pricing { padding: 56px 24px 96px; }
.pricing h1 { font-size: clamp(40px,5.6vw,64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; }
.pricing .lede { margin-top: 16px; max-width: 60ch; font-size: clamp(18px,1.6vw,21px); line-height: 1.5; color: var(--text-2); }
.pricing h2 { margin-top: 64px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.pricing .sub { margin-top: 8px; max-width: 64ch; color: var(--text-2); font-size: 16.5px; line-height: 1.55; }
.aliases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 20px; }
.alias { background: var(--surface); border-radius: 20px; padding: 24px 26px; }
.alias .aname { font-family: var(--mono); font-size: 16px; color: var(--accent-lighter); }
.alias p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.alias .aprice { font-size: 22px; font-weight: 650; color: var(--text); letter-spacing: -0.01em; }
.alias .afine { font-size: 13px; color: var(--text-3); }
.ptable { margin-top: 20px; overflow-x: auto; background: var(--surface); border-radius: 20px; padding: 6px 8px; }
.ptable table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14px; }
.ptable th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--text-3); padding: 14px 12px; white-space: nowrap; }
.ptable td { padding: 14px 12px; border-top: 1px solid var(--hairline); vertical-align: top; color: var(--text-2); }
.ptable .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable .strong { color: var(--text); font-weight: 600; }
.ptable td b { color: var(--text); font-weight: 600; font-size: 15px; }
.ptable .maker { font-size: 12.5px; color: var(--text-3); margin-left: 6px; }
.ptable .mid { display: block; margin-top: 3px; font-family: var(--mono); font-size: 12px; color: var(--accent-light); }
.ptable .use { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); max-width: 34ch; }
.ptable td code:not(.mid) { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.pricing .fine { margin-top: 10px; font-size: 13px; color: var(--text-3); }
.pricing .how { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 10px; max-width: 76ch; }
.pricing .how li { color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.pricing .how b { color: var(--text); font-weight: 600; }
.pricing .how code { font-family: var(--mono); font-size: .86em; color: var(--accent-lighter); }
.pcta { margin-top: 48px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pcta .pill { padding: 12px 24px; font-size: 16px; }
.nav-links a[aria-current="page"] { color: #fff; }

.card.more { background: var(--bg); color: var(--text); text-decoration: none; }
.card.more:hover { text-decoration: none; background: #161718; }
.card.more .tag { color: var(--accent-light); }
.card.more h3 { color: var(--text); }
.card.more .use { color: rgba(244,244,242,0.62); }
.card.more .go { color: var(--accent-lighter); font-size: 16px; font-weight: 500; }
/* Phones: menu links become a second, scrollable row instead of disappearing */
@media (max-width: 720px) {
  .nav .wrap { height: auto; flex-wrap: wrap; row-gap: 0; padding-top: 10px; }
  .nav .nav-links { display: flex; order: 3; flex-basis: 100%; margin-left: 0; gap: 18px; overflow-x: auto; white-space: nowrap; padding: 10px 0 12px; scrollbar-width: none; }
  .nav .nav-links::-webkit-scrollbar { display: none; }
  .nav .brand { line-height: 32px; }
}

.p-cta { margin-top: 40px; display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }
.p-cta .pill { padding: 12px 24px; font-size: 16px; }
.partners .p-cta a:not(.pill) { color: var(--accent-deep); font-size: 16px; }
.p-card .name { font-size: 26px; }
.legal .box { margin-top: 16px; padding: 4px 20px 16px; border: 1px solid var(--hairline); border-radius: 14px; background: rgba(255,255,255,0.02); }

/* Price page: business (net) / private (gross, incl. 19% VAT) switch — no JavaScript */
.pricing .pv { position: absolute; opacity: 0; pointer-events: none; }
.pricing .gross { display: none; }
.pricing #pv-c:checked ~ * .net { display: none; }
.pricing #pv-c:checked ~ * .gross { display: inline; }
.vatswitch { display: inline-flex; margin-top: 22px; background: #18191a; border-radius: 980px; padding: 4px; gap: 2px; }
.vatswitch label { cursor: pointer; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 980px; color: var(--text-2); }
.pricing #pv-b:checked ~ .vatswitch label[for="pv-b"], .pricing #pv-c:checked ~ .vatswitch label[for="pv-c"] { background: #2a2b2d; color: var(--text); }
.pricing #pv-b:focus-visible ~ .vatswitch label[for="pv-b"], .pricing #pv-c:focus-visible ~ .vatswitch label[for="pv-c"] { outline: 2px solid var(--accent-light); }

/* Keys-for-teams section */
.keymock { background: #121314; border: 1px solid rgba(255,255,255,0.08); border-radius: 22px; padding: 10px; display: grid; gap: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
.km-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(60px, 1fr) auto; gap: 14px; align-items: center; background: #18191b; border-radius: 14px; padding: 14px 16px; }
.km-row b { display: block; font-size: 14.5px; font-weight: 600; color: var(--text); }
.km-row span { display: block; font-family: var(--mono); font-size: 11.5px; color: rgba(244,244,242,0.45); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.km-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); }
.km-bar i { display: block; height: 6px; border-radius: 3px; background: var(--accent); }
.km-bar i.warn { background: #ffc95e; }
.km-row em { font-style: normal; font-size: 12.5px; color: rgba(244,244,242,0.62); font-variant-numeric: tabular-nums; white-space: nowrap; }
.features.dark p { color: rgba(244,244,242,0.62); }
@media (max-width: 520px) { .km-row { grid-template-columns: 1fr; } }
