/* Section styles. Each section is a distinct MODULE TYPE, not one template
   repeated — the explorer is an instrument panel, proof is a spec sheet, the
   doors are an index. (Design critique 2026-08-21.) */

/* No hard full-width rules between sections. Sections separate by ground tone
   and light, with the seam feathered — a rule across the whole viewport reads as
   a slide deck, not a page. */
section { position: relative; padding: 104px 0; }
section.hero { padding: 0; }
section.band { background: var(--ink-1); }

section > .wrap { position: relative; z-index: 1; }

.divider-label { color: var(--muted); display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 56px; align-items: center; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 34px; } }

/* framed simulation still, with its own caption bar — every visual carries units */
/* media: the image is the object; the caption floats quietly beneath it */
.shot { border: none; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.shot img { width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot-bar { display: flex; align-items: center; gap: 14px; padding: 11px 4px 0; border: none; background: transparent; white-space: nowrap; }
.shot-cap { overflow: hidden; text-overflow: ellipsis; }
.shot-ramp { flex: none; }
.shot-cap { color: var(--muted); }
.shot-ramp { margin-left: auto; width: 160px; height: 6px; border-radius: 1px; background: var(--ramp-utci); }

/* ---------- 2 · explorer = instrument panel (denser, chromed) ---------- */
#what .panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--card-grad); box-shadow: var(--shadow);
}
.panel-top { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 22px; }
.tab {
  padding: 10px 4px; cursor: pointer; background: transparent; color: var(--muted);
  border: none; border-bottom: 2px solid transparent; transition: color .16s ease, border-color .16s ease;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--brand-lift); border-bottom-color: var(--brand-lift); }
.tab:focus-visible { outline: 2px solid var(--brand-lift); outline-offset: 2px; }

.explorer { display: grid; grid-template-columns: minmax(0,1fr) 280px; }
@media (max-width: 980px) { .explorer { grid-template-columns: 1fr; } }
.exp-stage { position: relative; aspect-ratio: 16/9; max-height: 350px; background: var(--ink-0); overflow: hidden; }
.exp-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.exp-note {
  position: absolute; z-index: 5; left: 16px; bottom: 14px; color: var(--muted);
  background: var(--scrim); padding: 7px 12px; border-radius: 8px; backdrop-filter: blur(8px);
}
.exp-side { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 22px; border-left: 1px solid var(--line); }
@media (max-width: 980px) { .exp-side { border-left: none; border-top: 1px solid var(--line); } }
.exp-value { font-family: var(--mono); font-size: 30px; line-height: 1; color: var(--data); font-variant-numeric: tabular-nums; white-space: nowrap; }
.exp-label { color: var(--muted); min-height: 2.6em; }
.exp-copy { font-size: 15px; color: var(--text); max-width: none; margin: 6px 0 0; min-height: 138px; }
.exp-time { color: var(--muted); margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }

/* Reading at the pointer. Follows the cursor over the canvas and reports the
   value of the cell under it — the same number the side panel shows, so the
   two can never disagree. Never receives pointer events itself, or it would
   chase its own shadow across the stage. */
.exp-probe {
  position: absolute; z-index: 6; pointer-events: none; transform: translate(-50%, -140%);
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 6px 10px; border-radius: 9px; white-space: nowrap;
  background: rgba(6,20,26,.72); backdrop-filter: blur(9px);
  box-shadow: inset 0 0 0 1px rgba(180,232,226,.14);
  transition: opacity .18s ease; opacity: 1;
}
.exp-probe .pv { font-family: var(--mono); font-size: 15px; font-weight: 600;
  color: #CFF6EE; font-variant-numeric: tabular-nums; line-height: 1.1; }
.exp-probe .pk { font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: #7FA5A8; }
/* Crosshair only where a reading exists. */
.exp-stage { cursor: crosshair; }
.sub-pill[disabled] { opacity: .45; cursor: default; }

/* ---------- 3 · entry points = tab system with visuals ---------- */
.entry-tabs { display: flex; gap: 30px; flex-wrap: wrap; margin: 0 0 22px;
  border-bottom: 1px solid var(--line); }
.entry-tab {
  cursor: pointer; padding: 12px 2px; background: transparent; color: var(--muted);
  border: none; border-bottom: 2px solid transparent; font-size: 13px !important;
  transition: color .18s ease, border-color .18s ease;
}
.entry-tab:hover { color: var(--text); }
.entry-tab[aria-selected="true"] { color: var(--brand-lift); border-bottom-color: var(--brand-lift); }
.entry-tab:focus-visible { outline: 2px solid var(--brand-lift); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .entry-panels > .entry-panel { transition: none; } }
.entry-lede { font-size: 16.5px; line-height: 1.5; max-width: 32em; margin: 0 0 14px; }
.entry-points { list-style: none; margin: 0 0 26px; padding: 0; }
.entry-points li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--muted); display: flex; gap: 12px; }
.entry-points li b { color: var(--text); font-weight: 600; min-width: 132px; }

