/* HalationLab.ai public site. Paper editorial pages, Carbon media stages and glass chrome (PRD docs/05 D113).
   Radius system: media and cards 12px, buttons 8px, chips and round controls full pill. Glass is chrome only:
   the header over the hero, model chips and media controls. Body text never sits on glass. */
@font-face { font-family: Manrope; src: url('/fonts/manrope-latin-var.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geistmono-latin-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --cta: #DB2F00; --cta-hover: #BA320B; --cta-foreground: #FFFFFF; --primary: #BA320B; --ring: #BA320B;
  --paper: #F3F0E9; --carbon: #151515; --carbon-raised: #1E1E1D; --stage-text: #F3F0E9; --stage-muted: #B6B2AA; --stage-line: rgb(243 240 233 / .16);
  --header-height: 64px; --radius-media: 12px; --radius-button: 8px;
  --section-space: clamp(80px, 9vw, 128px);
  --glass-bg: rgb(21 21 21 / .46); --glass-line: rgb(255 255 255 / .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--background); color: var(--foreground); font: 400 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.stage :focus-visible, .watch :focus-visible { outline-color: #F28B66; }
::selection { background: var(--foreground); color: var(--background); }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; }
button { font: inherit; color: inherit; }
.wrap { width: min(100% - 96px, 1312px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); padding: 12px 16px; border: 1px solid var(--input); background: var(--background); }
.skip-link:focus { transform: none; }
.eyebrow { color: var(--muted-foreground); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.section-title { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.04; max-width: 22ch; text-wrap: balance; }

/* Buttons and controls */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--cta); border-radius: var(--radius-button); background: var(--cta); color: var(--cta-foreground); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out); }
.button:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.button:active { transform: translateY(1px); }
.button svg { transition: transform var(--motion-fast) var(--ease-out); }
.button:hover svg { transform: translateX(2px); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.button-quiet { background: transparent; border-color: var(--stage-line); color: var(--stage-text); }
.button-quiet:hover { background: rgb(243 240 233 / .08); border-color: rgb(243 240 233 / .4); }
.control { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.control-text { padding: 0 16px; color: var(--stage-muted); border: 1px solid var(--stage-line); font-size: 13px; }
.control-text:hover { color: var(--stage-text); border-color: rgb(243 240 233 / .4); }
.control-outline { border: 1px solid var(--border); background: var(--card); }
.control-outline:hover { border-color: var(--foreground); }
.when-paused, .is-paused .when-playing, .when-sound, .has-sound .when-muted { display: none; }
.is-paused .when-paused, .has-sound .when-sound { display: inline; }

/* Glass chrome (a web approximation of frosted glass, with opaque fallbacks) */
.glass { background: var(--glass-bg); color: var(--stage-text); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: rgb(21 21 21 / .86); } }
@media (prefers-contrast: more) { .glass { background: var(--carbon); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--stage-text); } }
.chip { position: absolute; top: 10px; left: 10px; z-index: 2; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-height); background: rgb(243 240 233 / .58); border-bottom: 1px solid rgb(21 21 21 / .08); box-shadow: inset 0 -1px 0 rgb(255 255 255 / .35); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); transition: background var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: rgb(243 240 233 / .96); } .site-header.on-stage { background: rgb(21 21 21 / .92); } }
.has-stage .site-header { position: fixed; inset: 0 0 auto; }
.site-header.on-stage { background: rgb(21 21 21 / .42); color: var(--stage-text); border-color: rgb(255 255 255 / .1); box-shadow: inset 0 -1px 0 rgb(255 255 255 / .04); }
@media (prefers-contrast: more) { .site-header.on-stage { background: var(--carbon); } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 19px; font-weight: 700; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand-suffix { opacity: .6; }
.header-nav { display: flex; gap: 4px; }
.header-nav a, .header-sign-in { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 500; text-decoration: none; border-radius: var(--radius-button); }
.header-nav a:hover, .header-sign-in:hover { background: rgb(21 21 21 / .06); }
.on-stage .header-nav a:hover, .on-stage .header-sign-in:hover { background: rgb(243 240 233 / .1); }
/* Always pushed to the right gutter, whether or not the nav is shown (it is hidden at 1100px and below). */
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
/* Menu toggle and panel: shown at 1100px and below, where the header nav is hidden. The panel drops under the header
   and follows its paper or stage colouring; the header turns opaque while it is open. */
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -11px; padding: 0; border: 0; border-radius: var(--radius-button); background: transparent; color: inherit; cursor: pointer; }
@media (hover: hover) { .menu-toggle:hover { background: rgb(21 21 21 / .06); } .on-stage .menu-toggle:hover { background: rgb(243 240 233 / .1); } }
.menu-close-icon, .menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close-icon { display: block; }
.site-header.menu-open { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.menu-open.on-stage { background: var(--carbon); }
.site-menu { position: absolute; inset: 100% 0 auto; background: var(--paper); color: var(--carbon); border-bottom: 1px solid rgb(21 21 21 / .08); box-shadow: 0 16px 32px rgb(21 21 21 / .12); }
.on-stage .site-menu { background: var(--carbon); color: var(--stage-text); border-color: rgb(255 255 255 / .1); box-shadow: 0 16px 32px rgb(0 0 0 / .4); }
.site-menu[hidden] { display: none; }
.site-menu-inner { display: flex; flex-direction: column; padding-block: 8px 16px; }
.site-menu a { display: flex; align-items: center; min-height: 48px; font-size: 17px; font-weight: 500; text-decoration: none; }
.site-menu a + a { border-top: 1px solid rgb(21 21 21 / .08); }
.on-stage .site-menu a + a { border-color: rgb(255 255 255 / .1); }
.site-menu .site-menu-sign-in { display: none; } /* the header shows Sign in above 780px */

/* Stage (dark media surfaces) */
.stage { background: var(--carbon); color: var(--stage-text); }

/* Hero */
.hero { padding-top: calc(var(--header-height) + clamp(40px, 5vw, 72px)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
/* The headline is centred on the support copy and actions as one group (.hero-side), not on either alone. */
.hero-copy { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(44px, 4.7vw, 76px); line-height: 1.02; letter-spacing: -.045em; }
.hero-support { font-size: 18px; line-height: 1.55; color: var(--stage-muted); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-reel { display: grid; gap: 12px; }
.hero-frame { position: relative; width: min(100%, calc(72vh * 16 / 9)); aspect-ratio: 16 / 9; margin-inline: auto; border-radius: var(--radius-media); overflow: hidden; background: #0D0D0D; }
.hero-frame video, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { transition: opacity 400ms var(--ease-out); }
.hero-frame.is-playing .hero-poster { opacity: 0; }
.hero-chip { top: 16px; left: 16px; font-size: 13px; padding: 6px 12px; }
.hero-pause { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.hero-reel figcaption { width: min(100%, calc(72vh * 16 / 9)); margin-inline: auto; font-size: 13px; color: var(--stage-muted); }
.hero-rows { display: grid; gap: 12px; padding-block: 56px 32px; }
.rows-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 12px; font-size: 13px; color: var(--stage-muted); }
.hero-variant-rows .hero-copy { padding-bottom: 24px; }

/* Carousels */
.carousel { overflow: hidden; --row-height: clamp(220px, 24vw, 320px); }
.carousel-track { display: flex; width: max-content; animation: marquee var(--duration, 60s) linear infinite; will-change: transform; }
.carousel[data-direction="right"] .carousel-track { animation-direction: reverse; }
.carousel:hover .carousel-track, .carousel:focus-within .carousel-track, .carousel.offscreen .carousel-track, .is-paused .carousel-track { animation-play-state: paused; }
.carousel-set { display: flex; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; }
.carousel .tile { height: var(--row-height); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Tiles */
.tile { position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius-media); overflow: hidden; background: var(--carbon-raised); cursor: pointer; text-align: left; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile video { opacity: 0; transition: opacity 240ms var(--ease-out); }
.tile.is-playing video { opacity: 1; }
.tile-prompt { position: absolute; inset: auto 0 0; z-index: 2; padding: 40px 12px 12px; background: linear-gradient(to top, rgb(13 13 13 / .94) 55%, rgb(13 13 13 / 0)); color: var(--stage-text); font-size: 12px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.tile-prompt > span { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; } /* clamp inside the padding so the next line cannot show through it */
.tile:hover .tile-prompt, .tile:focus-visible .tile-prompt, .tile.is-playing .tile-prompt { opacity: 1; transform: none; }
@media (hover: none) { .tile-prompt { opacity: 1; transform: none; } .tile-prompt > span { -webkit-line-clamp: 2; } } /* touch: no hover to reveal it, and playback starts and stops as tiles move; two lines keep the clip visible */
.tile > .chip, .tile-prompt { will-change: transform; } /* iOS Safari paints a playing video over uncomposited siblings; a layer of their own keeps the chip and prompt above it */
.tile { -webkit-mask-image: linear-gradient(#000 0 0); mask-image: linear-gradient(#000 0 0); } /* iOS Safari clips each layer at the rounded edge on its own, so the video showed as a hairline round the prompt; a mask clips the tile once */
.tile:focus-visible { outline-offset: -2px; }

/* Model proof */
.proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: start; padding-block: var(--section-space); }
.proof-count { display: flex; flex-direction: column; gap: 12px; }
.proof-number { font: 700 clamp(96px, 12vw, 176px)/.85 var(--font-display); letter-spacing: -.06em; color: var(--cta); }
.proof-lead { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; max-width: 18ch; }
.proof-families { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 8px 0 0; list-style: none; font: 600 clamp(24px, 2.6vw, 40px)/1.25 var(--font-display); letter-spacing: -.03em; color: var(--muted-foreground); }
.proof-families li:nth-child(3n + 1) { color: var(--foreground); }
.proof-note { grid-column: 1; font-size: 15px; color: var(--muted-foreground); max-width: 36ch; }

/* One prompt, every model */
.teaser { padding-block: var(--section-space); }
.teaser-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.teaser h2 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.04; text-wrap: balance; }
.teaser-copy > p { margin-top: 20px; color: var(--stage-muted); font-size: 17px; max-width: 40ch; }
.prompt-card { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--stage-line); }
.prompt-card blockquote { font-size: 17px; line-height: 1.55; }
.prompt-card figcaption { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.prompt-card figcaption span { padding: 4px 10px; border: 1px solid var(--stage-line); border-radius: 999px; font: 12px/1.4 var(--font-mono); color: var(--stage-muted); }
.teaser-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.teaser-slots .tile { width: 100%; aspect-ratio: 16 / 9 !important; } /* one grid even when a model delivers a slightly different frame */
.slot-pending { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 14px; border: 1px dashed rgb(243 240 233 / .22); border-radius: var(--radius-media); }
.slot-model { font-weight: 600; font-size: 15px; }
.slot-state { font: 12px/1.4 var(--font-mono); color: var(--stage-muted); }

/* Features */
.feature-models { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 28px 28px 0; list-style: none; } /* same inset as .feature-copy */
.feature-models li { padding: 3px 9px; border: 1px solid var(--border); border-radius: 999px; font: 12px/1.4 var(--font-mono); color: var(--muted-foreground); }
.tone-tint .feature-models li { border-color: #CFC9BD; }
.features { padding-block: var(--section-space); }
.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; }
.feature { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-media); overflow: hidden; min-height: 240px; }
.feature-feature { grid-column: span 4; grid-row: span 2; min-height: 580px; }
.feature-tall { grid-column: span 2; grid-row: span 2; }
.feature-tile { grid-column: span 2; }
.feature-band { grid-column: 1 / -1; }
.tone-dark { background: var(--carbon); color: var(--stage-text); }
.tone-tint { background: var(--secondary); }
.tone-paper { background: var(--card); border: 1px solid var(--border); }
.feature-media { position: absolute; inset: 0; background: var(--carbon); }
.feature-media video { width: 100%; height: 100%; object-fit: cover; }
.feature-media .chip { top: 14px; left: 14px; }
.sound-toggle { position: absolute; top: 14px; right: 14px; z-index: 2; } /* same corner inset as .feature-media .chip */
.feature-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: 28px; margin-top: auto; }
.feature:has(.feature-media) .feature-copy { padding-top: 140px; background: linear-gradient(to top, rgb(13 13 13 / .94) 0%, rgb(13 13 13 / .86) 40%, rgb(13 13 13 / .5) 70%, rgb(13 13 13 / 0) 100%); }
.feature h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.feature-feature h3 { font-size: clamp(28px, 2.6vw, 40px); }
.feature p { font-size: 15px; line-height: 1.55; max-width: 46ch; color: var(--muted-foreground); }
.tone-dark p { color: var(--stage-muted); }
.feature .feature-meta { font: 13px/1.4 var(--font-mono); color: var(--foreground); }
.tone-dark .feature-meta { color: var(--stage-text); }
.feature-band .feature-copy { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto 1fr; gap: 16px 48px; align-items: start; margin: 0; }
.feature-band h3, .feature-band .feature-copy > p { grid-column: 1; }
.tool-list { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
.tool-list li { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 2px solid var(--foreground); }
.tool-list .paused { border-top-color: var(--border); color: var(--muted-foreground); }
.tool-name { font-weight: 600; font-size: 17px; letter-spacing: -.015em; }
.tool-meta { font: 12px/1.4 var(--font-mono); color: var(--muted-foreground); }

/* How it works */
.how { padding-block: var(--section-space); }
.how-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; margin-top: 24px; }
.how-steps { margin: 0; padding: 0; list-style: none; }
.how-step { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 40vh; padding-block: 32px; opacity: .38; transition: opacity 300ms var(--ease-out); }
.how-step[aria-current="step"] { opacity: 1; }
.how-step h3 { font: 700 clamp(30px, 3vw, 44px)/1.05 var(--font-display); letter-spacing: -.035em; }
.how-step p { font-size: 18px; line-height: 1.55; color: var(--muted-foreground); max-width: 40ch; }
.how-device { position: sticky; top: calc(var(--header-height) + 5vh); height: calc(90vh - var(--header-height)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.device { position: relative; height: min(100%, 680px); aspect-ratio: 9 / 16; padding: 10px; border-radius: 36px; background: #0E0E0E; border: 1px solid #2E2D2B; box-shadow: 0 40px 80px -24px rgb(60 46 30 / .35), inset 0 0 0 1px rgb(255 255 255 / .04); }
.device-screen { position: absolute; inset: 10px; border-radius: 27px; overflow: hidden; opacity: 0; transition: opacity 400ms var(--ease-out); background: var(--carbon); }
.device-screen.active { opacity: 1; }
.device-screen video, .device-screen img { width: 100%; height: 100%; object-fit: cover; }
.device-caption { position: relative; min-height: 1.5em; font: 12px/1.5 var(--font-mono); color: var(--muted-foreground); }
.device-caption span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; opacity: 0; transition: opacity 300ms var(--ease-out); }
.device-caption span.active { opacity: 1; }
.device-inline { display: none; }

/* Models rail */
.models { padding-block: var(--section-space); overflow: hidden; }
.models-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.models-head p { margin-top: 20px; font-size: 17px; color: var(--muted-foreground); max-width: 46ch; }
.rail-controls { display: flex; gap: 8px; }
.rail { --edge: max(48px, calc((100vw - 1312px) / 2)); display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 24vw, 320px); gap: 16px; margin: 40px 0 0; padding: 0 var(--edge) 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.model-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.model-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-media); overflow: hidden; background: var(--carbon); margin-bottom: 8px; }
.model-media video { width: 100%; height: 100%; object-fit: cover; }
.model-media.empty { display: flex; align-items: flex-end; padding: 20px; background: radial-gradient(120% 90% at 100% 0%, #2B2522 0%, var(--carbon) 60%); }
.model-initial { font: 700 44px/1 var(--font-display); letter-spacing: -.04em; color: var(--stage-text); }
.model-card h3 { font-size: 22px; letter-spacing: -.025em; }
.model-versions { font-size: 14px; color: var(--muted-foreground); }
.model-prices { display: grid; gap: 4px; margin: 0; padding: 0 0 8px; list-style: none; border-bottom: 1px solid var(--border); }
.model-prices li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; }
.model-price { font: 12px/1.7 var(--font-mono); color: var(--muted-foreground); white-space: nowrap; }
.model-facts { display: grid; gap: 6px; margin-top: 8px; }
.model-facts div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; font-size: 14px; }
.model-facts dt { font: 12px/1.7 var(--font-mono); color: var(--muted-foreground); }

/* Measured */
.measured { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding-block: var(--section-space); border-top: 1px solid var(--border); }
.measured-copy > p { margin-top: 20px; font-size: 17px; color: var(--muted-foreground); max-width: 40ch; }
.measured-copy .measured-note { font-size: 14px; }
.measured-table { width: 100%; border-collapse: collapse; align-self: start; }
.measured-table th, .measured-table td { padding: 12px 0; text-align: right; font-weight: 400; }
.measured-table thead th { padding-top: 0; font: 12px/1.4 var(--font-mono); color: var(--muted-foreground); border-bottom: 2px solid var(--foreground); }
.measured-table tbody th { text-align: left; font-weight: 600; font-size: 16px; }
.measured-table thead th:first-child { text-align: left; }
.measured-table tbody td { font: 15px/1.4 var(--font-mono); white-space: nowrap; }
.measured-table tbody tr + tr { border-top: 1px solid var(--border); }
.measured-table th + th, .measured-table td { padding-left: 24px; }

/* Pricing: the Monthly/Yearly switch is two radios; :has() shows one price set without script */
.pricing { padding-block: var(--section-space); border-top: 1px solid var(--border); }
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.pricing-copy p { margin-top: 20px; font-size: 17px; color: var(--muted-foreground); max-width: 44ch; }
.billing-switch { display: inline-flex; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }
.billing-switch input { position: absolute; opacity: 0; pointer-events: none; }
.billing-switch label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--muted-foreground); transition: background var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out); }
.billing-switch input:checked + label { background: var(--foreground); color: var(--background); }
.billing-switch input:focus-visible + label { outline: 2px solid var(--ring); outline-offset: 2px; }
.switch-badge { padding: 2px 8px; border-radius: 999px; background: rgb(219 47 0 / .12); color: var(--primary); font-size: 12px; font-weight: 700; }
.billing-switch input:checked + label .switch-badge { background: var(--cta); color: var(--cta-foreground); }
.pricing .when-monthly { display: none; }
.pricing:has(#billing-monthly:checked) .when-monthly { display: revert; }
.pricing:has(#billing-monthly:checked) .when-yearly { display: none; }
.pricing:has(#billing-monthly:checked) .plan-button.when-monthly { display: inline-flex; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border-radius: var(--radius-media); background: var(--card); border: 1px solid var(--border); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 22px; letter-spacing: -.02em; }
.plan-badge { padding: 4px 10px; border-radius: 999px; background: var(--cta); color: var(--cta-foreground); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.plan-for { font-size: 15px; color: var(--muted-foreground); min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.plan-amount { font: 700 60px/1 var(--font-display); letter-spacing: -.045em; }
.plan-period { font-size: 15px; color: var(--muted-foreground); }
.plan-billed { font-size: 14px; color: var(--muted-foreground); min-height: 1.6em; }
.plan-button { width: 100%; margin-top: 12px; }
.plan-credits { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.plan-credits p:first-child { font-size: 17px; }
.plan-rate { font: 13px/1.5 var(--font-mono); color: var(--muted-foreground); }
.plan-yield { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted-foreground); }
.plan-yield strong { color: var(--foreground); font-weight: 700; }
.plan-storage { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.plan-storage p:first-child { font-size: 17px; }
.plan-featured { position: relative; padding: 31px 27px; border: 2px solid var(--cta); box-shadow: 0 24px 48px -24px rgb(219 47 0 / .35); }
.plan-included { background: var(--secondary); border-color: transparent; }
.plan-included h3 { font-size: 18px; }
.check-list { display: grid; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; }
.check-list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; }
.check-list svg { margin-top: 3px; color: var(--primary); }
.topups { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: center; margin-top: 40px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-media); }
.topups h3 { font-size: 22px; letter-spacing: -.02em; }
.topups-copy p { margin-top: 8px; font-size: 15px; color: var(--muted-foreground); }
.topup-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.topup-packs li { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); }
.topup-packs li.has-bonus { border-color: rgb(219 47 0 / .45); }
.pack-price { font: 700 24px/1.2 var(--font-display); letter-spacing: -.03em; }
.pack-credits { font: 13px/1.5 var(--font-mono); color: var(--muted-foreground); }
.pack-bonus { font-size: 12px; font-weight: 700; color: var(--primary); }

/* Section calls to action */
.section-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.button-secondary { background: transparent; border-color: var(--border); color: var(--foreground); }
.button-secondary:hover { background: rgb(21 21 21 / .05); border-color: var(--foreground); }
.section-cta-stage .button-secondary { border-color: var(--stage-line); color: var(--stage-text); }
.section-cta-stage .button-secondary:hover { background: rgb(243 240 233 / .08); border-color: rgb(243 240 233 / .4); }
.section-cta-note { flex-basis: 100%; font-size: 14px; color: var(--muted-foreground); }
/* A pair of buttons in a narrow row (phones, and the hero's side column from 1101px to about 1240px) wraps. Let the
   pair fill the row instead, so it never stacks at two different widths. */
.hero-actions, .section-cta { container-type: inline-size; }
@container (max-width: 400px) { .hero-actions > .button { flex: 1 1 auto; } }
@container (max-width: 480px) { .section-cta:has(> .button + .button) > .button { flex: 1 1 auto; } }
.prompt-label { margin-bottom: 10px; font: 12px/1.4 var(--font-mono); color: var(--stage-muted); }
.model-try { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--primary); text-decoration: none; }
.model-try:hover { text-decoration: underline; }
.model-try svg { transition: transform var(--motion-fast) var(--ease-out); }
.model-try:hover svg { transform: translateX(2px); }
.how-col .section-cta { margin-top: 8px; }
.faq-head { align-self: start; position: sticky; top: calc(var(--header-height) + 32px); }

/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; padding-block: var(--section-space); border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 2px solid var(--foreground); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform 200ms var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; font-size: 16px; color: var(--muted-foreground); max-width: 62ch; }

/* Closing band */
.cta-band { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: min(640px, 80vh); }
.cta-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(13 13 13 / .92) 15%, rgb(13 13 13 / .25) 70%, rgb(13 13 13 / .1)); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 96px 56px; }
.cta-inner h2 { font-size: clamp(40px, 5.6vw, 88px); line-height: 1; letter-spacing: -.045em; max-width: 14ch; text-wrap: balance; }
.cta-inner > p { font-size: 18px; color: var(--stage-muted); }
.cta-inner .cta-credit { align-self: flex-end; margin-top: 24px; font: 12px/1.4 var(--font-mono); color: var(--stage-muted); }

/* Footer */
.site-footer { padding-block: 64px 32px; border-top: 1px solid var(--border); font-size: 14px; }
.has-stage .site-footer { border-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.footer-name { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; font-weight: 700; letter-spacing: -.025em; text-decoration: none; }
.footer-brand p { color: var(--muted-foreground); max-width: 30ch; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer nav h2 { display: flex; align-items: center; min-height: 44px; font: 600 14px/1.4 var(--font-sans); letter-spacing: 0; } /* the height of .footer-name, so the headings share its centre line */
.site-footer nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--muted-foreground); text-decoration: none; }
.site-footer nav a:hover { color: var(--primary); text-decoration: underline; }
.site-footer nav .cookie-settings { display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; background: none; color: var(--muted-foreground); cursor: pointer; font-size: inherit; }
.site-footer nav .cookie-settings:hover { color: var(--primary); text-decoration: underline; }
/* Cookie choice notice and Cookie settings (packages/consent), shared markup with the app. */
.hl-consent-banner { position: fixed; z-index: 100; inset: auto 16px 16px; width: min(calc(100% - 32px), 1080px); max-height: calc(100dvh - 32px); overflow: auto; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--paper); color: var(--carbon); box-shadow: 0 16px 48px rgb(0 0 0 / .28); }
.hl-consent-banner h2, .hl-consent-dialog h2 { margin-bottom: 8px; font-size: 22px; line-height: 1.2; }
.hl-consent-banner p, .hl-consent-dialog p { max-width: 72ch; margin-bottom: 8px; font-size: 14px; line-height: 1.55; }
.hl-consent-policy { display: inline-block; font-size: 14px; font-weight: 700; color: var(--carbon); text-decoration: underline; text-underline-offset: 3px; }
.hl-consent-note { color: var(--muted-foreground); }
.hl-consent-note[hidden] { display: none; }
.hl-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-consent-actions button, .hl-consent-close { min-height: 44px; padding: 8px 14px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 700; }
.hl-consent-choice { border: 1px solid var(--carbon); background: transparent; color: var(--carbon); }
.hl-consent-choice:hover { background: rgb(21 21 21 / .07); }
.hl-consent-secondary { border: 1px solid transparent; background: transparent; color: var(--carbon); text-decoration: underline; text-underline-offset: 3px; }
.hl-consent-primary { border: 1px solid var(--cta); background: var(--cta); color: var(--cta-foreground); }
.hl-consent-primary:hover { background: var(--cta-hover); }
.hl-consent-banner :is(button, a):focus-visible, .hl-consent-dialog :is(button, input, a):focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.hl-consent-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(calc(100% - 32px), 560px); max-height: min(85dvh, 760px); padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--paper); color: var(--carbon); box-shadow: 0 24px 64px rgb(0 0 0 / .3); }
.hl-consent-dialog::backdrop { background: rgb(0 0 0 / .62); }
.hl-consent-dialog .hl-consent-actions { margin-top: 20px; }
.hl-consent-necessary, .hl-consent-purpose { display: flex; justify-content: space-between; align-items: start; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.hl-consent-necessary span, .hl-consent-purpose span { display: grid; gap: 4px; flex: 1; }
.hl-consent-necessary small, .hl-consent-purpose small { display: block; color: var(--muted-foreground); font-size: 13px; line-height: 1.5; }
.hl-consent-necessary em { font-style: normal; font-weight: 700; white-space: nowrap; }
.hl-consent-purpose input { flex-shrink: 0; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--cta); }
.hl-consent-purpose input:disabled { opacity: .5; }
.hl-consent-close { float: right; margin: -12px -12px 0 12px; padding: 0 12px; border: 0; background: transparent; color: var(--carbon); text-decoration: underline; }
@media (max-width: 760px) { .hl-consent-banner { grid-template-columns: 1fr; gap: 16px; padding: 18px; } .hl-consent-actions button { flex: 1 1 auto; } .hl-consent-dialog { padding: 20px; } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted-foreground); }
.footer-base p { max-width: 70ch; }

