/* Page layout only. Colour, type, space and radius all come from /ds/tokens.css; components from /ds/bundle.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
img, svg { max-width: 100%; }
a { color: inherit; }
.shell { max-width: 1200px; margin-inline: auto; padding-inline: var(--space-7); }
.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; }

/* Focus: sb- components bring their own ring; this covers the page's links, nav, tabs, summaries and focusable panels. */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:not([tabindex="-1"]):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }

.skip { position: absolute; left: var(--space-4); top: -100px; z-index: var(--z-tooltip); }
.skip:focus { top: var(--space-3); }

/* Overline chip */
.eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink-muted); background: var(--bg-subtle); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-pill); padding: var(--space-1) 10px; }
.eyebrow--signal { color: var(--signal-ink); }
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); flex: none; }
.muted { color: var(--ink-muted); }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--bg); border-bottom: var(--border-hairline) solid var(--line); }
.nav { position: relative; height: 64px; display: flex; align-items: center; gap: var(--space-6); }
.brand { display: inline-flex; flex: none; border-radius: var(--radius-xs); }
.brand img { display: block; height: 24px; width: auto; }
.nav-menu { flex: 1; display: flex; align-items: center; gap: var(--space-6); }
.nav-links { flex: 1; display: flex; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--ink-muted); text-decoration: none; border-radius: var(--radius-xs); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: var(--space-2); }
.nav-toggle { display: none; margin-left: auto; }

/* Hero (LandingHero) */
.hero { display: grid; grid-template-columns: 1fr 480px; gap: var(--space-7); align-items: center; padding-block: var(--space-8); }
.hero h1 { margin: var(--space-5) 0 var(--space-4); }
.hero-sub { color: var(--ink-muted); max-width: 520px; margin-bottom: var(--space-6); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: var(--space-6) 0 0; padding: 0; list-style: none; color: var(--ink-muted); }
.hero-art { border-radius: var(--radius-md); }
.hero-art svg, .feature-art svg { display: block; width: 100%; height: auto; }
.sb-diagram .gauge-num { font: 600 36px var(--font-sans); fill: var(--ink); letter-spacing: -0.02em; }

/* Sections */
.band { padding-block: var(--space-9); }
.band--subtle { background: var(--bg-subtle); border-block: var(--border-hairline) solid var(--line); }
#feature, #pricing { scroll-margin-top: 64px; }
.section-head { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-7); align-items: end; margin-bottom: var(--space-7); }
.section-head p { color: var(--ink-muted); max-width: 620px; }

/* How it works */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.step-card h3 { margin: var(--space-6) 0 var(--space-2); }
.step-card p { color: var(--ink-muted); }

.feature-art { display: grid; gap: var(--space-4); align-content: center; min-height: 340px; padding: var(--space-6); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-md); }
.feature-art .sb-btn { cursor: default; pointer-events: none; }
.mock-line { display: block; height: 10px; border-radius: var(--radius-xs); background: var(--line); }
.mock-line--short { width: 40%; }
.mock-line--mid { width: 76%; }
.mock-target { justify-self: start; margin-top: var(--space-4); padding: var(--space-1); border: var(--border-hairline) dashed var(--ink); border-radius: var(--radius-sm); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.plan { display: flex; flex-direction: column; }
.plan--featured { border-color: var(--ink); }
.plan-for { color: var(--ink-muted); margin-top: var(--space-1); }
.price { margin-top: var(--space-5); }
.price-unit { font: 400 16px/26px var(--font-sans); letter-spacing: 0; color: var(--ink-muted); }
.plan-features { flex: 1; margin: var(--space-5) 0; padding: 0; list-style: none; }
.plan-features li { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) 0; border-top: var(--border-hairline) solid var(--line); }
.plan-features .sb-icon { color: var(--ink-muted); }
.plan .sb-btn { width: 100%; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-7); }
.faq-grid h2 { margin-top: var(--space-4); }
.faq { border-top: var(--border-hairline) solid var(--line); }
.faq details { border-bottom: var(--border-hairline) solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; font-weight: 500; cursor: pointer; list-style: none; border-radius: var(--radius-xs); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .sb-icon { color: var(--ink-muted); transition: transform var(--duration-fast) var(--ease-out); }
.faq details[open] summary .sb-icon { transform: rotate(180deg); }
.faq details p { color: var(--ink-muted); max-width: 640px; padding-bottom: var(--space-4); }

/* Closing call to action */
/* An ink panel: the one dark moment on a page, so the last ask stands out. The button flips to white on it. */
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-8) var(--space-7); background: var(--primary); color: var(--on-primary); border-radius: var(--radius-md); }
.cta-box h2 { max-width: 560px; }
.cta-box p { color: var(--on-primary); opacity: .78; margin-top: var(--space-3); max-width: 520px; }
.cta-box .sb-btn { flex: none; background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }
.cta-box .sb-btn:focus-visible { outline-color: var(--on-primary); }