.code {
  font-family: var(--mono); font-size: 13.5px; line-height: 2.05; color: var(--text);
  background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 36px; overflow-x: auto; margin: 0; box-shadow: var(--shadow);
  height: 100%; box-sizing: border-box;
}
.entry-panel .split { align-items: stretch; }
.entry-panel .split > div:last-child { display: flex; flex-direction: column; gap: 10px; }
.entry-panel .split > div:last-child .code { flex: 1; }
.entry-panel .shot { display: flex; flex-direction: column; height: 100%; }
.entry-panel .shot img, .entry-panel .shot video { flex: 1; height: 100%; max-height: none;
  min-height: 0; object-fit: cover; }
.entry-panel .shot .shot-bar { flex: none; }
.code .k { color: var(--data); } .code .s { color: #86EFAC; } .code .c { color: var(--muted); }

.vs-list { list-style: none; margin: 0; padding: 0; }
.vs-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.vs-list li::before { content: "— "; opacity: .5; }

/* ---------- 4 · doors = index, not cards ---------- */
.index { border-top: 1px solid var(--line); }
.index { max-width: 880px; }
.index a {
  display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 8px 20px;
  align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: background .18s ease, padding .18s ease;
}
.index a .num { grid-row: 1 / span 2; align-self: start; padding-top: 3px; }
.index a .go { grid-row: 1 / span 2; align-self: center; }
.index h3 { grid-column: 2; }
.index p { grid-column: 2; }
.index a:hover { background: color-mix(in srgb, var(--text) 4%, transparent); padding-left: 18px; padding-right: 18px; }
.index a:hover .go { transform: translateX(4px); }
.index .go { transition: transform .18s ease, color .18s ease; }
.index .num { font-family: var(--mono); font-size: 30px; line-height: 1; font-weight: 600;
  color: color-mix(in srgb, var(--brand-lift) 42%, transparent); font-variant-numeric: tabular-nums; }
.index h3 { margin: 0; font-size: clamp(18px, 2vw, 22px); }
.index p { margin: 0; font-size: 15px; color: var(--muted); max-width: none; }
.index .go { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.index a:hover .go, .index a:hover h3 { color: var(--brand-lift); }
@media (max-width: 860px) { .index a { grid-template-columns: 36px 1fr; } .index .go { grid-row: auto; grid-column: 2; } }

/* ---------- 5 · proof = spec sheet ---------- */
/* instrument strip: hairline-anchored, tabular, not floating type */
.speeds { display: flex; flex-wrap: wrap; gap: 48px; margin: 0 0 40px; padding: 0 0 20px;
  list-style: none; border-bottom: 1px solid var(--line); }
.speeds .v { font-family: var(--mono); font-size: 27px; color: var(--data); font-variant-numeric: tabular-nums; line-height: 1; }
.speeds .l { color: var(--muted); margin-top: 8px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th { text-align: left; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.spec td { padding: 9px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--muted); }
.spec td:first-child { color: var(--text); font-weight: 600; width: 30%; }
/* status = a bordered stamp, immediately after the text — no void column */
.spec td:last-child { text-align: left; white-space: nowrap; width: 110px; padding-left: 8px; }
.stamp { display: inline-block; font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand-lift);
  border: 1px solid var(--brand-lift); border-radius: 8px; padding: 3px 9px; background: transparent; }
.honest {
  margin-top: 44px; padding: 30px 34px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card-grad); max-width: 46em; box-shadow: var(--shadow);
}
.honest p { margin: 0; font-size: clamp(19px,2.1vw,24px); line-height: 1.45; font-family: var(--sans); font-weight: 500; letter-spacing: -.01em; max-width: none; }
.honest b { color: var(--data); font-weight: 700; }

/* ---------- 6 · live layer ---------- */
.city-pill { border: none; border-bottom: 2px solid transparent; padding: 9px 2px;
  color: var(--muted); background: transparent; cursor: pointer; transition: all .16s ease; }
.city-pill[aria-selected="true"] { color: var(--brand-lift); border-bottom-color: var(--brand-lift); }
.city-pill:hover { color: var(--text); }
.cities { display: flex; gap: 26px; flex-wrap: wrap; margin: 24px 0 0; border-bottom: 1px solid var(--line); }
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin: 30px 0 0; padding-top: 20px;
  border-top: 1px solid var(--line); }
.stat .v { font-family: var(--mono); font-size: 24px; color: var(--data); font-variant-numeric: tabular-nums; }
.stat .l { color: var(--muted); margin-top: 6px; }

