/*
 * marketing.css
 *
 * Public marketing site stylesheet. Loaded only by views that extend
 * `layouts/marketing.blade.php`. The dashboard / auth / staff surfaces
 * keep using `app.css` and never touch these tokens.
 *
 * Source: the shared \3c style> blocks from the static template
 * (Homepage + Games + Age Verification + Anonymous + Pricing),
 * deduplicated and stitched into one sheet, minus the designer-only
 * "Tweaks" panel. The hero backdrop image is set per-page via a CSS
 * variable instead of being hardcoded here.
 *
 * Section order:
 *   tokens
 *   base elements + body
 *   containers + typography helpers
 *   nav + brand
 *   buttons
 *   hero (homepage centered)
 *   hero (product pages — .av-hero)
 *   compliance strip
 *   section bands
 *   homepage-only sections (whatis, audience, anon-flow, codehub,
 *     games-center, age, privacy-intro, compare)
 *   shared product-page sections (grid-3 / grid-4 / card variants,
 *     how-it-works, privacy-contrast, demo-cta)
 *   Games-specific (engines, code-block)
 *   Age Verification specific (methods)
 *   Anonymous specific (modes, claims, consent-mock)
 *   Pricing specific (ptable, ptabs, gym, ent-cta)
 *   FAQ + trust strip + footer
 *   responsive
 */

:root {
    --bg:#0a0f1f; --bgAlt:#10172a; --bgEditorial:#070b1a; --bgLight:#11192b;
    --surface:#141c30; --surfaceHi:#1a2238;
    --border:#27314a; --borderSoft:#1f2940; --divider:#1f2940;
    --heading:#f4f6fb; --body:#cbd2e0; --muted:#8a93a8; --disabled:#5b6480;
    --accent:#818cf8; --accentHover:#a5b4fc; --accentRing:#6366f1;
    --accentText:#c7d2fe; --accentFaintBg:rgba(99,102,241,.14);
    --accentFaintBorder:rgba(129,140,248,.32);
    --success:#34d399; --successBg:rgba(16,185,129,.18);
    --warning:#fbbf24; --warningBg:rgba(217,119,6,.18);
    --danger:#f87171; --dangerBg:rgba(220,38,38,.18);
    --euBlue:#3b5fc8; --euYellow:#fcd34d;
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --hero-photo: none;
}

*, *::before, *::after { box-sizing: border-box; }
html, body.marketing { margin:0; padding:0; background:var(--bg); color:var(--heading); font-family:var(--font); font-size:14px; line-height:1.5; }
body.marketing a { color:inherit; text-decoration:none; }
body.marketing :where(h1, h2, h3, h4, p) { margin: 0; }
body.marketing button { font:inherit; color:inherit; background:none; border:none; cursor:pointer; padding:0; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container-tight { max-width: 880px; margin: 0 auto; padding: 0 32px; }

.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accentText); }
.h2 { font-size: 38px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.12; color: var(--heading); text-wrap: balance; }
.lead { font-size: 17px; color: var(--body); line-height: 1.6; max-width: 640px; }
.muted-inline { color: var(--muted); }

/* NAV */
.nav { padding: 18px 32px; display: flex; align-items: center; gap: 24px; position: sticky; top: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, padding .25s ease; }
.nav.is-scrolled { background: rgba(10,15,31,0.78); backdrop-filter: saturate(120%) blur(8px); -webkit-backdrop-filter: saturate(120%) blur(8px); border-bottom-color: var(--borderSoft); padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--heading); }
.brand .lsbox { width: 28px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, var(--accent), var(--accentRing)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; }
.nav .links { display: flex; gap: 4px; flex-wrap: wrap; margin-left: 16px; }
.nav .links a { padding: 8px 12px; font-size: 13.5px; color: var(--body); border-radius: 7px; transition: all .15s; }
.nav .links a:hover { background: var(--surface); color: var(--heading); }
.nav .links a.is-current { background: var(--accentFaintBg); color: var(--accentText); }
.nav .right { display: flex; gap: 8px; align-items: center; margin-left: auto; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; font-size: 13.5px; font-weight: 600; border-radius: 10px; cursor: pointer; transition: all .15s; }
.btn.lg { padding: 14px 22px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #0a0f1f; }
.btn-primary:hover { background: var(--accentHover); }
.btn-secondary { background: var(--surface); color: var(--heading); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--surfaceHi); }
.btn-ghost { background: transparent; color: var(--accentText); }
.btn-ghost:hover { color: var(--heading); }

/* HERO (homepage centered) */
.hero { position: relative; overflow: visible; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: 0.6; background: radial-gradient(ellipse 800px 400px at 80% 20%, var(--accentFaintBg), transparent 60%); pointer-events: none; z-index: 1; }
.hero::after  { content: ""; position: absolute; inset: 0; opacity: 0.45; background: radial-gradient(ellipse 600px 400px at 10% 90%, var(--accentFaintBg), transparent 60%); pointer-events: none; z-index: 1; }
.hero-photo { position: fixed; top: 0; left: 0; right: 0; height: 100vh; background-image: var(--hero-photo); background-size: cover; background-position: center; filter: blur(10px) saturate(1.1); transform: scale(1.05); z-index: 0; pointer-events: none; will-change: opacity; }
.hero-photo-fallback { position: fixed; top: 0; left: 0; right: 0; height: 100vh; background: radial-gradient(ellipse 800px 500px at 50% 40%, #1a2360, #0a0f1f 70%); z-index: -1; pointer-events: none; }
.hero-vignette { position: fixed; top: 0; left: 0; right: 0; height: 100vh; background: radial-gradient(ellipse at center, rgba(10,15,31,0.82) 0%, rgba(10,15,31,0.52) 45%, rgba(10,15,31,0.15) 100%); z-index: 0; pointer-events: none; will-change: opacity; }
.hero-stack { position: relative; z-index: 2; padding: 120px 32px 96px; display: grid; place-items: center; }
.hero-marketing-top { width: 100%; max-width: 640px; text-align: center; }
.hero-marketing-top .brand-lg { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 35px; }
.hero-marketing-top .brand-lg .lsbox { width: 38px; height: 38px; border-radius: 9px; font-size: 19px; }
.hero-marketing-top .eyebrow { display: block; margin-bottom: 28px; }
.hero-marketing-top h1 { font-size: 40px; font-weight: 600; letter-spacing: -0.5px; line-height: 1.1; margin: 0 0 36px; color: var(--heading); text-wrap: balance; }
.hero-marketing-top h1 .accent { color: var(--accent); }
.hero-marketing-top p { font-size: 16px; line-height: 1.7; color: var(--body); margin: 0 0 40px; padding: 0 12px; max-width: 100%; }
.hero-cta { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.hero-cta .btn { width: 100%; justify-content: center; padding: 14px 22px; font-size: 15px; }
.hero-trust { display: inline-flex; justify-content: center; align-items: center; gap: 22px; color: var(--disabled); font-size: 12px; flex-wrap: wrap; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--borderSoft); }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--success); display: inline-block; margin-right: 6px; }
.hero-trust .sep { opacity: 0.4; }
.hero-doclink { color: var(--accentText); text-decoration: none; transition: color .15s ease; }
.hero-doclink:hover { color: var(--heading); text-decoration: underline; text-underline-offset: 2px; }

/* HERO (product pages — left-aligned with dual-line h1 + pill row) */
.av-hero { position: relative; padding: 88px 0 96px; border-bottom: 1px solid var(--borderSoft); overflow: hidden; }
.av-hero-photo { position: fixed; top: 0; left: 0; right: 0; height: 100vh; background-image: var(--hero-photo); background-size: cover; background-position: center; filter: blur(10px) saturate(1.1); transform: scale(1.05); z-index: 0; pointer-events: none; will-change: opacity; }
.av-hero-vignette { position: fixed; top: 0; left: 0; right: 0; height: 100vh; background: radial-gradient(ellipse at center, rgba(10,15,31,0.86) 0%, rgba(10,15,31,0.7) 45%, rgba(10,15,31,0.35) 100%); z-index: 0; pointer-events: none; will-change: opacity; }
.av-hero::before { content: ""; position: absolute; inset: 0; opacity: 0.6; background: radial-gradient(ellipse 800px 400px at 80% 20%, var(--accentFaintBg), transparent 60%); pointer-events: none; z-index: 1; }
.av-hero::after { content: ""; position: absolute; inset: 0; opacity: 0.45; background: radial-gradient(ellipse 600px 400px at 10% 90%, var(--accentFaintBg), transparent 60%); pointer-events: none; z-index: 1; }
.av-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.av-hero h1 { font-size: 60px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; margin: 18px 0 28px; max-width: 920px; color: var(--heading); text-wrap: balance; }
.av-hero h1 .accent { color: var(--accent); }
.av-hero p.lead { font-size: 19px; color: var(--body); max-width: 640px; line-height: 1.55; margin-bottom: 36px; }
.av-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