/* Watch dialog */
.watch { width: min(1240px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: var(--carbon); color: var(--stage-text); overflow: hidden; }
.watch::backdrop { background: rgb(10 10 10 / .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.watch-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; max-height: 92vh; }
.watch-media { display: grid; place-items: center; background: #0B0B0B; min-height: 0; }
.watch-media video { max-width: 100%; max-height: 92vh; aspect-ratio: var(--ratio, 16 / 9); }
.watch-info { display: flex; flex-direction: column; gap: 16px; padding: 64px 28px 28px; overflow-y: auto; }
.watch-kicker { font: 12px/1.4 var(--font-mono); color: var(--stage-muted); }
.watch-info h2 { font-size: 28px; line-height: 1.1; letter-spacing: -.03em; margin-top: -8px; }
.watch-prompt { font-size: 15px; line-height: 1.6; color: var(--stage-muted); }
.watch-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid var(--stage-line); }
.watch-facts dt { font: 12px/1.4 var(--font-mono); color: var(--stage-muted); }
.watch-facts dd { margin-top: 2px; font-size: 15px; }
.watch-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.legal-main { padding-block: 64px; }
.legal-heading { max-width: 880px; padding-bottom: 48px; }
.legal-heading h1 { font-size: clamp(48px, 6vw, 80px); line-height: 1.05; margin-block: 24px; }
.legal-description { color: var(--muted-foreground); max-width: 65ch; }
.legal-meta { display: flex; gap: 12px 24px; flex-wrap: wrap; align-items: center; margin-top: 24px; font-size: 12px; color: var(--muted-foreground); }
.review-badge { padding: 4px 8px; border: 1px solid var(--input); border-radius: 4px; color: var(--foreground); }
.review-note { font-size: 14px; color: var(--muted-foreground); margin-top: 16px; }
.legal-layout { display: grid; grid-template-columns: minmax(200px, .65fr) minmax(0, 2fr); gap: 64px; align-items: start; border-top: 1px solid var(--border); padding-top: 32px; }
.legal-contents { position: sticky; top: 24px; max-height: calc(100dvh - 48px); overflow: auto; }
.legal-contents ol { list-style: none; margin: 16px 0; padding: 0; }
.legal-contents li a { display: flex; min-height: 44px; align-items: center; font-size: 12px; line-height: 1.5; text-decoration: none; padding-block: 8px; color: var(--muted-foreground); }
.legal-contents li a:hover { color: var(--primary); text-decoration: underline; }
.legal-other { border-top: 1px solid var(--border); padding-top: 8px; }
.legal-other a { display: flex; align-items: center; min-height: 44px; color: var(--primary); font-size: 14px; }
.legal-prose { max-width: 76ch; }
.legal-prose section { scroll-margin-top: 32px; margin-bottom: 48px; }
.legal-prose h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 16px; }
.legal-prose p, .legal-prose ul { margin-block: 0 16px; }
.legal-prose p, .legal-prose li { overflow-wrap: anywhere; }
.legal-prose ul { padding-left: 24px; }
.legal-prose li { margin-bottom: 12px; }
.legal-prose a { color: var(--primary); }
.back-top { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; font-size: 14px; }
.not-found { min-height: 65vh; padding-block: 64px; }
.not-found h1 { font-size: clamp(48px, 6vw, 80px); line-height: 1.05; margin-block: 24px; }
.not-found p:not(.eyebrow) { margin-bottom: 32px; }
.not-found, .legal-main { min-height: 50vh; }

/* Benchmarks (PRD docs/05 FR-WEB-04 to 06). Stage for the viewer, Paper for the numbers. Existing tokens only. */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; font: 12px/1.4 var(--font-mono); color: var(--muted-foreground); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--primary); text-decoration: underline; }
.stage .crumbs { color: var(--stage-muted); } .stage .crumbs a:hover { color: var(--stage-text); }
.mono { font-family: var(--font-mono); font-feature-settings: 'tnum'; }
.bench-hero { padding-top: calc(var(--header-height) + clamp(32px, 4vw, 56px)); padding-bottom: clamp(48px, 6vw, 88px); }
.bench-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.bench-head h1 { font-size: clamp(42px, 5vw, 80px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.bench-head h1 em { font-style: normal; color: var(--stage-muted); }
.bench-lead { font-size: 18px; line-height: 1.55; color: var(--stage-muted); max-width: 44ch; }
.bench-lead + .bench-lead { margin-top: 12px; font-size: 15px; }
.stat-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; border-top: 1px solid var(--stage-line); }
.stat-strip div { padding: 18px 16px 0 0; }
.stat-strip div + div { padding-left: 16px; border-left: 1px solid var(--stage-line); }
.stat-strip dt { font: 12px/1.4 var(--font-mono); color: var(--stage-muted); }
.stat-strip dd { margin-top: 6px; font: 700 clamp(28px, 3vw, 44px)/1 var(--font-display); letter-spacing: -.04em; font-feature-settings: 'tnum'; }
.stat-strip dd small { font-size: .45em; letter-spacing: 0; font-weight: 600; color: var(--stage-muted); margin-left: 4px; }
.stat-strip .stat-note { margin-top: 8px; font: 12px/1.4 var(--font-mono); color: var(--stage-muted); }

/* Viewer */
.bench-viewer { margin-top: clamp(40px, 5vw, 64px); }
.viewer-bar { position: sticky; top: calc(var(--header-height) + 8px); z-index: 5; display: flex; padding: 6px; border-radius: 999px; }
.viewer-bar .prompt-tabs { flex: 1; justify-content: space-between; }
.prompt-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.prompt-tabs::-webkit-scrollbar { display: none; }
.prompt-tab, .seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--stage-muted); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.prompt-tab:hover, .seg button:hover { color: var(--stage-text); background: rgb(243 240 233 / .08); }
.prompt-tab[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--stage-text); color: var(--carbon); }
.prompt-tab .mono { font-size: 11px; opacity: .7; }
.seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; border: 1px solid var(--stage-line); }
.seg button { min-height: 36px; padding: 0 12px; }
.viewer-modes { flex: none; }
.viewer-frame { position: relative; margin-top: 12px; border-radius: var(--radius-media); overflow: hidden; background: #0B0B0B; }
.bench-media { position: relative; }
.bench-media img, .bench-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bench-media > video { opacity: 0; transition: opacity 240ms var(--ease-out); }
.bench-media.is-playing > video { opacity: 1; }
.viewer-panel { display: none; }
[data-mode="grid"] .panel-grid, [data-mode="focus"] .panel-focus, [data-mode="compare"] .panel-compare { display: block; }
.mosaic { aspect-ratio: 16 / 9; }
.mosaic-cells { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); }
.mosaic-cell { position: relative; padding: 0; border: 0; background: transparent; box-shadow: inset 0 0 0 1px #0B0B0B; cursor: zoom-in; text-align: left; }
.mosaic-cell::after { content: ''; position: absolute; inset: 0; border: 2px solid transparent; transition: border-color var(--motion-fast) var(--ease-out); }
.mosaic-cell:hover::after { border-color: rgb(243 240 233 / .7); }
.mosaic-cell:focus-visible { outline-offset: -3px; }
.mosaic-cell .chip { top: 8px; left: 8px; font-size: 11px; padding: 3px 9px; }
.mosaic-legend { grid-column: span 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: clamp(8px, 1vw, 14px); color: var(--stage-text); }
.mosaic-legend strong { font: 700 clamp(13px, 1vw, 18px)/1.15 var(--font-display); letter-spacing: -.025em; }
.mosaic-legend span { font: 10px/1.3 var(--font-mono); color: var(--stage-muted); }
.focus-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.focus-stage { position: relative; aspect-ratio: 16 / 9; touch-action: pan-y; }
.focus-side { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-left: 1px solid var(--stage-line); }
.focus-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.focus-nav .mono { font-size: 12px; color: var(--stage-muted); }
.focus-nav div { display: flex; gap: 6px; }
.bench-facts { display: grid; gap: 12px; }
.bench-facts div { display: grid; align-content: start; gap: 2px; }
.bench-facts dt { font: 11px/1.4 var(--font-mono); color: var(--stage-muted); text-transform: uppercase; letter-spacing: .06em; }
.bench-facts dd { font-size: 15px; }
.bench-facts div:first-child dd { font: 700 24px/1.15 var(--font-display); letter-spacing: -.03em; }
.bench-fact-note { padding: 10px 12px; border-radius: 8px; background: rgb(243 240 233 / .06); font-size: 13px; color: var(--stage-muted); }
.focus-side .text-link { margin-top: auto; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: rgb(243 240 233 / .3); }
.text-link:hover { text-decoration-color: currentColor; }
.compare-stage { position: relative; aspect-ratio: 16 / 9; --wipe: 50%; }
.compare-stage .bench-media { position: absolute; inset: 0; }
.compare-stage .compare-right { clip-path: inset(0 0 0 var(--wipe)); }
.compare-stage[data-layout="split"] { aspect-ratio: 32 / 9; }
.compare-stage[data-layout="split"] .compare-left { inset: 0 50% 0 0; }
.compare-stage[data-layout="split"] .compare-right { inset: 0 0 0 50%; clip-path: none; }
.compare-stage[data-layout="split"] .wipe-line, .compare-stage[data-layout="split"] .wipe { display: none; }
.wipe-line { position: absolute; top: 0; bottom: 0; left: var(--wipe); z-index: 3; width: 2px; margin-left: -1px; background: var(--stage-text); pointer-events: none; box-shadow: 0 0 0 1px rgb(0 0 0 / .25); }
.wipe-line::after { content: ''; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 999px; background: var(--stage-text); box-shadow: 0 4px 16px rgb(0 0 0 / .4); }
.wipe { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.wipe:focus-visible + .wipe-line::after { outline: 2px solid #F28B66; outline-offset: 3px; }
.compare-stage .chip { top: 12px; }
.compare-stage .chip-right { left: auto; right: 12px; }
.compare-pickers { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px; border-top: 1px solid var(--stage-line); }
.compare-pickers label { display: grid; gap: 6px; font: 11px/1.4 var(--font-mono); color: var(--stage-muted); text-transform: uppercase; letter-spacing: .06em; }
.compare-pickers select { min-height: 44px; padding: 0 12px; border: 1px solid var(--stage-line); border-radius: var(--radius-button); background: var(--carbon-raised); color: var(--stage-text); font: 600 15px var(--font-sans); text-transform: none; letter-spacing: 0; }
.compare-pickers .bench-facts { margin-top: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); text-transform: none; letter-spacing: 0; }
.compare-pickers .bench-facts div:first-child { display: none; }
.compare-pickers .bench-facts dd { font-size: 13px; color: var(--stage-text); }
.compare-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 18px; }
.transport { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.transport .control { color: var(--stage-text); border: 1px solid var(--stage-line); }
.transport [hidden] { display: none; }
.transport .control:hover { border-color: rgb(243 240 233 / .5); }
.scrub { flex: 1; height: 44px; margin: 0; accent-color: var(--stage-text); background: transparent; cursor: pointer; }
.clock { min-width: 92px; font: 12px/1 var(--font-mono); color: var(--stage-muted); text-align: right; }
.prompt-strip { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 16px 48px; align-items: start; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--stage-line); }
.prompt-strip blockquote { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; letter-spacing: -.01em; text-wrap: pretty; }
.prompt-strip .eyebrow { color: var(--stage-muted); margin-bottom: 10px; }
.settings-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.settings-pills li { padding: 4px 10px; border: 1px solid var(--stage-line); border-radius: 999px; font: 12px/1.4 var(--font-mono); color: var(--stage-muted); }
.prompt-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.prompt-actions .button { margin-bottom: 8px; }

/* Paper sections */
.bench-section { padding-block: var(--section-space); }
.bench-section + .bench-section { border-top: 1px solid var(--border); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; margin-bottom: 48px; }
.section-head p:where(:not(.eyebrow)) { font-size: 17px; color: var(--muted-foreground); max-width: 46ch; }
.section-head .eyebrow { margin-bottom: 16px; }
.as-of, .section-head .as-of { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; font: 12px/1.5 var(--font-mono); color: var(--muted-foreground); }
.as-of a { color: var(--primary); }
.h2h-scroll { position: relative; overflow-x: auto; margin-inline: -8px; padding-inline: 8px; } /* containing block, so absolutely positioned .visually-hidden text stays inside the scroller */
.h2h { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 14px; }
.h2h caption { caption-side: bottom; padding-top: 16px; text-align: left; font: 12px/1.6 var(--font-mono); color: var(--muted-foreground); }
.h2h th, .h2h td { padding: 14px 10px; text-align: right; vertical-align: middle; font-weight: 400; white-space: nowrap; }
.h2h thead th { padding-block: 0 10px; border-bottom: 2px solid var(--foreground); font: 11px/1.3 var(--font-mono); color: var(--muted-foreground); vertical-align: bottom; white-space: normal; }
.h2h thead th button { display: inline-flex; align-items: flex-end; gap: 4px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: inherit; cursor: pointer; }
.h2h thead th button:hover { color: var(--foreground); }
.h2h thead th button::after { content: '↕'; opacity: .35; }
.h2h th[aria-sort="ascending"] button::after { content: '↑'; opacity: 1; }
.h2h th[aria-sort="descending"] button::after { content: '↓'; opacity: 1; }
.h2h th[aria-sort] button { color: var(--foreground); }
.h2h th:first-child, .h2h td:first-child { text-align: left; padding-left: 0; }
.h2h tbody tr { border-bottom: 1px solid var(--border); }
.h2h tbody tr:hover { background: rgb(21 21 21 / .025); }
.h2h tbody th { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.h2h tbody th small { display: block; font: 400 12px/1.4 var(--font-sans); color: var(--muted-foreground); }
.h2h td { font-family: var(--font-mono); font-feature-settings: 'tnum'; }
.h2h .bar-cell { min-width: 150px; }
.bar { display: grid; grid-template-columns: 1fr 56px; align-items: center; gap: 10px; }
.bar i { display: block; height: 6px; border-radius: 999px; background: var(--muted); overflow: hidden; }
.bar i::before { content: ''; display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--foreground); }
.bar.best i::before { background: var(--cta); }
.h2h .best-mark { color: var(--cta); font-weight: 600; }
.h2h .dim { color: var(--muted-foreground); }
.flag { display: inline-block; margin-left: 6px; padding: 1px 6px; border: 1px solid var(--warning); border-radius: 4px; color: var(--warning); font-size: 10px; letter-spacing: .04em; vertical-align: 1px; }
.ok { color: var(--success); }


.plot-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.plot { width: 100%; height: auto; overflow: visible; font-family: var(--font-mono); }
.plot .axis { stroke: var(--foreground); stroke-width: 1.5; }
.plot .grid { stroke: var(--border); stroke-width: 1; }
.plot .tick { fill: var(--muted-foreground); font-size: 11px; }
.plot .axis-label { fill: var(--foreground); font-size: 12px; font-weight: 600; font-family: var(--font-sans); }
.plot .dot { fill: var(--foreground); stroke: var(--paper); stroke-width: 2; }
.plot .dot.audio { fill: var(--cta); }
.plot .dot-label { fill: var(--foreground); font-size: 11.5px; font-family: var(--font-sans); font-weight: 600; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.plot .whisker { stroke: var(--input); stroke-width: 2; opacity: .45; }
.plot .median-line { stroke: var(--muted-foreground); stroke-dasharray: 3 4; }
.plot .median-label { fill: var(--muted-foreground); font-size: 10.5px; }
.plot-notes { display: grid; gap: 20px; font-size: 15px; color: var(--muted-foreground); }
.plot-notes h3 { font-size: 18px; letter-spacing: -.015em; color: var(--foreground); margin-bottom: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font: 12px/1.4 var(--font-mono); color: var(--muted-foreground); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 999px; background: var(--foreground); }
.legend i.audio { background: var(--cta); }
.legend i.verified { border-radius: 2px; }
.legend i.listed { border-radius: 2px; background: transparent; border: 1.5px solid var(--foreground); }

.cap-scroll { position: relative; overflow-x: auto; margin-inline: -8px; padding-inline: 8px; }
.cap { width: 100%; min-width: 1120px; border-collapse: collapse; font-size: 13px; }
.cap th, .cap td { padding: 12px 10px; text-align: left; vertical-align: middle; font-weight: 400; }
.cap thead th { padding-block: 0 10px; border-bottom: 2px solid var(--foreground); font: 11px/1.3 var(--font-mono); color: var(--muted-foreground); vertical-align: bottom; }
.cap tbody tr { border-bottom: 1px solid var(--border); }
.cap th:first-child { padding-left: 0; }
.cap tbody th { font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; padding-left: 0; }
.cap tbody th small { display: block; font: 400 12px/1.4 var(--font-sans); color: var(--muted-foreground); }
.cap .cap-try-cell { text-align: right; padding-right: 0; }
.cap-try { gap: 6px; min-height: 44px; }
.cap-try-inline { display: none; align-items: center; gap: 4px; min-height: 44px; font: 600 14px/1 var(--font-sans); letter-spacing: 0; color: var(--primary); text-decoration: none; }
.cap-try-inline:hover { text-decoration: underline; }
.opts { display: flex; flex-wrap: wrap; gap: 4px; }
.opt { padding: 2px 7px; border: 1.5px solid var(--border); border-radius: 4px; font: 11px/1.4 var(--font-mono); color: var(--muted-foreground); white-space: nowrap; }
.opt.listed { border-color: var(--input); color: var(--foreground); }
.opt.verified { border-color: var(--foreground); background: var(--foreground); color: var(--paper); }
.range { position: relative; display: block; width: 150px; height: 22px; }
.range::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--muted); }
.range i { position: absolute; top: 7px; height: 8px; border-radius: 999px; background: var(--foreground); }
.range b { position: absolute; top: 4px; width: 2px; height: 14px; background: var(--cta); }
.range-label { display: block; margin-top: 2px; white-space: nowrap; font: 11px/1.3 var(--font-mono); color: var(--muted-foreground); }
.yes { font: 600 12px/1 var(--font-mono); color: var(--foreground); white-space: nowrap; }
.no { font: 12px/1 var(--font-mono); color: var(--border); }
.breadth { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--font-mono); }
.breadth i { display: block; width: 56px; height: 6px; border-radius: 999px; background: var(--muted); overflow: hidden; }
.breadth i::before { content: ''; display: block; height: 100%; width: var(--w); background: var(--foreground); }