/* ---------- 7 · pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: var(--card-grad); display: flex; flex-direction: column; gap: 12px; }
.tier.feature { border-color: var(--brand); box-shadow: var(--shadow); }
.tier .n { color: var(--brand-lift); }
.tier .badge { align-self: flex-start; color: var(--brand-lift); background: transparent;
  border: 1px solid var(--brand-lift); padding: 4px 10px; border-radius: 8px; }
.tier .price { font-family: var(--sans); font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.tier ul { list-style: none; margin: 6px 0 0; padding: 0; font-size: 14.5px; color: var(--muted); }
.tier li { padding: 7px 0; border-bottom: 1px dashed var(--line-soft); }
.tier li:last-child { border-bottom: none; }
.tier .btn { margin-top: auto; justify-content: center; }


/* ---------- integrations strip ---------- */
/* Integrations are a manifest, not chips. A rounded lozenge promises one-click
   install; integrating a physics engine is not that. Reads as documentation. */
.manifest { width: 100%; border-collapse: collapse; margin-top: 18px; font-family: var(--mono); font-size: 12.5px; }
.manifest td { padding: 9px 0; white-space: nowrap; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
/* Real gutters, not leftover slack. With auto layout the gap between the tool
   name and its description was whatever width the table had spare — so one
   longer row, or a cell that gained padding, closed it to zero. */
.manifest td:first-child { color: var(--text); letter-spacing: .04em; padding-right: 26px; }
.manifest td:nth-child(2) { padding-right: 20px; }
.manifest td:nth-child(3) { text-align: right; }
.manifest td:last-child { text-align: right; width: 26px; color: var(--brand-lift); }
.manifest tr:hover td { color: var(--text); }
/* One highlighted row — a tint inside the row, not a card. Radius on the end
   cells so it reads as a single pill across the table. */
.manifest tr.mf-hl td { background: color-mix(in srgb, var(--brand) 12%, transparent);
  border-bottom-color: transparent; color: var(--text); }
/* The end padding is on EVERY row, so the highlighted one gets its inset
   without changing any column width. A box-shadow spread was tried first and
   drew one rectangle per cell — visible seams straight through the row. */
.manifest td:first-child { padding-left: 10px; }
.manifest td:last-child { padding-right: 10px; }
.manifest tr.mf-hl td:first-child { border-radius: 8px 0 0 8px; }
.manifest tr.mf-hl td:last-child { border-radius: 0 8px 8px 0; }

/* ---------- footer ---------- */
footer { padding: 64px 0 88px; border-top: 1px solid var(--line); }
.f-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr 1fr; } }
.f-grid h4 { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.f-grid a { display: block; color: var(--muted); text-decoration: none; font-size: 14.5px; padding: 5px 0; }
.f-grid a:hover { color: var(--brand-lift); }
.f-note { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: var(--muted); display: flex; gap: 20px; flex-wrap: wrap; }
.f-logo { height: 22px; margin-bottom: 16px; }

/* The wordmark ships white; invert it on light grounds rather than shipping a
   second file that could drift from the canonical asset. */
:root[data-theme="light"] nav.top .logo,
:root[data-theme="light"] .f-logo { filter: invert(1) brightness(.28); }
:root[data-theme="light"] .hero-card img { filter: none; }

/* Tab panels must not change page height when you switch — the jump reads as a
   layout bug. min-height only guesses; stacking every panel in ONE grid cell makes
   the container exactly as tall as the TALLEST panel, whichever is showing. */
.entry-panels { display: grid; }
.entry-panels > .entry-panel { grid-area: 1 / 1; display: block;
  visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.entry-panels > .entry-panel[data-active="true"] {
  visibility: visible; opacity: 1; pointer-events: auto; animation: none; }

/* The strongest line on the page gets its own strip, not a list row. */
.contrast { margin-top: 22px; border-top: 1px solid var(--line); }
.contrast div { font-family: var(--mono); font-size: 13px; color: var(--muted);
  padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.contrast .sign { display: inline-block; width: 18px; color: var(--muted); }
.contrast .sign.plus { color: var(--brand-lift); }
.contrast div:last-child { color: var(--text); }

/* ============================================================================
   LAYOUT ARCHETYPES — no two adjacent sections share a geometry.
   Continuity comes from the components (type scale, radius, mono furniture);
   variety comes from layout. Uniform padding everywhere is a metronome, so the
   rhythm alternates: tight after a dense section, generous before a full-bleed.
   ========================================================================= */

/* full-bleed escape hatch for visuals that should touch the viewport edge */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* 2 · EXPLORER — full-bleed instrument, pulled UP over the hero.
   A slide cannot overlap the next slide; a page can. This one overlap is what
   stops the page reading as a deck. */
#what { padding-top: 96px; padding-bottom: 104px; position: relative; z-index: 2; }
#what .intro { max-width: 46em; margin: 0 0 44px; }
#what .panel { border-radius: var(--radius); }
@media (min-width: 1400px) {  }

/* 3 · ENTRY — 5/7 split, and the header shares the grid so the right side is
   never an empty column. */
#entry { padding-top: 88px; padding-bottom: 104px; }
.head-split { display: grid; grid-template-columns: minmax(0,6fr) minmax(0,5fr); gap: 48px; align-items: end; margin-bottom: 26px; }
@media (max-width: 980px) { .head-split { grid-template-columns: 1fr; gap: 22px; } }
.head-split .lede { margin: 0; }
.head-aside { border-left: 1px solid var(--line); padding-left: 26px;
  display: flex; flex-direction: column; gap: 10px; justify-content: flex-end;
  align-self: end; margin-bottom: 6px; }
.vs-row { display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.vs-row .cap { font-family: var(--body); font-size: 14px; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--muted); }
.head-aside .big { flex: none; min-width: 3.4em; text-align: right; font-family: var(--mono); font-size: 21px; line-height: 1; color: var(--data); font-variant-numeric: tabular-nums; }

.split { grid-template-columns: minmax(0,5fr) minmax(0,7fr); align-items: start; }

/* 4 · DOORS — dense, tight rhythm, no big header gap */
#doors { padding-top: 104px; padding-bottom: 104px; }
#doors .lede { margin-bottom: 26px; }

/* 5 · PROOF — the densest section on the page */
#proof { padding-top: 104px; padding-bottom: 104px; }
#proof h2 { margin-bottom: 34px; }

/* 6 · LIVE — full-bleed field, copy laid over a scrim. No card, no frame. */
#live { padding: 0; }
.live-stage { position: relative; min-height: 560px; display: flex; align-items: center; }
.live-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-stage::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--ink-0) 6%, color-mix(in srgb, var(--ink-0) 72%, transparent) 42%, transparent 78%);
}
.live-copy { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 64px 32px; width: 100%; }
.live-copy .inner { max-width: 33em; }
@media (max-width: 760px) { .live-stage::after { background: linear-gradient(to top, var(--ink-0) 30%, color-mix(in srgb, var(--ink-0) 78%, transparent)); } }

