/* Self-hosted Fraunces (variable optical size, weight 500) and Poppins 400/600/700, latin and latin-ext subsets, from Google Fonts (OFL). */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/fraunces-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/fraunces-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/poppins-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/poppins-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Exeter Labs mockup v9 · scan-layer pass on v8.
   Metrics from exeterlabs-v3/BRAVE_EXTRACT.md; words from v7's COPY_DECK; v8 changes in exeterlabs-v8/VISUAL_DECK.md.
   v9 adds: .product-more disclosures; panel meta row. v9.2 corrects the hero to Brave Leo's measured
   geometry (drawing in its own row below the copy, 987px, tile 128px at the right edge). */
:root {
  --ink: #1c1c1d;
  --page: #fafafb;
  --accent: linear-gradient(321.5deg, #fa7250 3%, #ff1893 40%, #a78aff 99%);
  /* Same hues, darkened until white 16px text clears 4.5:1 (see README). Text-bearing pills only. */
  --accent-deep: linear-gradient(321.5deg, #e03206 3%, #e40079 40%, #7f54ff 99%);
  --indigo: #434fcf;
  --divider: #c9c9ca;
  --muted: #5c5c60; /* v8: Brave's grey instruction line; 6.9:1 on the page colour */
  --sans: Poppins, "Inter Variable", Helvetica, ui-sans-serif, system-ui, sans-serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: Fraunces, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-bottom: 100px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/24px var(--sans); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 24px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: #fff; border: 2px solid var(--ink); border-radius: 1000px; padding: 12px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

/* Layout: Brave's calc(100% - 2rem) container, 1rem gutter, section rhythm 40 / 56 / 80 */
.container { width: calc(100% - 2rem); max-width: 1280px; margin-inline: auto; }
.section { margin-top: 40px; }
@media (min-width: 640px) { .section { margin-top: 56px; } }
@media (min-width: 1024px) { .section { margin-top: 80px; } }

/* Type ladder: display (Fraunces 500) / sub-headline (Poppins 600) / body (Poppins 400) */
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-optical-sizing: auto; overflow-wrap: break-word; }
.h1 { font-size: 54px; line-height: 50px; }
.h2 { font-size: 48px; line-height: 48px; }
@media (min-width: 640px) {
  .h1 { font-size: 80px; line-height: 75px; }
  .h2 { font-size: 70px; line-height: 70px; }
}
.sub { font-size: 30px; line-height: 40px; font-weight: 600; letter-spacing: -1.2px; max-width: 600px; }
.h4 { font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; }
.h4-lg { font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; }
.h-faq { font-size: 40px; line-height: 44px; font-weight: 600; }
.eyebrow { font: 600 12px/18px var(--sans); letter-spacing: .06em; text-transform: uppercase; }

/* Buttons (Leo pill) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 1000px; border: 0; padding: 12px 16px; font: 600 14px/20px var(--ui); text-decoration: none; cursor: pointer; white-space: nowrap; transition: box-shadow .12s ease-in-out, background .12s ease-in-out, border-color .12s ease-in-out, opacity .12s ease-in-out, transform .12s ease-in-out; }
.btn:hover { box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 4px 16px -2px rgba(0,0,0,.22); }
.btn:active { transform: scale(.97); opacity: .75; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: linear-gradient(179.25deg, #434fcf 0%, #3126b1 100%); }
.btn-hero { background: var(--accent-deep); color: #fff; font-size: 16px; line-height: 22px; }
@media (min-width: 768px) { .btn-hero { font-size: 18px; line-height: 24px; padding: 14px 22px; } }
.btn-faint { background: transparent; color: var(--ink); text-decoration: underline; }

/* Header */
.site-header { height: 88px; }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.brand-name { letter-spacing: -.035em; }
.brand-labs { font-weight: 500; }
.mark { width: 32px; height: 32px; display: block; flex: none; }
.mark svg { width: 100%; height: 100%; }
.menu-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--indigo); color: #fff; display: grid; place-items: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.nav .links a { display: block; font: 600 12px/18px var(--ui); padding: 10px 8px; text-decoration: none; }
.nav .links a:hover { text-decoration: underline; }
.nav .actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1023.98px) {
  .nav { display: none; }
  .nav.is-open { display: flex; flex-direction: column; gap: 8px; position: absolute; top: 76px; left: 0; right: 0; z-index: 40; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 16px; }
}
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav { display: flex; align-items: center; gap: 24px; }
  .nav .links { display: flex; gap: 4px; }
}