.tests { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: test; }
.test { display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 7fr); gap: 16px 40px; padding-block: 40px; border-top: 1px solid var(--border); }
.test:first-child { border-top: 2px solid var(--foreground); }
.test-num { font: 700 44px/1 var(--font-display); letter-spacing: -.05em; color: var(--cta); }
.test h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.03em; }
.test h3 a { text-decoration: none; } .test h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.test-probes { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.test-probes li { padding: 3px 9px; border: 1px solid var(--border); border-radius: 999px; font: 12px/1.4 var(--font-mono); color: var(--muted-foreground); }
.test-prompt { font-size: 16px; line-height: 1.6; color: var(--muted-foreground); max-width: 70ch; }
.test-body { display: flex; flex-direction: column; gap: 20px; }
.peeks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.peek { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--carbon); }
.peek img, .peek video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peek video { opacity: 0; transition: opacity 200ms var(--ease-out); }
.peek.is-playing video { opacity: 1; }
.peek span { position: absolute; inset: auto 0 0; z-index: 1; padding: 14px 6px 4px; background: linear-gradient(to top, rgb(13 13 13 / .9), rgb(13 13 13 / 0)); color: var(--stage-text); font-size: 10px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek:focus-visible { outline-offset: 2px; }
.test-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font: 12px/1.4 var(--font-mono); color: var(--muted-foreground); }
.test-foot a { display: inline-flex; align-items: center; gap: 4px; font: 600 14px/1 var(--font-sans); color: var(--primary); }