/* PILL ROW */
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pill { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; padding: 6px 11px; border-radius: 99px; background: var(--surface); color: var(--body); border: 1px solid var(--borderSoft); font-family: var(--mono); }

/* COMPLIANCE STRIP (age verification hero footer band) */
.compliance-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--borderSoft); border: 1px solid var(--borderSoft); border-radius: 12px; overflow: hidden; max-width: 880px; }
.compliance-cell { background: var(--surface); padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.compliance-cell .flag { font-size: 22px; }
.compliance-cell .code { font-size: 13px; font-weight: 700; color: var(--heading); }
.compliance-cell .name { font-size: 11px; color: var(--muted); }

/* SECTIONS */
section.band { padding: 96px 0; background: var(--bg); position: relative; z-index: 2; }
section.band.alt { background: var(--bgAlt); }
section.band.editorial { background: var(--bgEditorial); }

/* HOMEPAGE — WHAT IS */
.whatis-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.whatis-grid h2 { margin: 14px 0 18px; }
.whatis-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.whatis-card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 12px; padding: 22px 22px 20px; }
.whatis-card .icon { width: 40px; height: 40px; border-radius: 9px; background: var(--accentFaintBg); color: var(--accentText); display: grid; place-items: center; font-size: 19px; margin-bottom: 14px; border: 1px solid var(--accentFaintBorder); }
.whatis-card h3 { font-size: 15px; font-weight: 650; margin-bottom: 6px; }
.whatis-card p { font-size: 13px; color: var(--body); line-height: 1.55; }

/* HOMEPAGE — AUDIENCE CARDS */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.audience-card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; padding: 28px 26px 26px; transition: all .2s; }
.audience-card:hover { transform: translateY(-3px); border-color: var(--accentFaintBorder); }
.audience-card .topicon { width: 48px; height: 48px; border-radius: 11px; background: var(--accentFaintBg); border: 1px solid var(--accentFaintBorder); color: var(--accentText); display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.audience-card h3 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.audience-card p { font-size: 13.5px; color: var(--body); line-height: 1.6; margin-bottom: 18px; }
.audience-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.audience-card li { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.audience-card li::before { content: "\2713"; color: var(--success); font-weight: 800; font-size: 12px; }
.audience-card .more { margin-top: 18px; font-size: 12.5px; color: var(--accentText); font-weight: 500; }

/* HOMEPAGE — ANONYMOUS PIPELINE */
.anon-flow { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr; gap: 0; margin-top: 44px; align-items: stretch; }
.anon-card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 12px; padding: 22px 22px 20px; }
.anon-card .step { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.14em; margin-bottom: 12px; }
.anon-card h4 { font-size: 15px; font-weight: 650; margin-bottom: 8px; }
.anon-card p { font-size: 12.5px; color: var(--body); line-height: 1.55; }
.anon-card .data { margin-top: 12px; padding: 9px 11px; border-radius: 8px; background: var(--bgAlt); border: 1px solid var(--borderSoft); font-family: var(--mono); font-size: 11px; color: var(--accentText); }
.anon-arrow { display: grid; place-items: center; color: var(--muted); font-size: 18px; }

/* HOMEPAGE — CODE HUB */
.codehub-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; margin-top: 44px; }
.codehub-copy h3 { font-size: 18px; font-weight: 650; margin-bottom: 12px; }
.codehub-copy p { font-size: 14.5px; color: var(--body); line-height: 1.6; margin-bottom: 14px; }
.lang-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.lang-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-size: 12.5px; color: var(--body); }
.lang-chip .dot { width: 8px; height: 8px; border-radius: 99px; background: var(--accent); }
.hub-diagram { position: relative; aspect-ratio: 5/4; background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; padding: 20px; }
.hub-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: linear-gradient(135deg, var(--accent), var(--accentRing)); color: #0a0f1f; font-weight: 700; padding: 14px 22px; border-radius: 12px; font-size: 14px; box-shadow: 0 8px 24px rgba(99,102,241,0.4); display: flex; align-items: center; gap: 9px; }
.hub-center .lsbox-mini { width: 22px; height: 22px; border-radius: 5px; background: rgba(0,0,0,0.25); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 11px; }
.hub-spoke { position: absolute; padding: 9px 14px; background: var(--bgAlt); border: 1px solid var(--border); border-radius: 99px; font-size: 12px; color: var(--body); display: inline-flex; align-items: center; gap: 7px; }
.hub-spoke .em { font-size: 14px; }
.hub-spoke.s1 { top: 14%; left: 8%; }
.hub-spoke.s2 { top: 14%; right: 8%; }
.hub-spoke.s3 { top: 50%; left: 4%; transform: translateY(-50%); }
.hub-spoke.s4 { top: 50%; right: 4%; transform: translateY(-50%); }
.hub-spoke.s5 { bottom: 14%; left: 8%; }
.hub-spoke.s6 { bottom: 14%; right: 8%; }
.hub-svg { position: absolute; inset: 0; pointer-events: none; }

/* HOMEPAGE — GAMES CENTERED */
.games-center { text-align: center; max-width: 760px; margin: 0 auto; }
.games-center h2 { margin: 14px 0 18px; }
.games-center .lead { margin: 0 auto 36px; }
.engine-row { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 32px; background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; max-width: 880px; margin: 0 auto; }
.engine-row .engine { display: flex; align-items: center; gap: 8px; color: var(--body); font-size: 13.5px; font-weight: 500; padding: 4px 14px; }
.engine-row .engine + .engine { border-left: 1px solid var(--borderSoft); }
.engine-row .em { font-size: 18px; }

/* HOMEPAGE — AGE MOCK */
.age-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 44px; }
.age-copy h2 { margin: 14px 0 18px; }
.age-copy ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.age-copy li { display: flex; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 10px; }
.age-copy li .num { width: 26px; height: 26px; border-radius: 7px; background: var(--accentFaintBg); color: var(--accentText); border: 1px solid var(--accentFaintBorder); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: 0 0 26px; }
.age-copy li .lh { font-size: 13.5px; color: var(--heading); font-weight: 600; margin-bottom: 2px; }
.age-copy li .ls { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.age-mock { background: var(--bgEditorial); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px 28px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.age-mock .lsbrand { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 18px; }
.age-mock .lsbrand .lsbox { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), var(--accentRing)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; }
.age-mock .lsbrand .nm { font-size: 12.5px; color: var(--body); }
.age-mock h3 { font-size: 19px; font-weight: 650; text-align: center; margin-bottom: 6px; }
.age-mock .for-row { font-size: 12.5px; color: var(--muted); text-align: center; margin-bottom: 22px; }
.age-mock .methods { display: grid; gap: 8px; }
.age-mock .method { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 10px; }
.age-mock .method .em { font-size: 18px; width: 32px; text-align: center; }
.age-mock .method .mh { font-size: 13px; font-weight: 600; color: var(--heading); }
.age-mock .method .ms { font-size: 11.5px; color: var(--muted); }
.age-mock .trust { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--borderSoft); font-size: 10.5px; letter-spacing: 0.06em; text-align: center; color: var(--disabled); }

/* HOMEPAGE — PRIVACY POSTURE (2-col intro + 5-item list) */
.privacy-intro-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; margin-top: 18px; }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.privacy-list li { padding: 18px 22px; background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 12px; }
.privacy-list .lh { font-size: 14.5px; font-weight: 650; color: var(--heading); margin-bottom: 4px; display: flex; align-items: center; gap: 9px; }
.privacy-list .lh::before { content: "\2713"; color: var(--success); font-weight: 800; font-size: 13px; }
.privacy-list .ls { font-size: 13px; color: var(--body); line-height: 1.55; padding-left: 22px; }