/* Icon tiles: 80px white square, 2px outline, 16px radius, hard shadow 7px 5px */
.tile { width: 80px; height: 80px; flex: none; background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 7px 5px 0 var(--ink); display: grid; place-items: center; color: var(--ink); }
.tile svg { width: 55%; height: 55%; }
.tile-hero { box-shadow: none; }
.tile-hero svg { width: 68%; height: 68%; }

/* Hero. v9.2, Brave Leo's geometry, measured at 1440 on brave.com/leo: the copy occupies one
   column and the drawing sits in its own full-width row BELOW it, centred at Brave's 987px (77% of
   the 1280 container: `mx-auto max-w-[987px]`), never beside the headline. The 128px logo tile is
   flush with the container's right edge, level with the first row (Brave: 128x128 at x1232). */
.hero { position: relative; margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
.hero-label { display: flex; align-items: center; gap: 16px; }
.hero-eyebrow { font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; }
.hero-line { font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; max-width: 600px; color: var(--muted); }
.hero-line svg { display: inline-block; width: 22px; height: 22px; vertical-align: -4px; margin-right: 6px; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; align-self: start; }
.hero-scene { position: relative; width: 100%; max-width: 760px; justify-self: center; }
.hero-art { width: 100%; }
@media (min-width: 1024px) {
  /* Brave's hero starts 152px below the top of the page; ours has an in-flow 88px header, so 56px
     of margin lands the first row at 144. */
  .hero { margin-top: 56px; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); grid-template-rows: repeat(6, auto); row-gap: 0; }
  .hero-label { grid-area: 1 / 1 / 2 / 2; }
  /* Brave's rhythm down the copy column: h1 -> 20px -> sub -> 24px -> instruction; + 24px to the CTA. */
  .h1 { grid-area: 2 / 1 / 3 / 2; margin-top: 24px; white-space: nowrap; }
  .sub { grid-area: 3 / 1 / 4 / 2; margin-top: 20px; }
  .hero-line { grid-area: 4 / 1 / 5 / 2; margin-top: 24px; }
  .hero-cta { grid-area: 5 / 1 / 6 / 2; margin-top: 24px; }
  .tile-hero { position: absolute; top: 0; right: 0; width: 128px; height: 128px; }
  .hero-scene { grid-area: 6 / 1 / 7 / 3; justify-self: center; width: 100%; max-width: 987px; margin-top: 40px; }
}
/* Brave Leo's hero display is 120px/103 in a 600px column. Ours is 22 characters, so 104px puts the
   text at 891px wide (Brave: 600) and the wordmark-scale jump has to wait until the container is at
   its full 1168px+ (at 1024 to 1199 a 104px line would run into the 128px tile at the right edge).
   Measured: 1440 -> h1 ends x971, tile starts x1232 (261px clear); 1200 -> 907 / 1056 (149px clear). */
@media (min-width: 1200px) {
  .h1 { font-size: 104px; line-height: 98px; }
}