.method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.method-grid li { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 2px solid var(--foreground); }
.method-grid h3 { font-size: 19px; letter-spacing: -.02em; }
.method-grid p { font-size: 15px; color: var(--muted-foreground); }
.disclosure { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 64px; margin-top: 56px; padding: 28px; border-radius: var(--radius-media); background: var(--secondary); }
.disclosure h3 { font-size: 20px; letter-spacing: -.02em; }
.disclosure p { font-size: 15px; color: var(--muted-foreground); }
.disclosure p + p { margin-top: 10px; }

.boards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.board { display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 24px; border-radius: var(--radius-media); border: 1px solid var(--border); background: var(--card); }
.board.live { background: var(--carbon); color: var(--stage-text); border-color: var(--carbon); }
.board h3 { font-size: 24px; letter-spacing: -.025em; }
.board p { font-size: 15px; color: var(--muted-foreground); }
.board.live p { color: var(--stage-muted); }
.board-state { align-self: flex-start; padding: 3px 9px; border-radius: 999px; border: 1px solid currentColor; font: 11px/1.4 var(--font-mono); }
.board.live .board-state { color: var(--stage-text); }
.board:not(.live) .board-state { color: var(--muted-foreground); }
.board .text-link { margin-top: auto; }
.board:not(.live) .text-link { text-decoration-color: var(--border); }
.hub-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.hub-links h3 { font: 600 12px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 12px; }
.hub-links ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hub-links ul a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; border-bottom: 1px solid var(--border); font-size: 15px; text-decoration: none; }
.hub-links ul a:hover { color: var(--primary); }
.hub-links .mono { font-size: 12px; color: var(--muted-foreground); }
.changelog { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.changelog li { display: grid; grid-template-columns: 136px 1fr; align-items: baseline; gap: 16px; padding-block: 16px; border-top: 1px solid var(--border); font-size: 15px; }
.changelog time { font: 13px/1.6 var(--font-mono); color: var(--muted-foreground); }
.cite { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; padding: 18px 20px; border: 1px dashed var(--input); border-radius: var(--radius-media); }
.cite code { flex: 1; min-width: 260px; font: 13px/1.6 var(--font-mono); }
.cite .control { padding: 0 14px; font-size: 13px; font-weight: 600; }

/* Prompt and watch pages */
.watch-page { padding-top: calc(var(--header-height) + 32px); padding-bottom: 64px; }
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.watch-player { border-radius: var(--radius-media); overflow: hidden; background: #0B0B0B; }
.watch-player video { width: 100%; height: auto; aspect-ratio: var(--ratio, 16 / 9); }
.watch-side h1 { font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -.035em; }
.watch-side .bench-facts { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--stage-line); }
.watch-side .bench-facts { grid-template-columns: 1fr 1fr; }
.watch-side .bench-facts div:first-child dd { font: inherit; font-size: 15px; letter-spacing: 0; } /* the same size as the other facts */
.watch-side blockquote { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--stage-muted); }
.watch-siblings { margin-top: 40px; }
.watch-siblings h2 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px; }
.watch-siblings .peek span { font-size: 11px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--stage-line); }
.pager a { display: flex; flex-direction: column; gap: 4px; min-height: 44px; text-decoration: none; }
.pager a:last-child { text-align: right; }
.pager .mono { font-size: 11px; color: var(--stage-muted); }
.pager strong { font-size: 17px; letter-spacing: -.015em; }
.pager a:hover strong { text-decoration: underline; }
.method-prose { max-width: 72ch; }
.method-prose h2 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; line-height: 1.1; margin: 56px 0 16px; }
.method-prose p, .method-prose ul, .method-prose ol { margin: 0 0 16px; font-size: 17px; line-height: 1.65; }
.method-prose li { margin-bottom: 8px; }
.method-prose a { color: var(--primary); }
.method-hero h1 { font-size: clamp(44px, 5vw, 76px); line-height: 1.02; letter-spacing: -.045em; max-width: 16ch; }
.method-hero p:not(.eyebrow) { margin-top: 20px; font-size: 18px; color: var(--muted-foreground); max-width: 56ch; }
.method-page { padding-block: 48px var(--section-space); }