/* HOMEPAGE — COMPARE TABLE */
.compare-wrap { margin-top: 44px; background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; overflow: hidden; }
table.compare { width: 100%; border-collapse: collapse; }
table.compare th, table.compare td { padding: 14px 20px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--borderSoft); }
table.compare thead th { background: var(--bgAlt); font-weight: 600; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
table.compare tbody td { color: var(--body); }
table.compare tbody td:first-child { color: var(--heading); font-weight: 500; }
table.compare .col-ls { background: var(--accentFaintBg); color: var(--accentText) !important; font-weight: 600; }
table.compare thead th.col-ls { color: var(--accentText); font-weight: 700; }
table.compare tbody tr:last-child td { border-bottom: none; }
.yes { color: var(--success); font-weight: 700; }
.no { color: var(--disabled); }
.partial { color: var(--warning); }

/* SHARED — GENERIC GRIDS + CARDS (used by product pages) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 12px; padding: 22px 24px; }
.card.danger-top { border-top: 3px solid var(--danger); }
.card.warn-top { border-top: 3px solid var(--warning); }
.card.success-top { border-top: 3px solid var(--success); }
.card.bordered-top { border-top: 3px solid var(--accent); }
.card .ctitle { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.card .ctitle.danger { color: var(--danger); }
.card .ctitle.warn { color: var(--warning); }
.card .ctitle.success { color: var(--success); }
.card .ctitle.accent { color: var(--accentText); }
.card-tag { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 99px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; vertical-align: middle; }
.card-tag-live { background: var(--successBg); color: var(--success); border: 1px solid rgba(52,211,153,.35); }
.card-tag-v2 { background: var(--warningBg); color: var(--warning); border: 1px solid rgba(251,191,36,.35); }
.card-roadmap { opacity: 0.85; }
.card p { font-size: 14px; color: var(--body); line-height: 1.6; }

/* SHARED — HOW IT WORKS (product pages, 3 or 4 cards with icon) */
.how-grid { display: grid; grid-template-columns: repeat(var(--how-cols, 3), 1fr); gap: 20px; margin-top: 36px; }
.how-card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; padding: 26px 24px; position: relative; }
.how-card .step { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.14em; margin-bottom: 16px; }
.how-card .icon { font-size: 36px; margin-bottom: 14px; }
.how-card h3 { font-size: 19px; font-weight: 650; margin-bottom: 8px; color: var(--heading); }
.how-card h4 { font-size: 19px; font-weight: 650; margin-bottom: 8px; color: var(--heading); }
.how-card p { font-size: 13.5px; color: var(--body); line-height: 1.6; }

/* SHARED — PRIVACY CONTRAST (product pages, 2 cols with gets/gets-not) */
.privacy-contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.privacy-col { border-radius: 14px; padding: 28px 30px; }
.privacy-col.gets { background: var(--surface); border: 1px solid rgba(52,211,153,.25); }
.privacy-col.gets-not { background: var(--bgEditorial); border: 1px solid var(--borderSoft); }
.privacy-col .col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.privacy-col.gets .col-title { color: var(--success); }
.privacy-col.gets-not .col-title { color: var(--danger); }
.privacy-col p { font-size: 13px; color: var(--body); line-height: 1.6; margin-top: 14px; }
.json-block { margin: 0; padding: 14px 16px; background: var(--bgEditorial); border: 1px solid var(--borderSoft); border-radius: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--body); line-height: 1.6; overflow: auto; white-space: pre; }
.json-block .c { color: var(--disabled); }
.never-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.never-list li { font-size: 13px; color: var(--body); padding: 9px 12px; background: var(--surface); border-radius: 7px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--borderSoft); }
.never-list .x { color: var(--danger); font-family: var(--mono); font-size: 14px; }
.footnote-mono { font-size: 13px; color: var(--muted); margin-top: 22px; font-family: var(--mono); text-align: center; }

/* SHARED — DEMO CTA (product pages, accented gradient card) */
.demo-cta { background: linear-gradient(135deg, var(--accentFaintBg), var(--surface)); border: 1px solid var(--accentFaintBorder); border-radius: 18px; padding: 52px 56px; text-align: center; max-width: none; margin: 0; }
.demo-cta h2 { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 14px auto 14px; max-width: 720px; text-wrap: balance; }
.demo-cta p { font-size: 16px; color: var(--body); max-width: 580px; margin: 0 auto 28px; line-height: 1.55; }

/* GAMES — ENGINES + CODE */
.engines-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.engine-card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; padding: 24px 26px; }
.engine-card .ehead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.engine-card .eicon { width: 40px; height: 40px; border-radius: 9px; background: var(--bgAlt); display: grid; place-items: center; font-size: 22px; border: 1px solid var(--borderSoft); flex: 0 0 40px; }
.engine-card h3 { font-size: 18px; font-weight: 650; color: var(--heading); flex: 1; }
.engine-card .tier { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--successBg); color: var(--success); }
.engine-card .tier.community { background: var(--warningBg); color: var(--warning); }
.engine-card p { font-size: 13.5px; color: var(--body); line-height: 1.55; margin-bottom: 12px; }
.engine-card .detail { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.code-block { background: var(--bgEditorial); border: 1px solid var(--borderSoft); border-radius: 10px; padding: 14px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--body); overflow-x: auto; max-width: none; margin-top: 32px; }
.code-block .filename { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.code-block .filename::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--success); display: inline-block; }
.code-block pre { margin: 0; white-space: pre-wrap; word-break: break-word; }
.code-block .k { color: #c084fc; }
.code-block .s { color: #86efac; }
.code-block .c { color: var(--disabled); }
.code-block .n { color: var(--accentText); }

/* AGE VERIFICATION — METHODS */
.methods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.method-card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; padding: 24px 26px; display: grid; grid-template-columns: 60px 1fr; gap: 18px; }
/* Some pages reuse .method-card without an icon (guardian / parental controls
   on /age-verification). Without the icon the single child slides into the
   narrow 60px track and the body text wraps one word per line. Collapse the
   grid when there's no .micon so the content gets the full row. */
.method-card:not(:has(.micon)) { grid-template-columns: 1fr; }
.method-card .micon { width: 56px; height: 56px; border-radius: 12px; background: var(--bgAlt); display: grid; place-items: center; font-size: 28px; border: 1px solid var(--borderSoft); }
.method-card .mhead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.method-card h3 { font-size: 17px; font-weight: 650; color: var(--heading); }
.method-card .tier { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--accentFaintBg); color: var(--accentText); }
.method-card .tier.success { background: var(--successBg); color: var(--success); }
.method-card p { font-size: 13.5px; color: var(--body); line-height: 1.55; margin-bottom: 8px; }
.method-card .detail { font-size: 12px; color: var(--muted); font-family: var(--mono); }

/* ANONYMOUS — TWO MODES */
.modes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.mode-card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; padding: 28px 30px; position: relative; }
.mode-card.stable { border-top: 3px solid var(--accent); }
.mode-card.ephemeral { border-top: 3px solid var(--warning); }
.mode-card .mode-code { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accentText); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mode-card.ephemeral .mode-code { color: var(--warning); }
.mode-card .mode-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 99px; background: var(--accentFaintBg); color: var(--accentText); font-family: var(--font); }
.mode-card.ephemeral .mode-tag { background: var(--warningBg); color: var(--warning); }
.mode-card h3 { font-size: 22px; font-weight: 650; letter-spacing: -0.01em; margin: 4px 0 12px; color: var(--heading); }
.mode-card p { font-size: 14px; color: var(--body); line-height: 1.6; margin-bottom: 18px; }
.mode-card .usecases { font-size: 12.5px; color: var(--muted); padding: 12px 14px; background: var(--bgAlt); border-radius: 8px; border: 1px solid var(--borderSoft); }
.mode-card .usecases b { color: var(--heading); font-weight: 600; }