/* Footer */
.site-footer { background: var(--bg-subtle); border-top: var(--border-hairline) solid var(--line); padding: var(--space-8) 0 var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: var(--space-7); }
.footer-brand .brand img { height: 24px; }
.footer-brand p { color: var(--ink-muted); max-width: 420px; margin-top: var(--space-4); }
.footer-col h2 { color: var(--ink-muted); margin-bottom: var(--space-3); }
.footer-col ul { display: grid; gap: var(--space-2); justify-items: start; margin: 0; padding: 0; list-style: none; }
.footer-col a, .link-btn { color: var(--ink); text-decoration: none; border-radius: var(--radius-xs); }
.footer-col a:hover, .link-btn:hover { text-decoration: underline; text-underline-offset: 2px; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; text-align: left; }
.fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-top: var(--space-7); padding-top: var(--space-5); border-top: var(--border-hairline) solid var(--line); color: var(--ink-muted); }

/* Guide, legal and not-found views */
.page { padding-block: var(--space-8) var(--space-9); }
.doc-hero { max-width: 760px; margin-bottom: var(--space-7); }
.doc-hero h1 { margin: var(--space-4) 0 var(--space-3); }
.doc-hero p { color: var(--ink-muted); }
.doc-hero .actions { margin-top: var(--space-6); }
.article { max-width: 760px; }
.article p { margin-bottom: var(--space-4); }
.article h2 { margin: var(--space-7) 0 var(--space-3); }
.article > h2:first-child { margin-top: 0; }
.article h3 { margin: var(--space-5) 0 var(--space-2); }
.article ul, .article ol { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
.article li { margin: var(--space-1) 0; }
.article a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; border-radius: var(--radius-xs); }
.article code { font-family: var(--font-mono); font-size: 0.875em; background: var(--bg-subtle); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-xs); padding: 0 var(--space-1); }
.article .part { margin-top: var(--space-8); padding-top: var(--space-7); border-top: var(--border-hairline) solid var(--line); }
.article .part > h2:first-child { margin-top: 0; }
.article .step-block { margin: var(--space-5) 0; }
.article .step-block > h3:first-child { margin-top: 0; }
.article .step-block > h3:not(:first-child) { font-size: 16px; line-height: 24px; }
.article .step-block > :last-child { margin-bottom: 0; }
.article .sb-callout { margin: var(--space-5) 0; }
.article .sb-callout ul, .article .sb-callout ol { margin: var(--space-2) 0 0; }
.article .sb-callout h3 { margin: 0; font: inherit; font-weight: 500; }
.article .sb-callout p { margin: var(--space-2) 0 0; }
.article .quote { padding: var(--space-4); background: var(--bg-subtle); border-radius: var(--radius-sm); font-weight: 500; }
.article .caption { font-size: 14px; line-height: 20px; color: var(--ink-muted); text-align: center; }