@media (max-width: 1100px) {
  .bench-head, .section-head, .plot-grid, .disclosure, .prompt-strip { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-strip div:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat-strip div:nth-child(n + 4) { margin-top: 16px; border-top: 1px solid var(--stage-line); }
  .focus-layout, .watch-grid { grid-template-columns: 1fr; }
  .focus-side { border-left: 0; border-top: 1px solid var(--stage-line); }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .test { grid-template-columns: 48px minmax(0, 1fr); }
  .test-body { grid-column: 1 / -1; }
  .boards, .hub-links { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .viewer-bar { position: static; border-radius: 16px; }
  .prompt-tabs { width: 100%; }
  .mosaic { aspect-ratio: 720 / 1616; }
  .mosaic-cells { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(8, 1fr); }
  .mosaic-legend { display: none; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat-strip div:nth-child(4) { padding-left: 16px; border-left: 1px solid var(--stage-line); }
  .stat-strip div:nth-child(n + 3) { margin-top: 16px; border-top: 1px solid var(--stage-line); }
  .compare-stage[data-layout="split"] { aspect-ratio: 16 / 18; }
  .compare-stage[data-layout="split"] .compare-left { inset: 0 0 50% 0; }
  .compare-stage[data-layout="split"] .compare-right { inset: 50% 0 0 0; }
  .compare-pickers { grid-template-columns: 1fr; }
  .compare-mid { flex-direction: row; padding-top: 0; }
  .method-grid { grid-template-columns: 1fr; }
  .peeks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .changelog li { grid-template-columns: 1fr; gap: 4px; }
  .clock { min-width: 0; }
  .cap .cap-try-cell { display: none; }
  .cap-try-inline { display: inline-flex; }
  .h2h th:first-child, .cap th:first-child { position: sticky; left: 0; z-index: 1; background: var(--background); box-shadow: 1px 0 0 var(--border); padding-right: 12px; }
  .plot-grid figure { overflow-x: auto; }
  .plot { min-width: 620px; }
  .transport { flex-wrap: wrap; row-gap: 8px; }
  .viewer-modes { order: 5; display: flex; width: 100%; }
  .viewer-modes button { flex: 1; justify-content: center; }
}

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .header-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-copy { grid-template-columns: 1fr; row-gap: 20px; }
  .feature-feature { grid-column: span 6; min-height: 460px; }
  .feature-tall { grid-column: span 3; min-height: 520px; }
  .feature-tile { grid-column: span 3; }
  .tool-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teaser-grid, .measured, .faq { grid-template-columns: 1fr; gap: 40px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-included { grid-column: 1 / -1; }
  .topups { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { gap: 32px; }
}
@media (max-width: 780px) {
  :root { --header-height: 60px; }
  .wrap { width: calc(100% - 32px); }
  .header-sign-in { display: none; }
  .site-menu .site-menu-sign-in { display: flex; }
  .header-inner { gap: 16px; }
  .header-actions { gap: 4px; }
  .brand { font-size: 17px; }
  .glass { background: rgb(21 21 21 / .82); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .hero-support { font-size: 17px; }
  .hero-frame, .hero-reel figcaption { width: 100%; }
  .hero-rows { padding-block: 40px 24px; }
  .rows-foot { flex-direction: column; align-items: flex-start; }
  .carousel { --row-height: 200px; }
  .proof { grid-template-columns: 1fr; }
  .teaser-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-feature, .feature-tall, .feature-tile, .feature-band { grid-column: 1; grid-row: auto; }
  .feature-feature { min-height: 420px; }
  .feature-tall { min-height: 560px; }
  .feature-band .feature-copy { grid-template-columns: 1fr; }
  .tool-list { grid-column: 1; grid-row: auto; }
  .how-grid { grid-template-columns: 1fr; }
  .how-device { display: none; }
  .how-step { min-height: 0; opacity: 1; padding-block: 28px; border-top: 1px solid var(--border); }
  .device-inline { display: block; position: relative; width: min(100%, 280px); aspect-ratio: 9 / 16; margin-top: 12px; padding: 0; border-radius: 24px; overflow: hidden; background: var(--carbon); }
  .device-inline video, .device-inline img { width: 100%; height: 100%; object-fit: cover; }
  .models-head { flex-direction: column; align-items: flex-start; }
  .rail-controls { display: none; }
  .rail { --edge: 16px; grid-auto-columns: 78%; }
  .plans { grid-template-columns: 1fr; }
  .plan-included { grid-column: auto; }
  .topup-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-for { min-height: 0; }
  .measured-table th + th, .measured-table td { padding-left: 12px; }
  .measured-table tbody th { font-size: 15px; }
  .watch-body { grid-template-columns: 1fr; overflow-y: auto; }
  .watch-media video { max-height: 60vh; }
  .watch-info { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer nav .app-public-link { min-height: 44px; }
  .legal-main { padding-block: 48px; }
  .legal-heading { padding-bottom: 32px; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-contents { position: static; max-height: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .legal-contents li a { font-size: 14px; }
}
/* Smallest phones: logo, CTA and menu toggle on one row without crowding the gutter. */
@media (max-width: 360px) {
  .header-inner { gap: 12px; }
  .brand { gap: 8px; font-size: 16px; }
  .header-actions .button-small { padding: 0 12px; }
}
/* Below 340px the wordmark cannot share the row with the CTA and toggle; the mark stays and the link keeps its label. */
@media (max-width: 340px) { .brand > span { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .carousel { overflow-x: auto; scrollbar-width: thin; }
  .carousel-set[aria-hidden="true"] { display: none; }
  [data-carousel-pause] { display: none; }
}
@media print { .site-header, .legal-contents, .site-footer nav, .back-top, .skip-link { display: none; } .wrap { width: 100%; } .legal-layout { display: block; } .legal-main { padding-block: 24px; } .legal-prose { max-width: none; } .legal-prose section { break-inside: avoid; } a { text-decoration: none; } }
.coming-soon { min-height: 55vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.25rem; }
.coming-soon h1 { margin: 0; font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.055em; }
.coming-soon p:not(.eyebrow) { max-width: 42rem; font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.5; }