/* ANONYMOUS — CLAIMS GRID + CONSENT MOCK */
.claims-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.claim-card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 12px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.claim-card .check { width: 32px; height: 32px; border-radius: 8px; background: var(--accentFaintBg); color: var(--accent); display: grid; place-items: center; font-weight: 800; flex: 0 0 32px; border: 1px solid var(--accentFaintBorder); font-family: var(--mono); }
.claim-card .cname { font-family: var(--mono); font-size: 13.5px; color: var(--heading); font-weight: 600; }
.claim-card .csub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.consent-mock { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; max-width: 420px; margin: 36px auto 0; padding: 28px 30px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.consent-mock .ch { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accentText); margin-bottom: 4px; }
.consent-mock .ct { font-size: 17px; font-weight: 650; margin-bottom: 16px; }
.consent-mock .ct b { color: var(--accent); }
.consent-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--borderSoft); }
.consent-row:last-of-type { border-bottom: 1px solid var(--borderSoft); margin-bottom: 18px; }
.consent-row .cl { display: flex; flex-direction: column; gap: 2px; }
.consent-row .cn { font-family: var(--mono); font-size: 13px; color: var(--heading); }
.consent-row .cd { font-size: 11px; color: var(--muted); }
.consent-row .cn .req { color: var(--danger); margin-left: 6px; font-family: var(--font); font-weight: 700; font-size: 10px; vertical-align: 2px; }
.toggle { width: 36px; height: 20px; border-radius: 99px; background: var(--accent); position: relative; cursor: pointer; transition: background .15s; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 18px; width: 16px; height: 16px; border-radius: 99px; background: #fff; transition: left .15s; }
.toggle.off { background: var(--surfaceHi); }
.toggle.off::after { left: 2px; }

/* PRICING — TABLE */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 8px; }
.section-head .copy { max-width: 720px; }
.section-tag { font-family: var(--mono); font-size: 11px; color: var(--accentText); letter-spacing: 0.1em; padding: 6px 11px; border-radius: 99px; background: var(--accentFaintBg); border: 1px solid var(--accentFaintBorder); white-space: nowrap; }
.section-tabs-head { text-align: center; max-width: 820px; margin: 0 auto 36px; }
.section-tabs-head .eyebrow { display: inline-block; }
.section-tabs-head h2 { margin: 14px 0 14px; }
.section-tabs-head p.lead { margin: 0 auto; }
.ptable-wrap { margin-top: 36px; background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; overflow: hidden; }
table.ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
table.ptable th, table.ptable td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--borderSoft); }
table.ptable thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--bgEditorial); }
table.ptable tbody tr:last-child td { border-bottom: none; }
table.ptable tbody tr.free { background: var(--accentFaintBg); }
table.ptable .tier-name { font-weight: 700; color: var(--heading); font-size: 14.5px; }
table.ptable .vol { color: var(--body); font-variant-numeric: tabular-nums; }
table.ptable .price { color: var(--heading); font-weight: 600; font-variant-numeric: tabular-nums; }
table.ptable .price em { font-style: normal; color: var(--muted); font-weight: 400; font-size: 12.5px; margin-left: 4px; }
table.ptable .ptable-compare { color: var(--success); font-size: 12.5px; font-weight: 500; }
table.ptable .ptable-compare.muted { color: var(--muted); font-weight: 400; }
.ptable-foot { padding: 16px 22px; font-size: 13px; color: var(--muted); background: var(--bgEditorial); border-top: 1px solid var(--borderSoft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ptable-foot strong { color: var(--heading); font-weight: 600; }
.ptable-foot a { color: var(--accentText); }

/* PRICING — TABS */
.ptabs { display: flex; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; max-width: 560px; margin: 0 auto 40px; }
.ptabs button { flex: 1; padding: 12px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .15s; display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.3; }
.ptabs button:hover { color: var(--heading); background: var(--surfaceHi); }
.ptabs button.is-active { background: var(--accentFaintBg); color: var(--accentText); border: 1px solid var(--accentFaintBorder); }
.ptabs button .sub { font-size: 11px; font-weight: 500; color: var(--muted); }
.ptabs button.is-active .sub { color: var(--accentText); opacity: .8; }
.ptab-panel { display: none; }
.ptab-panel.is-active { display: block; }

/* PRICING — GYM MODEL */
.gym-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.gym-card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 12px; padding: 22px 24px; position: relative; overflow: hidden; }
.gym-card .gband { position: absolute; inset: 0 0 auto 0; height: 3px; }
.gym-card.g1 .gband { background: var(--success); }
.gym-card.g2 .gband { background: var(--accent); }
.gym-card.g3 .gband { background: var(--warning); }
.gym-card.g4 .gband { background: var(--danger); }
.gym-card .gh { font-family: var(--mono); font-size: 12.5px; color: var(--heading); margin-bottom: 12px; font-weight: 700; }
.gym-card .gd { font-size: 13.5px; color: var(--body); line-height: 1.55; }

/* PRICING — ENTERPRISE CTA */
.ent-cta { background: linear-gradient(135deg, var(--accentFaintBg), var(--surface)); border: 1px solid var(--accentFaintBorder); border-radius: 18px; padding: 52px 56px; max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.ent-cta h2 { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 12px 0 14px; text-wrap: balance; }
.ent-cta p { font-size: 15px; color: var(--body); line-height: 1.6; }
.ent-cta .cta-side { text-align: right; }

/* FAQ */
.faq-wrap { margin-top: 36px; background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; overflow: hidden; }
.faq details { border-bottom: 1px solid var(--borderSoft); }
.faq details:last-child { border-bottom: none; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-size: 15.5px; font-weight: 600; color: var(--heading); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 24px 22px; font-size: 14px; color: var(--body); line-height: 1.65; }
.faq .answer code { font-family: var(--mono); font-size: 12.5px; padding: 2px 5px; background: var(--bgEditorial); border-radius: 4px; color: var(--accentText); }

/* TRUST STRIP */
.trust-strip { position: relative; z-index: 2; padding: 56px 0; border-top: 1px solid var(--borderSoft); border-bottom: 1px solid var(--borderSoft); background: var(--bgEditorial); }
.trust-strip .row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 11px; color: var(--body); font-size: 13px; }
.trust-item .em { font-size: 22px; }

/* FOOTER */
footer.site { padding: 64px 0 36px; background: var(--bgEditorial); position: relative; z-index: 2; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-cols .brand-col p { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.6; max-width: 320px; }
.footer-cols h4 { font-size: 11px; color: var(--disabled); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 9px; }
.footer-cols a { font-size: 13px; color: var(--body); }
.footer-cols a:hover { color: var(--accentText); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--borderSoft); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--disabled); }
.footer-bottom-legal { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom-legal a, .footer-bottom-legal button { color: var(--muted); font-size: 12px; transition: color .15s ease; }
.footer-bottom-legal a:hover, .footer-bottom-legal button:hover { color: var(--heading); }
.footer-bottom-legal span { color: var(--disabled); opacity: 0.5; }

/* BLOG INDEX */
.flat-blog-hero-index { padding: 80px 0 96px; }
.blog-list { list-style: none; padding: 0; margin: 0 auto; max-width: 1120px; display: grid; gap: 1px; background: var(--borderSoft); border: 1px solid var(--borderSoft); border-radius: 14px; overflow: hidden; }
.blog-list li { background: var(--surface); transition: background .15s ease; }
.blog-list li:hover { background: var(--surfaceHi); }
.blog-list a { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 28px 32px; align-items: baseline; }
.blog-list time { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.blog-list .row-title { font-size: 17px; font-weight: 650; color: var(--heading); margin-bottom: 6px; line-height: 1.35; }
.blog-list li:hover .row-title { color: var(--accentText); }
.blog-list .row-excerpt { font-size: 13.5px; color: var(--body); line-height: 1.55; }
.blog-list .row-author { font-size: 11.5px; color: var(--disabled); margin-top: 10px; }
.blog-empty { text-align: center; margin-top: 40px; }
@media (max-width: 640px) {
    .blog-list a { grid-template-columns: 1fr; gap: 8px; padding: 20px 22px; }
    .blog-list time { font-size: 11px; }
}

/* BLOG POST */
.blog-post { max-width: 720px; margin: 96px auto 96px; }
.blog-post .back { display: inline-block; margin-bottom: 28px; font-size: 12.5px; color: var(--accentText); }
.blog-post time { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.blog-post h1 { font-size: 38px; margin: 12px 0 14px; }
.blog-post .subtitle { font-size: 17px; color: var(--body); line-height: 1.5; margin-bottom: 20px; }
.blog-post .byline { font-size: 12.5px; color: var(--disabled); padding-bottom: 28px; border-bottom: 1px solid var(--borderSoft); margin-bottom: 28px; }
.blog-post .body { font-size: 15px; color: var(--body); line-height: 1.75; }
.blog-post .body p { margin: 0 0 18px; }

/* SIMPLE PAGE (careers / press / about / contact) */
.simple-head { max-width: 720px; margin: 96px auto 56px; }
.simple-head h1 { font-size: 44px; margin-top: 14px; }
.simple-head .lead { margin-top: 14px; }
.simple-body { max-width: 720px; margin: 0 auto; }
.simple-section { margin-bottom: 40px; }
.simple-section h2 { font-size: 22px; font-weight: 650; color: var(--heading); margin: 0 0 14px; }
.simple-section p { font-size: 14.5px; color: var(--body); line-height: 1.75; margin: 0 0 14px; }

/* STATUS PAGE */
.status-head { max-width: 720px; margin: 96px 0 32px; }
.status-head h1 { font-size: 40px; margin-top: 14px; }
.status-head .lead { margin-top: 14px; }
.status-summary { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--borderSoft); font-size: 13px; color: var(--body); margin: 0 0 40px; }
.status-summary.status-operational { border-color: rgba(52,211,153,.35); }
.status-summary.status-degraded    { border-color: rgba(251,191,36,.4); }
.status-summary.status-partial     { border-color: rgba(251,191,36,.4); }
.status-summary.status-major       { border-color: rgba(248,113,113,.4); }
.status-summary-label { font-weight: 650; color: var(--heading); }
.status-summary-sep { color: var(--disabled); }
.status-summary-uptime, .status-summary-asof { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.status-section-title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 32px 0 12px; }
.status-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 1px; background: var(--borderSoft); border: 1px solid var(--borderSoft); border-radius: 14px; overflow: hidden; }
.status-row { display: grid; grid-template-columns: 14px 1fr auto; gap: 16px; align-items: center; padding: 16px 22px; background: var(--surface); }
.status-row-name { font-size: 14.5px; font-weight: 600; color: var(--heading); }
.status-row-note { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.status-row-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.status-row-label.status-operational { background: var(--successBg); color: var(--success); }
.status-row-label.status-degraded    { background: var(--warningBg); color: var(--warning); }
.status-row-label.status-partial     { background: var(--warningBg); color: var(--warning); }
.status-row-label.status-major       { background: var(--dangerBg); color: var(--danger); }
.status-dot { width: 10px; height: 10px; border-radius: 99px; background: var(--success); display: inline-block; }
.status-dot-operational { background: var(--success); }
.status-dot-degraded    { background: var(--warning); }
.status-dot-partial     { background: var(--warning); }
.status-dot-major       { background: var(--danger); }
.status-incident { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 22px; background: var(--surface); }
.status-incident-date { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.status-incident-title { font-size: 14.5px; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.status-incident-duration { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-left: 6px; }
.status-incident-impact, .status-incident-resolution { font-size: 13px; color: var(--body); line-height: 1.55; margin-top: 4px; }
.status-incident-impact strong, .status-incident-resolution strong { color: var(--muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.status-subscribe { margin-top: 24px; font-size: 13px; color: var(--muted); }
.status-subscribe strong { color: var(--heading); font-weight: 600; margin-right: 8px; }

/* SDKs PAGE */
.sdks-head { max-width: 720px; margin: 96px auto 40px; }
.sdks-head h1 { font-size: 40px; margin-top: 14px; }
.sdks-head .lead { margin-top: 14px; }
.sdks-org-link { margin-top: 18px; font-size: 14px; }
.sdks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sdk-card { display: block; background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 12px; padding: 18px 20px; transition: border-color .15s ease, transform .15s ease; }
.sdk-card:hover { border-color: var(--accentFaintBorder); transform: translateY(-2px); }
.sdk-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sdk-icon { font-size: 22px; }
.sdk-name { font-size: 15px; font-weight: 650; color: var(--heading); flex: 1; }
.sdk-tier { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--successBg); color: var(--success); }
.sdk-tier-supported { background: var(--successBg); color: var(--success); }
.sdk-tier-beta      { background: var(--accentFaintBg); color: var(--accentText); }
.sdk-tier-alpha     { background: var(--warningBg); color: var(--warning); }
.sdk-tier-community { background: rgba(192,132,252,.18); color: #c084fc; }
.sdk-package { font-family: var(--mono); font-size: 12.5px; color: var(--body); margin-bottom: 4px; word-break: break-all; }
.sdk-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }

@media (max-width: 960px) {
    .whatis-grid, .codehub-grid, .age-grid, .privacy-intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .audience-grid { grid-template-columns: 1fr; }
    .anon-flow { grid-template-columns: 1fr; }
    .anon-arrow { transform: rotate(90deg); padding: 8px 0; }
    .compliance-strip { grid-template-columns: repeat(2, 1fr); }
    .grid-3, .grid-4, .how-grid { grid-template-columns: 1fr 1fr; }
    .gym-grid { grid-template-columns: 1fr 1fr; }
    .engines-grid, .methods-grid, .modes-grid, .privacy-contrast { grid-template-columns: 1fr; }
    .claims-grid { grid-template-columns: 1fr 1fr; }
    .ent-cta { grid-template-columns: 1fr; text-align: left; }
    .ent-cta .cta-side { text-align: left; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .sdks-grid { grid-template-columns: 1fr 1fr; }
    .status-incident { grid-template-columns: 1fr; }
    .hero-marketing-top h1, .av-hero h1 { font-size: 44px; }
    .h2, .demo-cta h2 { font-size: 30px; }
    table.ptable th, table.ptable td { padding: 12px 14px; font-size: 13px; }
}

/* FLAT BLOG — pagination */
.post-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 48px auto 0; max-width: 1120px; }
.post-pagination-info { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* FLAT BLOG — dev audience badge */
.dev-badge { display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 4px; background: rgba(167,139,250,0.15); color: #a78bfa; border: 1px solid rgba(167,139,250,0.3); margin-left: 8px; vertical-align: middle; }

/* FLAT BLOG — embed responsive wrapper */
.embed-responsive { position: relative; padding-top: 56.25%; margin: 1.5em 0; }
.embed-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FLAT BLOG — preview banner */
.preview-banner { background: var(--warningBg); border-bottom: 1px solid rgba(251,191,36,.35); padding: 10px 0; }
.preview-banner .container { font-size: 13px; color: var(--warning); font-weight: 500; }
.preview-banner strong { font-weight: 700; }

/* FLAT BLOG — hero band at top of show page */
.flat-blog-hero { position: relative; padding: 96px 0 112px; overflow: hidden; border-bottom: 1px solid var(--borderSoft); }
.flat-blog-hero .pill-row { margin-top: 32px; }
.flat-blog-hero::before { content: ""; position: absolute; inset: 0; opacity: 0.55; background: radial-gradient(ellipse 900px 420px at 70% 25%, var(--accentFaintBg), transparent 60%); pointer-events: none; z-index: 1; }
.flat-blog-hero::after { content: ""; position: absolute; inset: 0; opacity: 0.4; background: radial-gradient(ellipse 700px 400px at 15% 90%, var(--accentFaintBg), transparent 60%); pointer-events: none; z-index: 1; }
.flat-blog-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.flat-blog-hero-back { display: inline-block; font-size: 12.5px; color: var(--accentText); margin-bottom: 24px; opacity: 0.85; transition: opacity .15s ease; }
.flat-blog-hero-back:hover { opacity: 1; }
.flat-blog-hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.flat-blog-hero-eyebrow time { color: var(--body); font-weight: 600; text-transform: none; letter-spacing: 0.02em; font-size: 12px; }
.flat-blog-hero-eyebrow .sep { color: var(--disabled); }
.flat-blog-hero-eyebrow .dev-badge { margin-left: 0; }
.flat-blog-hero-title { font-size: 60px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; margin: 18px 0 28px !important; color: var(--heading); max-width: 1040px; text-wrap: balance; }
.flat-blog-hero-lead { font-size: 19px; color: var(--body); max-width: 760px; line-height: 1.55; margin: 0; }
section.band-tight { padding: 56px 0 96px; }
@media (max-width: 720px) {
    .flat-blog-hero { padding: 64px 0 56px; }
    .flat-blog-hero-title { font-size: 40px; margin: 14px 0 22px !important; }
    .flat-blog-hero-lead { font-size: 16px; }
}

/* FLAT BLOG — 2-column shell (article + right rail) */
.blog-shell { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; max-width: 1120px; margin: 0 auto; align-items: start; }
.blog-post-wide { max-width: none; margin: 0; }
.blog-rail { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.blog-rail-card { border: 1px solid var(--borderSoft); border-radius: 10px; padding: 16px 18px; background: var(--surface); }
.blog-rail-heading { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
.blog-rail-toc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.blog-rail-toc a { display: block; font-size: 12.5px; line-height: 1.45; color: var(--body); padding: 3px 0; transition: color .12s ease; }
.blog-rail-toc a:hover { color: var(--accentText); }
.blog-rail-toc-l3 { padding-left: 14px; }
.blog-rail-toc-l3 a { font-size: 12px; color: var(--muted); }
.blog-rail-toc-l3 a:hover { color: var(--accentText); }
.blog-rail-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.blog-rail-recent a { display: block; padding: 2px 0; }
.blog-rail-recent-title { display: block; font-size: 12.5px; font-weight: 600; color: var(--heading); line-height: 1.35; margin-bottom: 2px; transition: color .12s ease; }
.blog-rail-recent a:hover .blog-rail-recent-title { color: var(--accentText); }
.blog-rail-recent-date { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; }
.blog-rail-promo { background: linear-gradient(160deg, var(--accentFaintBg), var(--surface) 80%); border-color: var(--accentFaintBorder); }
.blog-rail-promo .blog-rail-heading { color: var(--accentText); }
.blog-rail-promo-title { font-size: 15px; font-weight: 650; color: var(--heading); line-height: 1.35; margin-bottom: 8px; }
.blog-rail-promo-body { font-size: 12.5px; color: var(--body); line-height: 1.55; margin: 0 0 14px; }
.blog-rail-promo-cta { display: inline-block; margin-top: 15px; font-size: 12.5px; font-weight: 600; color: var(--accentText); padding: 8px 12px; background: var(--accentFaintBg); border: 1px solid var(--accentFaintBorder); border-radius: 7px; transition: background .15s ease, border-color .15s ease; }
.blog-rail-promo-cta:hover { background: var(--accentRing); border-color: var(--accentRing); color: #ffffff; }
@media (max-width: 1000px) {
    .blog-shell { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 760px; }
    .blog-rail { position: static; }

    /* Grid-trap fix: a wide <pre> (long URLs in the 9-language code samples,
       or the long tab row PHP/Python/Ruby/Node/Go/C#/Java/Unity/Godot/Unreal)
       was forcing the article column wider than the viewport at any size
       below the desktop 3-column layout. Three pieces:
       (a) min-width:0 lets the collapsed grid track shrink below content,
       (b) overflow-x:hidden on the body clips any rogue wide child,
       (c) inner <pre> keeps its own overflow-x:auto, so each language tab
           still scrolls horizontally inside the card. The tab nav row also
           wraps to a second line rather than forcing horizontal scroll. */
    .blog-shell > * { min-width: 0; }
    .blog-post .body { overflow-x: hidden; }
    .blog-post .body :where(pre, table, .code-tabs, .embed-responsive) { max-width: 100%; }
    .blog-post .body :where(p, li, h1, h2, h3) { overflow-wrap: anywhere; word-break: break-word; }
    .code-tabs { max-width: 100%; }
    .code-tabs-nav { flex-wrap: wrap; gap: 2px; padding: 4px 6px; overflow-x: visible; }
    .code-tabs-tab { padding: 6px 10px !important; font-size: 12px; white-space: nowrap; }
    .code-tabs-panel pre { padding: 12px !important; font-size: 12px; }
}

/* FLAT BLOG — post-bottom prev/next pager */
.post-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--borderSoft); }
.post-pager-card { display: block; padding: 14px 16px; border: 1px solid var(--borderSoft); border-radius: 10px; background: var(--surface); color: inherit; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.post-pager-card:hover { border-color: var(--accentFaintBorder); background: var(--surfaceHi); transform: translateY(-1px); }
.post-pager-next { text-align: right; }
.post-pager-label { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.post-pager-title { font-size: 14px; font-weight: 600; color: var(--heading); line-height: 1.4; }
.post-pager-card:hover .post-pager-title { color: var(--accentText); }
.post-pager-spacer { display: block; }

/* FLAT BLOG — code tabs widget */
.code-tabs { margin: 24px 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); overflow: hidden; }
.code-tabs-nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 8px; background: var(--surfaceHi); border-bottom: 1px solid var(--border); }
.code-tabs-tab { padding: 6px 12px !important; font-size: 12px; font-weight: 500; color: var(--body); background: transparent !important; border: 1px solid transparent !important; border-radius: 6px !important; cursor: pointer; transition: background .12s ease, color .12s ease; font-family: var(--font); }
.code-tabs-tab:hover { background: rgba(99,102,241,0.08) !important; color: var(--heading); }
.code-tabs-tab.is-active { background: var(--accentRing) !important; color: #ffffff; }
.code-tabs-tab.is-active:hover { background: var(--accentRing) !important; color: #ffffff; }
.code-tabs-panels { background: var(--bgEditorial); }
.code-tabs-panel pre { margin: 0 !important; padding: 16px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: #e2e8f0; overflow-x: auto; }
.code-tabs-panel code { font-family: inherit; background: transparent; padding: 0; color: inherit; white-space: pre; }
[x-cloak] { display: none !important; }

/* FLAT BLOG — typography for rendered markdown body */
.blog-post .body img { display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: 10px; border: 1px solid var(--borderSoft); }
.blog-post .body :where(p, li) > code { font-family: var(--mono); font-size: 0.92em; padding: 1px 5px; border-radius: 4px; background: rgba(99,102,241,0.12); color: var(--accentText); border: 1px solid var(--borderSoft); }
.blog-post .body pre { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--bgEditorial); font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: #e2e8f0; overflow-x: auto; }
.blog-post .body pre code { font-family: inherit; background: transparent; border: 0; padding: 0; color: inherit; font-size: inherit; white-space: pre; }
.blog-post .body :where(h1, h2, h3) { color: var(--heading); margin: 28px 0 12px; font-weight: 650; }
.blog-post .body h1 { font-size: 26px; }
.blog-post .body h2 { font-size: 22px; }
.blog-post .body h3 { font-size: 18px; }
.blog-post .body :where(ul, ol) { margin: 0 0 18px; padding-left: 22px; }
.blog-post .body :where(ul, ol) li { margin-bottom: 6px; }
.blog-post .body :where(strong, b) { color: var(--heading); font-weight: 650; }
.blog-post .body a { color: var(--accentText); text-decoration: underline; text-decoration-color: var(--accentFaintBorder); text-underline-offset: 2px; }
.blog-post .body a:hover { color: var(--accentHover); text-decoration-color: var(--accentHover); }

/* =========================================================================
 * MOBILE — phone-and-down. Desktop is intentionally untouched above.
 *
 * Two breakpoints:
 *   720px : tablet portrait / large phones — relaxes paddings, collapses
 *           the inline nav into a horizontal scroll strip, shrinks the
 *           biggest hero typography, lets large tables scroll horizontally.
 *   480px : phone portrait — extra typography squeeze and 1-col grids
 *           that the 960px breakpoint already collapses partially.
 * ========================================================================= */
/* NAV — collapse to "brand + CTAs on top row, links as horizontal scroll
   strip underneath" well before the buttons start wrapping. The full
   inline nav only fits comfortably above ~1000px so we trigger early. */
@media (max-width: 1000px) {
    .nav { padding: 14px 20px; gap: 12px; flex-wrap: wrap; }
    .nav.is-scrolled { padding: 11px 20px; }
    .nav .links { order: 3; width: 100%; margin-left: 0; gap: 2px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
    .nav .links::-webkit-scrollbar { display: none; }
    .nav .links a { white-space: nowrap; padding: 7px 11px; font-size: 13px; }
    .nav .right { margin-left: auto; gap: 8px; }
    .nav .right .btn { white-space: nowrap; padding: 10px 14px; font-size: 13px; border-radius: 9px; }
}

@media (max-width: 720px) {
    /* containers */
    .container,
    .container-narrow,
    .container-tight { padding: 0 18px; }

    /* nav: tighter still on phone */
    .nav { padding: 12px 16px; gap: 10px; }
    .nav.is-scrolled { padding: 10px 16px; }
    .nav .links a { padding: 6px 10px; font-size: 12.5px; }
    .nav .right { gap: 6px; }
    .nav .right .btn { padding: 9px 13px; font-size: 12.5px; }

    /* homepage centered hero */
    .hero-stack { padding: 72px 18px 64px; }
    .hero-marketing-top .brand-lg { font-size: 19px; margin-bottom: 26px; }
    .hero-marketing-top .brand-lg .lsbox { width: 32px; height: 32px; font-size: 16px; }
    .hero-marketing-top .eyebrow { margin-bottom: 20px; }
    .hero-marketing-top h1 { font-size: 32px; margin: 0 0 24px; line-height: 1.12; }
    .hero-marketing-top p { font-size: 14px; line-height: 1.7; padding: 14px 4px; margin: 0 0 36px; }
    .hero-cta { gap: 12px; margin-bottom: 18px; }
    .hero-cta .btn { padding: 13px 18px; font-size: 14.5px; }
    .hero-trust { gap: 14px; padding-top: 22px; margin-top: 22px; font-size: 11.5px; }

    /* product page hero */
    .av-hero { padding: 56px 0 64px; }
    .av-hero-inner { padding: 0 18px; }
    .av-hero h1 { font-size: 36px; margin: 12px 0 20px; line-height: 1.08; }
    .av-hero p.lead { font-size: 16px; line-height: 1.55; margin-bottom: 28px; }
    .av-hero-cta { gap: 10px; margin-bottom: 24px; }
    .av-hero-cta .btn { padding: 12px 16px; font-size: 14px; }

    /* generic section spacing */
    section.band { padding: 64px 0; }
    .h2 { font-size: 26px; }
    .lead { font-size: 15.5px; }

    /* compliance strip becomes 2-col then 1-col */
    .compliance-strip { grid-template-columns: 1fr 1fr; }

    /* shared product grids — guarantee single-col below the 960 break */
    .grid-3, .grid-4, .how-grid, .gym-grid, .claims-grid,
    .audience-grid, .modes-grid, .methods-grid, .engines-grid,
    .privacy-contrast, .privacy-intro-grid, .whatis-grid,
    .codehub-grid, .age-grid { grid-template-columns: 1fr; gap: 14px; }

    /* tighter card padding for narrow screens */
    .card, .how-card, .audience-card, .mode-card, .method-card,
    .engine-card, .anon-card, .whatis-card { padding: 20px 18px; }
    .privacy-col { padding: 22px 18px; }

    /* tables: let them scroll horizontally rather than squishing */
    .compare-wrap, .ptable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table.compare, table.ptable { min-width: 560px; }
    table.compare th, table.compare td { padding: 12px 14px; font-size: 12.5px; }
    table.ptable th, table.ptable td { padding: 12px 14px; font-size: 12.5px; }
    .ptable-foot { padding: 14px 16px; }

    /* pricing tabs */
    .ptabs { max-width: 100%; }
    .ptabs button { padding: 10px 8px; font-size: 12.5px; }
    .ptabs button .sub { font-size: 10px; }

    /* demo + enterprise CTAs — kill the generous padding so they fit */
    .demo-cta { padding: 32px 22px; border-radius: 14px; }
    .demo-cta h2 { font-size: 26px; margin-bottom: 12px; }
    .demo-cta p { font-size: 14.5px; margin-bottom: 22px; }
    .ent-cta { padding: 32px 22px; border-radius: 14px; gap: 20px; grid-template-columns: 1fr; text-align: left; }
    .ent-cta h2 { font-size: 24px; }
    .ent-cta .cta-side { text-align: left; }

    /* FAQ — tighten padding */
    .faq summary { padding: 16px 18px; font-size: 14.5px; gap: 12px; }
    .faq .answer { padding: 0 18px 18px; font-size: 13.5px; }

    /* section header row */
    .section-head { gap: 14px; }

    /* trust strip — center on phone, tighter padding */
    .trust-strip { padding: 36px 0; }
    .trust-strip .row { gap: 14px; justify-content: flex-start; }
    .trust-item { font-size: 12.5px; }
    .trust-item .em { font-size: 18px; }

    /* footer */
    footer.site { padding: 48px 0 28px; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-cols .brand-col { grid-column: 1 / -1; }
    .footer-cols .brand-col p { max-width: none; }
    .footer-bottom { margin-top: 32px; padding-top: 18px; gap: 10px; }
    .footer-bottom-legal { gap: 6px; }

    /* SDKs page */
    .sdks-head { margin: 64px auto 32px; }
    .sdks-head h1 { font-size: 30px; }
    .sdks-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

    /* status page */
    .status-head { margin: 64px auto 24px; }
    .status-head h1 { font-size: 30px; }
    .status-row { grid-template-columns: 14px 1fr; gap: 12px; padding: 14px 16px; }
    .status-row-label { grid-column: 2; justify-self: start; margin-top: 6px; }

    /* simple page (about/press/careers/contact) */
    .simple-head { margin: 64px auto 36px; }
    .simple-head h1 { font-size: 32px; }
    .simple-section h2 { font-size: 19px; }

    /* blog index + post */
    .flat-blog-hero-index { padding: 56px 0 64px; }
    .blog-list a { padding: 18px 18px; }
    .blog-post { margin: 56px auto 56px; padding: 0 18px; }
    .blog-post h1 { font-size: 28px; }
    .blog-post .subtitle { font-size: 15px; }
    .blog-post .body { font-size: 14.5px; line-height: 1.7; }
    .blog-post .body h1 { font-size: 22px; }
    .blog-post .body h2 { font-size: 19px; }
    .blog-post .body h3 { font-size: 16.5px; }


    /* flat-blog hero — the existing rule sets title:40px/lead:16px; nudge inner padding too */
    .flat-blog-hero-inner { padding: 0 18px; }
    .flat-blog-hero-eyebrow { gap: 8px; margin-bottom: 16px; }

    /* post pager */
    .post-pager { grid-template-columns: 1fr; gap: 12px; }
    .post-pager-next { text-align: left; }

    /* anonymous flow arrows -> already rotated at 960 */
    .anon-flow { gap: 12px; }
}

@media (max-width: 480px) {
    /* further squeeze for phone-portrait — keep these light so layout
       doesn't shift again, just typographic + a couple of one-col grids. */
    .container,
    .container-narrow,
    .container-tight { padding: 0 14px; }

    .hero-stack { padding: 64px 14px 56px; }
    .hero-marketing-top h1 { font-size: 28px; margin-bottom: 20px; }
    .hero-marketing-top p { font-size: 13.5px; padding: 12px 2px; margin-bottom: 28px; }

    .av-hero { padding: 48px 0 56px; }
    .av-hero-inner { padding: 0 14px; }
    .av-hero h1 { font-size: 30px; margin: 8px 0 16px; }
    .av-hero p.lead { font-size: 15px; margin-bottom: 22px; }

    section.band { padding: 56px 0; }
    .h2 { font-size: 23px; }
    .lead { font-size: 14.5px; }

    .compliance-strip { grid-template-columns: 1fr; }
    .sdks-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; gap: 24px; }
    .footer-cols .brand-col { grid-column: auto; }

    .demo-cta h2 { font-size: 23px; }
    .ent-cta h2 { font-size: 22px; }

    .flat-blog-hero { padding: 48px 0 48px; }
    .flat-blog-hero-title { font-size: 30px !important; margin: 12px 0 18px !important; }
    .flat-blog-hero-lead { font-size: 14.5px; }
    .flat-blog-hero-inner { padding: 0 14px; }

    .blog-post { margin: 40px auto 48px; padding: 0 14px; }
    .blog-post h1 { font-size: 24px; }
    .simple-head h1 { font-size: 28px; }
    .status-head h1 { font-size: 26px; }
    .sdks-head h1 { font-size: 26px; }

    /* keep buttons readable but tight */
    .btn { padding: 10px 14px; font-size: 13px; }
    .btn.lg { padding: 12px 18px; font-size: 14px; }
    .hero-cta .btn,
    .av-hero-cta .btn { width: 100%; justify-content: center; }
    .av-hero-cta { flex-direction: column; align-items: stretch; }
}

/* Cookie notice (components/cookie-consent-banner). The marketing layout does not load the
   Tailwind bundle, so the banner carries its own styles here. */
[x-cloak] { display: none !important; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; }
.cookie-banner-card { max-width: 64rem; margin: 16px auto; padding: 18px 20px; background: var(--bgLight); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.cookie-banner-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-banner-text { max-width: 42rem; font-size: 14px; line-height: 1.65; color: var(--body); }
.cookie-banner-text p { margin: 0; }
.cookie-banner-title { font-weight: 600; color: var(--heading); margin-bottom: 4px !important; }
.cookie-banner-link { color: var(--accentText); text-decoration: none; }
.cookie-banner-link:hover { text-decoration: underline; }
.cookie-banner-btn { flex-shrink: 0; padding: 9px 18px; border: 0; border-radius: 8px; background: var(--accent); color: #0a0f1f; font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.cookie-banner-btn:hover { background: var(--accentHover); }
@media (max-width: 640px) { .cookie-banner-row { flex-direction: column; align-items: stretch; } .cookie-banner-card { margin: 12px; } }
@media print { .cookie-banner { display: none; } }

/* Pricing page: banner shown while billing is not open. */
.pricing-notice { margin: 28px auto 0; padding: 14px 18px; max-width: 760px; text-align: center; border: 1px solid var(--accentFaintBorder); background: var(--accentFaintBg); color: var(--accentText); border-radius: 10px; font-size: 13.5px; line-height: 1.6; }

/* A lone last card spans the row instead of leaving an empty slot. */
.modes-grid > :last-child:nth-child(odd),
.engines-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.sdks-grid > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.sdks-grid > :nth-last-child(2):nth-child(3n+1) { grid-column: span 1; }

/* Tags on feature cards (BETA / NEXT). The title row lines the tag up with the title text. */
.card .ctitle { display: flex; align-items: center; gap: 10px; }
.card-tag { display: inline-flex; align-items: center; line-height: 1; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: var(--accentFaintBg); color: var(--accentText); border: 1px solid var(--accentFaintBorder); }
.card-tag-next { background: transparent; color: var(--muted); border-color: var(--border); }

/* States used while the product is in beta. */
.sdk-tier-next { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.status-summary.status-beta { border-color: var(--accentFaintBorder); }
.status-row-label.status-beta { background: var(--accentFaintBg); color: var(--accentText); }
.status-dot-beta { background: var(--accent); }
.methods-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }

/* What is LoginSeal: intro on top, cards in three columns below it. */
.whatis-grid > div:first-child { max-width: 720px; }
@media (max-width: 960px) { .whatis-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .whatis-list { grid-template-columns: 1fr; } }

/* Footnote line under a card grid: keep clear space above it (a global paragraph reset zeroed the margin). */
.band .footnote-mono { margin: 28px 0 0; }

/* Avoid a single orphaned word on the last line of intro paragraphs and headings. */
.lead, .h2, .demo-cta p { text-wrap: pretty; }

/* Developer section without the diagram: copy and chips use the full width. */
.codehub-grid:not(:has(.hub-diagram)) { grid-template-columns: 1fr; }
.codehub-grid:not(:has(.hub-diagram)) .codehub-copy { max-width: none; }
.lang-chip.is-next { opacity: 0.7; }
.lang-chip.is-next .dot { background: var(--disabled); }

/* Privacy posture on the homepage: intro on top, commitments side by side below it. */
.privacy-intro-grid { grid-template-columns: 1fr; gap: 32px; }
.privacy-intro-grid > div:first-child { max-width: 720px; }
.privacy-list { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.privacy-list li { padding: 20px 22px; }
.privacy-list .ls { padding-left: 0; margin-top: 8px; }
@media (max-width: 1100px) { .privacy-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .privacy-list { grid-template-columns: 1fr; } }

/* Audience cards: share row tracks so icon, title, text, bullets and the docs link line up across all three. */
.audience-grid { grid-auto-flow: row; }
.audience-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.audience-card .more { align-self: end; }
.audience-card:hover { transform: none; }
@media (max-width: 960px) { .audience-card { display: block; grid-row: auto; } }

/* Developer section without extra copy: the chip row sits directly under the intro. */
.codehub-grid:not(:has(.hub-diagram)) { margin-top: 28px; }
.codehub-copy .lang-row:first-child { margin-top: 0; }

/* The age section starts straight after its band padding; its own top margin only adds dead space. */
.container > .age-grid:first-child { margin-top: 0; }
.container > .privacy-intro-grid:first-child { margin-top: 0; }

/* Two plain bands in a row share one background, so the second one needs no top padding (the gap doubled up). */
section.band:not(.alt):not(.editorial) + section.band:not(.alt):not(.editorial) { padding-top: 0; }

/* Age section: the demo panel is as tall as the text column, so top and bottom edges line up. */
.age-grid { align-items: stretch; }
.age-mock { display: flex; flex-direction: column; }
.age-mock .methods { flex: 1; grid-auto-rows: 1fr; }
.age-mock .trust { margin-top: 20px; }

/* Product page heroes: larger call-to-action buttons. */
.av-hero .btn.lg { padding: 18px 34px; font-size: 16.5px; border-radius: 12px; min-width: 300px; justify-content: center; }
.av-hero .hero-cta, .av-hero .ctas { gap: 16px; }
.av-hero-cta { gap: 16px; }
@media (max-width: 720px) { .av-hero .btn.lg { padding: 14px 20px; font-size: 15px; min-width: 0; } }

/* Anonymous page, claims: explanation and claim list on the left, the consent screen the person sees on the right. */
.claims-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.claims-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border: 1px solid var(--borderSoft); border-radius: 12px; overflow: hidden; background: var(--surface); }
.claims-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--borderSoft); }
.claims-list li:last-child { border-bottom: none; }
.claims-list .cname { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--heading); }
.claims-list .csub { font-size: 12.5px; color: var(--muted); text-align: right; }
.claims-caption { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.claims-demo .consent-mock { margin: 0; max-width: none; }
@media (max-width: 960px) { .claims-layout { grid-template-columns: 1fr; gap: 36px; } }

.section-tabs-head + .ptabs { margin-top: 36px; }
.section-tabs-head .lead { margin-bottom: 0; }
.section-tabs-head .pricing-notice { margin: 28px auto 0; }

/* Contact page: information on the left, the form on the right. */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info h1 { font-size: 44px; margin: 14px 0 0; }
.contact-info .lead { margin: 16px 0 36px; }
.contact-card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 12px; padding: 22px 24px; margin-bottom: 16px; }
.contact-card h2 { font-size: 16px; font-weight: 650; color: var(--heading); margin: 0 0 10px; }
.contact-card p { font-size: 15px; line-height: 1.7; color: var(--body); margin: 0 0 10px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-form-card { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 16px; padding: 32px 34px; }
.contact-form-card h2 { font-size: 22px; font-weight: 650; color: var(--heading); margin: 0 0 22px; }
.contact-form { display: grid; gap: 18px; }
.contact-field { display: grid; gap: 8px; }
.contact-field label { font-size: 13px; font-weight: 600; color: var(--heading); }
.contact-field input, .contact-field textarea { width: 100%; background: var(--bgEditorial); border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px; font: inherit; font-size: 15px; color: var(--heading); }
.contact-field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.contact-field input:focus, .contact-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accentFaintBg); }
.contact-error { font-size: 13px; color: var(--danger); margin: 0; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-submit { width: 100%; justify-content: center; margin-top: 4px; border: 0; cursor: pointer; }
.contact-note { font-size: 12.5px; color: var(--muted); margin: 0; text-align: center; }
.contact-alert { border-radius: 10px; padding: 14px 16px; font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; display: grid; gap: 4px; }
.contact-alert-ok { background: var(--successBg); color: var(--success); border: 1px solid rgba(52,211,153,.35); }
.contact-alert-error { background: var(--dangerBg); color: var(--danger); border: 1px solid rgba(248,113,113,.4); }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; gap: 24px; } .contact-form-card { padding: 24px 20px; } }

/* About and Press: a hero like the product pages, then the sections as cards. */
.simple-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.simple-grid .simple-section { background: var(--surface); border: 1px solid var(--borderSoft); border-radius: 14px; padding: 26px 28px; margin: 0; }
.simple-grid .simple-section h2 { font-size: 18px; font-weight: 650; color: var(--heading); margin: 0 0 12px; }
.simple-grid .simple-section p { font-size: 15.5px; line-height: 1.7; color: var(--body); margin: 0 0 12px; }
.simple-grid .simple-section p:last-child { margin-bottom: 0; }

/* Contact page with only the form: one column, left-aligned with the rest of the page. */
.contact-layout.is-single { grid-template-columns: 1fr; max-width: none; }

/* Contact page: the intro and the form share one width and the hero's left edge. */
body:has(.contact-layout) .av-hero p.lead { max-width: 860px; }

/* Footer: brand column plus the three link columns, spread across the full width. */
@media (min-width: 961px) { .footer-cols { grid-template-columns: minmax(280px, 1fr) repeat(3, max-content); gap: 32px 96px; } }