/* Cookie consent: a floating panel, so it is the one place with shadow-overlay */
.cookie { position: fixed; left: var(--space-5); bottom: var(--space-5); z-index: var(--z-dialog); width: min(480px, calc(100% - 2 * var(--space-5))); max-height: calc(100vh - 2 * var(--space-5)); overflow: auto; padding: var(--space-5); background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-overlay); animation: sb-rise var(--duration-base) var(--ease-out); }
.cookie > p { color: var(--ink-muted); margin: var(--space-2) 0 var(--space-4); }
.prefs { margin: 0 0 var(--space-4); padding: 0; border: 0; border-top: var(--border-hairline) solid var(--line); }
.prefs .sb-check { display: flex; padding: var(--space-3) 0; border-bottom: var(--border-hairline) solid var(--line); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Below bp-md (960px) */
@media (max-width: 959.98px) {
  .shell { padding-inline: var(--space-6); }
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; position: absolute; top: 64px; left: var(--space-4); right: var(--space-4); z-index: var(--z-menu); flex-direction: column; align-items: stretch; gap: var(--space-3); padding: var(--space-3); background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-overlay); }
  .nav-menu[data-open="true"] { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: flex; align-items: center; height: 40px; padding: 0 var(--space-2); font-size: 16px; }
  .nav-actions { flex-direction: column; }
  .hero { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero-art { max-width: 480px; }
  .section-head, .faq-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .cards-3, .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
/* Below bp-sm (640px) */
@media (max-width: 639.98px) {
  .shell { padding-inline: var(--space-4); }
  .display { font-size: 42px; line-height: 48px; letter-spacing: -0.02em; } /* steps down to the h1 size */
  .h1 { font-size: 30px; line-height: 36px; } /* and h1 to the h2 size */
  .hero, .page { padding-block: var(--space-7); }
  .band { padding-block: var(--space-8); }
  .feature-art { padding: var(--space-4); min-height: 0; }
  .cta-box { flex-direction: column; align-items: stretch; text-align: center; padding: var(--space-7) var(--space-5); }
  .cta-box h2, .cta-box p { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .cookie { left: var(--space-4); right: var(--space-4); bottom: var(--space-4); width: auto; max-height: calc(100vh - 2 * var(--space-4)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Added for the multi-page site ---------- */
section[id] { scroll-margin-top: 64px; }
.nav-links a[aria-current="page"] { color: var(--ink); }

/* Breadcrumb above an inner page's heading */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-4); padding: 0; list-style: none; color: var(--ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--ink-faint); }
.crumbs a { text-decoration: none; border-radius: var(--radius-xs); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Two-column grid of pillar cards */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.pillar h3 { margin: var(--space-3) 0 var(--space-2); }
.pillar p { color: var(--ink-muted); }
.pillar .sb-icon { color: var(--ink-muted); }
.pillar .feature-art { min-height: 168px; margin-top: var(--space-5); padding: var(--space-5); }

/* A command to copy, in a guide */
.guide-code { margin: 0 0 var(--space-4); padding: var(--space-4); overflow-x: auto; background: var(--bg-subtle); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-sm); font: 400 13px/20px var(--font-mono); white-space: pre-wrap; word-break: break-all; }

/* Example questions on the AI assistants page */
.ask-list { display: grid; gap: var(--space-3); max-width: 760px; margin: 0; padding-left: var(--space-5); }

/* Text beside a supporting panel */
.split { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-7); align-items: start; }
.split > * { min-width: 0; } /* lets a wide table scroll inside its column instead of widening the page */
.split .article { max-width: none; }
.aside-card h2, .aside-card h3 { margin-bottom: var(--space-3); }
.aside-card p { color: var(--ink-muted); margin-bottom: var(--space-4); }
.aside-card ul { margin: 0 0 var(--space-4); padding-left: var(--space-5); }

/* Plain tick list */
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-2) 0; border-top: var(--border-hairline) solid var(--line); }
.ticks li:last-child { border-bottom: var(--border-hairline) solid var(--line); }
.ticks .sb-icon { flex: none; margin-top: 4px; color: var(--ink-muted); }
.ticks--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-6); }
.ticks--cols li:nth-last-child(2) { border-bottom: var(--border-hairline) solid var(--line); }

.plans-note { margin-top: var(--space-5); color: var(--ink-muted); }
.included { margin-top: var(--space-7); }
.included h3 { margin-bottom: var(--space-4); }
.article .sb-table-wrap { margin: var(--space-5) 0; }
.article table code { white-space: nowrap; }
/* Tables in articles hold sentences, so their cells wrap (the app's tables keep one line per row). */
.article .sb-table th, .article .sb-table td { white-space: normal; vertical-align: top; height: auto; padding-top: var(--space-2); padding-bottom: var(--space-2); }
.article .sb-table td:first-child { min-width: 9em; }

@media (max-width: 959.98px) {
  .cards-2, .split { grid-template-columns: 1fr; }
}
@media (max-width: 639.98px) {
  .ticks--cols { grid-template-columns: 1fr; }
  .ticks--cols li:nth-last-child(2) { border-bottom: 0; }
}