/* A slow, synchronized evidence → judgment → choice → record sequence. */
.hero-scene { --hero-play-state: running; }
.hero-scene.is-paused { --hero-play-state: paused; }
.wb-type { font-family: var(--sans); }
.wb-micro { font-size: 12px; font-weight: 500; letter-spacing: 1.6px; }
.wb-evidence { animation: wb-evidence 20s ease-in-out infinite; }
.wb-conflict { animation: wb-conflict 20s ease-in-out infinite; }
.wb-uncertainty { animation: wb-uncertainty 20s ease-in-out infinite; }
.wb-pointer { transform-origin: 604px 394px; animation: wb-pointer 20s ease-in-out infinite; }
.wb-choice { animation: wb-choice 20s ease-in-out infinite; }
.wb-pending { animation: wb-pending 20s ease-in-out infinite; }
.wb-selection, .wb-stamp, .wb-record-content { animation: wb-record 20s ease-in-out infinite; }
.hero-art :is(.wb-evidence, .wb-conflict, .wb-uncertainty, .wb-pointer, .wb-choice, .wb-selection, .wb-stamp, .wb-record-content, .wb-pending) { animation-play-state: var(--hero-play-state); }
.workbench-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 46px; }
.workbench-caption { font: 500 25px/32px var(--serif); letter-spacing: -.02em; }
.workbench-caption span { display: block; font: 400 14px/24px var(--sans); letter-spacing: 0; color: var(--muted); }
.hero-motion-toggle { flex: none; min-height: 44px; padding: 10px 14px; border: 1px solid var(--divider); border-radius: 24px; background: var(--page); color: var(--muted); font: 500 12px/20px var(--sans); cursor: pointer; }
.hero-motion-toggle:hover { border-color: var(--ink); color: var(--ink); }
.hero-motion-toggle[hidden] { display: none; }
.workbench-sequence { list-style: none; counter-reset: workbench; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 24px 46px 0; padding: 0; }
.workbench-sequence li { counter-increment: workbench; padding-top: 12px; border-top: 1px solid #b5a591; font: 500 11px/18px var(--sans); color: var(--ink); animation: wb-stage 20s ease-in-out infinite; animation-play-state: var(--hero-play-state); }
.workbench-sequence li::before { content: '0' counter(workbench); display: block; font-size: 10px; color: #806692; }
.workbench-sequence li:nth-child(2) { animation-delay: -15s; }
.workbench-sequence li:nth-child(3) { animation-delay: -10s; }
.workbench-sequence li:nth-child(4) { animation-delay: -5s; }
@media (max-width: 639.98px) {
  .workbench-footer { padding: 0; gap: 12px; flex-wrap: wrap; }
  .workbench-caption { font-size: 22px; line-height: 28px; }
  .workbench-sequence { margin: 20px 0 0; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
}
@keyframes wb-evidence { 0%, 100% { opacity: .5; transform: translate(var(--arrival-x), var(--arrival-y)); } 20%, 96% { opacity: 1; transform: translate(0, 0); } }
@keyframes wb-conflict { 0%, 20%, 80%, 100% { opacity: .2; } 30%, 48% { opacity: 1; } }
@keyframes wb-uncertainty { 0%, 20%, 65%, 100% { opacity: .15; } 32%, 45% { opacity: .9; } }
@keyframes wb-pointer { 0%, 45%, 100% { transform: rotate(-38deg); } 62%, 96% { transform: rotate(0); } }
@keyframes wb-choice { 0%, 48% { stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; } 52% { opacity: 1; } 72%, 96% { stroke-dasharray: 100; stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dasharray: 100; stroke-dashoffset: 0; opacity: 0; } }
@keyframes wb-record { 0%, 68%, 100% { opacity: 0; } 78%, 96% { opacity: 1; } }
@keyframes wb-pending { 0%, 68%, 100% { opacity: 1; } 78%, 96% { opacity: 0; } }
@keyframes wb-stage { 0%, 20% { opacity: 1; } 25%, 95% { opacity: .4; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-art :is(.wb-evidence, .wb-conflict, .wb-uncertainty, .wb-pointer, .wb-choice, .wb-selection, .wb-stamp, .wb-record-content, .wb-pending), .workbench-sequence li { animation: none; }
  .wb-uncertainty { opacity: .3; }
  .wb-pending { display: none; }
  .hero-motion-toggle { display: none; }
}

/* Section heads */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 24px; margin-bottom: 40px; }

/* Product index (five-product anchor nav) */
.product-index { display: grid; grid-template-columns: minmax(0, 1fr); border: 2px solid var(--ink); border-radius: 16px; background: #fff; margin-bottom: 40px; }
.product-index a { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; gap: 12px; padding: 14px 16px; font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; }
.product-index a + a { border-top: 2px solid var(--divider); }
.product-index a:hover { background: #f1f0fe; }
.product-index a:first-child { border-radius: 14px 14px 0 0; }
.product-index a:last-child { border-radius: 0 0 14px 14px; }
.product-index a:focus-visible { z-index: 1; outline-offset: -5px; }
.index-num { font: 600 12px/1 var(--ui); }
.product-index svg { width: 24px; height: 24px; }
@media (min-width: 768px) {
  .product-index { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .product-index a { grid-template-columns: 1fr 24px; gap: 16px 4px; align-content: space-between; padding: 20px 16px; }
  .product-index a + a { border-top: 0; border-left: 2px solid var(--divider); }
  .product-index a:first-child { border-radius: 14px 0 0 14px; }
  .product-index a:last-child { border-radius: 0 14px 14px 0; }
  .index-num { grid-column: 1 / -1; }
  .product-index svg { align-self: center; }
}

/* Shared product text block */
.product-heading { display: grid; gap: 24px; }
.product-heading .eyebrow { margin-bottom: 8px; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font: 400 14px/20px var(--sans); margin: 24px 0; padding-bottom: 16px; border-bottom: 2px solid var(--divider); }
.status { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.status.live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); }
.product-intro { font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; }
.product-copy { margin-top: 12px; font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: 0; } /* v7: body tier */
.product-media { margin: 24px 0 16px; }
.product-media img { width: 100%; border: 2px solid var(--ink); border-radius: 16px; }
figcaption { font-size: 14px; line-height: 20px; margin-top: 8px; }
.product-note { font-size: 14px; line-height: 20px; margin-bottom: 16px; }
.product-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; font-weight: 600; margin-top: auto; padding-top: 16px; min-height: 44px; }
.product-link span { font-size: 22px; }
/* v9: per-product disclosure. Same grammar as the FAQ rows (summary 600, chevron), inside the card. */
.product-more { margin-top: 16px; border-top: 2px solid var(--divider); }
.product-more summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 16px; line-height: 24px; font-weight: 600; cursor: pointer; list-style: none; }
.product-more .more { padding-bottom: 8px; }
.product-more .product-copy { margin-top: 0; }
.data-offers { margin: 24px 0; border-top: 2px solid var(--divider); }
.data-offers li { display: flex; align-items: center; gap: 16px; padding: 16px 0; font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; border-bottom: 2px solid var(--divider); }
.data-offers svg { width: 32px; height: 32px; flex: none; }

/* Cards: white, 2px ink, 16px radius, gradient slab 11px down-right */
.card { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 16px; }
.slab::before { content: ""; position: absolute; inset: 11px -11px -11px 11px; background: var(--accent); border-radius: 16px; z-index: -1; }

/* v8 Brave card grammar: screenshot at 16px inset, 12px radius, icon badge over the bottom-left corner */
.card-media { position: relative; margin: 16px 16px 0; }
.card-media img { width: 100%; border: 2px solid var(--ink); border-radius: 12px; }
.badge { position: absolute; left: -4px; width: 64px; height: 64px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 6px 4px 0 var(--ink); display: grid; place-items: center; color: var(--ink); }
.badge svg { width: 55%; height: 55%; }
.card-media .badge { bottom: 4px; }            /* figcaption is inside the figure, 36px tall */
.card-media figcaption { padding-left: 76px; }
.media-card .card-media .badge { bottom: -28px; } /* figcaption follows the media block */
.media-card > figcaption { padding: 8px 16px 16px 92px; margin: 0; }

/* 01 StepSim: flagship band */
.band { margin-bottom: 40px; }
.band-head { display: grid; gap: 0; }
.band-head .product-heading { grid-template-columns: 80px minmax(0, 1fr); align-items: center; }
.band-head .product-link { justify-content: flex-start; margin-top: 8px; }
.band-stage { position: relative; margin-top: 32px; padding: 0 0 32px; isolation: isolate; }
.band-stage::before { content: ""; position: absolute; left: -1rem; right: -1rem; top: 48px; bottom: 0; background: var(--accent); z-index: -1; }
.band-media { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 12px; margin: 0 auto; max-width: 1040px; }
.band-media img { border: 2px solid var(--ink); border-radius: 12px; width: 100%; }
.band-media figcaption { padding: 8px 4px 0; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; }
@media (min-width: 640px) {
  .band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .band-stage { padding: 0 32px 48px; }
  .band-stage::before { left: 0; right: 0; border-radius: 16px; }
}
@media (min-width: 1024px) {
  .band-head { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .band-head .product-heading { grid-row: 1; }
  .band-head .product-meta { grid-column: 1; margin-top: 24px; }
  .band-head .product-intro { grid-column: 2; grid-row: 1; }
  .band-head .product-more { grid-column: 2; }
  .band-head .product-link { grid-column: 2; }
}

/* 02 to 04 cards */
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; isolation: isolate; align-items: start; } /* v9: a short card keeps its own height instead of being stretched into a mid-card void by a tall neighbour */
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product { display: flex; flex-direction: column; align-items: stretch; }
.product-body { padding: 24px 16px 32px; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 640px) { .product-body { padding: 32px; } }
@media (min-width: 1024px) {
  .product-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .product-wide .card-media { grid-column: 2; margin: 16px 16px 16px 0; align-self: center; }
  .product-wide .product-body { grid-column: 1; grid-row: 1; }
}

/* Dark panel (Built for AIR APAC). v8: two drawn mocks on the dither instead of five tiles. */
.panel { background: #1f1f20; color: #e4e4e5; border: 2px solid var(--ink); border-radius: 16px; margin-top: 40px; padding: 0 16px 40px; overflow: hidden; }
.panel-art { position: relative; margin-inline: -16px; padding: 32px 16px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: end; }
.panel-art::before { content: ""; position: absolute; inset: 0 0 36px; background: repeating-conic-gradient(#8a8a8d 0 25%, transparent 0 50%) 0 0 / 12px 12px; -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.35) 45%, transparent 100%); mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.35) 45%, transparent 100%); }
.panel-shot { position: relative; }
.panel-shot img { width: 100%; border: 2px solid var(--divider); border-radius: 16px; box-shadow: 7px 5px 0 #000; }
.panel-shot figcaption { color: #c9c9ca; }
.panel-phone { max-width: 220px; justify-self: center; }
.panel-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 32px; align-items: start; } /* v9: the disclosure column is not stretched to the copy column's height */
.panel .h2 { color: #e4e4e5; margin: 8px 0 24px; }
.panel .product-meta { margin-top: 0; border-color: rgba(228,228,229,.3); }
.panel .status.live::before { border-color: #e4e4e5; }
.panel-intro .h4-lg { margin-top: 16px; }
.panel .btn { margin-top: 32px; }
.panel :focus-visible { outline-color: #fff; }
.panel-more { border-color: rgba(228,228,229,.3); }
.panel-work { margin-top: 24px; }
.panel-work li { font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; padding: 12px 0; border-top: 1px solid rgba(228,228,229,.3); }
.panel-work li:last-child { border-bottom: 1px solid rgba(228,228,229,.3); }
.panel-work li p { font: 400 16px/24px var(--sans); letter-spacing: 0; margin-top: 4px; } /* v7: row detail, body tier */
@media (min-width: 640px) {
  .panel { padding: 0 32px 56px; }
  .panel-art { margin-inline: -32px; padding: 40px 32px 0; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: 32px; }
  .panel-phone { max-width: none; justify-self: stretch; }
}
@media (min-width: 1024px) {
  .panel { padding: 0 64px 64px; }
  .panel-art { margin-inline: -64px; padding: 48px 64px 0; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 48px; }
  .panel-body { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; } /* v9: one column; the disclosure sits full width under the copy like a FAQ row, so no half-empty column */
}

/* How we work */
.process { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; border-block: 2px solid var(--ink); padding: 32px 0; }
.process h3 { font-size: 30px; line-height: 32px; margin-bottom: 12px; }
.process p { font-size: 16px; line-height: 24px; }
.process li + li { border-top: 2px solid var(--divider); padding-top: 24px; }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .process li + li { border-top: 0; padding-top: 0; }
}

/* Changelog */
.log { margin-top: 24px; }
.log li { display: grid; grid-template-columns: 100px 1fr; gap: 4px 16px; padding: 16px 0; border-top: 2px solid var(--divider); }
.log li:last-child { border-bottom: 2px solid var(--divider); }
.log .entry { grid-column: 1 / -1; font-weight: 600; }
.log time, .log .grp { font-size: 14px; line-height: 20px; }
.log .grp { font-weight: 700; }
@media (min-width: 640px) {
  .log li { grid-template-columns: 120px 140px 1fr; gap: 16px; align-items: baseline; }
  .log .entry { grid-column: auto; }
}

/* FAQ: joined rows, 2px #c9c9ca, summary 20/24 600, padding 24px 0 */
.faq { max-width: 960px; }
.faq .h-faq { margin-bottom: 24px; }
.faq details { background: #fff; border: 2px solid var(--divider); padding: 0 16px; }
@media (min-width: 640px) { .faq details { padding: 0 32px; } }
.faq details + details { margin-top: -2px; }
.faq details:first-of-type { border-radius: 16px 16px 0 0; }
.faq details:last-of-type { border-radius: 0 0 16px 16px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; font-size: 20px; line-height: 24px; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.chev { width: 24px; height: 24px; flex: none; transition: transform .1s ease-out; }
details[open] > summary .chev { transform: rotate(180deg); }
.faq .ans { padding-bottom: 24px; font-size: 15px; line-height: 24px; }
.faq .ans p + p { margin-top: 12px; }

/* Footer */
.footer { background: #3a2ecd; color: #e4e4e5; padding: 48px 0; margin-top: 40px; }
@media (min-width: 640px) { .footer { margin-top: 56px; } }
@media (min-width: 1024px) { .footer { margin-top: 80px; } }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot-cols .contact-col { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(228,228,229,.35); }
@media (min-width: 640px) {
  .foot-cols { grid-template-columns: 1fr 1fr 1.5fr; }
  .foot-cols .contact-col { grid-column: auto; padding-top: 0; border-top: 0; }
}
.foot-h { font: 700 14px/20px var(--sans); text-transform: uppercase; letter-spacing: .04em; color: #fff; margin-bottom: 12px; }
.footer li + li { margin-top: 8px; }
.footer a { color: #e4e4e5; font-size: 14px; line-height: 20px; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer :focus-visible { outline-color: #fff; }
.contact-title { color: #fff; font-size: 48px; line-height: 48px; margin-bottom: 16px; }
.contact-col a { overflow-wrap: anywhere; text-decoration: underline; }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(228,228,229,.35); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot-bottom .wordmark { color: #fff; }
.foot-bottom small { font-size: 12px; line-height: 16px; color: #c9c9ca; }

/* Sticky bottom bar: 82px, the only scroll-linked motion */
.persist { position: sticky; bottom: 0; z-index: 50; height: 82px; display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(to right, #381e85, #6845d1); color: #fff; font: 600 16px/22px var(--sans); text-decoration: none; transition: transform 150ms cubic-bezier(.4,0,.2,1), opacity 150ms cubic-bezier(.4,0,.2,1), visibility 0s linear 0s; }
.persist svg { width: 22px; height: 22px; }
.persist.is-hidden { opacity: 0; transform: translateY(5rem); visibility: hidden; pointer-events: none; transition-delay: 0s, 0s, 150ms; }
.persist:focus-visible { outline: 3px solid #fff; outline-offset: -8px; }
@media (min-width: 1300px) { .persist { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .persist, .btn, .chev { transition: none; }
  .btn:active { transform: none; }
}

/* v11: lab sections (thesis, method, trust, partners, live now, notes, company) */
.thesis { max-width: 960px; }
.thesis .h4-lg { max-width: 760px; }
.thesis-note { margin-top: 16px; max-width: 760px; font-size: 16px; line-height: 24px; color: var(--muted); }
.thesis-source { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.demo-legend { margin: -16px 0 40px; font-size: 14px; line-height: 20px; color: var(--muted); }
.lab-intro { max-width: 760px; margin-bottom: 32px; }
.lab-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.lab-grid > * { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 24px; }
.lab-grid h3 { font-size: 20px; line-height: 26px; margin-bottom: 12px; }
.lab-grid p { font-size: 15px; line-height: 24px; }
.lab-grid .product-link { margin-top: auto; padding-top: 16px; }
.lab-grid > * > p + .product-link { margin-top: 16px; }
.section > .product-link { justify-content: flex-start; margin-top: 8px; }
.lab-grid + .product-link { margin-top: 24px; }
.lab-cta { margin-top: 32px; }
@media (min-width: 720px) { .lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lab-grid.lab-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.live { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 24px; background: #fff; border: 2px solid var(--divider); border-radius: 16px; font-size: 15px; line-height: 24px; text-align: left; overflow: hidden; }
.live th, .live td { padding: 16px; text-align: left; vertical-align: top; border-top: 2px solid var(--divider); font-weight: 400; }
.live thead th { border-top: 0; font: 600 12px/18px var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.live tbody th { font-weight: 600; }
@media (max-width: 719.98px) {
  .live thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .live, .live tbody, .live tr, .live th, .live td { display: block; }
  .live tr + tr { border-top: 2px solid var(--divider); }
  .live th, .live td { border-top: 0; padding: 4px 16px; }
  .live tr { padding: 12px 0; }
  .live td::before { content: attr(data-label) ": "; font-weight: 600; }
}

.company { max-width: 960px; }
.company .h2 { margin-bottom: 24px; }
.company p + p { margin-top: 12px; }
.company p { max-width: 760px; }

@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) {
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-cols .contact-col { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(228,228,229,.35); }
}
@media (min-width: 1024px) {
  .foot-cols { grid-template-columns: 1fr 1fr 1fr 1.5fr; }
  .foot-cols .contact-col { grid-column: auto; padding-top: 0; border-top: 0; }
}

/* v11: sub pages */
.page-head { margin-top: 24px; }
.page-head .sub { margin-top: 20px; max-width: 760px; }
.prose h2 { margin-bottom: 24px; }
.prose p, .prose blockquote { max-width: 760px; }
.prose p + p { margin-top: 12px; }
.prose blockquote { margin: 0; padding: 24px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; }
.prose blockquote li + li { margin-top: 12px; }
.prose .product-link { justify-content: flex-start; margin-top: 8px; }
.page-head .h1 { white-space: normal; margin-top: 0; font-size: 44px; line-height: 46px; }
@media (min-width: 640px) { .page-head .h1 { font-size: 64px; line-height: 64px; } }
@media (min-width: 1200px) { .page-head .h1 { font-size: 80px; line-height: 76px; } }

/* v12: poster scale for the lab sections. Brave Leo's card grammar measured on the reference:
   two cards per row, 40px serif title, 18px/600 body in ink, 2px outline, gradient slab offset
   down-right. One framed band per screen below the fold (Live now) so the lower page keeps the
   hero's rhythm instead of running as a document. */
.thesis .h4-lg { font-size: 26px; line-height: 34px; letter-spacing: -0.02em; max-width: 840px; }
.thesis-note { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--ink); max-width: 840px; }
.demo-legend { font-size: 15px; line-height: 22px; font-weight: 600; }
.lab-intro { font-size: 22px; line-height: 30px; }
@media (min-width: 640px) {
  .thesis .h4-lg { font-size: 30px; line-height: 40px; letter-spacing: -1.2px; }
  .lab-intro { font-size: 24px; line-height: 32px; max-width: 840px; margin-bottom: 40px; }
}

.lab-grid { gap: 36px 40px; isolation: isolate; }
.lab-grid > * { position: relative; padding: 32px 28px; }
.lab-grid > *::before { content: ""; position: absolute; inset: 11px -11px -11px 11px; background: var(--accent); border-radius: 16px; z-index: -1; }
.lab-grid h3 { font-size: 30px; line-height: 34px; margin-bottom: 16px; }
.lab-grid p { font-size: 18px; line-height: 28px; font-weight: 600; }
.lab-grid .product-link { font-size: 16px; line-height: 24px; }
.notes-grid h3 { font-size: 26px; line-height: 32px; }
@media (min-width: 640px) {
  .lab-grid > * { padding: 40px; }
  .lab-grid h3 { font-size: 40px; line-height: 44px; margin-bottom: 20px; }
  .notes-grid h3 { font-size: 32px; line-height: 38px; }
}
@media (min-width: 720px) {
  .lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .lab-grid > :last-child:nth-child(odd) p { max-width: 640px; }
}
@media (min-width: 1024px) {
  .lab-grid, .lab-grid.lab-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.process h3 { font-size: 36px; line-height: 40px; }
.process p { font-size: 17px; line-height: 26px; font-weight: 400; }

.live-stage { position: relative; margin-top: 0; padding: 0 0 32px; isolation: isolate; }
.live-stage::before { content: ""; position: absolute; left: -1rem; right: -1rem; top: 48px; bottom: 0; background: var(--accent); z-index: -1; }
.live-frame { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 12px; }
.live { margin-top: 0; border-color: var(--ink); border-radius: 12px; font-size: 16px; line-height: 24px; }
.live tbody th { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; }
.live td { font-weight: 400; }
@media (min-width: 640px) {
  .live-stage { padding: 0 32px 48px; }
  .live-stage::before { left: 0; right: 0; border-radius: 16px; }
}

.log li { font-size: 16px; line-height: 24px; }
.log .entry { font-size: 18px; line-height: 26px; }
.company p { font-size: 18px; line-height: 28px; font-weight: 400; max-width: 840px; }
.company p:first-of-type { font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.02em; }
.faq summary { font-size: 22px; line-height: 28px; }
.faq .ans { font-size: 16px; line-height: 26px; font-weight: 400; }

/* v12 sub pages follow the same body tier */
.prose p, .prose blockquote { font-size: 18px; line-height: 28px; font-weight: 400; max-width: 840px; }
.prose blockquote { padding: 32px; }