/* 7 · PRICING — contained and calm, the only centred section */
#price { padding-top: 104px; padding-bottom: 116px; text-align: center; }
#price .wrap > .eyebrow, #price h2, #price .price-line { text-align: center; }
#price h2 { margin-left: auto; margin-right: auto; }
#price .price-line { margin-left: auto; margin-right: auto; }
#price .tiers { text-align: left; max-width: 1020px; margin-left: auto; margin-right: auto; }

/* pricing: four tiers, and the numbers are real (live billing catalogue v2.4) */
.tiers { grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } }
.tier .price { font-size: 27px; }
.tier .price .per { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .06em; }
.tier-sub { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-lift); margin: -4px 0 4px; max-width: none; }


/* The hero film is a dark instrument; it does not flip with the page theme.
   Its furniture keeps dark-theme values so the scene and chrome always match. */
:root[data-theme="light"] .hero-card {
  background: linear-gradient(135deg, rgba(4,20,26,0.42), rgba(4,20,26,0.14)); color: #F8FAFC; }
:root[data-theme="light"] .hero-card h1 { color: #F8FAFC; }
:root[data-theme="light"] .hero-card .sub { color: #8296A8; }
:root[data-theme="light"] .hero-card .btn-sec { border-color: #24333F; color: #F8FAFC; }
:root[data-theme="light"] .hero-furniture {
  background: rgba(11,20,28,.68); }
:root[data-theme="light"] .hero-furniture .cap { color: #C7DAD8; }
:root[data-theme="light"] #pauseBtn { color: #8296A8; border-color: #24333F; }

/* explorer legend fills the side-panel void with the layer's real range */
.exp-legend { display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 14px; }
.exp-legend .ramp { flex: 1; height: 6px; border-radius: 3px; background: var(--ramp-utci); }


/* trust strip: quiet, mono, real numbers only. Sits between hero and #what. */
.trust-strip { background: var(--ink-1); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 44px; padding-top: 20px; padding-bottom: 20px; }
.trust-strip span { font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trust-strip b { color: var(--data); font-weight: 600; }
.trust-strip .cities-live { margin-left: auto; }
.trust-strip .cities-live b { color: var(--text); }
@media (max-width: 900px) { .trust-strip .cities-live { margin-left: 0; } }


/* Real quotes only — no carousel, no avatars, no stars. Reads as citations. */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 980px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 10px; font-size: 15px; line-height: 1.6; color: var(--text); }
.quote figcaption { font-size: 13px; color: var(--muted); }
.quote figcaption b { color: var(--text); font-weight: 600; }


/* shared integration strip under the tab panels — keeps every tab short */
.manifest-strip { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.manifest-strip .manifest { columns: 2; column-gap: 56px; display: block; margin-top: 8px; }
.manifest-strip .manifest tr { display: flex; align-items: center; break-inside: avoid; }
.manifest-strip .manifest td { border-bottom: 1px solid var(--line-soft); padding: 8px 0; }
.manifest-strip .manifest td:first-child { width: 132px; flex: none; }
.manifest-strip .manifest td:nth-child(2) { flex: 1; }
@media (max-width: 860px) { .manifest-strip .manifest { columns: 1; } }
/* tab panels stay short — visual column height caps the section */
.entry-panels { min-height: 0; }
.entry-panel .shot img { aspect-ratio: 16/10; max-height: 300px; }

/* pricing as a spec sheet — hairline ledger, plans as columns, no cards */
#price { text-align: left; }
#price .wrap > .eyebrow, #price h2, #price .price-line { text-align: left; }
.price-table-wrap { overflow-x: auto; margin-top: 40px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.price-table th, .price-table td { text-align: left; padding: 10px 18px 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: baseline; }
.price-table td:first-child { font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); width: 160px; }
.pt-head th { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--line); }
.pt-head th.pt-featured { color: var(--brand); }
.pt-note { display: block; font-size: 9.5px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.pt-price td { font-family: var(--mono); font-size: 25px; color: var(--text); font-variant-numeric: tabular-nums; }
.pt-price td span { font-size: 12px; color: var(--muted); }

.price-table td:not(:first-child) { color: var(--muted); }
.pt-price td:not(:first-child) { color: var(--text); }
.pt-cta td { padding-top: 20px; border-bottom: none; }


/* Terminals stay dark in both themes — same rule as the hero film. */
:root[data-theme="light"] .code {
  background: #0D1F24; border-color: #1E323A; color: #E8F1F0; box-shadow: none; }
:root[data-theme="light"] .code .k { color: #22D3EE; }
:root[data-theme="light"] .code .s { color: #86EFAC; }
:root[data-theme="light"] .code .c { color: #7C949B; }

/* spec table: first column needs a real gutter (collision at 1440px) */
.spec td:first-child { width: 26%; padding-right: 28px; }

/* proof v2: full-width instrument strip, then table + evidence side by side */
.fine { font-size: 13px; color: var(--muted); max-width: 52em; margin: -16px 0 26px; }
.proof-grid { display: grid; grid-template-columns: minmax(0,56ch) minmax(0,1fr); gap: 56px; align-items: start; }
@media (max-width: 980px) { .proof-grid { grid-template-columns: 1fr; } }
.spec th:first-child, .spec td:first-child { width: 22%; padding-right: 24px; }
.spec th:last-child { text-align: left; }
.proof-side { display: flex; flex-direction: column; gap: 24px; }
.proof-side .honest { margin-top: 0; padding: 16px 22px; }
.proof-side .honest p { font-size: 15.5px; }
.speeds { gap: 56px; justify-content: flex-start; max-width: none; }
.speeds li + li { padding-left: 56px; border-left: 1px solid var(--line-soft); }


/* Hierarchy: Free sits flat on the page; the three paid tiers share one gently
   elevated surface; Advanced carries a stronger tint inside it. */
.price-table th:not(:first-child), .price-table td:not(:first-child) {
  padding-left: 18px; padding-right: 22px; }
.price-table th:nth-child(n+3), .price-table td:nth-child(n+3) {
  background: color-mix(in srgb, var(--brand) 3%, transparent); }
.price-table th.pt-featured, .price-table td.pt-featured {
  background: color-mix(in srgb, var(--brand) 9%, transparent); }
.pt-head th:nth-child(3) { border-radius: var(--radius) 0 0 0; }
.pt-head th:last-child { border-radius: 0 var(--radius) 0 0; }
.pt-cta td:nth-child(3) { border-radius: 0 0 0 var(--radius); }
.pt-cta td:last-child { border-radius: 0 0 var(--radius) 0; }
.pt-head th.pt-featured { border-radius: 0; }
.pt-cta td.pt-featured { border-radius: 0; }
.pt-cta td { padding-top: 24px; padding-bottom: 22px; }
/* Free column stays quiet */
.price-table td:nth-child(2), .price-table th:nth-child(2) { color: var(--muted); }
.pt-price td:nth-child(2) { color: var(--muted); }

/* pricing table calm-down */
#price .price-line { font-family: var(--body); font-size: 15px; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--muted); margin: 0 0 8px; max-width: 44em; }
.pt-head th { vertical-align: bottom; padding-bottom: 14px; }
.pt-note { letter-spacing: .08em; }
/* Fixed layout, or the leftover width all lands in the Free column and pushes
   it a third of the table away from the plans it is meant to sit beside. */
.price-table { table-layout: fixed; min-width: 760px; }
.price-table th:first-child, .price-table td:first-child { width: 15%; }
.price-table th:not(:first-child), .price-table td:not(:first-child) { width: 21.25%; }

/* Free is the quiet neighbour of the paid block, not a fourth column standing
   apart from it: less air between the two, a smaller price, and the paid
   surface casting a soft shadow leftwards so the edge reads as a lift rather
   than a border. */
.price-table td:nth-child(2), .price-table th:nth-child(2) { padding-right: 10px; }
.price-table th:nth-child(3), .price-table td:nth-child(3) { padding-left: 14px; }
.pt-price td:nth-child(2) { font-size: 20px; }
.price-table th:nth-child(3), .price-table td:nth-child(3) {
  box-shadow: -14px 0 26px -20px rgba(2,26,32,.85); }
:root[data-theme="light"] .price-table th:nth-child(3),
:root[data-theme="light"] .price-table td:nth-child(3) {
  box-shadow: -14px 0 24px -20px rgba(16,38,66,.34); }
.pt-cta td .btn { width: auto; }
.pt-cta .btn-sec { padding-left: 0; }

/* Enterprise sits at the right, under the paid columns it extends. A second
   full-width tinted banner directly below a tinted table read as a third price
   tier competing with the ledger; this is one quiet line instead. */
.custom-line { display: flex; align-items: baseline; justify-content: flex-end;
  gap: 20px; flex-wrap: wrap; margin-top: 26px; text-align: right; }
.custom-line > div { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  justify-content: flex-end; }
.custom-line .lbl { color: var(--text); }
.custom-line p { margin: 0; max-width: none; font-size: 14px; color: var(--muted); }
.custom-line .btn { flex: none; }
@media (max-width: 700px) {
  .custom-line, .custom-line > div { justify-content: flex-start; text-align: left; } }

/* ======= CALLOUT BANDS — the page's one interruption device ======= */
/* Slightly coloured full-width strips for the things worth stopping for:
   a voice, the honesty line, the custom offer. Soft brand tint, generous air,
   one composed element. Never a card floating in a column. */
/* Bands float as distinct strips — page ground above and below, so they never
   read as the next section's headline. */
.callout-band { margin: 64px 0; padding: 76px 0; border: none;
  background: color-mix(in srgb, var(--brand) 7%, var(--ink-0)); }
:root[data-theme="light"] .callout-band { background: #EAF3F3; }
.hero-quote { margin: 0; text-align: center; }
.hero-quote blockquote { margin: 0 auto 18px; max-width: 30em;
  font-family: var(--sans); font-size: clamp(20px, 2.4vw, 27px); font-weight: 600;
  line-height: 1.4; letter-spacing: -.015em; color: var(--text); text-wrap: balance; }
.hero-quote figcaption { font-size: 14px; color: var(--muted); }
.hero-quote figcaption b { color: var(--text); font-weight: 600; }
.mini-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 30em)); gap: 40px;
  justify-content: center; margin-top: 44px; padding-top: 30px;
  border-top: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); }
@media (max-width: 860px) { .mini-quotes { grid-template-columns: 1fr; } }
.mini-quotes .quote blockquote { font-size: 14.5px; color: var(--muted); }
.mini-quotes .quote figcaption { font-size: 12.5px; }
.band-line { max-width: 44em; margin: 0 auto; text-align: center;
  font-family: var(--sans); font-size: clamp(18px, 2vw, 22px); font-weight: 500;
  line-height: 1.5; letter-spacing: -.01em; }
.band-line b { color: var(--brand-lift); }
:root[data-theme="light"] .band-line b { color: var(--brand); }

/* proof header: headline left, instrument row right, one baseline */
.proof-head { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.proof-head h2 { margin-bottom: 0; }
.proof-head .speeds { margin: 0 0 6px; gap: 40px; border: none; padding: 0; }
.proof-head .speeds li + li { padding-left: 40px; }
.proof-grid { align-items: center; }

.shot video { width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.entry-panel .shot video { max-height: 300px; }
@media (prefers-reduced-motion: reduce) { .shot video { display: none; } }


.cta-note { font-size: 13px; color: var(--muted); margin: 10px 0 0 6px; }
/* columns share a bottom edge: media sticks to the top, panel min-height gone */
.entry-panel .split { align-items: start; }

/* hero sub stays one line */
.hero-card .sub.nowrap { white-space: nowrap; letter-spacing: .14em; }

/* pricing footnote back in flow, quiet */
.table-note { font-family: var(--body); font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.pt-note { display: inline; font-size: 10px; margin: 0 0 0 4px; }
.pt-cta td { vertical-align: middle; }

/* ===== voices: slim band, one quote at a time, teal-duotone portrait ===== */
.callout-band.slim { padding: 52px 0; margin: 48px 0; }
.voices { position: relative; max-width: 760px; margin: 0 auto; }
.voice { display: none; margin: 0; align-items: center; gap: 26px; }
.voice[data-active="true"] { display: flex; animation: voicefade .45s ease; }
@keyframes voicefade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .voice[data-active="true"] { animation: none; } }
.voice img {
  width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex: none;
  filter: grayscale(1) sepia(.32) hue-rotate(148deg) saturate(2) brightness(1.04);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent),
              0 6px 18px rgba(16,38,66,.14);
}
.voice blockquote { margin: 0 0 8px; font-family: var(--sans); font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500; line-height: 1.45; letter-spacing: -.01em; color: var(--text); text-wrap: balance; }
.voice figcaption { font-size: 13px; color: var(--muted); }
.voice figcaption b { color: var(--text); font-weight: 600; }
.voice-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.voice-dots button { width: 7px; height: 7px; border-radius: 50%; border: none; cursor: pointer;
  background: color-mix(in srgb, var(--brand) 28%, transparent); padding: 0; }
.voice-dots button[aria-selected="true"] { background: var(--brand); }
@media (max-width: 700px) { .voice { flex-direction: column; text-align: center; } }

/* live: the question the layer answers, set as a query */
.query-box { display: flex; gap: 14px; align-items: baseline; max-width: 44em;
  margin: 6px 0 18px; padding: 16px 20px; border-radius: var(--radius);
  background: var(--ink-1); border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.query-prompt { font-family: var(--mono); font-weight: 600; color: var(--brand); flex: none; }
.query-text { font-family: var(--mono); font-size: 13.5px; line-height: 1.65; color: var(--text); }
#live { background: var(--ink-0); }
#live .cities { border-bottom: 1px solid var(--line); margin: 6px 0 24px; }
.live-media .shot { position: relative; max-width: 980px; }
.live-load { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: var(--scrim); backdrop-filter: blur(8px); border-radius: 999px;
  padding: 12px 22px; border: 1px solid var(--line); }
.live-media iframe { width: 100%; aspect-ratio: 16/10; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* live v3: full-bleed backdrop, glass card (hero language), map loads in place */
#live { position: relative; overflow: hidden; padding: 96px 0; }
.live-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* original grade: soft wash from the card side, plus gentle side dissolves only */
#live::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg,
      var(--ink-0) 0%,
      color-mix(in srgb, var(--ink-0) 92%, transparent) 26%,
      color-mix(in srgb, var(--ink-0) 45%, transparent) 46%,
      transparent 62%, transparent 91%, var(--ink-0) 100%);
}
.live-wrap { position: relative; z-index: 2; }
/* Light theme: mostly blur, barely paint — the map reads through.
   Dark theme: the backdrop is a LIGHT screenshot, so the card needs real paint
   and the image needs dimming, or everything turns to mud. */
.live-card { max-width: 620px; padding: 36px 40px 34px; border-radius: 20px;
  background: color-mix(in srgb, var(--ink-1) 78%, transparent);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(26px) saturate(1.15); -webkit-backdrop-filter: blur(26px) saturate(1.15);
  box-shadow: var(--shadow); }
:root[data-theme="light"] .live-card {
  background: color-mix(in srgb, var(--ink-1) 34%, transparent); }
.live-bg { filter: brightness(.62) saturate(.85); }
:root[data-theme="light"] .live-bg { filter: none; }
.live-card h2 { font-size: clamp(26px, 2.8vw, 34px); }
.live-sub { font-size: 15.5px; color: var(--muted); max-width: 34em; margin: 0 0 18px; }
.live-card .query-box { box-shadow: none; margin: 4px 0 16px; }
.live-card .cities { border-bottom: 1px solid var(--line-soft); }

/* pricing token row emphasis */
.pt-token td { border-top: 1px solid var(--line); }
.pt-token td b { color: var(--text); font-weight: 650; }
.table-note b { color: var(--text); }

/* two-level explorer: scales on top, per-scale simulation pills */
.panel-top { justify-content: space-between; }
.sub-pills { position: absolute; z-index: 6; top: 14px; left: 14px;
  display: flex; gap: 7px; flex-wrap: wrap; }
.sub-pill { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 11px; border-radius: 999px; cursor: pointer;
  background: var(--scrim); backdrop-filter: blur(8px); color: var(--text);
  border: 1px solid var(--line-soft); transition: all .15s ease; }
.sub-pill[aria-selected="true"] { color: #fff; background: var(--brand); border-color: var(--brand); }
.sub-pill .beta { font-size: 8.5px; opacity: .75; margin-left: 3px; }
.exp-stage { aspect-ratio: auto; max-height: none; min-height: 460px; }

/* hidden must always win — .btn's display was defeating the attribute */
[hidden] { display: none !important; }

/* Map live = full-bleed 1:1 replacement of the backdrop. Our UI collapses to a
   go-back badge docked in the top-left corner, visually ours, map fully usable. */
.live-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#live.live-active { min-height: 760px; }
#live.live-active::before { background: none; }
#live.live-active .live-wrap { position: absolute; top: 6px; left: 6px; z-index: 5;
  margin: 0; padding: 0; max-width: none; }
#live.live-active .live-card {
  max-width: none; width: auto; display: inline-flex; align-items: center; gap: 18px;
  padding: 13px 12px 13px 20px; border-radius: 999px; backdrop-filter: blur(10px);
  background: var(--ink-1);
  border: 1px solid var(--line); box-shadow: var(--shadow); }
#live.live-active .live-card h2,
#live.live-active .live-card .query-box,
#live.live-active .live-card .live-sub,
#live.live-active .live-card .eyebrow,
#live.live-active #liveCap { display: none; }
#live.live-active .cities { border: none; margin: 0; gap: 16px; }
#live.live-active .city-pill { padding: 6px 2px; }
#live.live-active .cta-row { margin: 0; gap: 8px; }
#live.live-active .cta-row .btn { padding: 8px 14px; font-size: 10.5px; }
#live.live-active #liveLoad { display: none; }
#live.live-active #liveClose { color: var(--text); border: 1px solid var(--line);
  padding-left: 12px; padding-right: 12px; }
#live.live-active #liveClose::after { content: none; }
#live.live-active .live-card h2,
#live.live-active .live-card .query-box,
#live.live-active .live-card .live-sub,
#live.live-active .live-card .eyebrow,
#live.live-active #liveCap { display: none; }
#live.live-active .cities { border: none; margin: 0; gap: 18px; }
#live.live-active .city-pill { padding: 6px 2px; }
#live.live-active .cta-row { margin: 0; }
#live.live-active .cta-row .btn { padding: 9px 16px; font-size: 10.5px; }

.query-text { transition: opacity .35s ease; min-height: 3.2em; display: block; }

/* ===== persona FAB — demo switcher, bottom right ===== */
.persona-fab { position: fixed; right: 22px; bottom: 22px; z-index: 70; }
.fab-btn { display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 16px 24px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--ink-1); color: var(--text); box-shadow: var(--shadow);
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; transition: transform .15s ease; }
.fab-btn:hover { transform: translateY(-2px); border-color: var(--brand-lift); }
.fab-label b { color: var(--brand); margin-left: 8px; font-weight: 600; }
.fab-menu { position: absolute; right: 0; bottom: 64px; width: 320px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--ink-1);
  box-shadow: var(--shadow); padding: 10px; }
.fab-menu button { display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 11px 14px; border: none; border-radius: 9px; background: transparent;
  color: var(--text); font-family: var(--body); font-size: 14.5px; }
.fab-menu button:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.fab-menu button[aria-selected="true"] { color: var(--brand); font-weight: 600; }
.fab-hint { font-size: 12px; line-height: 1.55; color: var(--muted);
  padding: 10px 14px 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 8px; }
.fab-hint code { font-family: var(--mono); font-size: 11px; color: var(--brand); }

/* tool marks in the manifest — small, subtle, monochrome */
.tmark { display: inline-block; width: 15px; height: 15px; margin-right: 10px;
  vertical-align: -2px; filter: grayscale(1) opacity(.55); }
:root[data-theme="dark"] .tmark { filter: grayscale(1) invert(1) opacity(.5); }

/* supported-by: quiet grayscale row above the footer note */
/* Centred: a left-aligned row of seven logos of different widths never lines up
   with anything, and the last one always ends mid-column. */
.supported-by { display: flex; align-items: center; justify-content: center;
  gap: 30px 38px; flex-wrap: wrap; text-align: center;
  margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.supported-by .lbl { flex-basis: 100%; margin-bottom: 4px; }
.supported-by img { height: 22px; width: auto; filter: grayscale(1) opacity(.5); }
.supported-by img:hover { filter: grayscale(0) opacity(.9); }
:root[data-theme="dark"] .supported-by img { filter: grayscale(1) invert(1) opacity(.45); }