/* ---------- Home page ---------- */
/* Platform marks (src/assets/platforms.svg) in their owners' colours. They only ever name a platform we work with. */
.logo { display: block; flex: none; width: 1em; height: 1em; fill: currentColor; }
.logo--meta { color: #0467df; }
.logo--webflow { color: #146ef5; }
.logo--wordpress { color: #21759b; }
.logo--googleads { color: #4285f4; }
.logo--tiktok, .logo--openai, .logo--framer { color: var(--ink); }
.logo-tile { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-sm); color: var(--ink-muted); }
.logo-tile .logo { width: 18px; height: 18px; }
.logo-tile--lg { width: 56px; height: 56px; border-radius: var(--radius-md); }
.logo-tile--lg .logo { width: 30px; height: 30px; }

/* Hero: centred, one heading, one sentence, one button. */
.hero--home { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; padding-block: var(--space-9) var(--space-8); }
.hero--home .home-title { max-width: 920px; margin: var(--space-5) 0; text-wrap: balance; }
.eyebrow { text-decoration: none; }
a.eyebrow:hover { border-color: var(--border); }
.home-sub { max-width: 560px; color: var(--ink-muted); }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-6); }
.text-link { display: inline-flex; align-items: center; gap: var(--space-1); font: 500 16px/24px var(--font-sans); color: var(--ink); text-decoration: none; border-radius: var(--radius-xs); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-note { margin-top: var(--space-4); }

/* The platforms take turns on the heading's last line. Each sits in the same grid cell, so the line never changes height. */
.rotator { display: grid; justify-items: center; margin-top: var(--space-1); }
.rotator__item { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 0.28em; white-space: nowrap; opacity: 0; animation: sb-rotate 9s var(--ease-out) infinite; }
.rotator__item:nth-child(1) { animation-delay: -0.5s; }
.rotator__item:nth-child(2) { animation-delay: 2.5s; }
.rotator__item:nth-child(3) { animation-delay: 5.5s; }
.rotator .logo-tile { width: 1.05em; height: 1.05em; border-radius: 0.2em; }
.rotator .logo-tile .logo { width: 0.62em; height: 0.62em; }
@keyframes sb-rotate {
  0% { opacity: 0; transform: translateY(0.3em); }
  6%, 30% { opacity: 1; transform: none; }
  36%, 100% { opacity: 0; transform: translateY(-0.3em); }
}

/* Product shot: the dashboard on a dotted stage, cut off at the bottom like a screenshot. */
.product { margin: 0; }
.product__stage { padding: var(--space-7) var(--space-7) 0; background-color: var(--bg-subtle); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.product figcaption { margin-top: var(--space-3); text-align: center; }
.app-mock { max-height: 560px; overflow: hidden; background: var(--bg); border: var(--border-hairline) solid var(--line); border-bottom: 0; border-radius: var(--radius-md) var(--radius-md) 0 0; box-shadow: var(--shadow-overlay); text-align: left; }
.app-mock__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 var(--space-3); background: var(--bg-subtle); border-bottom: var(--border-hairline) solid var(--line); }
.app-mock__bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app-mock__bar b { margin: 0 auto; padding: 2px var(--space-4); font-weight: 400; color: var(--ink-muted); background: var(--bg); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-pill); transform: translateX(-24px); }
.app-mock__body { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.mock-side { display: flex; flex-direction: column; gap: 2px; padding: var(--space-4) var(--space-3); background: var(--bg-subtle); border-right: var(--border-hairline) solid var(--line); font: 400 14px/20px var(--font-sans); color: var(--ink); }
.mock-side .sb-side__brand img { display: block; }
.mock-main { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-5) var(--space-6) var(--space-6); }
.mock-top { display: flex; align-items: center; gap: var(--space-3); }
.mock-title { margin-right: auto; font: 600 22px/30px var(--font-sans); letter-spacing: -0.015em; }
.mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 180px; gap: var(--space-3); }
.mock-gauge { place-items: center; }
.mock-gauge .sb-gauge__label { text-align: center; }
.mock-section { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-1); }
.mock-section b { font: 600 15px/22px var(--font-sans); }
.mock-table { background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.mock-row { display: grid; grid-template-columns: 84px minmax(0, 1.4fr) 92px minmax(0, 1fr) 150px; gap: var(--space-3); align-items: center; padding: 10px var(--space-4); border-top: var(--border-hairline) solid var(--line); font: 400 14px/20px var(--font-sans); }
.mock-row--head { border-top: 0; background: var(--bg-subtle); color: var(--ink-muted); font: 500 12px/16px var(--font-mono); }
.mock-value { margin-left: var(--space-2); }
.dests { display: flex; gap: var(--space-2); }
.dest { position: relative; display: grid; place-items: center; width: 26px; height: 26px; background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-sm); }
.dest .logo { width: 14px; height: 14px; }
.dest::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); border: 2px solid var(--surface); }
.dest--failed::after { background: var(--danger); }
.dest--held::after { background: var(--ink-faint); }
.dest--held .logo { opacity: 0.45; }

/* Entrances, played once when a block scrolls into view (site.js adds .is-in). Without JS nothing is hidden. */
.is-in .mock-row:not(.mock-row--head) { animation: sb-rise var(--duration-base) var(--ease-out) both; }
.is-in .mock-row:nth-child(3) { animation-delay: 120ms; }
.is-in .mock-row:nth-child(4) { animation-delay: 240ms; }
.is-in .mock-row:nth-child(5) { animation-delay: 360ms; }
.is-in .mock-row:nth-child(6) { animation-delay: 480ms; }
.is-in .flow .sb-event { animation: sb-rise var(--duration-base) var(--ease-out) both; }
.is-in .flow__server { animation-delay: 200ms; }
.is-in .flow__link span { animation: sb-draw 500ms var(--ease-out) 450ms both; }
.is-in .flow__dest { animation: sb-rise var(--duration-base) var(--ease-out) 900ms both; }
@keyframes sb-draw { from { transform: scaleX(0); } to { transform: none; } }

/* Section heads on the home page are centred, with room underneath. */
.home-head { max-width: 680px; margin: 0 auto var(--space-7); text-align: center; }
.home-head p { margin-top: var(--space-3); }
.home-head a { color: var(--ink); text-underline-offset: 2px; }
.muted.body-lg, .home-head .muted { color: var(--ink-muted); }

/* Works with */
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.logo-grid li { display: grid; justify-items: center; align-content: start; gap: var(--space-1); padding: var(--space-6) var(--space-4); text-align: center; background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-md); }
.logo-grid .logo-tile { margin-bottom: var(--space-3); }
.logo-grid a { text-decoration: none; border-radius: var(--radius-xs); }
.logo-grid a:hover { text-decoration: underline; text-underline-offset: 2px; }
.logo-grid .is-soon { background: transparent; border-style: dashed; }
.logo-grid .is-soon .logo { filter: grayscale(1); opacity: 0.55; }
.builders { margin-top: var(--space-8); text-align: center; }
.builders h3 { margin-bottom: var(--space-4); }
.builder-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.builder-list li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3) var(--space-2) var(--space-2); background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-md); }
.builder-list a { color: var(--ink); text-decoration: none; border-radius: var(--radius-xs); }
.builder-list a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Blocked pixel, server copy, one lead */
/* The server event, the line and the result share a row, so the line runs straight from one to the other. */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 72px auto; grid-template-areas: "browser . ." "server link dest"; gap: var(--space-4) 0; align-items: center; max-width: 860px; margin: 0 auto; padding: var(--space-7); background-color: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-md); }
.flow__browser { grid-area: browser; opacity: 0.8; }
.flow__server { grid-area: server; }
.flow__link { grid-area: link; display: flex; align-items: center; }
.flow__dest { grid-area: dest; }
.flow__link span { display: block; width: 100%; height: 2px; background: var(--signal); transform-origin: left; }
.flow__dest { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-sm); }
.flow__dest b, .flow__dest span { display: block; }
.flow__dest .h3 { font-size: 28px; line-height: 34px; }

/* Three steps, each with the screen it happens on */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.step h3 { margin: var(--space-2) 0; }
.step__art { display: grid; place-items: center; height: 220px; margin-bottom: var(--space-5); padding: var(--space-5); background-color: var(--bg-subtle); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-md); }
.step__art .sb-btn { pointer-events: none; }
.mini-card { display: flex; align-items: center; gap: var(--space-3); width: 100%; max-width: 320px; padding: var(--space-3); background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-sm); }
.mini-card__text { display: grid; margin-right: auto; text-align: left; }
.mini-list { width: 100%; max-width: 320px; background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-sm); }
.mini-list__row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); }
.mini-list__row + .mini-list__row { border-top: var(--border-hairline) solid var(--line); }
.mini-list__row b { margin-right: auto; }
.mini-toast { width: 100%; max-width: 320px; text-align: left; }
.mini-toast > .sb-icon { color: var(--signal); }

/* Features: one per row, text beside its screen, alternating sides */
.features { display: grid; gap: var(--space-9); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.feature:nth-child(even) .feature__text { order: 2; }
.feature__text h3 { margin: var(--space-3) 0; font-size: 26px; line-height: 32px; letter-spacing: -0.01em; }
.feature__text p { max-width: 440px; }
.feature__art { display: grid; place-items: center; min-height: 340px; padding: var(--space-6); background-color: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-md); }
.feature__art .sb-btn { pointer-events: none; }
.mini-page { width: 100%; max-width: 380px; background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.mini-page__bar { display: flex; gap: 5px; padding: var(--space-2) var(--space-3); background: var(--bg-subtle); border-bottom: var(--border-hairline) solid var(--line); }
.mini-page__bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.mini-page__body { display: grid; gap: var(--space-2); padding: var(--space-5); }
.mapper-pop { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-2); padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3); background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-overlay); }
.gauge-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
.gauge-card { display: grid; justify-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-6) var(--space-5); background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-sm); }
.gauge-card__head { display: inline-flex; align-items: center; gap: var(--space-2); font: 500 14px/20px var(--font-sans); }
.gauge-card__head .logo { width: 16px; height: 16px; }
.consent-demo { display: grid; gap: var(--space-3); width: 100%; max-width: 360px; }
.mini-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3); background: var(--surface); border: var(--border-hairline) solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-overlay); }
.mini-banner__actions { display: flex; gap: var(--space-2); }

@media (max-width: 959.98px) {
  .app-mock__body { grid-template-columns: minmax(0, 1fr); }
  .mock-side { display: none; }
  .mock-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-row { grid-template-columns: 84px minmax(0, 1.4fr) minmax(0, 1fr) 140px; }
  .mock-row > :nth-child(3) { display: none; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); max-width: 520px; margin-inline: auto; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); max-width: 560px; margin-inline: auto; }
  .feature:nth-child(even) .feature__text { order: 0; }
  .features { gap: var(--space-8); }
}
@media (max-width: 639.98px) {
  .hero--home { padding-block: var(--space-8) var(--space-7); }
  .hero--home .display { font-size: 36px; line-height: 42px; }
  .home-actions { flex-direction: column; align-self: stretch; }
  .home-actions .sb-btn { width: 100%; }
  .home-head { margin-bottom: var(--space-6); }
  .home-head .body-lg { font-size: 17px; line-height: 26px; }
  .product__stage { padding: var(--space-4) var(--space-3) 0; }
  .app-mock { max-height: 520px; }
  .app-mock__bar b { transform: none; }
  .mock-main { padding: var(--space-4); gap: var(--space-3); }
  .mock-filter, .mock-hide-sm, .mock-value { display: none; }
  .mock-top .sb-select { margin-left: auto; }
  .mock-stats .sb-stat { padding: var(--space-3); }
  .mock-stats .sb-stat__value { font-size: 22px; line-height: 28px; }
  .mock-row { grid-template-columns: minmax(0, 1fr) auto auto; padding: 10px var(--space-3); font-size: 13px; }
  .mock-row > :first-child { display: none; }
  .mock-row { gap: var(--space-2); }
  .mock-row .sb-badge__dot { display: none; }
  .dests { gap: var(--space-1); }
  .dest { width: 22px; height: 22px; }
  .dest .logo { width: 12px; height: 12px; }
  .dest::after { width: 9px; height: 9px; right: -3px; bottom: -3px; }
  .logo-grid { gap: var(--space-3); }
  .logo-grid li { padding: var(--space-5) var(--space-3); }
  .builder-list { flex-direction: column; align-items: stretch; }
  .builder-list .sb-badge { margin-left: auto; }
  .flow { grid-template-columns: minmax(0, 1fr); grid-template-areas: "browser" "server" "link" "dest"; padding: var(--space-5); }
  .flow__link { justify-content: center; height: 40px; margin-top: calc(-1 * var(--space-4)); }
  .flow__link span { width: 2px; height: 100%; transform-origin: top; }
  .is-in .flow__link span { animation-name: sb-draw-down; }
  .flow__dest { justify-content: center; }
  .step__art { height: 200px; }
  .feature__art { min-height: 260px; padding: var(--space-4); }
  .feature__text h3 { font-size: 24px; line-height: 30px; }
}
@keyframes sb-draw-down { from { transform: scaleY(0); } to { transform: none; } }

/* With reduced motion, the three platforms are shown side by side and nothing animates in. */
@media (prefers-reduced-motion: reduce) {
  .rotator { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.3em; }
  .rotator__item { animation: none; opacity: 1; }
  .rotator .sr-only { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
  .is-in .mock-row, .is-in .flow .sb-event, .is-in .flow__link span, .is-in .flow__dest { animation: none; }
}
