/* ==========================================================================
   DIMA landing page
   Bone & Graphite + periwinkle. Flat surfaces, hairline separation, no fog.
   Neutrals carry the page; periwinkle appears only where a decision is asked
   for. Nothing floats: panels sit on the ground and are cut apart by 1px.
   Radius rule: containers 16px, media 12px, controls 10px, chips 6px.
   Pills survive only on the hero rail and status chips.
   ========================================================================== */

/* Electric blue — Mark OS register */
.theme-periwinkle {
  --accent: #2F5BFF;
  --accent-bright: #5B7CFF;
  --accent-glow: #9BB0FF;
  --accent-soft: #D6DEFF;
  --accent-wash: #EEF1FF;
}

.theme-indigo {
  --accent: #1E1B4B;
  --accent-bright: #A99BFF;
  --accent-glow: #C4B8FF;
  --accent-soft: #D4CCF2;
  --accent-wash: #EDEAF5;
}

/* Sage */
.theme-sage {
  --accent: #5F7A68;
  --accent-bright: #8FA496;
  --accent-glow: #B7C9BC;
  --accent-soft: #DDE7DF;
  --accent-wash: #F3F7F4;
}

/* Teal */
.theme-teal {
  --accent: #1B7F79;
  --accent-bright: #4DA9A3;
  --accent-glow: #82C7C2;
  --accent-soft: #CDECE9;
  --accent-wash: #EDF8F7;
}

/* Forest */
.theme-forest {
  --accent: #2E5D4E;
  --accent-bright: #5B8B79;
  --accent-glow: #88B39F;
  --accent-soft: #D7E6DF;
  --accent-wash: #F1F7F4;
}

/* Dusty Cyan */
.theme-cyan {
  --accent: #3E7C92;
  --accent-bright: #72A8BD;
  --accent-glow: #9FC9D8;
  --accent-soft: #D9EBF2;
  --accent-wash: #F3FAFC;
}

/* Burgundy */
.theme-burgundy {
  --accent: #6A314C;
  --accent-bright: #A15D79;
  --accent-glow: #C38AA1;
  --accent-soft: #EBD8E0;
  --accent-wash: #F8F2F4;
}

/* Voltage — Supahub-style action violet */
.theme-voltage {
  --accent: #862FE7;
  --accent-bright: #A855F7;
  --accent-glow: #C4B5FD;
  --accent-soft: #E9D5FF;
  --accent-wash: #F5F0FF;
}

/* Coral — Pendo-style pank rose */
.theme-coral {
  --accent: #E11D5A;
  --accent-bright: #FF4876;
  --accent-glow: #FF8AAD;
  --accent-soft: #FFD0DC;
  --accent-wash: #FFF0F4;
}

/* Amber — warm SaaS pulse */
.theme-amber {
  --accent: #C2410C;
  --accent-bright: #EA580C;
  --accent-glow: #FDBA74;
  --accent-soft: #FED7AA;
  --accent-wash: #FFF7ED;
}

/* Sky — modern product primary */
.theme-sky {
  --accent: #0284C7;
  --accent-bright: #0EA5E9;
  --accent-glow: #7DD3FC;
  --accent-soft: #BAE6FD;
  --accent-wash: #F0F9FF;
}

/* Signal — electric mint / success green for CTAs */
.theme-signal {
  --accent: #059669;
  --accent-bright: #10B981;
  --accent-glow: #6EE7B7;
  --accent-soft: #A7F3D0;
  --accent-wash: #ECFDF5;
}

/* Magenta — hot accent, consumer-SaaS energy */
.theme-magenta {
  --accent: #C026D3;
  --accent-bright: #E879F9;
  --accent-glow: #F0ABFC;
  --accent-soft: #F5D0FE;
  --accent-wash: #FDF4FF;
}

/* —— Green register (documented 2025–26 / design-system greens) —— */

/* Emerald — Tailwind emerald-700 #047857 (CTA / success depth) */
.theme-emerald {
  --accent: #047857;
  --accent-bright: #10B981;
  --accent-glow: #6EE7B7;
  --accent-soft: #A7F3D0;
  --accent-wash: #ECFDF5;
}

/* Lime — Tailwind lime-600 #65A30D (high-energy product accent) */
.theme-lime {
  --accent: #65A30D;
  --accent-bright: #84CC16;
  --accent-glow: #BEF264;
  --accent-soft: #ECFCCB;
  --accent-wash: #F7FEE7;
}

/* Moss — ColorArchive 2026 Digital Sage (Leaf Shadow → Moss Tone) */
.theme-moss {
  --accent: #3F543B;
  --accent-bright: #8DBC76;
  --accent-glow: #A9BC9F;
  --accent-soft: #C4C8BC;
  --accent-wash: #E5E8E3;
}

/* Leaf — LandingPageFlow 2026 leaf green #3D9970 */
.theme-leaf {
  --accent: #3D9970;
  --accent-bright: #5CB88A;
  --accent-glow: #8FD4B0;
  --accent-soft: #CDEBD9;
  --accent-wash: #EEF8F2;
}

/* Pine — Tailwind green-800 #166534 */
.theme-pine {
  --accent: #166534;
  --accent-bright: #16A34A;
  --accent-glow: #4ADE80;
  --accent-soft: #BBF7D0;
  --accent-wash: #F0FDF4;
}

/* Earth — Tentackles 2026 “Radioactive Earth” forest #1F4D3A */
.theme-earth {
  --accent: #1F4D3A;
  --accent-bright: #2E7A5A;
  --accent-glow: #5BA884;
  --accent-soft: #B8D9C8;
  --accent-wash: #E8F2EC;
}

/* Verdant — Biznamelab 2026 eco-tech forest #1F5E3D / leaf #6CB35C */
.theme-verdant {
  --accent: #1F5E3D;
  --accent-bright: #6CB35C;
  --accent-glow: #98D08A;
  --accent-soft: #D4EBCB;
  --accent-wash: #F0F5F2;
}

/* Jade — Tailwind teal-700 #0F766E (jade/green-teal for product UI) */
.theme-jade {
  --accent: #0F766E;
  --accent-bright: #14B8A6;
  --accent-glow: #5EEAD4;
  --accent-soft: #99F6E4;
  --accent-wash: #F0FDFA;
}

/* Greenery — Pantone 15-0343 Greenery #88B04B */
.theme-greenery {
  --accent: #88B04B;
  --accent-bright: #A3C96A;
  --accent-glow: #C5DEA0;
  --accent-soft: #E4F0CC;
  --accent-wash: #F4F9EB;
}

/* Fern — classic fern green #4F7942 (botanical landing accent) */
.theme-fern {
  --accent: #4F7942;
  --accent-bright: #6B9B5A;
  --accent-glow: #9ABC8C;
  --accent-soft: #D0E0CA;
  --accent-wash: #F0F5ED;
}

/* —— Wine / burgundy register (Theme&Color · ColorUX Lab documented) —— */

/* Merlot — canonical burgundy #800020 (Theme&Color / Canva / ColorUX) */
.theme-merlot {
  --accent: #800020;
  --accent-bright: #A0525C;
  --accent-glow: #C9848A;
  --accent-soft: #E8B4B8;
  --accent-wash: #F8E8EA;
}

/* Wine — Theme&Color wine companion #722F37 */
.theme-wine {
  --accent: #722F37;
  --accent-bright: #9A4A52;
  --accent-glow: #C9848A;
  --accent-soft: #E8B4B8;
  --accent-wash: #F8E8EA;
}

/* Oxblood — Theme&Color oxblood #4A0E0E */
.theme-oxblood {
  --accent: #4A0E0E;
  --accent-bright: #7A2A2A;
  --accent-glow: #A0525C;
  --accent-soft: #E8B4B8;
  --accent-wash: #F8E8EA;
}

/* Garnet — ColorUX Rose Burgundy #9B1C31 */
.theme-garnet {
  --accent: #9B1C31;
  --accent-bright: #C23A4E;
  --accent-glow: #E08A96;
  --accent-soft: #F0C8CE;
  --accent-wash: #FBF0F2;
}

/* Port — ColorUX Deep Burgundy #6B1626 */
.theme-port {
  --accent: #6B1626;
  --accent-bright: #92283C;
  --accent-glow: #C9848A;
  --accent-soft: #E8B4B8;
  --accent-wash: #F8E8EA;
}

/* Cabernet — Theme&Color deep wine #5C1A1A */
.theme-cabernet {
  --accent: #5C1A1A;
  --accent-bright: #8A3434;
  --accent-glow: #B86A6A;
  --accent-soft: #E8C4C4;
  --accent-wash: #F7EDED;
}

/* Bordeaux — Theme&Color dark burgundy #3D0814 */
.theme-bordeaux {
  --accent: #3D0814;
  --accent-bright: #722F37;
  --accent-glow: #A0525C;
  --accent-soft: #E8B4B8;
  --accent-wash: #F8E8EA;
}

/* Berry — Theme&Color muted berry #A0525C */
.theme-berry {
  --accent: #A0525C;
  --accent-bright: #C9848A;
  --accent-glow: #E8B4B8;
  --accent-soft: #F3D6D9;
  --accent-wash: #FBF2F3;
}

/* Maroon — canonical maroon #800000 (distinct brown-red vs burgundy) */
.theme-maroon {
  --accent: #800000;
  --accent-bright: #A33A3A;
  --accent-glow: #C98484;
  --accent-soft: #E8B8B8;
  --accent-wash: #F8EAEA;
}

/* Velvet — Theme&Color near-black wine #2A0610 (evening / luxury band) */
.theme-velvet {
  --accent: #2A0610;
  --accent-bright: #5C1A1A;
  --accent-glow: #A0525C;
  --accent-soft: #E8B4B8;
  --accent-wash: #F8E8EA;
}

/* —— Rust / latte register (Icons8 · ColorUX · PhotoTones · Pantone Mocha Mousse 2025/26) —— */

/* Oxide — canonical rust #B7410E (Icons8 / Figma / ColorUX Lab) */
.theme-oxide {
  --accent: #B7410E;
  --accent-bright: #D2691E;
  --accent-glow: #E8A06A;
  --accent-soft: #F0D0B8;
  --accent-wash: #F9EFE8;
}

/* Copper — ColorUX rust range #C75B39 */
.theme-copper {
  --accent: #C75B39;
  --accent-bright: #E07858;
  --accent-glow: #ECA890;
  --accent-soft: #F5D4C8;
  --accent-wash: #FBF0EC;
}

/* Cinnamon — ColorUX / CSS chocolate #D2691E */
.theme-cinnamon {
  --accent: #D2691E;
  --accent-bright: #E08940;
  --accent-glow: #F0B878;
  --accent-soft: #F5DCC0;
  --accent-wash: #FBF3EA;
}

/* Iron — ColorUX deep rust brown #854321 */
.theme-iron {
  --accent: #854321;
  --accent-bright: #A85C35;
  --accent-glow: #C88860;
  --accent-soft: #E8CDB8;
  --accent-wash: #F6EEE7;
}

/* Forge — ArtyClick rust orange #C45508 */
.theme-forge {
  --accent: #C45508;
  --accent-bright: #E07020;
  --accent-glow: #F0A060;
  --accent-soft: #F5D4B8;
  --accent-wash: #FBF1E8;
}

/* Cotta — ColorUX / Theme&Color terracotta #E2725B */
.theme-cotta {
  --accent: #E2725B;
  --accent-bright: #EC9480;
  --accent-glow: #F4B8AA;
  --accent-soft: #F8DCD4;
  --accent-wash: #FCF3F0;
}

/* Latte — PhotoTones coffee: roast #8B5A2B → latte #E0C097 → foam #F5EDD6 */
.theme-latte {
  --accent: #8B5A2B;
  --accent-bright: #C08552;
  --accent-glow: #E0C097;
  --accent-soft: #F5EDD6;
  --accent-wash: #FAF6EC;
}

/* Espresso — PhotoTones espresso #5A3A22 */
.theme-espresso {
  --accent: #5A3A22;
  --accent-bright: #8B5A2B;
  --accent-glow: #C08552;
  --accent-soft: #E0C097;
  --accent-wash: #F5EDD6;
}

/* Mousse — ColorUI / Pantone Mocha Mousse 2025–26 #A47864 */
.theme-mousse {
  --accent: #A47864;
  --accent-bright: #C8A48A;
  --accent-glow: #E3CDB6;
  --accent-soft: #F5E6D3;
  --accent-wash: #FAF4EC;
}

/* Bean — PhotoTones dark bean #2E1A0F */
.theme-bean {
  --accent: #2E1A0F;
  --accent-bright: #5A3A22;
  --accent-glow: #8B5A2B;
  --accent-soft: #E0C097;
  --accent-wash: #F5EDD6;
}

/* —— Purple register (Theme&Color Purple Dream · SaaS Violet Growth · media.io) —— */

/* Violet — Purple Dream / Tailwind violet-600 #7C3AED */
.theme-violet {
  --accent: #7C3AED;
  --accent-bright: #8B5CF6;
  --accent-glow: #A78BFA;
  --accent-soft: #C4B5FD;
  --accent-wash: #EDE9FE;
}

/* Purple — Purple Dream secondary #8B5CF6 (Tailwind violet-500) */
.theme-purple {
  --accent: #8B5CF6;
  --accent-bright: #A78BFA;
  --accent-glow: #C4B5FD;
  --accent-soft: #DDD6FE;
  --accent-wash: #F5F3FF;
}

/* Regal — GEC Designs SaaS Violet Growth primary #4C1D95 */
.theme-regal {
  --accent: #4C1D95;
  --accent-bright: #7C3AED;
  --accent-glow: #A78BFA;
  --accent-soft: #C4B5FD;
  --accent-wash: #FAF5FF;
}

/* Plum — media.io Plum and Pearl #6B2348 */
.theme-plum {
  --accent: #6B2348;
  --accent-bright: #8E3D6B;
  --accent-glow: #B86A90;
  --accent-soft: #D9C6D3;
  --accent-wash: #F8F6F7;
}

/* Amethyst — media.io Amethyst Dusk #6A3D8F */
.theme-amethyst {
  --accent: #6A3D8F;
  --accent-bright: #8E5FC9;
  --accent-glow: #A68BD6;
  --accent-soft: #D9D3F2;
  --accent-wash: #F2EFFA;
}

/* Lilac — media.io Lilac Mist mid #8A6AD6 */
.theme-lilac {
  --accent: #8A6AD6;
  --accent-bright: #A189E6;
  --accent-glow: #CDB6FF;
  --accent-soft: #E7DAFF;
  --accent-wash: #F8F4FF;
}

/* Eggplant — media.io Eggplant Noir #24102F */
.theme-eggplant {
  --accent: #24102F;
  --accent-bright: #4A1D5E;
  --accent-glow: #7A4A8C;
  --accent-soft: #BFA9C8;
  --accent-wash: #F3EEF5;
}

/* Mulberry — media.io Mulberry Forest #6A2E5B */
.theme-mulberry {
  --accent: #6A2E5B;
  --accent-bright: #8B4A6F;
  --accent-glow: #B88AAE;
  --accent-soft: #EAD7E6;
  --accent-wash: #F7F1F5;
}

/* Wisteria — media.io Spring Wisteria #7C5CC7 */
.theme-wisteria {
  --accent: #7C5CC7;
  --accent-bright: #A189E6;
  --accent-glow: #CDB6FF;
  --accent-soft: #E7DAFF;
  --accent-wash: #F8F4FF;
}

/* Nebula — media.io Tech Violet Gradient #4B2FA8 */
.theme-nebula {
  --accent: #4B2FA8;
  --accent-bright: #7D5CFF;
  --accent-glow: #A890FF;
  --accent-soft: #E2DAFF;
  --accent-wash: #F4F1FF;
}

/* —— Quiet / warm register (elegant, muted, brand-soft) —— */

/* Mocha — Pantone Mocha Mousse–adjacent, grounded brown */
.theme-mocha {
  --accent: #8F6A56;
  --accent-bright: #A8826E;
  --accent-glow: #C4A994;
  --accent-soft: #E4D5CB;
  --accent-wash: #F6F0EC;
}

/* Ochre — soft antique gold, not neon amber */
.theme-ochre {
  --accent: #A8874A;
  --accent-bright: #C0A06A;
  --accent-glow: #D6C29A;
  --accent-soft: #EBE1CF;
  --accent-wash: #F8F4EB;
}

/* Clay — copper-clay terracotta, sun-baked quiet */
.theme-clay {
  --accent: #A66B4E;
  --accent-bright: #C0866A;
  --accent-glow: #D4A990;
  --accent-soft: #EBD9CE;
  --accent-wash: #F7F0EB;
}

/* Blush — dusty stone rose, soft not candy */
.theme-blush {
  --accent: #9B6E76;
  --accent-bright: #B58A90;
  --accent-glow: #D0B0B6;
  --accent-soft: #EADDE0;
  --accent-wash: #F7F1F2;
}

/* Olive — warm khaki olive, heritage quiet */
.theme-olive {
  --accent: #6E6F52;
  --accent-bright: #8C8D6E;
  --accent-glow: #B0B198;
  --accent-soft: #DBDBCE;
  --accent-wash: #F3F3EE;
}

/* Haze — blue-smoke slate, calm professional */
.theme-haze {
  --accent: #5E6B78;
  --accent-bright: #7A8894;
  --accent-glow: #A3AEB8;
  --accent-soft: #D4DAE0;
  --accent-wash: #F0F3F5;
}

/* Mauve — heather mist, muted floral plum */
.theme-mauve {
  --accent: #7D6574;
  --accent-bright: #9A8492;
  --accent-glow: #BCAAB4;
  --accent-soft: #E0D5DB;
  --accent-wash: #F5F1F3;
}

/* Bronze — brushed metal warmth */
.theme-bronze {
  --accent: #8F6E52;
  --accent-bright: #A88A6C;
  --accent-glow: #C4AE94;
  --accent-soft: #E5D9CB;
  --accent-wash: #F6F1EB;
}

/* —— Warm register (2026 earth revival — emotional, material, not neon) —— */

/* Terra — BrandGene classic terracotta #C67B5C */
.theme-terra {
  --accent: #C67B5C;
  --accent-bright: #D49278;
  --accent-glow: #E4B49E;
  --accent-soft: #F0D9CC;
  --accent-wash: #F9F1EC;
}

/* Sienna — deep burnt sienna / deep terracotta #A0522D */
.theme-sienna {
  --accent: #A0522D;
  --accent-bright: #C06A42;
  --accent-glow: #D49274;
  --accent-soft: #E8C9B8;
  --accent-wash: #F6EDE7;
}

/* Caramel — SS26 smoked caramel quiet luxury #9E7B56 */
.theme-caramel {
  --accent: #9E7B56;
  --accent-bright: #B89572;
  --accent-glow: #D0B598;
  --accent-soft: #E8D9C8;
  --accent-wash: #F6F0E9;
}

/* Apricot — SS26 solar warmth, CTA-capable */
.theme-apricot {
  --accent: #C48968;
  --accent-bright: #D4A286;
  --accent-glow: #E4C0AA;
  --accent-soft: #F0DDD0;
  --accent-wash: #F9F2ED;
}

/* Saffron — 2026 native-earth spice, muted not neon */
.theme-saffron {
  --accent: #B8893E;
  --accent-bright: #CFA45C;
  --accent-glow: #E0C488;
  --accent-soft: #EEDDB8;
  --accent-wash: #F8F3E8;
}

/* Sand — golden sand from 2026 solar warmth sets */
.theme-sand {
  --accent: #B88860;
  --accent-bright: #CFA47E;
  --accent-glow: #E0C4A4;
  --accent-soft: #EEDDCC;
  --accent-wash: #F8F2EB;
}

/* Rust — mineral rust, honest earth pigment */
.theme-rust {
  --accent: #B85C3A;
  --accent-bright: #D07858;
  --accent-glow: #E0A088;
  --accent-soft: #F0D0C2;
  --accent-wash: #F9EEE9;
}

/* Rose — Pantone Tea Rose / dusty rose Spring 2026 */
.theme-rose {
  --accent: #A86B74;
  --accent-bright: #C08890;
  --accent-glow: #D4AEB4;
  --accent-soft: #EAD8DB;
  --accent-wash: #F7F0F1;
}

/* Adobe — ColorArchive warm-earth coral-muted #9F8A75 lineage */
.theme-adobe {
  --accent: #8B735C;
  --accent-bright: #A89078;
  --accent-glow: #C4B09A;
  --accent-soft: #E2D6C8;
  --accent-wash: #F4EFE9;
}

/* —— Cool register (B2B trust, calm authority, cool emotion) —— */

/* Navy — institutional trust, fintech/SaaS depth */
.theme-navy {
  --accent: #1B3A6B;
  --accent-bright: #3A5F9A;
  --accent-glow: #7A96C4;
  --accent-soft: #C5D2E6;
  --accent-wash: #EBF0F7;
}

/* Cobalt — tech-brand cobalt from enterprise navy systems */
.theme-cobalt {
  --accent: #174197;
  --accent-bright: #3B63B8;
  --accent-glow: #7A97D4;
  --accent-soft: #C5D2EC;
  --accent-wash: #EBF0F8;
}

/* Steel — Stripe-adjacent steel, calm structure */
.theme-steel {
  --accent: #50617A;
  --accent-bright: #6B7D96;
  --accent-glow: #9AABC0;
  --accent-soft: #D0D8E2;
  --accent-wash: #EFF2F6;
}

/* Twilight — 2026 “Digital Twilight” AI indigo */
.theme-twilight {
  --accent: #2C2A72;
  --accent-bright: #5A56A8;
  --accent-glow: #8C7AE6;
  --accent-soft: #D0CBF0;
  --accent-wash: #F0EEFA;
}

/* Iris — Stripe-style trust indigo, modern not neon */
.theme-iris {
  --accent: #5350E0;
  --accent-bright: #6F6BFF;
  --accent-glow: #A8A4FF;
  --accent-soft: #D8D6FF;
  --accent-wash: #F0EFFE;
}

/* Ice — arctic powder blue, serene product calm */
.theme-ice {
  --accent: #4A7F98;
  --accent-bright: #6B9BB2;
  --accent-glow: #9BC0D0;
  --accent-soft: #D2E4EC;
  --accent-wash: #EFF6F9;
}

/* Delft — porcelain cool blue, crafted restraint */
.theme-delft {
  --accent: #3F5F8A;
  --accent-bright: #5F7FA8;
  --accent-glow: #8FA8C8;
  --accent-soft: #CDD8E8;
  --accent-wash: #EEF2F7;
}

/* Glacier — cool blue-teal, analytics clarity */
.theme-glacier {
  --accent: #3A6F80;
  --accent-bright: #5A8FA0;
  --accent-glow: #8BB4C0;
  --accent-soft: #C9DEE4;
  --accent-wash: #ECF4F6;
}

:root {
  color-scheme: light;

  /* Bone neutrals — near-neutral with a trace of warmth, no beige cast */
  --paper: #F4F2ED;
  --band: #EAE7E0;
  --card: #FFFFFF;
  --ink: #111111;
  --ink-2: #3D3D42;
  --muted: #6B6B70;
  --mist: #F7F6F2;

  /* Cobalt — default active colour */
  --accent: #174197;
  --accent-bright: #3B63B8;
  --accent-glow: #7A97D4;
  --accent-soft: #C5D2EC;
  --accent-wash: #EBF0F8;

  --line: rgba(17, 17, 17, 0.09);
  --line-2: rgba(17, 17, 17, 0.16);
  /* opaque twin of --line, for 1px grid gaps that must not stack alpha */
  --rule: #E6E4DE;
  --rule-ink: #232327;

  /* Shadows are a last resort — hairlines do the separating */
  --shadow-tint: 17, 17, 20;
  --shadow-soft: 0 1px 2px rgba(var(--shadow-tint), 0.04);
  --shadow-lift: 0 1px 2px rgba(var(--shadow-tint), 0.04), 0 10px 24px rgba(var(--shadow-tint), 0.06);
  --shadow-deep: 0 2px 4px rgba(var(--shadow-tint), 0.04), 0 28px 64px rgba(var(--shadow-tint), 0.10);

  --r-lg: 16px;
  --r-md: 12px;
  --r-ctl: 10px;
  --r-sm: 6px;
  --r-pill: 999px;

  /* Dark chapters — flat graphite, no brown in it */
  --ink-deep: #0E0E10;
  --ink-panel: #16161A;
  --on-ink: #F5F5F4;
  --on-ink-2: rgba(245, 245, 244, 0.64);
  --on-ink-3: rgba(245, 245, 244, 0.42);
  --line-ink: rgba(245, 245, 244, 0.11);
  --line-ink-2: rgba(245, 245, 244, 0.18);

  --shell: 1280px;
  --shell-wide: 1400px;
  --gutter: clamp(20px, 4vw, 56px);
  --entry-rail: 21rem;
  --entry-rail-gap: 2.5rem;
  --entry-layout: calc(var(--shell) + var(--entry-rail-gap) + var(--entry-rail) + (2 * var(--gutter)));
  --gap-xl: clamp(74px, 6.8vw, 108px);
  --gap-lg: clamp(58px, 5.4vw, 82px);
  /* nav padding-top + bar height + padding-bottom */
  --nav-offset: 98px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* eCommerce marketing page — green accent without a second stylesheet */
/* Marketing / eCommerce shell — Signal accent */
.theme-marketing {
  --accent: #059669;
  --accent-bright: #10B981;
  --accent-glow: #6EE7B7;
  --accent-soft: #A7F3D0;
  --accent-wash: #ECFDF5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-offset) + 22px);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.58;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.0;
  color: var(--ink);
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--wide {
  max-width: var(--shell-wide);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------------------
   Shared type
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1px solid var(--line-2);
  box-shadow: none;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.eyebrow__mark {
  display: grid;
  place-items: center;
  height: 22px;
  padding-inline: 9px;
  border-radius: 4px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.h-xl {
  font-size: clamp(2.8rem, 6.2vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 0.98;
}

.h-lg {
  font-size: clamp(2.15rem, 4.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.0;
}

.h-md {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.lede {
  margin-top: 22px;
  max-width: 52ch;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.55;
  color: var(--muted);
}

.accent {
  color: var(--accent);
}

.sec-head,
.showcase__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: clamp(20px, 3.4vw, 64px);
  width: 100%;
  max-width: 100%;
}

.sec-head {
  padding-bottom: clamp(24px, 2.8vw, 36px);
}

.sec-head .h-lg,
.showcase__head h2 {
  max-width: 18ch;
  margin: 0;
}

.sec-head--wide {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.sec-head--wide .h-lg,
.sec-head--wide .h-md {
  max-width: 22ch;
  margin: 0;
}

.sec-head .lede,
.showcase__head p {
  max-width: 38ch;
  margin: 0;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.5;
  color: var(--muted);
  text-align: left;
}

.sec-head--wide .lede {
  max-width: 52ch;
}

/* Flat heads (label / headline / lede as siblings) — the home page pattern.
   Pages that still wrap in .sec-head__lead keep the grid spacing above. */
.sec-head--wide>.sec-label {
  margin-bottom: 0;
}

.sec-head--wide>.h-lg {
  max-width: 24ch;
}

.sec-head--wide>.lede {
  margin-top: 8px;
  max-width: 56ch;
}

/* Small chapter label that ties the sections into one narrative */
.sec-label {
  display: block;
  margin: 0 0 18px;
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.sec-head--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-bottom: 0;
  padding-bottom: 0;
}

.sec-head--center .sec-label {
  margin-bottom: 0;
}

.sec-head--center .h-lg,
.sec-head--center .lede {
  max-width: 36ch;
  margin: 0;
  text-align: center;
}

.sec-head--center .roster__line {
  max-width: 18em;
  margin: 0;
  text-align: center;
}

.sec-head--center .lede {
  max-width: 42ch;
  margin-top: 2px;
}

@media (max-width: 860px) {

  .sec-head,
  .showcase__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .sec-head .h-lg,
  .showcase__head h2 {
    max-width: none;
  }

  .sec-head .lede,
  .showcase__head p {
    max-width: none;
    margin-left: 0;
    text-align: left;
  }
}

.kicker {
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 13px 26px;
  border-radius: var(--r-ctl);
  border: 1px solid transparent;
  font-family: "Outfit", sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.btn--primary {
  background: var(--ink);
  color: #FFFFFF;
}

.btn--primary:hover {
  background: var(--accent);
}

.btn--primary:active {
  background: color-mix(in srgb, var(--accent) 84%, #000);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(17, 17, 17, 0.03);
}

.btn--ghost:active {
  background: rgba(17, 17, 17, 0.06);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  color: var(--accent);
}

.link-arrow svg {
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 20px;
  padding-bottom: 10px;
  background: transparent;
  overflow: visible;
}

.nav__inner {
  --nav-fg: #111111;
  --nav-fg-mute: #56565C;
  --nav-cta-bg: #111111;
  --nav-cta-fg: #FFFFFF;
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 68px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background-color: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(11, 18, 32, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(11, 18, 32, 0.04),
    0 4px 24px rgba(var(--shadow-tint), 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  overflow: visible;
  transition:
    background-color 0.32s var(--ease),
    border-color 0.32s var(--ease),
    box-shadow 0.32s var(--ease);
}

/* Over the dark hero: black frosted pill */
.nav[data-on-hero="true"] .nav__inner {
  --nav-fg: #F5F5F4;
  --nav-fg-mute: rgba(245, 245, 244, 0.62);
  --nav-cta-bg: #F5F5F4;
  --nav-cta-fg: #0E0E10;
  background-color: rgba(10, 10, 12, 0.66);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 28px rgba(0, 0, 0, 0.35);
}

@media (min-width: 961px) {
  .nav>.shell:hover .nav__inner,
  .nav:has(#mega[data-open="true"]) .nav__inner {
    background-color: var(--mist);
  }

  .nav[data-on-hero="true"]>.shell:hover .nav__inner,
  .nav[data-on-hero="true"]:has(#mega[data-open="true"]) .nav__inner {
    background-color: var(--mega-bg, #14141a);
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav__inner {
    background-color: rgba(255, 255, 255, 0.94);
  }

  .nav[data-on-hero="true"] .nav__inner {
    background-color: rgba(12, 11, 10, 0.94);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav__inner {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav[data-on-hero="true"] .nav__inner {
    background-color: #0c0b0a;
  }
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.nav__logo img {
  height: 22px;
  width: auto;
  filter: brightness(0);
}

.nav[data-on-hero="true"] .nav__logo img {
  filter: brightness(0) invert(1);
}

.nav__links {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 24px);
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
  transform: none;
}

.nav__links > li {
  pointer-events: auto;
}

.nav__links>li>a,
.nav__drop-trigger {
  position: relative;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: inherit;
  color: var(--nav-fg-mute);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.nav__drop-trigger::before {
  content: "";
  position: absolute;
  inset: -10px -6px;
}

.nav__links>li>a:hover,
.nav__drop-trigger:hover,
.nav__item--dropdown[data-open="true"] .nav__drop-trigger {
  color: var(--nav-fg);
}

.nav__item--dropdown {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 50;
  min-width: 180px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(11, 18, 32, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 28px rgba(var(--shadow-tint), 0.12);
  transform: translateX(-50%);
}

.nav__dropdown[hidden] {
  display: none;
}

.nav__dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2, #3d3429);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__dropdown a:hover {
  background: rgba(11, 18, 32, 0.06);
  color: var(--ink, #191510);
}

.nav[data-on-hero="true"] .nav__dropdown {
  background: rgba(18, 16, 14, 0.96);
  border-color: rgba(240, 235, 227, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.nav[data-on-hero="true"] .nav__dropdown a {
  color: rgba(240, 235, 227, 0.82);
}

.nav[data-on-hero="true"] .nav__dropdown a:hover {
  background: rgba(240, 235, 227, 0.08);
  color: #f5efe2;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.nav__login {
  padding: 11px 16px;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--nav-fg-mute);
  transition: color 0.2s var(--ease);
}

.nav__login:hover {
  color: var(--nav-fg);
}

/* The bar is a pill, so its control stays one too */
.nav__actions .btn--primary {
  border-radius: var(--r-pill);
  background-color: var(--nav-cta-bg);
  color: var(--nav-cta-fg);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__actions .btn--primary:hover {
  background-color: var(--accent);
  color: #FFFFFF;
}

@property --nav-trace-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.nav__start {
  position: relative;
  isolation: isolate;
  overflow: visible;
  --nav-trace-lead: var(--accent-bright);
  --nav-trace-glow: color-mix(in srgb, var(--accent-glow) 38%, transparent);
  --nav-trace-peak: 0.9;
}

.nav[data-on-hero="true"] .nav__start {
  --nav-trace-lead: var(--accent-glow);
  --nav-trace-glow: color-mix(in srgb, var(--accent-bright) 62%, transparent);
  --nav-trace-peak: 0.88;
}

.nav__start::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: 2;
  padding: 3px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(
    from var(--nav-trace-angle),
    transparent 0 48%,
    var(--nav-trace-glow) 56%,
    var(--nav-trace-glow) 68%,
    var(--nav-trace-lead) 76%,
    var(--nav-trace-lead) 84%,
    var(--nav-trace-glow) 92%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.nav__start.is-attention::after {
  animation: nav-cta-trace 1.9s cubic-bezier(0.22, 0.72, 0.24, 1) both;
}

@keyframes nav-cta-trace {
  0% {
    --nav-trace-angle: 0deg;
    opacity: 0;
  }
  14% {
    opacity: var(--nav-trace-peak);
  }
  84% {
    opacity: var(--nav-trace-peak);
  }
  100% {
    --nav-trace-angle: 430deg;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__start.is-attention::after {
    animation: none;
  }
}

.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  place-items: center;
  flex-shrink: 0;
  overflow: visible;
}

.nav__burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 16px;
  height: 1.7px;
  margin: 0;
  background: var(--nav-fg);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav__burger span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.nav__burger span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav__burger span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

.nav[data-open="true"] .nav__burger span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav[data-open="true"] .nav__burger span:nth-child(2) {
  opacity: 0;
}

.nav[data-open="true"] .nav__burger span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav__drawer {
  display: none;
}

/* --------------------------------------------------------------------------
   Mega menu — one surface that morphs between Product · Solutions · Resources.
   Sizes and offsets come from initMega; every state change is a size or a
   position change on the same object, so nothing ever pops in.
   -------------------------------------------------------------------------- */

.nav>.shell {
  position: relative;
}

.nav__mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__mega-trigger::after {
  content: none;
}

.nav__caret {
  flex-shrink: 0;
  width: 7px;
  height: 5px;
  opacity: 0.42;
  translate: 0 0.5px;
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__mega-trigger:hover .nav__caret {
  opacity: 0.8;
}

.nav__mega-trigger[data-mega-active="true"] {
  color: var(--nav-fg);
}

.nav__mega-trigger[data-mega-active="true"] .nav__caret {
  opacity: 1;
  color: var(--accent);
  transform: rotate(180deg);
}

@property --mega-w {
  syntax: "<length>";
  inherits: true;
  initial-value: 860px;
}

@property --mega-h {
  syntax: "<length>";
  inherits: true;
  initial-value: 300px;
}

@property --mega-x {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

@property --mega-y {
  syntax: "<length>";
  inherits: true;
  initial-value: -8px;
}

/* Centered panel, flush to the pill. Square top. Tall elliptical scoops
   at the top-left and top-right, same width as before, more height. */
.mega {
  --mega-r: 24px;
  --mega-scoop-w: 32px;
  --mega-scoop-h: 52px;
  --mega-bg: var(--mist);
  --mega-line: rgba(17, 17, 17, 0.12);
  position: absolute;
  top: calc(100% - 2px);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 1;
  pointer-events: none;
}

.mega__surface {
  --mega-w: 860px;
  --mega-h: 300px;
  --mega-x: 0px;
  --mega-y: -8px;
  position: absolute;
  top: 0;
  left: 0;
  width: var(--mega-w);
  height: var(--mega-h);
  border-radius: 0 0 var(--mega-r) var(--mega-r);
  background-color: var(--mega-bg);
  border: 0;
  box-shadow:
    0 1px 2px rgba(var(--shadow-tint), 0.04),
    0 18px 40px rgba(var(--shadow-tint), 0.10);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(var(--mega-x), var(--mega-y), 0);
  transition:
    --mega-y 0.22s var(--ease),
    opacity 0.16s var(--ease),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    visibility 0s linear 0.2s;
}

.mega[data-open="true"] .mega__surface {
  --mega-y: 0px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    --mega-w 0.32s var(--ease),
    --mega-h 0.32s var(--ease),
    --mega-x 0.32s var(--ease),
    --mega-y 0.22s var(--ease),
    opacity 0.16s var(--ease),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.mega__surface.is-snap {
  transition: none !important;
}

/* Side and foot outline start below the scoops so the curve is not doubled */
.mega__surface::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--mega-line);
  border-top: 0;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent var(--mega-scoop-h), #000 var(--mega-scoop-h));
  mask-image: linear-gradient(to bottom, transparent var(--mega-scoop-h), #000 var(--mega-scoop-h));
  transition: border-color 0.3s var(--ease);
}

/* Pointer path from the pill into the panel */
.mega__surface::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -28px;
  height: 28px;
}

.mega__scoop {
  position: absolute;
  top: 0;
  width: var(--mega-scoop-w);
  height: var(--mega-scoop-h);
  color: var(--mega-bg);
  pointer-events: none;
}

.mega__scoop svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  fill: currentColor;
}

.mega__scoop-line {
  fill: none;
  stroke: var(--mega-line);
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.mega__scoop--left {
  left: calc(-1 * var(--mega-scoop-w) + 2px);
}

.mega__scoop--right {
  right: calc(-1 * var(--mega-scoop-w) + 2px);
}

.mega__clip {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.mega__panel {
  --panel-w: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s var(--ease),
    visibility 0s linear 0.22s;
}

.mega__panel.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s var(--ease);
}

.mega__panel[data-panel="product"] {
  --panel-w: 860px;
}

.mega__panel[data-panel="solutions"] {
  --panel-w: 880px;
}

.mega__panel[data-panel="resources"] {
  --panel-w: 640px;
}

.mega__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  padding: 22px 24px 16px;
  align-items: stretch;
}

.mega__panel[data-panel="product"] .mega__body,
.mega__panel[data-panel="solutions"] .mega__body {
  grid-template-columns: minmax(0, 1fr) 240px;
}

.mega__panel[data-panel="resources"] .mega__body {
  grid-template-columns: minmax(0, 1fr) 220px;
}

.mega__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 32px;
  align-content: start;
}

.mega__cols--one {
  grid-template-columns: minmax(0, 1fr);
}

.mega__label {
  margin: 2px 0 10px;
  padding-left: 10px;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.mega__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  transition: background-color 0.2s var(--ease);
}

.mega__item:hover,
.mega__item:focus-visible {
  background-color: rgba(17, 17, 17, 0.05);
}

.mega__glyph {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}

.mega__glyph svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.mega__item:hover .mega__glyph,
.mega__item:focus-visible .mega__glyph {
  color: var(--ink);
}

.mega__title {
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.mega__feat {
  display: block;
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #EEECE7;
  border: 1px solid var(--line);
}

.mega__feat img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 12px 20px 14px;
  background-color: #64717e;
  border-top: 0;
}

.mega__foot-say {
  margin: 0;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}

.mega__foot-act {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.mega__foot-link {
  padding: 7px 10px;
  border-radius: var(--r-sm);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.mega__foot-link:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.mega__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--r-ctl);
  background-color: #ffffff;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.mega__go:hover {
  background-color: #f4f4f2;
  color: var(--ink);
}

.mega__go svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.8;
  transition: transform 0.3s var(--ease);
}

.mega__go:hover svg {
  transform: translateX(3px);
}

/* Over a dark chapter the panel follows the pill */
.nav[data-on-hero="true"] .mega {
  --mega-bg: #14141a;
  --mega-line: var(--line-ink);
}

.nav[data-on-hero="true"] .mega__surface {
  background-color: var(--mega-bg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.nav[data-on-hero="true"] .mega__label {
  color: var(--on-ink-3);
}

.nav[data-on-hero="true"] .mega__title {
  color: var(--on-ink);
}

.nav[data-on-hero="true"] .mega__item:hover,
.nav[data-on-hero="true"] .mega__item:focus-visible {
  background-color: rgba(245, 245, 244, 0.06);
}

.nav[data-on-hero="true"] .mega__glyph {
  color: var(--on-ink-2);
}

.nav[data-on-hero="true"] .mega__item:hover .mega__glyph,
.nav[data-on-hero="true"] .mega__item:focus-visible .mega__glyph {
  color: var(--on-ink);
}

.nav[data-on-hero="true"] .mega__feat {
  background-color: rgba(245, 245, 244, 0.05);
  border-color: var(--line-ink);
}

@media (max-width: 960px) {
  .mega {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .mega__surface,
  .mega__panel,
  .nav__caret,
  .nav__inner {
    transition-duration: 0.01s;
    transition-delay: 0s;
    animation-duration: 0.01s;
  }
}

/* --------------------------------------------------------------------------
   Hero: dark first slide with backdrop image
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 0;
  margin-top: calc(-1 * var(--nav-offset));
  padding-top: calc(var(--nav-offset) + var(--hero-band));
  padding-bottom: 0;
  /* Flat graphite stage. Accent smoke supplies the only painted light. */
  background: #08080A;
  color: rgba(245, 245, 244, 0.9);
  --hero-band: clamp(72px, 9vh, 112px);
}

.hero>.shell {
  position: relative;
  z-index: 1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-backdrop-img,
.hero-backdrop-video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 1400px);
  height: auto;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-backdrop-img {
  opacity: 0.14;
  filter: saturate(0.2) brightness(0.5) contrast(1.08);
}

.hero-backdrop-video {
  opacity: 0.1;
  z-index: 0;
  /* Kill baked chroma; keep luminance for the tint layer */
  filter: grayscale(1) contrast(1.18) brightness(0.6);
}

/* Accent smoke — original colour tint, above the scrim so it can actually read */
.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: -10% -8% -4%;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 52% at 50% 72%,
      var(--accent) 0%,
      color-mix(in srgb, var(--accent) 78%, var(--accent-bright)) 38%,
      color-mix(in srgb, var(--accent) 42%, transparent) 58%,
      transparent 78%);
  mix-blend-mode: color;
  opacity: 0.2;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-backdrop::before {
    animation:
      hero-smoke-ignite 2.4s ease-out forwards,
      hero-smoke-drift 48s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-backdrop::before {
    opacity: 0.6;
  }
}

@keyframes hero-smoke-ignite {
  from { opacity: 0.2; }
  to { opacity: 0.6; }
}

@keyframes hero-smoke-drift {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  35% { transform: translate3d(2.4%, -1.8%, 0); }
  68% { transform: translate3d(-2%, 1.2%, 0); }
}

/* Same fold · grain material as Page hero — sits over the loop, under the scrim */
.hero-backdrop .fold {
  z-index: 2;
  opacity: 0.26;
  background-position: 72% 58%;
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 72% 68%, #000 8%, transparent 74%);
  mask-image: radial-gradient(ellipse 88% 82% at 72% 68%, #000 8%, transparent 74%);
}

.hero-backdrop .grain {
  z-index: 3;
  opacity: 0.3;
  mix-blend-mode: soft-light;
}

/* Headline sits on clean graphite; the stage dissolves into the strip below */
.hero-backdrop-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(180deg,
      rgba(8, 8, 10, 0.82) 0%,
      rgba(8, 8, 10, 0.52) 34%,
      rgba(8, 8, 10, 0.3) 62%,
      rgba(8, 8, 10, 0.86) 100%);
}

/* Soft foot veil — depth lives on the stage, under the paper lip */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(110px, 16vh, 200px);
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 52% 95% at 50% 100%,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.22) 40%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.32) 100%
    );
}

/* Paper lip over the stage — clean surface on top; shadow stays on the hero */
.hero + .sec,
.hero + .ledge-well {
  position: relative;
  z-index: 2;
  margin-top: clamp(-56px, -6.5vw, -40px);
  background: var(--paper);
  border-radius: 36px 36px 0 0 / 22px 22px 0 0;
  box-shadow: none;
}

.hero + .sec.sec--tight {
  padding-top: calc(var(--gap-lg) + clamp(40px, 5vw, 56px));
}

.hero + .ledge-well {
  background: var(--card);
}

.hero__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--hero-band);
  min-height: 0;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 60rem;
  padding-block: clamp(26px, 3.5vw, 48px);
  margin-inline: auto;
  text-align: center;
}

.hero .eyebrow {
  gap: 0;
  padding: 6px 14px;
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(245, 245, 244, 0.16);
  color: rgba(245, 245, 244, 0.62);
}

.hero h1 {
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.4rem, 5.4vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.0;
  width: 100%;
  max-width: 20ch;
  color: #F5F5F4;
  text-wrap: balance;
}

.hero__title-line {
  display: block;
}

.hero__verb {
  font-style: normal;
  color: var(--accent-glow);
}

@media (min-width: 900px) {
  .hero__title-line {
    white-space: nowrap;
  }

  .hero h1 {
    max-width: none;
  }
}

.hero__sub {
  margin-top: 22px;
  margin-inline: auto;
  max-width: 34rem;
  width: 100%;
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.55;
  color: rgba(245, 245, 244, 0.6);
  text-align: center;
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 28px;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: rgba(245, 245, 244, 0.42);
  text-align: center;
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  width: 100%;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
}

.hero__note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 0.55em;
  margin: 10px 0 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
}

.hero__trust-stars {
  flex: 0 0 auto;
  font-size: 1em;
  letter-spacing: 0.08em;
  line-height: 1;
  color: inherit;
  opacity: 0.85;
}

.hero__trust > span:not(.hero__trust-stars) {
  color: inherit;
  font: inherit;
  font-weight: 600;
}

.hero__eyebrow {
  margin-inline: auto;
  margin-bottom: 14px;
  width: fit-content;
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-2);
}

.flow__item {
  border-bottom: 1px solid var(--line-2);
}

.flow__btn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 20px 4px 20px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.2s var(--ease);
}

.flow__item:not(.is-active) .flow__btn {
  opacity: 0.55;
}

.flow__item.is-active .flow__btn {
  opacity: 1;
}

.flow__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}

.flow__item.is-active .flow__num {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

.flow__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

.flow__title {
  font-family: "Outfit", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.flow__hint {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.4;
}

.hero__cta[data-reveal],
.hero__cta[data-reveal].is-in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 round 14px);
  pointer-events: auto;
}

.hero__cta-rail {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(12, 12, 14, 0.6);
  border: 1px solid rgba(245, 245, 244, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.hero__cta-rail .btn {
  padding: 10px 20px;
  border-radius: var(--r-ctl);
  font-size: 0.88rem;
  box-shadow: none;
}

.hero__cta-rail .btn--primary {
  background: #F5F5F4;
  color: #0E0E10;
}

.hero__cta-rail .btn--primary:hover {
  background: var(--accent-bright);
  color: #FFFFFF;
}

.hero__cta-rail .btn--ghost {
  background: transparent;
  border-color: transparent;
  color: rgba(245, 245, 244, 0.6);
}

.hero__cta-rail .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: transparent;
  color: rgba(245, 245, 244, 0.95);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero__cta-rail {
    background: rgba(14, 14, 16, 0.92);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .hero__cta-rail {
    background: rgba(14, 14, 16, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.hero__visual {
  position: relative;
  /* Break out of shell gutters so the product shot reads as the hero plane,
     not a small inset card sitting in empty dark space. */
  width: min(1320px, calc(100% + (2 * var(--gutter))));
  max-width: 100vw;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: clamp(12px, 1.6vw, 20px);
  --hero-chrome: #16161A;
}

/* --- Split hero (index2): copy left, video as right-side bg ----------- */
.hero--split {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0a0908;
  min-height: 100svh;
  padding-top: var(--nav-offset);
  padding-bottom: 0;
  --hero-band: 0;
}

.hero--split>.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--nav-offset));
}

.hero--split .hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  width: 100%;
}

.hero--split .hero__copy {
  align-items: flex-start;
  text-align: left;
  max-width: 34rem;
  margin-inline: 0;
  padding-block: 0;
}

.hero--split .hero h1 {
  max-width: 14ch;
  text-align: left;
}

.hero--split .hero__title-line {
  white-space: normal;
}

.hero--split .hero__sub {
  margin-inline: 0;
  text-align: left;
  max-width: 28rem;
}

.hero--split .hero__cta {
  justify-content: flex-start;
}

/*
  Right-side atmosphere plane:
  - full hero height, flush to edges (no inset box)
  - soft dissolve on left AND right so the video frame never reads as a cutout
  - screen blend kills the video’s native black against the page
*/
.hero--split .hero__media {
  position: absolute;
  inset: 0 0 0 38%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #0a0908;
  -webkit-mask-image: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.45) 14%,
      #000 30%,
      #000 78%,
      rgba(0, 0, 0, 0.5) 92%,
      transparent 100%);
  mask-image: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.45) 14%,
      #000 30%,
      #000 78%,
      rgba(0, 0, 0, 0.5) 92%,
      transparent 100%);
}

.hero--split .hero__media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 52%;
  opacity: 0.72;
  filter: none;
  /* screen: video black disappears into page black; only the form remains */
  mix-blend-mode: screen;
  transform: scale(0.78) translateY(12px);
  transform-origin: center center;
}

.page-index2 {
  background: #0a0908;
}

@media (max-width: 900px) {
  .hero--split {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding-bottom: min(50vh, 400px);
  }

  .hero--split>.shell {
    min-height: 0;
    flex: 0 0 auto;
    align-items: flex-start;
    padding-block: clamp(24px, 4vh, 40px);
  }

  .hero--split .hero__split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--split .hero__copy {
    max-width: 100%;
    position: relative;
    z-index: 1;
  }

  .hero--split .hero h1 {
    max-width: 16ch;
  }

  .hero--split .hero__media {
    inset: auto 0 0 0;
    height: min(50vh, 400px);
    -webkit-mask-image: linear-gradient(180deg,
        transparent 0%,
        #000 20%,
        #000 80%,
        transparent 100%);
    mask-image: linear-gradient(180deg,
        transparent 0%,
        #000 20%,
        #000 80%,
        transparent 100%);
  }

  .hero--split .hero__media-video {
    object-position: center 55%;
    opacity: 0.4;
  }
}

/* Hero browser: quiet dark chrome.
   Inactive tabs stay as bare labels. Only the active tab gets the chip.
   Frame top is square so side borders never paint bright corner arcs. */
.hero .frame__tabs {
  gap: 2px;
  margin-bottom: -1px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.hero .showcase__tab {
  padding: 10px 8px 12px;
  font-size: 0.78rem;
  letter-spacing: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(245, 245, 244, 0.36);
}

.hero .showcase__tab:hover:not(.is-active) {
  color: rgba(245, 245, 244, 0.62);
}

.hero .showcase__tab.is-active {
  padding: 10px 12px 12px;
  border: 1px solid var(--line-ink);
  border-bottom-color: var(--hero-chrome);
  border-radius: 10px 10px 0 0;
  background: var(--hero-chrome);
  box-shadow: none;
  color: rgba(245, 245, 244, 0.86);
  font-weight: 500;
}

.hero .showcase__tab:first-child.is-active,
.hero .showcase__tab:last-child.is-active {
  border-radius: 10px 10px 0 0;
  box-shadow: none;
}

.hero .showcase:has(.showcase__tab:first-child.is-active) .frame,
.hero .showcase:has(.showcase__tab:last-child.is-active) .frame {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.hero .showcase__track {
  background: rgba(245, 245, 244, 0.1);
}

.hero .showcase__nav {
  border-color: var(--line-ink-2);
  color: rgba(245, 245, 244, 0.55);
}

.hero .showcase__nav:hover {
  color: rgba(245, 245, 244, 0.85);
  border-color: rgba(245, 245, 244, 0.3);
}

.hero .showcase__swap-mid {
  background: var(--hero-chrome);
  border-color: var(--line-ink);
  border-bottom-color: var(--hero-chrome);
  box-shadow: none;
}

.hero .showcase__swap-label {
  color: rgba(245, 245, 244, 0.8);
}

.hero .showcase__swap-count {
  color: rgba(245, 245, 244, 0.4);
}

.hero .frame {
  background: var(--hero-chrome);
  border: 1px solid var(--line-ink);
  border-radius: 0;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.38),
    0 28px 64px rgba(0, 0, 0, 0.32);
}

.hero .frame.hero__frame--solo {
  border-top: 1px solid var(--line-ink);
  border-radius: 12px 12px 0 0;
}

.hero .frame__bar {
  height: 34px;
  background: var(--hero-chrome);
  border-bottom-color: var(--line-ink);
}

.hero .frame__dots i {
  width: 8px;
  height: 8px;
  background: rgba(245, 245, 244, 0.18);
}

.hero .frame__url {
  color: rgba(245, 245, 244, 0.34);
}

.hero .frame__view {
  background: #0B0B0D;
}

.hero .hero__frame--solo iframe {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
}

/* --- tab showcase ------------------------------------------------------- */
/* Inactive labels sit bare on page paper. Only the active tab is a lifted
   card chip that bridges into the browser frame below. */

.showcase {
  width: 100%;
}

.frame__tabs {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: -1px;
  padding: 0;
  background: transparent;
}

.showcase__tab {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 4px 12px;
  border: none;
  border-radius: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  transition: color 0.22s var(--ease);
}

.showcase__tab:hover:not(.is-active) {
  color: var(--ink-2);
}

.showcase__tab.is-active {
  padding: 12px 14px 14px;
  border: 1px solid var(--line);
  border-bottom-color: var(--card);
  border-radius: 10px 10px 0 0;
  color: var(--ink);
  font-weight: 600;
  background: var(--card);
  box-shadow: none;
}

/* edge tabs: square the frame corner beneath so the chip doesn't fight
   the browser's rounded top corner; outer top radius matches the frame */
.showcase__tab:first-child.is-active {
  border-top-left-radius: 12px;
}

.showcase__tab:last-child.is-active {
  border-top-right-radius: 12px;
}

.showcase:has(.showcase__tab:first-child.is-active) .frame {
  border-top-left-radius: 0;
}

.showcase:has(.showcase__tab:last-child.is-active) .frame {
  border-top-right-radius: 0;
}

.showcase__tab-text {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.showcase__track {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 3px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: rgba(11, 18, 32, 0.1);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

.showcase__tab.is-active .showcase__track {
  opacity: 1;
}

.showcase__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

@keyframes showcaseFill {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.showcase__tab.is-active .showcase__fill,
.showcase__swap-mid .showcase__fill {
  animation: showcaseFill var(--dwell, 5000ms) linear forwards;
}

.showcase.is-paused .showcase__fill {
  animation-play-state: paused;
}

/* mobile: label chip only, arrows bare on paper */
.frame__swap {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: -1px;
  padding: 0 4px;
  background: transparent;
}

.showcase__nav {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.showcase__nav:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}

.showcase__nav:active {
  transform: scale(0.92);
}

.showcase__swap-mid {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px 14px;
  border: 1px solid var(--line);
  border-bottom-color: var(--card);
  border-radius: 10px 10px 0 0;
  background: var(--card);
  box-shadow: none;
}

.showcase__swap-mid .showcase__track {
  left: 16px;
  right: 16px;
  bottom: 6px;
  opacity: 1;
}

.showcase__swap-label {
  font-family: "Outfit", sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.016em;
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.showcase__swap-count {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.frame {
  position: relative;
  z-index: 1;
  border-radius: 12px 12px 0 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom: 0;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  transition: border-radius 0.22s var(--ease);
}

.frame__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 38px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.frame__dots {
  display: flex;
  gap: 6px;
}

.frame__dots i {
  width: 9px;
  height: 9px;
  border-radius: var(--r-pill);
  background: var(--line-2);
}

.frame__url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
  transform: translateX(-18px);
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.frame__url svg {
  opacity: 0.7;
}

.frame__view {
  position: relative;
  /* matches light-mode.png exactly, so the real screenshot neither crops nor letterboxes */
  aspect-ratio: 1024 / 528;
  background: var(--card);
  overflow: hidden;
  touch-action: pan-y;
}

.frame__pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.frame__pane.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Fill the stage edge-to-edge. Contain was letterboxing denser UI shots
   and making the product look miniature inside the chrome. */
.frame__pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.frame--video {
  width: 100%;
  margin: 0;
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
  box-shadow: none;
  background: #FFFFFF;
}

.frame--video .frame__bar {
  background: #FFFFFF;
}

.watch-stage {
  width: min(100%, 1080px);
  margin-inline: auto;
  margin-top: clamp(28px, 3.2vw, 48px);
}

.watch-stage .bt--wide {
  width: 100%;
  margin: 0;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 0 0 12px 12px;
}

.watch-stage .bt--wide h3 {
  flex: 1 1 auto;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.frame--video .frame__view {
  aspect-ratio: 16 / 9;
  background: #0b0b0e;
}

.frame--video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Model marquee
   -------------------------------------------------------------------------- */

/* Proof band — the hero's plinth. Four facts before anyone has to scroll far. */
.proof,
.models {
  padding-bottom: clamp(28px, 3vw, 40px);
  background: #08080A;
}

.proof__row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-ink);
}

.proof__row>li {
  padding: clamp(26px, 3vw, 40px) clamp(18px, 2vw, 30px);
  border-left: 1px solid var(--line-ink);
}

.proof__row>li:first-child {
  border-left: 0;
  padding-left: 0;
}

.proof__row>li:last-child {
  padding-right: 0;
}

.proof__n {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1;
  color: var(--on-ink);
}

.proof__t {
  display: block;
  margin-top: 14px;
  max-width: 26ch;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--on-ink-3);
}

@media (max-width: 900px) {
  .proof__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof__row>li:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .proof__row>li:nth-child(n + 3) {
    border-top: 1px solid var(--line-ink);
  }
}

@media (max-width: 520px) {
  .proof__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .proof__row>li {
    padding-inline: 0;
    border-left: 0;
  }

  .proof__row>li+li {
    border-top: 1px solid var(--line-ink);
  }
}

.proof__label,
.models__label {
  margin: clamp(30px, 3.4vw, 44px) 0 22px;
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(245, 245, 244, 0.34);
}

.marquee {
  width: min(920px, calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__row {
  display: flex;
  align-items: center;
  gap: clamp(44px, 5.5vw, 78px);
  padding-right: clamp(44px, 5.5vw, 78px);
}

.marquee__row img {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.25s var(--ease);
}

.marquee__row img:hover {
  opacity: 0.9;
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* --------------------------------------------------------------------------
   Nested chevron motif — the Mark OS contour lines
   -------------------------------------------------------------------------- */

.motif {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80'%3E%3Cg fill='none' stroke='%23111111' stroke-width='1' opacity='0.14'%3E%3Cpath d='M0 70 L80 10 L160 70'/%3E%3Cpath d='M10 70 L80 18 L150 70'/%3E%3Cpath d='M20 70 L80 26 L140 70'/%3E%3Cpath d='M30 70 L80 34 L130 70'/%3E%3Cpath d='M40 70 L80 42 L120 70'/%3E%3Cpath d='M50 70 L80 50 L110 70'/%3E%3Cpath d='M60 70 L80 58 L100 70'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 80px;
  background-position: center 62%;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 60%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 60%, #000 20%, transparent 75%);
}

.motif--bright {
  opacity: 0.7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.18'%3E%3Cpath d='M0 70 L80 10 L160 70'/%3E%3Cpath d='M10 70 L80 18 L150 70'/%3E%3Cpath d='M20 70 L80 26 L140 70'/%3E%3Cpath d='M30 70 L80 34 L130 70'/%3E%3Cpath d='M40 70 L80 42 L120 70'/%3E%3Cpath d='M50 70 L80 50 L110 70'/%3E%3Cpath d='M60 70 L80 58 L100 70'/%3E%3C/g%3E%3C/svg%3E");
}

.motif--dim {
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1' opacity='0.22'%3E%3Cpath d='M0 70 L80 10 L160 70'/%3E%3Cpath d='M12 70 L80 20 L148 70'/%3E%3Cpath d='M24 70 L80 30 L136 70'/%3E%3Cpath d='M36 70 L80 40 L124 70'/%3E%3Cpath d='M48 70 L80 50 L112 70'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 80%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 80%, #000 10%, transparent 70%);
}

/* --------------------------------------------------------------------------
   Feature module — Mark OS composition
   Visual plane + short copy + brand bar. One idea per module.
   -------------------------------------------------------------------------- */

.module {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(10px, 1.2vw, 14px);
  padding: clamp(10px, 1.2vw, 14px);
  border-radius: 22px;
  background: var(--band);
  border: 1px solid var(--line);
}

.module--ink {
  background: var(--ink-deep);
  border-color: var(--line-ink);
}

.module--compact {
  padding: 0;
  border: 0;
  background: transparent;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
}

.module__visual {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 38vw, 460px);
  border-radius: 16px;
  background:
    linear-gradient(160deg, #F7F6F2 0%, #E8E6DF 100%);
}

.module__visual--ink {
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%),
    #12131A;
}

.module__visual--fill {
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: var(--ink-deep);
}

.module__shot {
  position: absolute;
  inset: 12% 6% auto;
  width: 88%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(17, 17, 20, 0.18);
  object-fit: cover;
  object-position: top center;
  z-index: 1;
}

.module__swap {
  position: absolute;
  inset: 14% 8% auto;
  width: 84%;
  z-index: 1;
  display: grid;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.module__swap img {
  width: 100%;
  height: auto;
}

.module__copy {
  --module-pad-x: clamp(24px, 2.8vw, 40px);
  --module-pad-y: clamp(28px, 3.2vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: var(--module-pad-y) var(--module-pad-x) 0;
  border-radius: 16px;
  background: var(--card);
  min-height: 100%;
  overflow: hidden;
}

.module--ink .module__copy {
  background: #F4F2ED;
}

.module__copy .sec-label {
  margin-bottom: 0;
}

.module__copy .h-lg {
  max-width: 14ch;
  margin-top: 10px;
}

.module__lede {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.55;
  color: var(--muted);
}

.module__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.module__points li {
  position: relative;
  padding-left: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 38ch;
}

.module__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.module__points strong {
  color: var(--ink);
  font-weight: 600;
}

/* Flush brand bar — same inset as copy, clipped by the panel radius */
.module__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  width: calc(100% + (2 * var(--module-pad-x)));
  margin: auto calc(-1 * var(--module-pad-x)) 0;
  padding: 18px var(--module-pad-x);
  border-radius: 0;
  background: var(--ink);
}

.module__bar--accent {
  background: var(--accent);
}

.module__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.module__brand img {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.module__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s var(--ease);
}

.module__link svg {
  transition: transform 0.3s var(--ease);
}

.module__link:hover {
  color: #FFFFFF;
}

.module__link:hover svg {
  transform: translateX(4px);
}

/* Glass overlay — small functional chip on the visual plane */
.glass {
  position: absolute;
  left: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 22px);
  z-index: 2;
  width: min(260px, calc(100% - 28px));
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 30px rgba(17, 17, 20, 0.1);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.glass--dark {
  left: auto;
  right: clamp(14px, 2vw, 22px);
  bottom: auto;
  top: clamp(14px, 2vw, 22px);
  width: min(220px, calc(100% - 28px));
  background: rgba(18, 19, 26, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.glass__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.glass__ring {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(17, 17, 17, 0.1);
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  border-bottom-color: var(--accent);
}

.glass__ring i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-style: normal;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.glass__dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

.glass__title {
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.glass--dark .glass__title {
  color: #F5F5F4;
}

.glass__sub {
  margin-top: 2px;
  font-size: 0.74rem;
  color: var(--muted);
}

.glass--dark .glass__sub {
  color: rgba(245, 245, 244, 0.55);
}

.glass__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.glass__chips span {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(17, 17, 17, 0.05);
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-2);
}

.glass__chips span.is-on {
  background: var(--ink);
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .module,
  .module--ink {
    grid-template-columns: minmax(0, 1fr);
  }

  .module__visual {
    min-height: 280px;
    order: -1;
  }

  .module--ink .module__visual {
    order: 0;
  }

  .module__copy .h-lg {
    max-width: 18ch;
  }
}

/* --------------------------------------------------------------------------
   Thesis — centered strategic bridge
   Card (.thesis) lives in Pattern Book for future pages.
   Open (.thesis--open) is the home variant before a Feature module.
   See /pattern-book.html → Thesis · Card / Thesis · Open
   -------------------------------------------------------------------------- */

.thesis {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px);
  border-radius: 22px;
  background: var(--band);
  border: 1px solid var(--line);
  text-align: center;
}

.thesis__field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
  background:
    radial-gradient(ellipse 55% 70% at 50% 40%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--paper) 40%, transparent), transparent 55%);
}

.thesis__field .motif {
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 15%, transparent 72%);
}

.thesis__copy {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  margin: 0;
  padding: 0;
  border: 0;
  gap: 16px;
}

.thesis__copy .h-lg {
  max-width: 16ch;
}

.thesis__copy .lede {
  max-width: 38ch;
  margin-top: 4px;
}

/* Open thesis — same type hierarchy, no card chrome.
   Use before/after a .module so two banded cards don't stack. */
.thesis--open {
  padding: clamp(28px, 4.5vw, 56px) 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.thesis--open .thesis__field {
  opacity: 0.55;
  background:
    radial-gradient(ellipse 50% 65% at 50% 45%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 68%);
}

@media (max-width: 560px) {
  .thesis {
    padding: clamp(36px, 8vw, 52px) clamp(16px, 4vw, 24px);
    border-radius: 16px;
  }

  .thesis--open {
    padding: clamp(28px, 6vw, 40px) 0;
    border-radius: 0;
  }

  .thesis__copy .h-lg {
    max-width: 14ch;
  }
}

/* System stack kept for other modules if referenced */
.module__visual--system {
  background:
    radial-gradient(ellipse 70% 55% at 60% 80%, rgba(17, 17, 17, 0.05), transparent 60%),
    linear-gradient(155deg, #F8F7F3 0%, #E8E5DC 100%);
}

.system-stack {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.system-stack__plane {
  position: absolute;
  width: min(58%, 280px);
  aspect-ratio: 1.35 / 1;
  border-radius: 18px;
  clip-path: polygon(50% 8%, 96% 42%, 96% 92%, 50% 58%, 4% 92%, 4% 42%);
}

.system-stack__plane--a {
  transform: translate(-18%, -6%) rotate(-18deg);
  opacity: 0.55;
  background: #C9C4B8;
}

.system-stack__plane--b {
  transform: translate(2%, 2%) rotate(-6deg);
  opacity: 0.85;
  background: #B8B3A6;
}

.system-stack__plane--c {
  transform: translate(16%, 10%) rotate(8deg);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent-bright) 35%, #E8E6DF), var(--accent));
}

/* --------------------------------------------------------------------------
   Sections shells
   -------------------------------------------------------------------------- */

.sec {
  padding-block: var(--gap-xl);
}

.sec--band {
  background: var(--band);
}

.sec--tight {
  padding-block: var(--gap-lg);
}

/* --- Page tone rhythm -----------------------------------------------------
   Three real tones instead of one beige slab: cream (default), soft (near
   white), ink (dark chapter). Adjacent sections of the same tone collapse
   their shared padding so they read as one chapter, not two islands. */

.sec--soft {
  background: var(--card);
  border-block: 1px solid var(--line);
}

/* Don't leave a paper strip above ink chapters — it fights nav tone sampling */
.sec:not(.sec--ink) + .sec--ink {
  margin-top: 0;
}

.sec--ink {
  background: var(--ink-deep);
  color: var(--on-ink-2);
  /* Same scoop as .sec--ledge / .sec--ledge-foot: modest side, shallow height */
  border-radius: 3rem / 1rem;
  overflow: hidden;
  margin-block: clamp(10px, 1.4vw, 20px);
}

/* Dark chapters flow into each other — drop the shared radius seam */
.sec--ink + .sec--ink {
  padding-top: 0;
  margin-top: calc(-1 * clamp(10px, 1.4vw, 20px));
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Soft paper scoop — same top curve as .sec--ink.
   One continuous white well holds castigi + diferenta, so no seam line
   can form between two boxes. Corner cutouts reveal the well; outline
   follows the radius. */
.ledge-well {
  background: var(--card);
}

.ledge-well #castigi {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ledge-well #castigi + #cum-ajuta {
  padding-top: 0;
}

.ledge-well #models {
  padding-bottom: 0;
}

.ledge-well #answers {
  padding-top: var(--gap-xl);
}

.ledge-well #trust,
.ledge-well #keep,
.ledge-well #access {
  background: var(--card);
  border: 0;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
}

.ledge-well #keep,
.ledge-well #trust {
  padding-top: 0;
}

.ledge-well > .sec + .sec {
  padding-top: 0;
}

.ledge-well .sec--ledge {
  background: var(--paper);
  border-radius: 3rem 3rem 0 0 / 1rem 1rem 0 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  margin-top: clamp(4px, 0.6vw, 12px);
}

.ledge-well + .sec--ink {
  margin-top: 0;
}

/* Bottom scoop twin — white well under the paper plane so corner cutouts read */
.ledge-well--foot {
  background: var(--card);
  padding-bottom: clamp(12px, 1.6vw, 24px);
}

.sec--ink + .ledge-well--foot {
  margin-top: 0;
}

.ledge-well--foot .sec--ledge-foot {
  background: var(--paper);
  border-radius: 0 0 3rem 3rem / 0 0 1rem 1rem;
  border: 1px solid var(--line);
  border-top: 0;
  margin-bottom: clamp(4px, 0.6vw, 12px);
}

.sec--ink h2,
.sec--ink h3,
.sec--ink h4 {
  color: var(--on-ink);
}

.sec--ink p {
  color: var(--on-ink-2);
}

.sec--ink .lede {
  color: var(--on-ink-2);
}

.sec--ink .roster__line {
  color: var(--on-ink);
}

.sec--ink .accent {
  color: var(--accent-glow);
}

.sec--ink .sec-label {
  color: var(--on-ink-3);
}

.sec--ink .sec-label::before {
  background: var(--accent-glow);
  opacity: 0.75;
}

.sec--ink .link-arrow {
  color: var(--accent-glow);
}

.sec--soft+.sec--soft {
  padding-top: 0;
  border-top: 0;
}

/* --------------------------------------------------------------------------
   Marketing — wins
   -------------------------------------------------------------------------- */

.wins__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(40px, 5vw, 64px);
}

.win {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.win:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.win__visual {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--ink);
}

.win__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.win:hover .win__visual img {
  transform: scale(1.04);
}

.win__body {
  padding: 24px 24px 28px;
}

.win__result {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.2;
  color: var(--ink);
}

.win__how {
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 32ch;
}

/* --------------------------------------------------------------------------
   Marketing — replace
   -------------------------------------------------------------------------- */

.replace__shot {
  margin-top: clamp(32px, 3.6vw, 46px);
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: 0;
  box-shadow: none;
  aspect-ratio: 16 / 9;
  background: var(--ink-deep);
}

.replace__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Verdict bar clamped to the shot above it: one object, two readings */
.replace__bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--r-md) var(--r-md);
  overflow: hidden;
}

.replace__side {
  padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 38px);
  background: var(--card);
}

.replace__side+.replace__side {
  border-left: 1px solid var(--line);
}

.replace__side--on {
  background: var(--ink);
  color: #FFFFFF;
  border-left-color: var(--ink);
}

.replace__label {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.replace__side--on .replace__label {
  color: var(--accent-glow);
}

.replace__side p {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.35;
  color: var(--ink-2);
}

.replace__side--on p {
  color: rgba(255, 255, 255, 0.86);
}

/* --------------------------------------------------------------------------
   Marketing — scenes
   -------------------------------------------------------------------------- */

.scene {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(52px, 6vw, 88px);
}

.scene--flip .scene__media {
  order: 2;
}

.scene--flip .scene__copy {
  order: 1;
}

.scene:first-of-type {
  margin-top: clamp(40px, 5vw, 64px);
}

.scene__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16 / 11;
  background: var(--ink);
}

.scene__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene__when {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.scene__copy h3 {
  margin-top: 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: -0.028em;
  line-height: 1.15;
  max-width: 18ch;
}

.scene__wins {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.scene__wins li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink-2);
}

.scene__wins li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   Marketing — output bento
   -------------------------------------------------------------------------- */

/* Same stage device as the rest of the page, holding seven inset tiles */
.output__bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(168px, 1fr)) minmax(200px, auto) auto;
  gap: clamp(8px, 0.9vw, 12px);
  margin-top: clamp(40px, 5vw, 60px);
  padding: clamp(8px, 0.9vw, 12px);
  border-radius: 18px;
  background: #08080A;
  border: 1px solid var(--line-ink);
}

/* On an ink chapter the section is already the stage — no nested box */
.sec--ink .output__bento {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ob {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
  border-radius: var(--r-ctl);
  overflow: hidden;
  min-height: 0;
}

.ob--p1 {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}

.ob--p2 {
  grid-column: 8 / span 5;
  grid-row: 1;
}

.ob--p4 {
  grid-column: 8 / span 5;
  grid-row: 2;
}

.ob--p3 {
  grid-column: 1 / span 4;
  grid-row: 3;
}

.ob--p5 {
  grid-column: 5 / span 4;
  grid-row: 3;
}

.ob--p6 {
  grid-column: 9 / span 4;
  grid-row: 3;
}

/* The full-width bottom slot — accent band on home, media strip on marketing */
.ob--p7 {
  grid-column: 1 / span 12;
  grid-row: 4;
}

.ob--media.ob--p7 {
  min-height: clamp(170px, 18vw, 224px);
}

.output__bento + .bt--wide {
  width: 100%;
  margin-top: clamp(8px, 0.9vw, 12px);
  align-self: start;
  align-items: center;
  gap: 8px clamp(20px, 2.4vw, 36px);
}

.output__bento + .bt--wide .bt--wide__lead {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.output__bento + .bt--wide .bt--wide__price {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.output__bento + .bt--wide .bt__kicker {
  line-height: 1;
}

.output__bento + .bt--wide h3 {
  line-height: 1.1;
}

.output__bento + .bt--wide p {
  margin: 0;
  line-height: 1.35;
}

@media (min-width: 901px) {
  .output__bento + .bt--wide .bt--wide__lead {
    display: contents;
  }

  .output__bento + .bt--wide .bt--wide__price {
    flex: 0 0 auto;
    padding-right: clamp(16px, 2vw, 28px);
    border-right: 1px solid rgba(255, 255, 255, 0.22);
  }

  .output__bento + .bt--wide h3 {
    white-space: nowrap;
  }

  .output__bento + .bt--wide p {
    flex: 1 1 auto;
    min-width: 44ch;
    max-width: 52ch;
    font-size: 0.9rem;
    line-height: 1.3;
  }
}

/* Platform mosaic:
   Automation sits where Models was. Annotation spans 2 rows from the old
   Automation slot down beside Media + Behaviour. */
.output__bento--platform .ob--p2 {
  grid-column: 8 / span 5;
  grid-row: 1;
}

.output__bento--platform .ob--solid h3 {
  max-width: 28ch;
}

.output__bento--platform .ob--solid p {
  max-width: 40ch;
}

.output__bento--platform .ob--p4 {
  grid-column: 8 / span 5;
  grid-row: 2 / span 2;
}

.output__bento--platform .ob--p3 {
  grid-column: 1 / span 4;
  grid-row: 3;
}

.output__bento--platform .ob--p5 {
  grid-column: 5 / span 3;
  grid-row: 3;
}

/* Studio mosaic: four capability cells on row 3, no full-width p7 band */
.output__bento--studio {
  grid-template-rows: auto 1fr minmax(200px, auto);
}

.output__bento--studio .ob--p1 {
  min-height: clamp(460px, 52vw, 620px);
}

.output__bento--studio .ob--p2 {
  min-height: 0;
}

.output__bento--studio .ob--p4 {
  min-height: clamp(240px, 26vw, 320px);
}

.output__bento--studio .ob--p3 {
  grid-column: 1 / span 3;
  grid-row: 3;
}

.output__bento--studio .ob--p5 {
  grid-column: 4 / span 3;
  grid-row: 3;
}

.output__bento--studio .ob--p6 {
  grid-column: 7 / span 3;
  grid-row: 3;
}

.output__bento--studio .ob--p7 {
  grid-column: 10 / span 3;
  grid-row: 3;
}

.output__bento--studio .ob--media.ob--p7 {
  min-height: 0;
}

.ob--media {
  background: var(--ink-deep);
}

/* On a dark chapter the media tiles need an edge or they dissolve */
.sec--ink .ob--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  border: 1px solid var(--line-ink);
  pointer-events: none;
}

.ob--media img,
.ob--media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

/* Platform mosaic — match visibility to each shot */
.output__bento--platform .ob--p1 img,
.output__bento--platform .ob--p4 img {
  opacity: 0.62;
}

.output__bento--platform .ob--p3 img {
  opacity: 0.32;
}

.output__bento--platform .ob--p7 img {
  opacity: 0.55;
}

/* Caption rides the shot on a long gradient blend — the image stays whole.
   Rows are explicit so the arrow can span them and sit on the copy's baseline. */
.ob__label {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 0 clamp(12px, 1.4vw, 16px);
  padding: clamp(72px, 8vw, 104px) clamp(18px, 1.8vw, 22px) clamp(16px, 1.7vw, 20px);
  background: linear-gradient(to top,
      rgba(8, 8, 10, 0.96) 0%,
      rgba(8, 8, 10, 0.9) 42%,
      rgba(8, 8, 10, 0.62) 72%,
      transparent 100%);
  color: var(--on-ink);
}

.ob__label h3 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: clamp(0.98rem, 1.18vw, 1.1rem);
  letter-spacing: -0.024em;
  line-height: 1.2;
  color: var(--on-ink-2);
}

.ob--media .ob__label h3 {
  color: #9C9C9E;
}

.ob--media .ob__label p {
  max-width: none;
}

.ob__label p {
  grid-column: 1;
  grid-row: 2;
  margin-top: 6px;
  max-width: 32ch;
  font-size: 0.85rem;
  line-height: 1.42;
  color: rgba(245, 245, 244, 0.36);
}

/* Tiles that actually go somewhere earn the arrow plate */
a.ob {
  color: inherit;
  text-decoration: none;
}

a.ob:hover::after,
a.ob:focus-visible::after {
  border-color: rgba(255, 255, 255, 0.22);
}

a.ob .ob__label::after,
.ob--go .ob__label::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: end;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    rgba(255, 255, 255, 0.08)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")
    center / 15px 15px no-repeat;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0.6;
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

a.ob:hover .ob__label::after,
a.ob:focus-visible .ob__label::after {
  opacity: 1;
  transform: translateX(3px);
  border-color: transparent;
  background-color: var(--accent);
}

/* Text tiles: flat panel, hairline edge, nothing painted on */
.ob--solid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 28px);
  background: var(--ink-panel);
  border: 1px solid var(--line-ink);
  box-shadow: none;
  text-align: left;
}

.ob--solid .ob__kicker {
  display: block;
  margin: 0;
}

.ob--solid h3 {
  margin: 0;
  font-size: clamp(1.14rem, 1.5vw, 1.38rem);
  letter-spacing: -0.028em;
  line-height: 1.15;
  max-width: 26ch;
  color: var(--on-ink);
  text-wrap: balance;
}

.ob--solid p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 28ch;
  color: var(--on-ink-2);
}

.ob__kicker {
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-ink-3);
}

/* Accent as a mosaic tile — same column stack as other solid cards.
   The full-width band layout only applies to .ob--accent.ob--p7. */
.ob--accent,
.sec--ink .ob--accent {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 28px);
  background: var(--accent);
  border: 0;
  color: #FFFFFF;
}

.ob--accent .ob__kicker,
.sec--ink .ob--accent .ob__kicker {
  flex: none;
  color: rgba(255, 255, 255, 0.62);
}

.ob--accent h3,
.sec--ink .ob--accent h3 {
  flex: none;
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.14rem, 1.5vw, 1.38rem);
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: #FFFFFF;
  text-wrap: balance;
}

.ob--accent p,
.sec--ink .ob--accent p {
  flex: none;
  margin: 0;
  max-width: 28ch;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

/* Legacy full-width accent slot (when One bill still lives in the grid) */
.ob--accent.ob--p7,
.sec--ink .ob--accent.ob--p7 {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px clamp(20px, 3vw, 44px);
  padding: clamp(26px, 2.8vw, 34px) clamp(24px, 3vw, 40px);
}

.ob--accent.ob--p7 h3,
.sec--ink .ob--accent.ob--p7 h3 {
  flex: 1 1 auto;
  max-width: none;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.ob--accent.ob--p7 p,
.sec--ink .ob--accent.ob--p7 p {
  flex: 0 1 32ch;
  max-width: none;
}

.ob--wash,
.ob--soft,
.ob--ink {
  background: var(--ink-panel);
  border: 1px solid var(--line-ink);
  color: var(--on-ink);
}

.ob--wash h3 {
  color: var(--on-ink-2);
}

.ob--wash p {
  color: var(--on-ink-3);
}

.ob--soft h3,
.ob--ink h3 {
  color: var(--on-ink);
}

.ob--soft p,
.ob--ink p {
  color: var(--on-ink-2);
}

/* --------------------------------------------------------------------------
   Marketing — objections
   -------------------------------------------------------------------------- */

.obj__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(34px, 3.6vw, 48px);
}

.obj__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.philosophy__foot {
  margin-top: clamp(28px, 3.2vw, 40px);
}

.obj {
  position: relative;
  padding: 4px clamp(16px, 2vw, 30px) 0;
  border-left: 1px solid var(--line);
}

.obj:first-child {
  border-left: 0;
  padding-left: 0;
}

.obj:last-child {
  padding-right: 0;
}

.obj h3 {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  letter-spacing: -0.024em;
  line-height: 1.2;
  max-width: 16ch;
}

.obj p {
  margin-top: 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 30ch;
}

.sec--ink .obj {
  border-left-color: var(--line-ink);
}

.sec--ink .obj p {
  color: var(--on-ink-3);
}

@media (max-width: 940px) {
  .obj__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: clamp(28px, 4vw, 40px);
  }

  .obj:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .obj:nth-child(even) {
    padding-right: 0;
  }

  .obj h3,
  .obj p {
    max-width: 34ch;
  }
}

@media (max-width: 560px) {
  .obj__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 26px;
  }

  .obj {
    border-left: 0;
    padding-inline: 0;
  }
}

/* --------------------------------------------------------------------------
   Marketing — duel compare
   -------------------------------------------------------------------------- */

.duel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(36px, 4.5vw, 52px);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.duel__side {
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px);
}

.duel__side--off {
  background: #fff;
}

.duel__side--on {
  background: var(--ink);
  color: var(--paper);
}

.duel__kicker {
  margin: 0 0 clamp(18px, 2.2vw, 26px);
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.duel__side--off .duel__kicker {
  color: var(--muted);
}

.duel__side--on .duel__kicker {
  color: var(--accent-soft);
}

.duel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 20px);
}

.duel__list li {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.25;
  max-width: 22ch;
}

.duel__side--off .duel__list li {
  color: var(--ink-2);
}

.duel__side--on .duel__list li {
  color: var(--paper);
  padding-left: 14px;
  border-left: 2px solid var(--accent);
}

.duel__pivot {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #f5efe2;
  box-shadow: 0 8px 20px rgba(51, 112, 57, 0.3);
}

.duel__pivot svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Marketing — path
   -------------------------------------------------------------------------- */

/* Connected rail: the numbers sit on a single line so the three steps read
   as one path rather than three unrelated cards. */
.path__list {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin: clamp(44px, 5vw, 64px) 0 0;
  padding: 0;
}

.path__list>li {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}

/* one continuous rail behind the three stops */
.path__list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 17px;
  height: 1px;
  background: var(--line);
}

.path__n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #FFFFFF;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.path__list h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  letter-spacing: -0.026em;
  line-height: 1.2;
}

.path__list p {
  margin-top: 10px;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 30ch;
}

@media (max-width: 780px) {
  .path__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .path__list::before {
    display: none;
  }

  .path__list>li {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }
}

.path__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(40px, 5vw, 56px);
}

.agents__foot {
  margin-top: clamp(28px, 3vw, 40px);
  padding-top: clamp(22px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(36px, 4vw, 52px);
  padding-top: clamp(28px, 3vw, 36px);
  border-top: 1px solid var(--line);
}

.contact-path h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.28rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.contact-path p {
  margin-top: 10px;
  margin-bottom: 22px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34ch;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact-aside {
  display: grid;
  align-content: start;
  gap: 16px;
  padding-top: 8px;
}

.contact-aside .sec-label {
  margin: 0;
}

.contact-aside .h-md {
  margin: 0;
  max-width: 16ch;
}

.contact-aside .lede {
  margin: 0;
  max-width: 36ch;
}

.contact-channels {
  list-style: none;
  display: grid;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.contact-channels li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-channels b {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-channels a,
.contact-channels span {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.contact-channels a:hover {
  color: var(--accent);
}

.contact-aside__cta {
  margin-top: 8px;
}

.contact-email {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 2.8vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.book-embed {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.book-embed .calendly-inline-widget,
.book-embed .calendly-inline-widget iframe {
  display: block;
  width: 100%;
  min-width: 320px;
  height: 700px;
}

.contact-form__head {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.contact-form__head .h-md {
  margin: 0;
}

.contact-form__head p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.contact-form__flash {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--r-ctl);
  font-size: 0.88rem;
  line-height: 1.45;
}

.contact-form__flash--ok {
  background: var(--accent-wash);
  color: var(--ink);
}

.contact-form__flash--err {
  background: var(--mist);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field__label {
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.field__input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-ctl);
  background: var(--mist);
  color: var(--ink);
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
  background: var(--card);
}

.field__input--area {
  resize: vertical;
  min-height: 148px;
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 6px;
}

.contact-form__note {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 28ch;
}

.closing p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .contact-form-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form,
  .book-embed {
    order: -1;
  }
}

@media (max-width: 640px) {
  .contact-paths {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Problem: title → 4 points row → model cards → price
   -------------------------------------------------------------------------- */

.problem__title {
  max-width: 16em;
  margin: 0 auto;
  text-align: center;
}

.problem__lede {
  max-width: 40rem;
  margin: 16px auto 0;
  text-align: center;
}

.problem__figure {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: clamp(38px, 4vw, 56px);
  padding-top: clamp(30px, 3.4vw, 44px);
  border-top: 1px solid var(--line-2);
  font-family: "Outfit", sans-serif;
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.86;
  color: var(--accent);
}

.problem__figure em {
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.problem__figure+p {
  margin-top: 16px;
  max-width: 52ch;
  font-size: 0.98rem;
  color: var(--muted);
}

.problem__points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(28px, 3.4vw, 40px);
  padding-top: clamp(24px, 2.8vw, 32px);
  border-top: 1px solid var(--line-2);
}

.problem__points>div {
  padding: 0 clamp(16px, 1.8vw, 28px);
  border-left: 1px solid var(--line-2);
}

.problem__points>div:first-child {
  border-left: 0;
  padding-left: 0;
}

.problem__points>div:last-child {
  padding-right: 0;
}

.problem__points h3 {
  font-size: 1.02rem;
  letter-spacing: -0.016em;
}

.problem__points p {
  margin-top: 8px;
  max-width: 22ch;
  font-size: 0.92rem;
  color: var(--muted);
}

.problem__models {
  margin-top: clamp(28px, 3.6vw, 44px);
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Showcase: the product, given real room
   -------------------------------------------------------------------------- */

.showcase__stage {
  margin-top: clamp(44px, 5vw, 68px);
  padding: clamp(10px, 1.2vw, 16px);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-deep);
}

.showcase__stage img {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 4.5vw, 62px);
}

.facts>div {
  padding-inline: clamp(18px, 2.4vw, 36px);
  border-left: 1px solid var(--line-2);
}

.facts>div:first-child {
  border-left: 0;
  padding-left: 0;
}

.facts>div:last-child {
  padding-right: 0;
}

.facts h3 {
  font-size: 1.06rem;
  letter-spacing: -0.016em;
}

.facts p {
  margin-top: 10px;
  font-size: 0.94rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Bento: four kinds of work
   -------------------------------------------------------------------------- */

.bento__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  margin-top: clamp(48px, 5.5vw, 76px);
}

.tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease);
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.tile--wide {
  grid-column: span 7;
}

.tile--slim {
  grid-column: span 5;
}

.tile--paper {
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.tile--band {
  background: var(--band);
}

.tile--wash {
  background: var(--accent-wash);
}

.tile--ink {
  background: var(--ink);
}

.tile--ink h3 {
  color: var(--paper);
}

.tile--ink p {
  color: rgba(240, 235, 227, 0.66);
}

.tile--ink .kicker {
  color: var(--accent-soft);
}

.tile__body {
  padding: clamp(22px, 2.2vw, 32px);
}

.tile__body h3 {
  margin-top: 12px;
  font-size: clamp(1.28rem, 1.8vw, 1.6rem);
  line-height: 1.16;
}

.tile__body p {
  margin-top: 12px;
  max-width: 42ch;
  font-size: 0.95rem;
  color: var(--muted);
}

.tile__shot {
  margin-top: auto;
  padding: 0 clamp(18px, 2vw, 28px) clamp(18px, 2vw, 28px);
}

.tile__shot img {
  width: 100%;
  border-radius: var(--r-md);
  object-fit: cover;
}

.tile--wide .tile__shot img {
  aspect-ratio: 16 / 9;
}

.tile--slim .tile__shot img {
  aspect-ratio: 4 / 3;
}

/* square sources with white backgrounds are shown whole, not cropped */
.tile__shot--fit img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 0;
}

/* --------------------------------------------------------------------------
   Setup: accordion + swapping media
   -------------------------------------------------------------------------- */

.setup__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
  margin-top: clamp(38px, 4.2vw, 56px);
}

.steps {
  border-top: 1px solid var(--line-2);
}

.step {
  border-bottom: 1px solid var(--line-2);
}

.step__btn {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 26px 2px;
  text-align: left;
}

.step__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2);
  font-family: "Outfit", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.step__title {
  flex: 1;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.14rem, 1.6vw, 1.44rem);
  font-weight: 500;
  letter-spacing: -0.024em;
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}

.step__chev {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.36s var(--ease), color 0.3s var(--ease);
}

.step[data-open="true"] .step__num {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFF8F3;
}

.step[data-open="true"] .step__title {
  color: var(--ink);
}

.step[data-open="true"] .step__chev {
  transform: rotate(180deg);
  color: var(--ink);
}

.step__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.44s var(--ease);
}

.step[data-open="true"] .step__panel {
  grid-template-rows: 1fr;
}

.step__panel>div {
  overflow: hidden;
}

.step__panel p {
  max-width: 46ch;
  padding: 0 2px 28px 50px;
  color: var(--muted);
}

.setup__media {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.setup__stack {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink-deep);
}

.setup__stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.55s var(--ease), transform 0.75s var(--ease);
}

.setup__stack img.is-active {
  opacity: 1;
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   Agents rail
   -------------------------------------------------------------------------- */

.agents__head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.agents__head .eyebrow {
  margin-bottom: 0;
}

.agents__head .sec-head {
  margin-top: 4px;
}

.agents__head .link-arrow {
  align-self: flex-start;
  margin-top: 4px;
}

/* One ruled block, not six floating cards. The 1px gaps are the dividers. */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 4.6vw, 60px);
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}

.agent-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 30px);
  border-radius: 0;
  background: var(--card);
  box-shadow: none;
  transition: background-color 0.22s var(--ease);
}

.agent-card:hover {
  background: var(--mist);
}

.agent-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--band);
}

.agent-card__icon img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.agent-card h3 {
  margin-top: 20px;
  font-size: 1.05rem;
  letter-spacing: -0.024em;
}

.agent-card p {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Control: four cells + media / list
   -------------------------------------------------------------------------- */

.cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(36px, 4vw, 52px);
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}

.cell {
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--card);
}

.cell__tag {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.cell h3 {
  margin-top: 18px;
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  letter-spacing: -0.024em;
  line-height: 1.25;
}

.cell p {
  margin-top: 9px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.control__media {
  margin: clamp(28px, 3.2vw, 40px) 0 0;
  padding: clamp(10px, 1.1vw, 14px);
  border-radius: var(--r-md);
  background: var(--ink-deep);
  border: 1px solid var(--line);
  overflow: hidden;
}

.control__swap {
  display: grid;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--ink-deep);
  aspect-ratio: 4 / 3;
}

.control__swap img,
.module__swap img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}

.control__swap img.is-active,
.module__swap img.is-active {
  opacity: 1;
  z-index: 1;
}

.control__list {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.control__list>li {
  padding: clamp(18px, 2vw, 24px) 0;
  border-top: 1px solid var(--line);
}

.control__list>li:first-child {
  border-top: 0;
  padding-top: 0;
}

.control__list>li:last-child {
  padding-bottom: 0;
}

.control__list h3 {
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  letter-spacing: -0.018em;
}

.control__list p {
  margin-top: 8px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}

@media (max-width: 900px) {
  .cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .control__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 540px) {
  .cells {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Brain / Knowledge Graph
   -------------------------------------------------------------------------- */

.brain__head {
  margin-bottom: clamp(32px, 3.6vw, 44px);
}

.brain__shot {
  position: relative;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-panel);
  border: 1px solid var(--line-ink);
  aspect-ratio: 16 / 9;
  min-height: 400px;
}

.brain__shot #kg-app {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: clamp(20px, 2.6vw, 30px);
  margin-top: clamp(46px, 5vw, 66px);
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.4vw, 46px);
  border-radius: var(--r-lg);
  background: var(--paper);
}

.plan--featured {
  background: var(--card);
  box-shadow: var(--shadow-lift);
}

.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.plan__name {
  font-family: "Outfit", sans-serif;
  font-size: 1.14rem;
  font-weight: 500;
}

.plan__flag {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #FFF8F3;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 24px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.8rem, 4.6vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1;
}

.plan__period {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.plan__desc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.plan__list {
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.plan--featured .plan__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 26px;
}

.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--ink-2);
}

.plan__list svg {
  flex-shrink: 0;
  margin-top: 5px;
  color: var(--accent);
}

.plan__foot {
  margin-top: auto;
}

.plan__note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Closing
   -------------------------------------------------------------------------- */

.closing {
  padding-block: var(--gap-lg);
}

/* the section above already leaves air; don't stack two full gaps of cream */
.sec+.closing {
  padding-top: 0;
}

/* Equal top/bottom air when the CTA needs breathing room above */
.sec+.closing.closing--air,
.closing.closing--air {
  padding-top: var(--gap-lg);
}

/* FAQ under closing — closing already left air; don't double the gap */
.closing + .sec {
  padding-top: 0;
}

/* Flat graphite slab. A single periwinkle rule across the top is the only
   ornament, and it rhymes with the band in the platform chapter. */
.closing__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 104px) clamp(26px, 5vw, 72px);
  border-radius: var(--r-lg);
  background: var(--ink-deep);
  text-align: center;
}

.closing__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  pointer-events: none;
}

.closing__inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin-inline: auto;
}

.closing h2 {
  color: var(--on-ink);
}

.closing h2 .accent {
  color: var(--accent-glow);
}

.closing p {
  margin-top: 26px;
  color: var(--on-ink-2);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.closing__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.closing__note {
  margin: 22px 0 0;
  font-size: 0.8rem;
  color: var(--on-ink-3);
  text-align: center;
}

/* Answers the doubt right where it spikes — under the button */
.closing__assure {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 26px 0 0;
  padding: 0;
}

.closing__assure li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--on-ink-2);
}

.closing__assure li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-glow);
}

.closing .btn--primary {
  background: var(--on-ink);
  color: var(--ink-deep);
}

.closing .btn--primary:hover {
  background: #FFFFFF;
  color: var(--ink-deep);
}

.closing .btn--ghost {
  background: transparent;
  color: var(--on-ink);
  border-color: var(--line-ink-2);
}

.closing .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: clamp(28px, 3vw, 40px);
  background: color-mix(in srgb, var(--paper) 62%, var(--mist));
  border-top: 1px solid rgba(17, 17, 17, 0.05);
}

.footer__shell {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: clamp(28px, 4.2vw, 72px);
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.85fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}

.footer__logo img {
  height: 22px;
  width: auto;
  filter: brightness(0);
}

.footer__tagline {
  margin-top: 0;
  max-width: none;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
}

.footer__cta {
  display: inline-flex;
  align-items: stretch;
  margin-top: 28px;
  overflow: hidden;
  border-radius: var(--r-ctl);
  background: var(--ink);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.footer__cta > span:first-child {
  display: flex;
  align-items: center;
  padding: 13px 20px 13px 22px;
}

.footer__cta-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: auto 8px auto 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.footer__cta:hover {
  background: var(--accent);
}

.footer__cta:hover .footer__cta-go {
  color: var(--accent);
}

.footer__backed {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 36px;
}

.footer__backed span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__backed-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer__backed img {
  display: block;
  height: 28px;
  width: auto;
  filter: brightness(0);
  opacity: 0.55;
}

.footer__backed img.footer__backed-logo--rx {
  height: 48px;
}

.footer__nav {
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(0, 1.55fr)
    minmax(140px, 0.78fr)
    minmax(120px, 0.62fr);
  min-width: 0;
}

.footer__col {
  min-width: 0;
  padding-left: clamp(20px, 2vw, 36px);
  border-left: 1px solid rgba(17, 17, 17, 0.045);
}

.footer__col h4 {
  margin: 0 0 18px;
  font-family: "Outfit", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(16px, 1.6vw, 28px);
  row-gap: 2px;
}

.footer__col a,
.footer__col .footer__theme {
  display: block;
  margin: 0;
  padding: 6px 0;
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: break-word;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer__col a:hover,
.footer__col .footer__theme:hover {
  color: var(--ink);
}

.footer__col--connect a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__col--connect svg {
  flex-shrink: 0;
  opacity: 0.72;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: clamp(48px, 5.5vw, 80px);
  padding-top: 22px;
  border-top: 1px solid rgba(17, 17, 17, 0.05);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer__copy {
  display: inline;
}

.footer__heart {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 0.2em;
  vertical-align: -0.12em;
  color: var(--ink);
}
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer__legal a:hover,
.footer__legal-btn:hover {
  color: var(--ink);
}

.footer__legal-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.footer__col .footer__theme {
  width: 100%;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.theme-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.theme-drawer[data-open="true"] {
  pointer-events: auto;
}

.theme-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 16, 0.36);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.theme-drawer[data-open="true"] .theme-drawer__scrim {
  opacity: 1;
}

.theme-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(380px, 100%);
  background: var(--card);
  border-left: 1px solid var(--line-2);
  box-shadow: -16px 0 48px rgba(var(--shadow-tint), 0.16);
  transform: translateX(100%);
  transition: transform 0.36s var(--ease);
}

.theme-drawer[data-open="true"] .theme-drawer__panel {
  transform: translateX(0);
}

.theme-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 22px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.theme-drawer__title {
  margin: 0;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.theme-drawer__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--r-ctl);
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.theme-drawer__close:hover {
  background: var(--band);
  color: var(--ink);
}

.theme-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 12px 14px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.theme-selector__rule {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 4px 4px;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.theme-selector__rule::before,
.theme-selector__rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.theme-selector button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 8px;
  border: 0;
  border-radius: var(--r-ctl);
  background: transparent;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.theme-selector button:hover,
.theme-selector button[aria-pressed="true"] {
  background: var(--band);
  color: var(--ink);
}

.theme-selector button[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.theme-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .theme-drawer__scrim,
  .theme-drawer__panel {
    transition-duration: 0.01s;
  }
}

/* --------------------------------------------------------------------------
   Demo modal — Calendly inline, page overlay
   -------------------------------------------------------------------------- */

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}

.demo-modal[data-open="true"] {
  pointer-events: auto;
}

.demo-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 16, 0.48);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}

.demo-modal[data-open="true"] .demo-modal__scrim {
  opacity: 1;
}

.demo-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(52rem, 100%);
  height: auto;
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-deep);
  transform: translate3d(0, 16px, 0) scale(0.985);
  opacity: 0;
  transition: transform 0.36s var(--ease), opacity 0.28s var(--ease);
}

.demo-modal[data-open="true"] .demo-modal__panel {
  transform: none;
  opacity: 1;
}

.demo-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
}

.demo-modal__copy .sec-label {
  margin: 0 0 6px;
}

.demo-modal__copy h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.2rem, 1.6vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.2;
  color: var(--ink);
}

.demo-modal__close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-top: 2px;
  border: 0;
  border-radius: var(--r-ctl);
  background: var(--mist);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.demo-modal__close:hover,
.demo-modal__close:focus-visible {
  background: var(--band);
  color: var(--ink);
}

.demo-modal__body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  height: 640px;
  max-height: calc(100dvh - 48px - 76px);
  overflow: hidden;
  background: var(--card);
}

.demo-modal__wait {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
  pointer-events: none;
}

.demo-modal.is-ready .demo-modal__wait {
  opacity: 0;
}

.demo-modal__widget,
.demo-modal .calendly-inline-widget {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: calc(100% + 40px) !important;
  min-width: 0 !important;
  min-height: 0;
  margin-top: -40px;
}

.demo-modal__widget iframe,
.demo-modal .calendly-inline-widget iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  border: 0;
}

@media (max-width: 900px) {
  .demo-modal {
    padding: 0;
    place-items: stretch;
  }

  .demo-modal__panel {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    transform: translate3d(0, 24px, 0);
  }

  .demo-modal[data-open="true"] .demo-modal__panel {
    transform: none;
  }

  .demo-modal__head {
    padding: 16px 16px 14px;
    padding-top: max(16px, env(safe-area-inset-top));
  }

  .demo-modal__body {
    height: auto;
    max-height: none;
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-modal__scrim,
  .demo-modal__panel {
    transition-duration: 0.01s;
  }
}

/* --------------------------------------------------------------------------
   Reveal — visible on first paint, no scroll fade
   -------------------------------------------------------------------------- */

[data-reveal],
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .footer__tagline {
    max-width: none;
  }

  .footer__nav {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  }

  .footer__col:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .footer__col:nth-child(even) {
    padding-left: clamp(18px, 3vw, 32px);
  }

  .footer__col:nth-child(n + 3) {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(17, 17, 17, 0.045);
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .facts>div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .output__bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: none;
    min-height: 0;
  }

  .ob--p1 {
    grid-column: 1 / span 6;
    grid-row: 1;
    min-height: 300px;
  }

  .ob--p2 {
    grid-column: 1 / span 3;
    grid-row: 2;
    min-height: 190px;
  }

  .ob--p3 {
    grid-column: 4 / span 3;
    grid-row: 2;
    min-height: 190px;
  }

  .ob--p4 {
    grid-column: 1 / span 3;
    grid-row: 3;
    min-height: 190px;
  }

  .ob--p5 {
    grid-column: 4 / span 3;
    grid-row: 3;
    min-height: 190px;
  }

  .ob--p6 {
    grid-column: 1 / span 6;
    grid-row: 4;
    min-height: 190px;
  }

  .ob--p7 {
    grid-column: 1 / span 6;
    grid-row: 5;
    min-height: 0;
  }

  .ob--media.ob--p7 {
    min-height: clamp(180px, 42vw, 240px);
  }

  /* Platform home: image → text → image → text rhythm */
  .output__bento--platform {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .output__bento--platform .ob--p1,
  .output__bento--platform .ob--p2,
  .output__bento--platform .ob--p3,
  .output__bento--platform .ob--p4,
  .output__bento--platform .ob--p5,
  .output__bento--platform .ob--p7 {
    grid-row: auto;
  }

  .output__bento--platform .ob--p1 {
    grid-column: 1 / -1;
    order: 1;
    min-height: clamp(240px, 52vw, 320px);
  }

  .output__bento--platform .ob--p2 {
    grid-column: 2;
    order: 3;
    min-height: clamp(180px, 40vw, 240px);
  }

  .output__bento--platform .ob--p4 {
    grid-column: 1;
    order: 2;
    min-height: clamp(180px, 40vw, 240px);
  }

  .output__bento--platform .ob--p3 {
    grid-column: 1;
    order: 4;
    min-height: clamp(180px, 40vw, 240px);
  }

  .output__bento--platform .ob--p5 {
    grid-column: 2;
    order: 5;
    min-height: clamp(180px, 40vw, 240px);
  }

  .output__bento--platform .ob--p7 {
    grid-column: 1 / -1;
    order: 6;
    min-height: clamp(180px, 42vw, 240px);
  }

  .output__bento--studio .ob--p1,
  .output__bento--studio .ob--p2,
  .output__bento--studio .ob--p3,
  .output__bento--studio .ob--p4,
  .output__bento--studio .ob--p5,
  .output__bento--studio .ob--p6,
  .output__bento--studio .ob--p7 {
    grid-row: auto;
  }

  .output__bento--studio .ob--p1 {
    grid-column: 1 / span 6;
    order: 1;
    min-height: clamp(340px, 48vw, 420px);
  }

  .output__bento--studio .ob--p2 {
    grid-column: 1 / span 3;
    order: 2;
    min-height: 190px;
  }

  .output__bento--studio .ob--p4 {
    grid-column: 4 / span 3;
    order: 3;
    min-height: clamp(220px, 32vw, 280px);
  }

  .output__bento--studio .ob--p3 {
    grid-column: 1 / span 3;
    order: 4;
    min-height: 190px;
  }

  .output__bento--studio .ob--p5 {
    grid-column: 4 / span 3;
    order: 5;
    min-height: 190px;
  }

  .output__bento--studio .ob--p6 {
    grid-column: 1 / span 3;
    order: 6;
    min-height: 190px;
  }

  .output__bento--studio .ob--p7 {
    grid-column: 4 / span 3;
    order: 7;
    min-height: 190px;
  }
}

@media (max-width: 900px) {
  .showcase__tab {
    padding: 12px 10px 13px;
    font-size: 0.82rem;
  }
}

/* below this the five labels stop fitting side by side */
@media (max-width: 700px) {
  .frame__tabs {
    display: none;
  }

  .frame__swap {
    display: flex;
  }

  .frame__bar {
    display: none;
  }

  /* a little taller than the screenshot's own ratio, so the square views
     don't shrink to nothing on a phone */
  .frame__view {
    aspect-ratio: 16 / 10;
  }

  /* Hero browser: 16/10 + cover was clipping the right of the wide
     dashboard shots. Keep the screenshot's own ratio and the full frame
     on-screen — desktop (min-width 701) is unchanged. */
  .hero .hero__visual {
    width: calc(100% + (2 * var(--gutter)));
    max-width: none;
    min-width: 0;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: 12px;
  }

  .hero .showcase,
  .hero .hero__frame,
  .hero .hero__frame .frame__view {
    max-width: 100%;
    min-width: 0;
  }

  .hero .hero__frame .frame__view {
    aspect-ratio: 1024 / 528;
  }

  .hero .hero__frame .frame__pane img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: top center;
  }
}

@media (max-width: 980px) {
  :root {
    --nav-offset: 90px;
  }

  .nav__inner {
    height: 60px;
    padding: 0 16px;
    gap: 12px;
    overflow: visible;
  }

  .nav__links,
  .nav__login {
    display: none;
    position: static;
    inset: auto;
    pointer-events: auto;
    transform: none;
  }

  .nav__actions {
    gap: 8px;
  }

  .nav__actions .btn--sm {
    height: 40px;
    padding: 0 16px;
  }

  .nav__burger {
    display: block;
    margin-right: 0;
  }

  .nav__drawer {
    position: absolute;
    /* .nav > .shell is the containing block, so clear the pill by hand */
    top: calc(100% + 10px);
    left: var(--gutter);
    right: var(--gutter);
    z-index: 39;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.44s var(--ease);
  }

  .nav[data-open="true"] .nav__drawer {
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .nav__drawer-inner {
    margin-top: 12px;
    margin-bottom: 4px;
    padding: 8px 16px 32px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 18, 32, 0.1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 8px 28px rgba(var(--shadow-tint), 0.1);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
  }

  .nav[data-on-hero="true"] .nav__drawer-inner {
    background: rgba(28, 25, 22, 0.98);
    border-color: rgba(240, 235, 227, 0.18);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  }

  .nav__drawer-inner a,
  .nav__drawer-inner .nav__drawer-contact {
    display: block;
    width: 100%;
    padding: 13px 10px;
    border: 0;
    background: none;
    font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-align: left;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line);
    cursor: pointer;
  }

  .nav__drawer-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 10px;
    font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-align: left;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line);
  }

  .nav__drawer-trigger>span:last-child {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s var(--ease);
  }

  .nav__drawer-trigger[aria-expanded="true"]>span:last-child {
    transform: rotate(45deg);
  }

  .nav__drawer-submenu {
    padding: 2px 0 6px 14px;
    border-bottom: 1px solid var(--line);
  }

  .nav__drawer-submenu a {
    padding-block: 10px;
    font-size: 0.96rem;
    font-weight: 400;
    border-bottom: 0;
    color: var(--muted);
  }

  .nav[data-on-hero="true"] .nav__drawer-inner a,
  .nav[data-on-hero="true"] .nav__drawer-inner .nav__drawer-contact {
    color: rgba(240, 235, 227, 0.82);
    border-bottom-color: rgba(240, 235, 227, 0.1);
  }

  .nav[data-on-hero="true"] .nav__drawer-trigger {
    color: rgba(240, 235, 227, 0.88);
    border-bottom-color: rgba(240, 235, 227, 0.1);
  }

  .nav[data-on-hero="true"] .nav__drawer-submenu {
    border-bottom-color: rgba(240, 235, 227, 0.1);
  }

  .nav[data-on-hero="true"] .nav__drawer-submenu a {
    color: rgba(240, 235, 227, 0.62);
  }

  .nav__drawer-inner a:last-of-type {
    border-bottom: 0;
  }

  .nav__drawer-inner .btn--primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin-top: 14px;
    padding: 13px 20px;
    text-align: center;
    color: var(--paper);
    border-bottom: 0;
  }

  .nav[data-on-hero="true"] .nav__drawer-inner .btn--primary {
    background: rgba(240, 235, 227, 0.96);
    color: #0c0b0a;
  }

  .nav__drawer-inner .btn--primary:hover {
    color: var(--paper);
  }

  .nav[data-on-hero="true"] .nav__drawer-inner .btn--primary:hover {
    color: #0c0b0a;
  }

  .hero {
    --hero-band: clamp(68px, 10vh, 104px);
  }

  .hero__stack {
    text-align: center;
  }

  .hero__copy {
    max-width: 58rem;
  }

  .hero__sub {
    max-width: 32rem;
  }

  .problem__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

  .problem__points>div:nth-child(2n + 1) {
    border-left: 0;
    padding-left: 0;
  }

  .problem__points>div:nth-child(2n) {
    padding-right: 0;
  }

  .problem__points p {
    max-width: none;
  }

  .setup__grid,
  .control__grid,
  .pricing__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wins__grid,
  .path__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .duel {
    grid-template-columns: minmax(0, 1fr);
  }

  .duel__pivot {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .duel__side--off {
    padding-bottom: clamp(40px, 7vw, 56px);
  }

  .duel__side--on {
    padding-top: clamp(40px, 7vw, 56px);
  }

  .scene,
  .scene--flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene--flip .scene__media,
  .scene--flip .scene__copy {
    order: initial;
  }

  .scene__copy h3 {
    max-width: none;
  }

  .h-lg,
  .sec-head .h-lg,
  .sec-head--wide .h-lg {
    max-width: none;
  }

  .setup__media {
    order: -1;
  }

  .tile--wide,
  .tile--slim {
    grid-column: span 6;
  }

  .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --gap-xl: 68px;
    --gap-lg: 56px;
  }

  .tile--wide,
  .tile--slim {
    grid-column: span 12;
  }

  .agent-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .orbit {
    --orbit-r: clamp(100px, 34vw, 140px);
    --hub-size: 92px;
    max-width: 340px;
  }

  .facts {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .facts>div {
    padding-inline: 0;
    padding-block: 24px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .facts>div:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .plan--featured .plan__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .step__panel p {
    padding-left: 2px;
  }

  .replace__bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .output__bento {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    min-height: 0;
  }

  .ob--p1,
  .ob--p2,
  .ob--p3,
  .ob--p4,
  .ob--p5,
  .ob--p6,
  .ob--p7 {
    grid-column: 1;
    grid-row: auto;
    min-height: 190px;
  }

  .ob--p1 {
    min-height: 260px;
  }

  .ob--p7 {
    min-height: 0;
  }

  .output__bento--platform {
    grid-template-columns: minmax(0, 1fr);
  }

  .output__bento--platform .ob--p1,
  .output__bento--platform .ob--p2,
  .output__bento--platform .ob--p3,
  .output__bento--platform .ob--p4,
  .output__bento--platform .ob--p5,
  .output__bento--platform .ob--p7 {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  /* image → text → image → text → image → image */
  .output__bento--platform .ob--p1 {
    order: 1;
    min-height: clamp(220px, 58vw, 280px);
  }

  .output__bento--platform .ob--p2 {
    order: 2;
    min-height: 0;
  }

  .output__bento--platform .ob--p4 {
    order: 3;
    min-height: clamp(200px, 52vw, 260px);
  }

  .output__bento--platform .ob--p5 {
    order: 4;
    min-height: 0;
  }

  .output__bento--platform .ob--p3 {
    order: 5;
    min-height: clamp(180px, 48vw, 240px);
  }

  .output__bento--platform .ob--p7 {
    order: 6;
    min-height: clamp(180px, 46vw, 240px);
  }

  .output__bento--studio .ob--p1,
  .output__bento--studio .ob--p2,
  .output__bento--studio .ob--p3,
  .output__bento--studio .ob--p4,
  .output__bento--studio .ob--p5,
  .output__bento--studio .ob--p6,
  .output__bento--studio .ob--p7 {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .output__bento--studio .ob--p1 { order: 1; min-height: clamp(260px, 62vw, 340px); }
  .output__bento--studio .ob--p2 { order: 2; min-height: 0; }
  .output__bento--studio .ob--p4 { order: 3; min-height: clamp(220px, 54vw, 300px); }
  .output__bento--studio .ob--p3 { order: 4; min-height: clamp(180px, 48vw, 240px); }
  .output__bento--studio .ob--p5 { order: 5; min-height: 0; }
  .output__bento--studio .ob--p6 { order: 6; min-height: clamp(180px, 48vw, 240px); }
  .output__bento--studio .ob--p7 { order: 7; min-height: 0; }

  .ob--accent,
  .sec--ink .ob--accent {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ob--solid h3 {
    max-width: none;
  }

  .output__bento + .bt--wide {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    align-self: stretch;
    gap: 18px;
    min-height: 0 !important;
    height: auto !important;
    padding: 22px 20px 20px;
  }

  .output__bento + .bt--wide .bt--wide__lead {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .output__bento + .bt--wide .bt--wide__price {
    gap: 8px;
  }

  .output__bento + .bt--wide .bt__kicker,
  .output__bento + .bt--wide h3,
  .output__bento + .bt--wide p {
    margin: 0;
    flex: none;
    max-width: none;
  }

  .output__bento + .bt--wide h3 {
    font-size: clamp(1.32rem, 6.4vw, 1.6rem);
    line-height: 1.15;
  }

  .output__bento + .bt--wide p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .output__bento + .bt--wide p br {
    display: none;
  }

  .output__bento + .bt--wide .btn {
    margin: 2px 0 0;
    width: 100%;
    padding: 12px 18px;
  }

  .obj__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .obj,
  .obj:nth-child(even) {
    padding-inline: 0;
    border-left: 0;
  }

  .footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__tagline {
    margin-top: 16px;
    max-width: none;
    font-size: clamp(1.2rem, 5vw, 1.42rem);
  }

  .footer__cta {
    margin-top: 18px;
  }

  .footer__backed {
    flex-wrap: nowrap;
    margin-top: 20px;
    gap: 12px;
  }

  .footer__backed img {
    height: 22px;
  }

  .footer__backed img.footer__backed-logo--rx {
    height: 36px;
  }

  .footer__nav {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px 0;
  }

  .footer__col:nth-child(n + 3) {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .footer__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__col:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .footer__col:nth-child(even) {
    padding-left: clamp(16px, 4vw, 24px);
  }

  .footer__col h4 {
    margin-bottom: 12px;
  }

  .footer__col a,
  .footer__col .footer__theme {
    padding: 6px 0;
    font-size: 0.9rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 36px;
    padding-top: 20px;
  }

  .hero__cta .btn,
  .closing__cta .btn {
    width: auto;
  }

  .hero__copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 8.4vw, 2.9rem);
    letter-spacing: -0.042em;
    line-height: 1.06;
    max-width: 18ch;
  }

  .hero #hero-title {
    font-size: clamp(2.25rem, 8.4vw, 3.15rem);
    width: 100%;
    max-width: 100%;
    text-wrap: pretty;
    overflow-wrap: break-word;
  }

  body.page-chat .hero #hero-title {
    font-size: clamp(3.25rem, 8.4vw, 3.15rem);
  }

  .hero #hero-title .hero__title-line {
    white-space: normal;
  }

  .hero__sub {
    max-width: 28rem;
    font-size: clamp(1.02rem, 3.8vw, 1.12rem);
  }

  .hero__cta-rail {
    flex-direction: row;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    border-radius: 14px;
    padding: 4px;
  }

  .hero__cta-rail .btn {
    width: auto;
    padding: 11px 16px;
    font-size: 0.88rem;
  }

  .closing__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .closing__cta .btn {
    width: 100%;
  }

  .path__cta {
    flex-direction: column;
  }

  .path__cta .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .footer {
    padding-top: 40px;
  }

  .footer__shell {
    padding-inline: 20px;
  }

  .footer__main {
    gap: 28px;
  }

  .footer__nav {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 0;
  }

  .footer__col,
  .footer__col:nth-child(even) {
    padding-top: 0;
    border-top: 0;
  }

  .footer__col:nth-child(n + 3) {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 17, 17, 0.045);
  }

  .footer__col h4 {
    margin-bottom: 8px;
    font-size: 0.88rem;
  }

  .footer__col a,
  .footer__col .footer__theme {
    padding: 4px 0;
    font-size: 0.82rem;
  }

  .footer__bottom {
    margin-top: 28px;
    font-size: 0.75rem;
  }
}

@media (max-width: 420px) {
  .problem__points {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .problem__points>div {
    border-left: 0;
    padding-inline: 0;
    padding-block: 16px;
    border-top: 1px solid var(--line-2);
  }

  .problem__points>div:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-backdrop-video,
  video.vantage__plane {
    display: none;
  }

  .hero__cta[data-reveal] {
    clip-path: none;
    pointer-events: auto;
  }

  .marquee__track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  /* no autoplay: the bar becomes a plain underline for the current view */
  .showcase__fill {
    animation: none !important;
    transform: scaleX(1);
  }

  .win:hover .win__visual img {
    transform: none;
  }
}

/* ==========================================================================
   COMPONENT LIBRARY — documented in /pattern-book.html
   Shared brand devices first (fold, grain, plane), then patterns.
   Every pattern is fluid by default: grids collapse on container width,
   type uses clamp(), and no pattern relies on a fixed pixel width.
   ========================================================================== */

/* --- Brand devices ------------------------------------------------------ */

/* Fold: the nested-chevron plane. Larger, slower rhythm than .motif, meant
   to sit under display type rather than inside a product shot. */
.fold {
  --fold-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='200' viewBox='0 0 320 200'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1.25'%3E%3Cpath d='M-40 190 L160 20 L360 190'/%3E%3Cpath d='M-40 216 L160 46 L360 216'/%3E%3Cpath d='M-40 242 L160 72 L360 242'/%3E%3Cpath d='M-40 268 L160 98 L360 268'/%3E%3Cpath d='M-40 164 L160 -6 L360 164'/%3E%3Cpath d='M-40 138 L160 -32 L360 138'/%3E%3C/g%3E%3C/svg%3E");
  --fold-size: clamp(240px, 26vw, 380px) auto;
  --fold-pos: center 70%;
  --fold-fade: linear-gradient(190deg, #000 10%, transparent 85%);
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='200' viewBox='0 0 320 200'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1.25' opacity='0.16'%3E%3Cpath d='M-40 190 L160 20 L360 190'/%3E%3Cpath d='M-40 216 L160 46 L360 216'/%3E%3Cpath d='M-40 242 L160 72 L360 242'/%3E%3Cpath d='M-40 268 L160 98 L360 268'/%3E%3Cpath d='M-40 164 L160 -6 L360 164'/%3E%3Cpath d='M-40 138 L160 -32 L360 138'/%3E%3C/g%3E%3C/svg%3E");
  background-size: var(--fold-size);
  background-position: var(--fold-pos);
  -webkit-mask-image: var(--fold-fade);
  mask-image: var(--fold-fade);
}

/* Accent chevrons: paint with --accent via mask so themes recolour the grid */
.fold--ink {
  background-color: color-mix(in srgb, var(--accent) 34%, transparent);
  background-image: none;
  -webkit-mask-image: var(--fold-chevron), var(--fold-fade);
  -webkit-mask-size: var(--fold-size), 100% 100%;
  -webkit-mask-position: var(--fold-pos), 0 0;
  -webkit-mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in;
  mask-image: var(--fold-chevron), var(--fold-fade);
  mask-size: var(--fold-size), 100% 100%;
  mask-position: var(--fold-pos), 0 0;
  mask-repeat: repeat, no-repeat;
  mask-composite: intersect;
}

.fold--paper {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='200' viewBox='0 0 320 200'%3E%3Cg fill='none' stroke='%23111111' stroke-width='1.25' opacity='0.10'%3E%3Cpath d='M-40 190 L160 20 L360 190'/%3E%3Cpath d='M-40 216 L160 46 L360 216'/%3E%3Cpath d='M-40 242 L160 72 L360 242'/%3E%3Cpath d='M-40 268 L160 98 L360 268'/%3E%3Cpath d='M-40 164 L160 -6 L360 164'/%3E%3C/g%3E%3C/svg%3E");
}

/* Grain: the speckled material pass that keeps blue planes from looking
   like flat CSS gradients. Always paired with a coloured surface. */
.grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* Small uppercase tag used across the library */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag--accent {
  color: var(--accent);
}

.tag--on-ink {
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Plate — signature fold plane with a display statement
   Use for chapter openers and mid-page statements. One per page.
   -------------------------------------------------------------------------- */

.plate {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: clamp(14px, 1.6vw, 20px);
  min-height: clamp(320px, 34vw, 440px);
  padding: clamp(26px, 4vw, 56px);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, var(--accent-bright) 0%, var(--accent) 52%, color-mix(in srgb, var(--accent) 68%, #0A0C14) 100%);
  color: #FFFFFF;
}

.plate--ink {
  background: linear-gradient(158deg, #1A1B21 0%, var(--ink-deep) 60%);
}

.plate--paper {
  background: linear-gradient(158deg, var(--mist) 0%, var(--band) 100%);
  color: var(--ink);
}

.plate > * {
  position: relative;
  z-index: 1;
}

.plate__title {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: inherit;
}

.plate__note {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.76);
}

.plate--paper .plate__note {
  color: var(--muted);
}

.plate__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-top: clamp(14px, 1.8vw, 20px);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.plate--paper .plate__foot {
  border-top-color: var(--line);
}

.plate__stat {
  display: grid;
  gap: 2px;
}

.plate__stat b {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.plate__stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
}

.plate--paper .plate__stat span {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Duo — two panels inside one frame, closed by a brand bar
   The Mark OS ad composition. Copy panel + accent panel read as one object.
   -------------------------------------------------------------------------- */

.duo {
  display: grid;
  gap: clamp(8px, 0.9vw, 12px);
  padding: clamp(8px, 0.9vw, 12px);
  border-radius: var(--r-lg);
  background: var(--ink-deep);
}

.duo__row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(8px, 0.9vw, 12px);
}

.duo--flip .duo__row {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.duo--flip .duo__copy {
  order: 2;
}

.duo__copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 3.2vw, 44px);
  border-radius: var(--r-md);
  background: var(--mist);
}

.duo__copy h3 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  letter-spacing: -0.036em;
  line-height: 1.05;
}

.duo__copy p {
  max-width: 44ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.duo__visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: clamp(200px, 24vw, 300px);
  padding: clamp(18px, 2vw, 28px);
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--accent-bright) 0%, var(--accent) 100%);
}

.duo__visual--paper {
  background: linear-gradient(150deg, var(--band) 0%, #DDD9D0 100%);
}

.duo__visual > * {
  position: relative;
  z-index: 1;
}

.duo__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.duo__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: clamp(12px, 1.3vw, 16px) clamp(16px, 1.8vw, 24px);
  border-radius: var(--r-md);
  background: var(--accent);
  color: #FFFFFF;
}

.duo__bar--ink {
  background: var(--ink-panel);
}

.duo__bar img {
  height: 20px;
  width: auto;
}

.duo__bar span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 860px) {
  .duo__row,
  .duo--flip .duo__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .duo--flip .duo__copy {
    order: 0;
  }
}

/* --------------------------------------------------------------------------
   Switch — feature tabs with a media pane
   Soft segmented rail (control radius 10px — not pills). Rail scrolls on
   small screens instead of wrapping. Wired by initSwitch.
   -------------------------------------------------------------------------- */

.switch {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.switch__rail {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--band);
}

.switch__rail::-webkit-scrollbar {
  display: none;
}

.switch__tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  background: transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.switch__tab:hover {
  color: var(--ink);
}

.switch__tab[aria-selected="true"] {
  background: var(--card);
  border-color: var(--line-2);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.switch__tab i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.switch__panes {
  display: grid;
}

.switch__pane {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 2.4vw, 36px);
  align-items: center;
  padding: clamp(20px, 2.6vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease);
}

.switch__pane.is-active {
  opacity: 1;
  visibility: visible;
}

.switch__copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.switch__copy h3 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  letter-spacing: -0.034em;
  line-height: 1.08;
}

.switch__copy p {
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.switch__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.switch__meta span {
  padding: 6px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--mist);
  font-size: 0.78rem;
  color: var(--ink-2);
}

.switch__visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--mist) 0%, var(--band) 100%);
}

.switch__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .switch__rail {
    width: 100%;
  }

  .switch__pane {
    grid-template-columns: minmax(0, 1fr);
  }

  .switch__visual {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   Browse — showcase-tab language for body features
   Same rule as hero: inactive labels stay bare; only the active tab is a chip
   that bridges into the pane. Copy ↔ 16:10 visual inside. Wired by initSwitch.
   -------------------------------------------------------------------------- */

.browse {
  display: grid;
}

.browse__tabs {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: -1px;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  background: transparent;
}

.browse__tabs::-webkit-scrollbar {
  display: none;
}

.browse__tab {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 10px 14px 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  box-shadow: none;
  transition: color 0.22s var(--ease);
}

.browse__tab:hover {
  color: var(--ink-2);
}

.browse__tab[aria-selected="true"] {
  padding: 12px 16px 14px;
  border: 1px solid var(--line);
  border-bottom-color: var(--card);
  border-radius: 10px 10px 0 0;
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
}

.browse__tab:first-child[aria-selected="true"] {
  border-top-left-radius: 12px;
}

.browse__panes {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
}

.browse:has(.browse__tab:first-child[aria-selected="true"]) .browse__panes {
  border-top-left-radius: 0;
}

.browse__pane {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 2.4vw, 36px);
  align-items: center;
  padding: clamp(22px, 2.8vw, 36px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease);
}

.browse__pane.is-active {
  opacity: 1;
  visibility: visible;
}

.browse__copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.browse__copy .sec-label {
  margin: 0;
}

.browse__copy h3 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  letter-spacing: -0.034em;
  line-height: 1.08;
}

.browse__copy p {
  margin: 0;
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.browse__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.browse__meta span {
  padding: 6px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--mist);
  font-size: 0.78rem;
  color: var(--ink-2);
}

.browse__visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--band);
}

.browse__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 860px) {
  .browse__pane {
    grid-template-columns: minmax(0, 1fr);
  }

  .browse__visual {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   Facet — equal-width showcase tabs + dossier stage
   Same concept as hero: bare inactive labels on the page, one active chip
   into the stage. Shot inset with module/bento spacing. Inactive tab color
   always reads on paper (never ink-on-paper). No padding jump on select.
   Tones: default · .facet--band · .facet--ink.
   -------------------------------------------------------------------------- */

.facet {
  --facet-stage: var(--card);
  --facet-line: var(--line);
  --facet-ink: var(--ink);
  --facet-muted: var(--muted);
  --facet-well:
    linear-gradient(160deg, #F7F6F2 0%, #E8E6DF 100%);
  display: grid;
}

.facet--band {
  --facet-stage: var(--band);
  --facet-well:
    linear-gradient(160deg, #F7F6F2 0%, #E0DDD6 100%);
}

.facet--ink {
  --facet-stage: var(--ink-deep);
  --facet-line: var(--line-ink);
  --facet-ink: var(--on-ink);
  --facet-muted: var(--on-ink-2);
  --facet-well:
    radial-gradient(ellipse 70% 60% at 70% 30%,
      color-mix(in srgb, var(--accent) 28%, transparent),
      transparent 60%),
    #12131A;
}

.facet__tabs {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: -1px;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  background: transparent;
}

.facet__tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 1px;
  background: var(--facet-line);
  pointer-events: none;
}

.facet--ink .facet__tabs::after {
  /* Stage edge uses ink line; inactive labels sit on paper above it */
  background: var(--line);
}

.facet__tabs::-webkit-scrollbar {
  display: none;
}

.facet__tab {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  /* Locked box — active only paints border/bg, never resizes */
  padding: 12px 14px 14px;
  margin-bottom: -1px;
  border: 1px solid transparent;
  border-radius: 10px 10px 0 0;
  background: transparent;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--ink-2);
  box-shadow: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.facet__tab:hover {
  color: var(--ink);
}

.facet__tab[aria-selected="true"] {
  z-index: 2;
  border-color: var(--facet-line);
  border-bottom-color: var(--facet-stage);
  background: var(--facet-stage);
  color: var(--facet-ink);
  font-weight: 600;
}

.facet--ink .facet__tab[aria-selected="true"] {
  border-color: var(--line-ink);
  border-bottom-color: var(--ink-deep);
}

.facet__tab:first-child[aria-selected="true"] {
  border-top-left-radius: 12px;
}

.facet__tab:last-child[aria-selected="true"] {
  border-top-right-radius: 12px;
}

.facet__tab-text {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.facet__stage {
  display: grid;
  border: 1px solid var(--facet-line);
  border-radius: 16px;
  background: var(--facet-stage);
  overflow: hidden;
}

.facet:has(.facet__tab:first-child[aria-selected="true"]) .facet__stage {
  border-top-left-radius: 0;
}

.facet:has(.facet__tab:last-child[aria-selected="true"]) .facet__stage {
  border-top-right-radius: 0;
}

.facet__pane {
  grid-area: 1 / 1;
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
  padding: clamp(10px, 1.2vw, 14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease);
}

.facet__pane.is-active {
  opacity: 1;
  visibility: visible;
}

.facet__shot {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--facet-well);
  box-shadow: 0 24px 60px rgba(17, 17, 20, 0.12);
}

.facet--ink .facet__shot {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.facet__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.facet__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 28px;
  padding: 6px 6px 4px;
}

.facet__cap h3 {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.2;
  color: var(--facet-ink);
}

.facet__cap p {
  margin: 0;
  max-width: 44ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--facet-muted);
}

@media (max-width: 700px) {
  .facet__tab {
    flex: 0 0 auto;
    min-width: 0;
  }

  .facet__cap {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* --------------------------------------------------------------------------
   Jobs — department tabs into a day-one job grid
   Switch-style 10px rail (not pills). Each .job is a quiet paper tile with a
   tool chain at the foot. Optional .jobs__ask closes the chapter with one CTA.
   Wired by initSwitch() via .jobs root.
   -------------------------------------------------------------------------- */

.jobs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 36px) 28px;
  width: 100%;
}

.bands + .jobs {
  margin-top: clamp(32px, 3.6vw, 44px);
}

/* Legacy wrapper — still fine if present; children can also sit on .jobs */
.jobs__bar {
  display: contents;
}

.jobs__lead {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  text-align: left;
}

.jobs__lead .roster__line {
  margin: 0;
  max-width: 18em;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.028em;
}

.jobs__rail {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  width: fit-content;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--band);
}

.jobs__nav {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--r-ctl);
  background: transparent;
  color: var(--ink-2);
}

.jobs__nav:active {
  background: var(--card);
  color: var(--ink);
}

.jobs__tabs {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  border: 0;
  background: transparent;
}

.jobs__tabs::-webkit-scrollbar {
  display: none;
}

.jobs__tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--r-ctl);
  border: 1px solid transparent;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  background: transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.jobs__tab:hover {
  color: var(--ink);
}

.jobs__tab[aria-selected="true"] {
  background: var(--card);
  border-color: var(--line-2);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.jobs__panes {
  grid-column: 1 / -1;
  display: grid;
  padding: clamp(14px, 1.6vw, 20px);
  border-radius: var(--r-lg);
  background: var(--band);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}

.jobs__pane {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease);
}

.jobs__pane.is-active {
  opacity: 1;
  visibility: visible;
}

.jobs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 16px);
}

.job {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 100%;
  padding: clamp(18px, 2vw, 24px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  cursor: default;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.job > *:not(.fold):not(.grain) {
  position: relative;
  z-index: 1;
}

.job > .fold,
.job > .grain {
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.job > .fold {
  opacity: 0.42;
  --fold-size: clamp(180px, 22vw, 260px) auto;
  --fold-pos: 110% 120%;
}

.job > .grain {
  opacity: 0.28;
  mix-blend-mode: multiply;
}

/* Accent hover — same language as .spotlight__card--accent */
.job:hover,
.job:focus-visible {
  border-color: transparent;
  background: linear-gradient(150deg, var(--accent-bright) 0%, var(--accent) 100%);
  box-shadow: none;
  color: #FFFFFF;
  outline: none;
}

.job:hover > .fold,
.job:focus-visible > .fold {
  opacity: 1;
  background-image: none;
  background-color: color-mix(in srgb, #FFFFFF 22%, transparent);
  -webkit-mask-image: var(--fold-chevron), var(--fold-fade);
  -webkit-mask-size: var(--fold-size), 100% 100%;
  -webkit-mask-position: var(--fold-pos), 0 0;
  -webkit-mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in;
  mask-image: var(--fold-chevron), var(--fold-fade);
  mask-size: var(--fold-size), 100% 100%;
  mask-position: var(--fold-pos), 0 0;
  mask-repeat: repeat, no-repeat;
  mask-composite: intersect;
}

.job:hover > .grain,
.job:focus-visible > .grain {
  opacity: 0.55;
  mix-blend-mode: soft-light;
}

.job:hover .job__glyph,
.job:focus-visible .job__glyph {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}

.job:hover .job__head h3,
.job:focus-visible .job__head h3 {
  color: #FFFFFF;
}

.job:hover > p,
.job:focus-visible > p {
  color: rgba(255, 255, 255, 0.82);
}

.job:hover .job__chain,
.job:focus-visible .job__chain {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.job:hover .job__tool,
.job:focus-visible .job__tool {
  background: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(17, 17, 20, 0.08);
}

.job:hover .job__flow::before,
.job:focus-visible .job__flow::before {
  border-color: rgba(255, 255, 255, 0.7);
}

.job__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.job__glyph {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--line);
  background: var(--accent-wash);
  color: var(--accent);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.job__glyph svg {
  width: 18px;
  height: 18px;
}

.job__head h3 {
  margin: 2px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.25;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.job > p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34ch;
  transition: color 0.3s var(--ease);
}

.job__chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  transition: border-color 0.3s var(--ease);
}

.job__tool {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.job__tool img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Light (white) marks on paper chips — force ink */
.job__tool img[src*="openaib"],
.job__tool img[src*="grok"] {
  filter: brightness(0);
}

.job__flow {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  position: relative;
  opacity: 0.4;
}

.job__flow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--ink-2);
  border-top: 1.5px solid var(--ink-2);
  transform: rotate(45deg);
}

.jobs__ask {
  grid-column: 1 / -1;
}

#tools .jobs__ask {
  display: none;
}

@media (max-width: 960px) {
  .jobs {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .jobs__lead,
  .jobs__rail,
  .jobs__panes {
    grid-column: 1;
  }

  .jobs__lead {
    grid-row: 1;
  }

  .jobs__rail {
    grid-row: 2;
    width: 100%;
  }

  .jobs__tabs {
    width: 100%;
  }

  .jobs__panes {
    grid-row: 3;
  }

  .jobs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jobs__lead {
    text-align: center;
    padding-bottom: 10px;
  }

  .jobs__lead .roster__line {
    margin-inline: auto;
    text-align: center;
  }

  .jobs__rail {
    position: sticky;
    top: calc(var(--nav-offset) - 10px);
    z-index: 25;
    width: 100%;
    box-shadow: 0 12px 28px rgba(var(--shadow-tint), 0.14);
  }

  .jobs__nav {
    display: inline-flex;
  }

  .jobs__nav[hidden] {
    display: none;
  }

  .jobs__tabs {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: none;
  }

  .jobs__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Four use-cases per tab on phones; keep the rest for tablet/desktop */
  .jobs__grid > .job:nth-child(n + 5) {
    display: none;
  }

  .jobs--six .jobs__grid > .job:nth-child(n + 5) {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Ladder — ranked benefit rows
   Hairline rows, not cards. The index and the proof chip carry the rhythm.
   -------------------------------------------------------------------------- */

.ladder {
  display: grid;
  border-top: 1px solid var(--line);
}

.ladder__row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 0.8fr) auto;
  align-items: baseline;
  gap: clamp(12px, 2vw, 32px);
  padding: clamp(28px, 3.2vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-inline 0.25s var(--ease);
}

.ladder__row:hover {
  padding-inline: clamp(0px, 1vw, 14px);
}

.ladder__i {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.ladder__row:hover .ladder__i {
  color: var(--accent);
}

.ladder__claim {
  margin: 0;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  letter-spacing: -0.032em;
  line-height: 1.15;
  max-width: 20ch;
}

.ladder__note {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 40ch;
}

.ladder__proof {
  justify-self: end;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  font-family: "Outfit", sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .ladder__row {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 6px 14px;
    align-items: start;
  }

  .ladder__note,
  .ladder__proof {
    grid-column: 2;
  }

  .ladder__proof {
    justify-self: start;
    margin-top: 4px;
  }
}

/* --------------------------------------------------------------------------
   Metrics — result mosaic
   Mixed weights so the eye lands on one number first.
   -------------------------------------------------------------------------- */

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 0.9vw, 12px);
}

.metric {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  min-height: clamp(180px, 18vw, 230px);
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--card);
}

.metric--wide {
  grid-column: span 2;
}

.metric--accent {
  border-color: transparent;
  background: linear-gradient(150deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #FFFFFF;
}

.metric--ink {
  border-color: transparent;
  background: var(--ink-deep);
  color: var(--on-ink);
}

.metric > * {
  position: relative;
  z-index: 1;
}

.metric__n {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.metric__body h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  letter-spacing: -0.024em;
  color: inherit;
}

.metric__body p {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 32ch;
}

.metric--accent .metric__body p {
  color: rgba(255, 255, 255, 0.76);
}

.metric--ink .metric__body p {
  color: var(--on-ink-2);
}

@media (max-width: 900px) {
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .metric--wide {
    grid-column: span 1;
  }
}

/* --------------------------------------------------------------------------
   Tiers — pricing
   One recommended column carries the ink plane; the others stay quiet.
   -------------------------------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
  align-items: stretch;
}

.tier {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(26px, 2.8vw, 36px) clamp(24px, 2.6vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--card);
}

.tier--featured {
  border-color: transparent;
  background:
    radial-gradient(ellipse 78% 40% at 50% 0%,
      color-mix(in srgb, var(--accent) 20%, transparent) 0%,
      transparent 58%),
    linear-gradient(165deg, #1A1B22 0%, var(--ink-deep) 58%, #0C0C0E 100%);
  color: var(--on-ink);
}

.tier--featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  height: 3px;
  background: var(--accent);
}

.tier > * {
  position: relative;
  z-index: 1;
}

.tier > .fold,
.tier > .grain {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tier--featured > .grain {
  opacity: 0.28;
  mix-blend-mode: soft-light;
}

.tier--featured > .fold.fold--ink {
  opacity: 0.42;
  background-color: color-mix(in srgb, var(--accent) 18%, transparent);
}

.tier__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 25px;
}

.tier__name {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.028em;
  color: inherit;
}

.tier__flag {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--accent);
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.tier__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.tier--featured .tier__price {
  border-bottom-color: var(--line-ink);
}

.tier__price b {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.tier__price span {
  font-size: 0.85rem;
  color: var(--muted);
}

.tier--featured .tier__price span {
  color: rgba(245, 245, 244, 0.78);
}

.tier__was {
  flex-basis: 100%;
  font-size: 0.82rem;
  font-weight: 450;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.tier--featured .tier__was {
  color: rgba(245, 245, 244, 0.48);
}

.tier__credit {
  margin: -6px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--accent);
}

.tier--featured .tier__credit {
  color: var(--accent-glow);
}

.tier__desc {
  margin: 0;
  max-width: 28ch;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

.tier--featured .tier__desc {
  color: rgba(245, 245, 244, 0.78);
}

.tier__list {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.tier--featured .tier__list {
  border-top-color: var(--line-ink);
  color: rgba(245, 245, 244, 0.82);
}

.tier__list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.tier--featured .tier__list li {
  border-bottom-color: var(--line-ink);
}

.tier__list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

.tier--featured .tier__list li::before {
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  color: var(--accent-glow);
}

.tier .btn {
  margin-top: auto;
  width: 100%;
}

.tier .btn--ghost {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

.tier .btn--ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.tier--featured .btn--primary {
  background: var(--accent);
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .tiers {
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
    margin-inline: auto;
  }

  .tier--featured {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   Verdict — the choice as two planes
   Quiet paper side carries the cost of today, ink side carries ours, and an
   accent bar closes the object. Five ruled rows per side, never more: this is
   an argument, not a spec sheet. Use instead of Matrix when the comparison is
   emotional rather than feature-by-feature.
   -------------------------------------------------------------------------- */

.verdict {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(10px, 1.2vw, 16px);
  padding: clamp(10px, 1.2vw, 16px);
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--mist);
}

.verdict__side {
  display: grid;
  align-content: start;
  gap: clamp(16px, 1.8vw, 24px);
  padding: clamp(26px, 3.2vw, 44px) clamp(22px, 2.6vw, 36px);
  border-radius: var(--r-lg);
  background: var(--band);
}

.verdict__side--win {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%,
      color-mix(in srgb, var(--accent) 30%, transparent) 0%,
      transparent 58%),
    linear-gradient(155deg, #1A1B22 0%, var(--ink-deep) 55%, #0A0A0C 100%);
  color: var(--on-ink);
}

.verdict__side--win::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  height: 3px;
  background: var(--accent);
}

.verdict__side--win > .fold,
.verdict__side--win > .grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.verdict__side--win > .fold {
  opacity: 0.4;
}

.verdict__side--win > .grain {
  opacity: 0.36;
  mix-blend-mode: soft-light;
}

.verdict__side > *:not(.fold):not(.grain) {
  position: relative;
  z-index: 1;
}

.verdict__head {
  display: grid;
  gap: 8px;
}

.verdict__head h3 {
  margin: 0;
  max-width: 18ch;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.1;
}

.verdict__side--win .verdict__head h3 {
  color: var(--on-ink);
}

.verdict__note {
  margin: 0;
  max-width: 34ch;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.verdict__side--win .verdict__note {
  color: rgba(245, 245, 244, 0.6);
}

.verdict__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.verdict__rows li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.verdict__side--win .verdict__rows li {
  border-top-color: var(--line-ink);
  color: rgba(245, 245, 244, 0.86);
}

.verdict__mark {
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}

.verdict__mark--yes {
  display: grid;
  place-items: center;
  border: 0;
  background: var(--accent);
  color: #FFFFFF;
}

.verdict__side--win .verdict__mark {
  display: grid;
  place-items: center;
  border: 0;
  background: var(--accent);
  color: #FFFFFF;
}

.verdict__side--win .verdict__mark--neutral {
  background: transparent;
  border: 1px solid var(--line-ink);
}

.verdict__mark svg {
  width: 11px;
  height: 11px;
}

.verdict__bar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: clamp(16px, 1.8vw, 22px) clamp(20px, 2.4vw, 32px);
  border-radius: var(--r-lg);
  background: var(--accent);
  color: #FFFFFF;
}

.verdict__bar p {
  margin: 0;
  max-width: 34ch;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.022em;
}

.verdict__bar .btn {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--ink);
}

@media (max-width: 860px) {
  .verdict {
    grid-template-columns: minmax(0, 1fr);
  }

  .verdict__side--cold {
    order: 1;
  }

  .verdict__side--win {
    order: 2;
  }

  .verdict__bar {
    order: 3;
  }
}

/* --------------------------------------------------------------------------
   Matrix — comparison table
   Real table markup. Scrolls horizontally rather than shrinking to unreadable.
   -------------------------------------------------------------------------- */

.matrix {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--card);
}

.matrix table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
}

.matrix th,
.matrix td {
  padding: clamp(14px, 1.6vw, 20px) clamp(14px, 1.8vw, 22px);
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
  vertical-align: middle;
}

.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td {
  border-bottom: 0;
}

.matrix thead th {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--mist);
}

.matrix tbody th {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.matrix td {
  color: var(--muted);
}

.matrix .is-us {
  background: var(--accent-wash);
  color: var(--ink);
  font-weight: 500;
}

.matrix thead .is-us {
  color: var(--accent);
}

.matrix__yes,
.matrix__no {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.matrix__yes {
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.matrix__no {
  border: 1px solid var(--line-2);
}

/* --------------------------------------------------------------------------
   Sheet — plan vs plan comparison
   Category bands, wrapping model chips, sticky header with CTAs.
   Premium column is .is-us. Not Matrix (that's us vs the alternative).
   Desktop: thead sticks under the nav. Below 900px the table scrolls sideways
   and the feature column pins left.
   -------------------------------------------------------------------------- */

.sheet {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--card);
}

.sheet thead th:first-child {
  border-top-left-radius: var(--r-md);
}

.sheet thead th:last-child {
  border-top-right-radius: var(--r-md);
}

.sheet table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.sheet caption {
  caption-side: bottom;
  padding: 14px 18px 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: left;
}

.sheet th,
.sheet td {
  padding: clamp(14px, 1.5vw, 18px) clamp(12px, 1.6vw, 20px);
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
  vertical-align: top;
}

.sheet tbody:last-child tr:last-child th,
.sheet tbody:last-child tr:last-child td {
  border-bottom: 0;
}

.sheet thead th {
  position: sticky;
  top: var(--nav-offset);
  z-index: 3;
  padding-top: clamp(16px, 1.8vw, 22px);
  padding-bottom: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--ink);
  background: var(--mist);
  box-shadow: 0 1px 0 var(--rule);
}

.sheet thead th.is-us {
  background: var(--accent-wash);
  color: var(--ink);
}

.sheet__plan {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.sheet__name {
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet thead .is-us .sheet__name {
  color: var(--accent);
}

.sheet__feat {
  width: 28%;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
  background: var(--card);
}

.sheet thead .sheet__feat {
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--mist);
}

.sheet td {
  color: var(--ink-2);
}

.sheet .is-us {
  background: color-mix(in srgb, var(--accent-wash) 70%, var(--card));
  color: var(--ink);
}

.sheet__cat td {
  padding-top: clamp(22px, 2.4vw, 30px);
  padding-bottom: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--mist);
}

.sheet__models {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sheet__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28em 0.62em;
  border-radius: var(--r-sm);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-2);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
  white-space: nowrap;
}

.sheet__tag--plus {
  color: var(--accent);
  background: var(--accent-wash);
  box-shadow: none;
}

.sheet__none {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  background: #FEECE8;
  color: #C2410C;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.sheet__none::before {
  content: "×";
}

.sheet__hint {
  display: none;
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .sheet {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .sheet table {
    min-width: 680px;
  }

  .sheet thead th {
    position: sticky;
    top: 0;
  }

  .sheet th:first-child,
  .sheet td:first-child,
  .sheet__cat td {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--card);
    box-shadow: 1px 0 0 var(--rule);
  }

  .sheet thead th:first-child {
    z-index: 4;
    background: var(--mist);
  }

  .sheet thead th.is-us {
    z-index: 3;
  }

  .sheet__cat td {
    z-index: 2;
    background: var(--mist);
  }

  .sheet td.is-us {
    background: color-mix(in srgb, var(--accent-wash) 70%, var(--card));
  }

  .sheet__hint {
    display: block;
    margin: clamp(28px, 4vw, 48px) 0 10px;
  }

  .sec-head--wide ~ .sheet {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   Track — rollout timeline
   Horizontal nodes on a rule; stacks to a vertical spine on small screens.
   -------------------------------------------------------------------------- */

.track {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  margin: 0;
  padding: 0;
}

.track__item {
  position: relative;
  display: grid;
  gap: 10px;
  padding-top: 34px;
}

.track__item::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-2);
}

.track__item:last-child::before {
  right: calc(100% - 18px);
}

.track__item::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  background: var(--line-2);
}

.track__item[data-done="true"]::after {
  background: var(--accent);
}

.track__when {
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.track__item h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.028em;
  line-height: 1.2;
}

.track__item p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 30ch;
}

@media (max-width: 780px) {
  .track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 0;
  }

  .track__item {
    padding: 0 0 26px 30px;
  }

  .track__item::before {
    top: 6px;
    bottom: -6px;
    left: 6px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .track__item:last-child::before {
    display: none;
  }

  .track__item::after {
    top: 2px;
    left: 0;
  }
}

/* --------------------------------------------------------------------------
   FAQ — hairline disclosures
   Native <details>, so it works with no JS and stays keyboard accessible.
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  align-items: start;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:first-child,
.faq__item:nth-child(2) {
  border-top: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 1.8vw, 22px) 0;
  cursor: pointer;
  list-style: none;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.024em;
  color: var(--ink);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
  border-color: var(--accent);
}

.faq__item p {
  padding-bottom: clamp(16px, 1.8vw, 22px);
  max-width: 46ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 780px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq__item:nth-child(2) {
    border-top: 0;
  }
}

/* --------------------------------------------------------------------------
   Tileset — integrations / logo grid
   Hairline gutters, no per-tile borders, so it reads as one ruled plane.
   -------------------------------------------------------------------------- */

.tileset {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(130px, 16vw, 180px), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}

.tileset__cell {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: clamp(96px, 10vw, 124px);
  padding: 18px;
  background: var(--card);
  transition: background-color 0.2s var(--ease);
}

.tileset__cell:hover {
  background: var(--mist);
}

.tileset__cell img {
  height: clamp(20px, 2.2vw, 26px);
  width: auto;
  object-fit: contain;
}

.tileset__cell span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Voice — customer quote
   Display-scale quote, tiny attribution. No avatar circles, no card shadow.
   -------------------------------------------------------------------------- */

.voice {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: var(--r-lg);
  background: var(--band);
}

.voice--ink {
  background: var(--ink-deep);
  color: var(--on-ink);
}

.voice > * {
  position: relative;
  z-index: 1;
}

.voice blockquote {
  margin: 0;
  max-width: 24ch;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1.12;
  color: inherit;
  text-wrap: balance;
}

.voice__by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.voice--ink .voice__by {
  border-top-color: var(--line-ink);
  color: var(--on-ink-2);
}

.voice__by b {
  font-weight: 500;
  color: var(--ink);
}

.voice--ink .voice__by b {
  color: var(--on-ink);
}

/* --------------------------------------------------------------------------
   Reel — use-case / quote carousel
   Equal-height slides: shot | (quote panel + duo__bar under right column only).
   Recolour with --reel-panel / modifiers. Wired by initReel.
   -------------------------------------------------------------------------- */

.reel {
  --reel-gap: clamp(12px, 1.6vw, 20px);
  --reel-peek: clamp(28px, 6vw, 72px);
  --reel-h: clamp(360px, 42vw, 440px);
  position: relative;
  display: grid;
  gap: clamp(16px, 2vw, 22px);
}

.reel__viewport {
  overflow: hidden;
  margin-inline: calc(-1 * var(--reel-peek));
  padding-inline: var(--reel-peek);
}

.reel__track {
  display: flex;
  align-items: stretch;
  gap: var(--reel-gap);
  width: max-content;
  max-width: none;
  transform: translateX(var(--reel-x, 0px));
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  /* Keep type sharp — avoid will-change / 3d layers on text planes */
  -webkit-font-smoothing: antialiased;
}

.reel__track.is-grabbing {
  cursor: grabbing;
  transition: none;
  touch-action: none;
}

.reel__track.is-grabbing * {
  pointer-events: none;
  user-select: none;
}

.reel__panel,
.reel__panel blockquote,
.reel__by {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.reel__slide {
  flex: 0 0 auto;
  width: min(920px, 100%);
  min-width: 0;
  display: flex;
}

.reel__card {
  --reel-panel: var(--accent-wash);
  --reel-ink: var(--ink);
  --reel-muted: var(--ink-2);
  --reel-grid: color-mix(in srgb, var(--ink) 10%, transparent);
  display: grid;
  flex: 1;
  width: 100%;
  height: var(--reel-h);
  gap: clamp(8px, 0.9vw, 12px);
  padding: clamp(8px, 0.9vw, 12px);
  border-radius: var(--r-lg);
  background: var(--ink-deep);
}

.reel__card--accent {
  --reel-panel: var(--accent);
  --reel-ink: #FFFFFF;
  --reel-muted: rgba(255, 255, 255, 0.72);
  --reel-grid: rgba(255, 255, 255, 0.16);
}

.reel__card--ink {
  --reel-panel: var(--ink-panel);
  --reel-ink: var(--on-ink);
  --reel-muted: var(--on-ink-2);
  --reel-grid: rgba(245, 245, 244, 0.1);
}

.reel__card--band {
  --reel-panel: var(--band);
  --reel-ink: var(--ink);
  --reel-muted: var(--muted);
  --reel-grid: color-mix(in srgb, var(--ink) 9%, transparent);
}

/* Light reel — latte chrome; type scaled like Duo / Stage panels
   (not Shards — those sizes are for compact three-up cells). */
.reel--light {
  --reel-peek: 0px;
}

.reel--light .reel__viewport {
  margin-inline: 0;
  padding-inline: 0;
}

.reel--light .reel__card {
  background: var(--band);
  border: 1px solid var(--line);
  box-shadow: none;
}

.reel--light .reel__card--band {
  --reel-panel: var(--paper);
}

.reel--light .reel__panel {
  align-content: space-between;
  gap: clamp(20px, 2.4vw, 32px);
}

.reel--light .reel__lead {
  display: grid;
  gap: 12px;
}

.reel--light .reel__lead .sec-label {
  margin: 0;
}

.reel--light .reel__panel h3 {
  margin: 0;
  max-width: 15ch;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.036em;
  line-height: 1.05;
  color: var(--reel-ink);
  text-wrap: balance;
}

.reel--light .reel__panel > p {
  margin: 0;
  max-width: 34ch;
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.55;
  text-transform: none;
  color: var(--reel-muted);
}

.reel--light .duo__bar span {
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.88rem;
  letter-spacing: normal;
}

.reel--light .reel__btn {
  border-color: var(--line);
  background: var(--card);
  color: var(--ink);
}

.reel--light .reel__btn:hover {
  border-color: var(--ink);
  background: var(--card);
}

.reel__row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(8px, 0.9vw, 12px);
  min-height: 0;
  height: 100%;
}

.reel__shot {
  position: relative;
  margin: 0;
  min-height: 0;
  height: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  background:
    var(--reel-shot, none) center / cover no-repeat,
    var(--mist);
}

.reel__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.reel img {
  -webkit-user-drag: none;
  user-select: none;
}

/* Right column only: quote plane + brand bar */
.reel__copy {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(8px, 0.9vw, 12px);
  min-height: 0;
  height: 100%;
}

.reel__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: space-between;
  gap: clamp(20px, 2.4vw, 32px);
  min-height: 0;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--reel-panel);
  color: var(--reel-ink);
}

.reel__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--reel-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--reel-grid) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(145deg, #000 18%, transparent 88%);
  mask-image: linear-gradient(145deg, #000 18%, transparent 88%);
}

.reel__panel > * {
  position: relative;
  z-index: 1;
}

.reel__panel blockquote {
  margin: 0;
  max-width: 22ch;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.28rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.036em;
  line-height: 1.18;
  color: inherit;
  text-wrap: balance;
}

.reel__by {
  display: grid;
  gap: 4px;
  font-family: "Outfit", sans-serif;
}

.reel__by b {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
}

.reel__by span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--reel-muted);
}

.reel__copy .duo__bar {
  flex-shrink: 0;
}

.reel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.reel__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.reel__btn:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: var(--mist);
}

.reel__btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

@media (max-width: 820px) {
  .reel {
    --reel-h: auto;
    --reel-peek: 0px;
  }

  .reel__viewport {
    margin-inline: 0;
    padding-inline: 0;
  }

  .reel__slide {
    width: 100%;
  }

  .reel__card {
    height: auto;
  }

  .reel__row {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .reel__shot {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .reel__copy {
    height: auto;
  }

  .reel__panel {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel__track {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Sweep — catalog of results in one row (image · video · ad)
   Wired by initSweep: slow drift, drag, pause on hover.
   -------------------------------------------------------------------------- */

.sweep {
  --sweep-w: clamp(148px, 13.6vw, 188px);
  --sweep-h: clamp(210px, 21.5vw, 276px);
  --sweep-gap: 10px;
  --sweep-fade: 40px;
  position: relative;
  width: min(1080px, 92vw);
  margin: clamp(12px, 1.4vw, 18px) auto 0;
}

.sweep::before,
.sweep::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--sweep-fade);
  z-index: 4;
  pointer-events: none;
}

.sweep::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), transparent);
}

.sweep::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), transparent);
}

.sweep__stage {
  position: relative;
  height: calc(var(--sweep-h) + 48px);
  padding: 20px 0 28px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.sweep__stage:active {
  cursor: grabbing;
}

.sweep__stage:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.sweep__track {
  display: flex;
  align-items: center;
  gap: var(--sweep-gap);
  height: 100%;
  width: max-content;
  will-change: transform;
}

.sweep__card {
  position: relative;
  z-index: var(--sweep-z, 1);
  display: block;
  flex: 0 0 var(--sweep-w);
  width: var(--sweep-w);
  height: var(--sweep-h);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  outline: none;
  border-radius: 18px;
  background: #1a1a1a;
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08);
  transform: translate3d(0, var(--sweep-y, 0px), 0) rotate(var(--sweep-r, 0deg));
  transform-origin: 50% 50%;
  opacity: var(--sweep-o, 0.7);
}

.sweep .sweep__shot,
.sweep .sweep__card > img,
.sweep .sweep__card > video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
}

.sweep__card video.sweep__shot {
  opacity: 0;
  background: #0a0a0a;
  transition: opacity 0.28s ease;
}

.sweep__card video.sweep__shot.is-ready {
  opacity: 1;
}

@media (max-width: 980px) {
  .sweep {
    --sweep-w: clamp(152px, 28vw, 200px);
    --sweep-h: clamp(214px, 40vw, 272px);
    --sweep-gap: 14px;
    width: 94vw;
  }
}

@media (max-width: 720px) {
  .sweep {
    --sweep-w: clamp(158px, 48vw, 214px);
    --sweep-h: clamp(220px, 68vw, 300px);
    --sweep-gap: 12px;
    --sweep-fade: 28px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .sweep {
    --sweep-w: clamp(168px, 62vw, 230px);
    --sweep-h: clamp(232px, 86vw, 320px);
    --sweep-fade: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sweep__track {
    will-change: auto;
  }

  .sweep__card {
    will-change: auto;
  }
}

.hero + #why.sec--tight,
.hero + #rezultate.sec--tight {
  padding-top: clamp(48px, 5.5vw, 72px);
  padding-bottom: clamp(28px, 3.2vw, 40px);
}

#why .roster > .lede,
#rezultate .roster > .lede {
  margin-bottom: 0;
}

#why .sweep,
#rezultate .sweep {
  margin: clamp(28px, 3.2vw, 40px) auto clamp(40px, 4.8vw, 34px);
}

/* Sweep · Agents — trading-card profile: square avatar, compact foot */
.sweep--agents {
  --sweep-w: clamp(154px, 14.2vw, 182px);
  --sweep-h: calc(var(--sweep-w) + 88px);
  --sweep-gap: 12px;
  --sweep-arch: 52px;
}

.sweep--agents .sweep__stage {
  height: calc(var(--sweep-h) + var(--sweep-arch) + 36px);
  padding: 12px 28px 24px;
}

.sweep--agents .sweep__track {
  align-items: flex-end;
}

.sweep--agents .sweep__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  opacity: 0.7;
}

.sweep--agents .sweep__shot,
.sweep--agents .sweep__card > img {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 0;
  background: #111;
}

.sweep--agents .sweep__meta {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 12px 14px 12px;
  background: var(--card);
}

.sweep--agents .sweep__meta.is-frozen {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.sweep--agents .sweep__meta-shot {
  display: block;
  box-sizing: border-box;
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  padding: 0;
  pointer-events: none;
}

.sweep--agents .sweep__name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: wrap;
}

.sweep--agents .sweep__used {
  margin: auto 0 0;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  font-family: "Outfit", sans-serif;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.sweep--agents .sweep__jobs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.42em;
  row-gap: 0;
  margin: 3px 0 0;
  padding: 0;
  list-style: none;
}

.sweep--agents .sweep__jobs li {
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

.sweep--agents .sweep__jobs li:not(:last-child)::after {
  content: "·";
  margin-left: 0.42em;
  color: var(--muted);
}

@media (max-width: 980px) {
  .sweep--agents {
    --sweep-w: clamp(142px, 22vw, 172px);
    --sweep-gap: 10px;
  }
}

@media (max-width: 720px) {
  .sweep--agents {
    --sweep-w: clamp(130px, 36vw, 158px);
    --sweep-h: calc(var(--sweep-w) + 76px);
    --sweep-gap: 10px;
    --sweep-arch: 0px;
    --sweep-fade: 16px;
    width: 100%;
  }

  .sweep--agents .sweep__stage {
    height: calc(var(--sweep-h) + 16px);
    padding: 6px 14px 14px;
  }

  .sweep--agents .sweep__track {
    align-items: center;
  }

  .sweep--agents .sweep__card {
    transform: none !important;
    opacity: 1;
    border-radius: 14px;
  }

  .sweep--agents .sweep__meta {
    padding: 10px 12px 11px;
  }

  .sweep--agents .sweep__name {
    font-size: 0.84rem;
  }

  .sweep--agents .sweep__used {
    padding-top: 6px;
    font-size: 0.52rem;
  }

  .sweep--agents .sweep__jobs li {
    font-size: 0.68rem;
  }

  #why .sweep--agents {
    margin-block: clamp(20px, 5vw, 28px);
  }
}

@media (max-width: 480px) {
  .sweep--agents {
    --sweep-w: clamp(122px, 33vw, 146px);
    --sweep-h: calc(var(--sweep-w) + 72px);
    --sweep-gap: 8px;
  }

  .sweep--agents .sweep__stage {
    padding-inline: 10px;
  }
}

@media (max-width: 720px) and (orientation: landscape) {
  .sweep--agents {
    --sweep-w: clamp(118px, 22vw, 144px);
    --sweep-h: calc(var(--sweep-w) + 72px);
  }

  .sweep--agents .sweep__stage {
    height: calc(var(--sweep-h) + 12px);
    padding-block: 4px 10px;
  }
}

#models.sec--tight {
  padding-top: clamp(28px, 3.2vw, 40px);
}

#models.sec--tight:has(+ #use) {
  padding-bottom: 0;
}

.hero + #models.sec--tight:has(+ #use) {
  padding-block: var(--gap-lg);
}

#use.sec {
  padding-top: 0;
  padding-bottom: var(--gap-xl);
}

.ledge-well--foot #models.sec--ledge-foot {
  padding-bottom: clamp(36px, 4.2vw, 56px);
}

#models .roster > .roster__line:has(.roster__chip) {
  font-size: clamp(1.68rem, 1.95vw, 1.92rem);
  font-weight: 400;
}

#models .roster__chip {
  font-weight: 600;
  vertical-align: middle;
}

#models .roster > .roster__line#models-title:not(:has(.roster__chip)),
body.page-home .roster > .roster__line#platform-title,
body.page-home .roster > .roster__line#control-title,
body.page-home .roster > .roster__line#consolidate-title,
body.page-chat .roster > .roster__line#models-title,
body.page-chat .roster > .roster__line#flank-title,
body.page-chat .roster > .roster__line#output-title,
body.page-chat .roster > .roster__line#tally-title,
body.page-chat .roster > .roster__line#trust-title,
#studio .roster > .roster__line#studio-title,
body.page-studio .roster > .roster__line#output-title,
body.page-automation .roster > .roster__line#why-title,
body.page-automation .roster > .roster__line#pieces-title,
body.page-automation .roster > .roster__line#output-title,
body.page-labeling .roster > .roster__line#why-title,
body.page-labeling .roster > .roster__line#how-title,
body.page-labeling .roster > .roster__line#editor-title,
body.page-labeling .roster > .roster__line#trust-title,
body.page-workspaces .roster > .roster__line#work-title,
body.page-workspaces .roster > .roster__line#set-title,
body.page-workspaces .roster > .roster__line#output-title,
body.page-administration .roster > .roster__line#why-title,
body.page-administration .roster > .roster__line#desk-title,
body.page-administration .roster > .roster__line#set-title,
body.page-ecom #inside .roster > .roster__line#output-title,
body.page-mkt #inside .roster > .roster__line#output-title,
body.page-ecom #automatizare .roster > .roster__line#auto-title,
body.page-mkt #automatizare .roster > .roster__line#auto-title,
body.page-ecom #compara .roster > .roster__line#verdict-title,
body.page-mkt #compara .roster > .roster__line#verdict-title,
body.page-ecom #compara .roster > .roster__line#signets-title,
body.page-mkt #compara .roster > .roster__line#signets-title,
body.page-compare .roster > .roster__line#pain-title,
body.page-compare .roster > .roster__line#calc-title,
body.page-compare .roster > .roster__line#verdict-title,
body.page-compare .roster > .roster__line#not-for-title,
body.page-compare .roster > .roster__line#faq-title {
  font-size: clamp(2.8rem, 1.9vw, 1.95rem);
}

/* Same titles as the 2.8rem display bump above. On mobile the inverted clamp
   resolves to 2.8rem — use the base .roster__line size instead. Desktop
   (min-width 901) keeps 2.8rem. Nested jobs/stage/chip sizes are untouched. */
@media (max-width: 900px) {
  #models .roster > .roster__line#models-title:not(:has(.roster__chip)),
  body.page-home .roster > .roster__line#platform-title,
  body.page-home .roster > .roster__line#control-title,
  body.page-home .roster > .roster__line#consolidate-title,
  body.page-chat .roster > .roster__line#models-title,
  body.page-chat .roster > .roster__line#flank-title,
  body.page-chat .roster > .roster__line#output-title,
  body.page-chat .roster > .roster__line#tally-title,
  body.page-chat .roster > .roster__line#trust-title,
  #studio .roster > .roster__line#studio-title,
  body.page-studio .roster > .roster__line#output-title,
  body.page-automation .roster > .roster__line#why-title,
  body.page-automation .roster > .roster__line#pieces-title,
  body.page-automation .roster > .roster__line#output-title,
  body.page-labeling .roster > .roster__line#why-title,
  body.page-labeling .roster > .roster__line#how-title,
  body.page-labeling .roster > .roster__line#editor-title,
  body.page-labeling .roster > .roster__line#trust-title,
  body.page-workspaces .roster > .roster__line#work-title,
  body.page-workspaces .roster > .roster__line#set-title,
  body.page-workspaces .roster > .roster__line#output-title,
  body.page-administration .roster > .roster__line#why-title,
  body.page-administration .roster > .roster__line#desk-title,
  body.page-administration .roster > .roster__line#set-title,
  body.page-ecom #inside .roster > .roster__line#output-title,
  body.page-mkt #inside .roster > .roster__line#output-title,
  body.page-ecom #automatizare .roster > .roster__line#auto-title,
  body.page-mkt #automatizare .roster > .roster__line#auto-title,
  body.page-ecom #compara .roster > .roster__line#verdict-title,
  body.page-mkt #compara .roster > .roster__line#verdict-title,
  body.page-ecom #compara .roster > .roster__line#signets-title,
  body.page-mkt #compara .roster > .roster__line#signets-title,
  body.page-compare .roster > .roster__line#pain-title,
  body.page-compare .roster > .roster__line#calc-title,
  body.page-compare .roster > .roster__line#verdict-title,
  body.page-compare .roster > .roster__line#not-for-title,
  body.page-compare .roster > .roster__line#faq-title {
    font-size: clamp(2.4rem, 1.9vw, 1.95rem);
  }
}

body.page-administration #why-title .roster__text--break {
  display: inline;
}

body.page-workspaces #work-title .roster__text--break {
  display: inline;
}

@media (min-width: 721px) {
  body.page-administration #why-title .roster__text--break {
    display: block;
  }

  body.page-workspaces #work-title .roster__text--break {
    display: block;
  }
}

#models .roster > .roster__line#models-title:has(.roster__chip) {
  font-size: clamp(2rem, 1.9vw, 1.95rem);
  font-weight: 400;
}

#models .roster > .roster__line#models-title:has(.roster__chip) .roster__text strong {
  font-weight: 600;
}

#ce-face .roster > .roster__line:has(.roster__chip) {
  max-width: 32em;
  font-size: clamp(2.4rem, 1.9vw, 1.95rem);
  font-weight: 600;
  line-height: 1.5;
}

#ce-face .roster__chip {
  font-weight: 600;
  font-size: 0.72em;
  vertical-align: middle;
}

#why .roster > .roster__line,
#studio .roster > .roster__line,
#inside .roster > .roster__line,
#run .roster > .roster__line {
  font-size: clamp(2.4rem, 1.9vw, 1.95rem);
  line-height: 1.28;
}

#usecases .job {
  grid-template-rows: auto 1fr;
}

#run.sec,
#studio.sec,
#preturi.sec,
#compara.sec,
#beneficii.sec {
  background: var(--card);
  border: 0;
}

#compara.sec--soft + #beneficii.sec,
#compara.sec + #beneficii.sec,
#compara.sec + #preturi.sec {
  padding-top: 0;
  margin-top: 0;
}

#compara.sec--soft:has(+ #beneficii),
#compara.sec:has(+ #beneficii),
#compara.sec:has(+ #preturi) {
  border-bottom: 0;
  padding-bottom: 0;
}

#beneficii.sec + #preturi.sec {
  padding-top: 0;
  margin-top: 0;
}

#beneficii.sec:has(+ #preturi) {
  border-bottom: 0;
  padding-bottom: 0;
}

#run .reel {
  --reel-h: clamp(240px, 24vw, 300px);
  --reel-peek: 0px;
  margin-block: clamp(20px, 2.4vw, 28px);
  overflow: hidden;
}

#run .reel + .roster {
  margin-top: clamp(40px, 5vw, 64px);
}

#run .reel__viewport {
  margin-inline: 0;
  padding-inline: 0;
}

#run .reel__slide {
  width: 100%;
}

#run .reel__panel blockquote {
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.35;
}

@media (max-width: 820px) {
  #run .reel {
    margin-block: clamp(16px, 4vw, 22px);
    gap: 12px;
  }

  #run .reel__card {
    height: auto;
    padding: clamp(8px, 2vw, 12px);
  }

  #run .reel__row {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(8px, 2vw, 12px);
    height: auto;
  }

  #run .reel__shot {
    aspect-ratio: 4 / 3;
    max-height: none;
    min-height: 0;
    width: 100%;
  }

  #run .reel__shot img {
    object-fit: cover;
    object-position: center;
  }

  #run .reel__copy {
    height: auto;
    grid-template-rows: auto auto;
  }

  #run .reel__panel {
    min-height: 0;
    padding: clamp(14px, 3.5vw, 18px);
    gap: 12px;
  }

  #run .reel__panel blockquote {
    max-width: none;
    font-size: clamp(0.95rem, 3.8vw, 1.08rem);
    line-height: 1.32;
  }

  #run .reel__by b {
    font-size: 0.72rem;
  }

  #run .reel__by span {
    font-size: clamp(0.65rem, 2.8vw, 0.72rem);
    letter-spacing: 0.06em;
    line-height: 1.35;
  }

  #run .reel__copy .duo__bar {
    padding: 10px 12px;
    gap: 6px;
  }

  #run .reel__copy .duo__bar img {
    width: clamp(64px, 18vw, 80px);
    height: auto;
  }

  #run .reel__copy .duo__bar span {
    font-size: clamp(0.65rem, 2.8vw, 0.72rem);
  }
}

@media (max-width: 820px) and (orientation: landscape) {
  #run .reel__row {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    align-items: stretch;
  }

  #run .reel__shot {
    aspect-ratio: auto;
    height: 100%;
    min-height: clamp(128px, 36vh, 188px);
    max-height: clamp(148px, 40vh, 208px);
  }

  #run .reel__panel {
    padding: 12px;
    gap: 8px;
  }

  #run .reel__panel blockquote {
    font-size: clamp(0.82rem, 2.4vw, 0.94rem);
    line-height: 1.28;
  }

  #run .reel__by span {
    font-size: 0.62rem;
  }

  #run .reel__copy .duo__bar {
    padding: 8px 10px;
  }

  #run .reel__copy .duo__bar span {
    font-size: 0.62rem;
  }
}

/* --------------------------------------------------------------------------
   Stage — 2–3 feature stages + optional capability strip
   Same family as Module / Duo: band shell, quiet copy panel, coloured visual
   plane with fold + grain, product shot inset. Not a pastel poster card.
   Optional .stage__strip is a ruled row of short capabilities — not 4 cards.
   -------------------------------------------------------------------------- */

.stage {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
}

.stage__grid {
  --stage-gutter: clamp(10px, 1.2vw, 14px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--stage-gutter);
  align-items: stretch;
}

.stage__grid--trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stage__card {
  --stage-gutter: clamp(10px, 1.2vw, 14px);
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--stage-gutter);
  min-height: clamp(360px, 38vw, 460px);
  padding: var(--stage-gutter);
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--band);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s var(--ease);
}

/* Visual plane first, copy panel under — eCommerce post-hero trio */
.stage__card--shot-first {
  grid-template-rows: minmax(0, 1fr) auto;
}

.stage__card:hover {
  border-color: var(--line-2);
}

.stage__card--ink {
  background: var(--ink-deep);
  border-color: var(--line-ink);
  color: var(--on-ink);
}

.stage__card--ink:hover {
  border-color: var(--line-ink-2);
}

.stage__copy {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(20px, 2.4vw, 28px);
  padding-right: clamp(52px, 6vw, 64px);
  border-radius: 16px;
  background: var(--card);
}

.stage__card--ink .stage__copy {
  background: var(--ink-panel);
}

.stage__copy .sec-label {
  margin: 0;
  color: var(--muted);
}

.stage__card--ink .stage__copy .sec-label {
  color: rgba(255, 255, 255, 0.55);
}

.stage__card--cool .stage__copy .sec-label {
  color: var(--accent);
}

/* Card claim — quiet type under the label, not Flank display scale */
.stage__copy .roster__line,
.stage__copy h3 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.3;
  color: var(--ink-2);
  text-wrap: wrap;
}

.stage__card--ink .stage__copy .roster__line,
.stage__card--ink .stage__copy h3 {
  color: var(--on-ink-2);
}

.stage__go {
  position: absolute;
  top: clamp(16px, 2vw, 22px);
  right: clamp(16px, 2vw, 22px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
}

.stage__card--ink .stage__go {
  border-color: var(--line-ink);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-ink-2);
}

.stage__card:hover .stage__go {
  border-color: var(--line-2);
  color: var(--ink);
}

/* Visual plane — Duo / Plate language: accent wash + fold + grain */
.stage__visual {
  --stage-inset: clamp(12px, 1.4vw, 16px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  min-height: clamp(200px, 22vw, 260px);
  border-radius: 16px;
  background: linear-gradient(150deg, var(--accent-bright) 0%, var(--accent) 100%);
}

.stage__card--warm .stage__visual {
  background: var(--band);
}

.stage__card--ink .stage__visual {
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%),
    #12131A;
}

.stage__visual > .fold,
.stage__visual > .grain {
  z-index: 0;
}

/* Contained + centered: explicit size so <img> doesn’t keep intrinsic box and stick to a corner */
.stage__shot {
  position: absolute;
  top: var(--stage-inset);
  right: var(--stage-inset);
  bottom: var(--stage-inset);
  left: var(--stage-inset);
  z-index: 1;
  width: calc(100% - (var(--stage-inset) * 2));
  height: calc(100% - (var(--stage-inset) * 2));
  max-width: none;
  margin: 0;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 18px 40px rgba(17, 17, 20, 0.18);
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Concept art / square renders — centered, flush, no lifted photo chrome */
.stage__shot--center {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

/* Hug the asset. Image stays in flow so the plane is not a tall empty box. */
.stage__card:has(.stage__shot--plain) {
  min-height: 0;
  grid-template-rows: auto auto;
}

.stage__card:has(.stage__shot--plain) .stage__copy {
  gap: 8px;
  padding: 14px 16px;
}

.stage__visual:has(> .stage__shot--plain) {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0 10px;
  overflow: hidden;
}

.stage__shot--plain {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 100%;
  margin: -10% 0;
  border-radius: 12px;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}

.stage__visual:has(> .stage__shot--plain) > .fold,
.stage__visual:has(> .stage__shot--plain) > .grain {
  z-index: 0;
}

.stage__visual:has(> .stage__shot--plain) > .fold {
  mix-blend-mode: normal;
  opacity: 1;
}

.stage__visual:has(> .stage__shot--plain) > .grain {
  opacity: 0.5;
}

#when .stage__card:has(.stage__shot--plain) {
  gap: 4px;
  padding-bottom: 8px;
}

#when .stage__visual:has(> .stage__shot--plain) {
  padding: 4px 16px 8px;
}

#when .stage__shot--plain {
  margin: 0;
  width: 100%;
  max-width: 314px;
  height: auto;
  aspect-ratio: 1;
}

#when .stage__copy {
  min-width: 0;
  padding: 14px 16px;
}

#when.sec--soft {
  border-top: 0;
  border-bottom: 0;
}

#trust.sec--soft {
  border-top: 0;
}

#when .stage__copy .roster__line {
  max-width: none;
  min-width: 0;
  white-space: normal;
  text-wrap: wrap;
}

.stage__card--ink .stage__shot {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.stage__strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: clamp(6px, 1vw, 10px) 0 0;
  border-top: 1px solid var(--line);
}

.stage__strip--trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stage__strip li {
  display: grid;
  gap: 8px;
  padding: clamp(16px, 2vw, 22px) clamp(14px, 1.6vw, 20px);
  border-right: 1px solid var(--line);
}

.stage__strip li:last-child {
  border-right: 0;
}

.stage__strip svg {
  color: var(--ink);
}

.stage__strip b {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.stage__strip span {
  max-width: 28ch;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 980px) {
  .stage__grid,
  .stage__grid--trio {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage__card {
    min-height: 0;
  }

  /* Stage · trio + plain shot — keep copy and UI in balance when cards stack */
  .stage__grid--trio .stage__card:has(.stage__shot--plain) {
    gap: 4px;
    padding-bottom: 8px;
  }

  .stage__grid--trio .stage__card:has(.stage__shot--plain) .stage__copy {
    justify-items: center;
    padding-inline: 16px;
    text-align: center;
  }

  .stage__grid--trio .stage__visual:has(> .stage__shot--plain) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0 clamp(6px, 2vw, 12px);
    overflow: hidden;
  }

  .stage__grid--trio .stage__shot--plain {
    display: block;
    width: 104%;
    max-width: none;
    margin: -8% 0;
    height: auto;
    max-height: clamp(240px, 58vw, 320px);
    object-fit: contain;
    object-position: center;
  }

  .stage__strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage__strip li:nth-child(2n) {
    border-right: 0;
  }

  .stage__strip li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

/* Stage · trio — use horizontal space in mobile landscape */
@media (max-width: 980px) and (orientation: landscape) {
  .stage__grid--trio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage__grid--trio > .stage__card:nth-child(3):last-child {
    grid-column: 1 / -1;
  }

  .stage__grid--trio .stage__shot--plain {
    max-height: clamp(130px, 22vh, 190px);
    margin: -7% 0;
  }

  .stage__grid--trio > .stage__card:nth-child(3):last-child .stage__shot--plain {
    max-height: clamp(150px, 26vh, 210px);
  }
}

@media (max-width: 980px) and (orientation: landscape) and (min-width: 760px) {
  .stage__grid--trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stage__grid--trio > .stage__card:nth-child(3):last-child {
    grid-column: auto;
  }

  .stage__grid--trio .stage__shot--plain {
    max-height: clamp(110px, 20vh, 170px);
  }

  .stage__grid--trio > .stage__card:nth-child(3):last-child .stage__shot--plain {
    max-height: clamp(110px, 20vh, 170px);
  }
}

@media (max-width: 560px) {
  .stage__strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage__grid--trio .stage__shot--plain {
    margin: -9% 0;
    max-height: clamp(228px, 56vw, 300px);
  }

  .stage__strip li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stage__strip li:last-child {
    border-bottom: 0;
  }

  .stage__strip li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

/* --------------------------------------------------------------------------
   Strip — inline accent CTA
   A one-line ask between chapters. Never two on a page.
   -------------------------------------------------------------------------- */

.strip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px clamp(20px, 3vw, 40px);
  padding: clamp(20px, 2.6vw, 32px) clamp(22px, 3vw, 40px);
  border-radius: var(--r-md);
  background: var(--accent);
  color: #FFFFFF;
}

.strip > * {
  position: relative;
  z-index: 1;
}

.strip p {
  max-width: 40ch;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.strip .btn--primary {
  background: #FFFFFF;
  color: var(--ink);
}

.strip .btn--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #FFFFFF;
}

.strip__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Handoff — split ask: ink statement + paper action card
   For the end of a page where the next step is a single field, not a choice.
   -------------------------------------------------------------------------- */

.handoff {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(8px, 0.9vw, 12px);
  padding: clamp(8px, 0.9vw, 12px);
  border-radius: 22px;
  border: 1px solid var(--line-ink);
  background: var(--ink-deep);
}

.handoff__say {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: 16px;
  background: var(--ink-panel);
  color: var(--on-ink);
}

.handoff__say > * {
  position: relative;
  z-index: 1;
}

.handoff__say h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  letter-spacing: -0.042em;
  line-height: 1.04;
  color: inherit;
}

.handoff__say h2 .accent {
  color: var(--accent-glow);
}

.handoff__say p {
  margin: 0;
  max-width: 38ch;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--on-ink-2);
}

.handoff__act {
  display: grid;
  align-content: center;
  gap: clamp(16px, 2vw, 22px);
  padding: clamp(26px, 3vw, 40px);
  border-radius: 16px;
  background: var(--card);
}

.handoff__field {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.handoff__field input {
  flex: 1 1 200px;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--line-2);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
}

.handoff__field .btn {
  height: 46px;
  padding-block: 0;
}

.handoff__field input::placeholder {
  color: var(--muted);
}

.handoff__field input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.handoff__list {
  list-style: none;
  display: grid;
  margin: 0;
  padding: 0;
}

.handoff__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-2);
}

.handoff__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.handoff__list li:last-child {
  padding-bottom: 0;
}

.handoff__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   Beacon — accent plane ask with a proof rail
   The loud version of the closing ask. One per page, never with Strip.
   -------------------------------------------------------------------------- */

.beacon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(14px, 1.8vw, 22px);
  padding: clamp(44px, 6vw, 88px) clamp(24px, 4vw, 64px);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg,
    var(--accent-bright) 0%,
    var(--accent) 55%,
    color-mix(in srgb, var(--accent) 70%, #0A0C14) 100%);
  color: #FFFFFF;
}

.beacon > * {
  position: relative;
  z-index: 1;
}

.beacon__title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  letter-spacing: -0.046em;
  line-height: 0.98;
  color: inherit;
  text-wrap: balance;
}

.beacon__note {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.beacon__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(6px, 1vw, 12px);
}

.beacon .btn--primary {
  background: #FFFFFF;
  color: var(--ink);
}

.beacon .btn--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #FFFFFF;
}

.beacon .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.beacon__proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px clamp(20px, 3vw, 40px);
  width: min(100%, 760px);
  margin: clamp(10px, 1.6vw, 20px) 0 0;
  padding: clamp(16px, 2vw, 26px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.beacon__proof li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
}

.beacon__proof li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Ledger — quiet paper ask: what's included, ruled, plus the action
   Use when the reader needs the terms restated before they commit.
   -------------------------------------------------------------------------- */

.ledger {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(26px, 3.4vw, 46px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
}

.ledger__rows {
  list-style: none;
  display: grid;
  margin: 0;
  padding: 0;
}

.ledger__rows li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  padding: clamp(12px, 1.4vw, 16px) 0;
  border-top: 1px solid var(--line);
}

.ledger__rows li:first-child {
  border-top: 0;
  padding-top: 0;
}

.ledger__rows b {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ledger__rows span {
  font-size: 0.87rem;
  color: var(--muted);
}

.ledger__act {
  display: grid;
  align-content: center;
  gap: 14px;
}

.ledger__act h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.038em;
  line-height: 1.06;
  color: var(--ink);
}

.ledger__act p {
  margin: 0;
  max-width: 32ch;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.ledger__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Onramp — media-backed ask: three steps + product shot bleeding off the edge
   For the end of a product page, where seeing it beats reading about it.
   -------------------------------------------------------------------------- */

.onramp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  min-height: clamp(320px, 34vw, 420px);
  padding: clamp(28px, 3.6vw, 56px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-ink);
  background: linear-gradient(150deg, #1A1B21 0%, var(--ink-deep) 100%);
  color: var(--on-ink);
}

.onramp > * {
  position: relative;
  z-index: 1;
}

.onramp > .fold,
.onramp > .grain {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.onramp > .fold {
  background-color: color-mix(in srgb, var(--accent) 16%, transparent);
  opacity: 0.55;
}

.onramp__copy {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

.onramp__copy h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.042em;
  line-height: 1.05;
  color: inherit;
}

.onramp__copy h2 .accent {
  color: var(--accent-glow);
}

.onramp__steps {
  list-style: none;
  counter-reset: onramp;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.onramp__steps li {
  counter-increment: onramp;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--on-ink-2);
}

.onramp__steps li::before {
  content: counter(onramp);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-ink-2);
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-glow);
}

.onramp__cta {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 4px;
}

.onramp__cta .btn {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
  padding: 9px 18px;
  font-size: 0.88rem;
}

.onramp .btn--primary {
  background: var(--on-ink);
  color: var(--ink-deep);
}

.onramp .btn--primary:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.onramp .btn--primary:active {
  background: color-mix(in srgb, var(--accent) 84%, #000);
  color: #FFFFFF;
}

.onramp .btn--ghost {
  color: var(--on-ink);
  border-color: var(--line-ink-2);
}

.onramp .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Shot runs off the right edge — the page continues past the ask */
.onramp__shot {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  margin: 0 calc(clamp(28px, 3.6vw, 56px) * -1) 0 0;
  border-radius: var(--r-md) 0 0 var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-ink);
  border-right: 0;
  background: #0B0B0E;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.onramp__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top left;
}

.onramp:has(.onramp__shot--phone) {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 0;
  gap: 0;
}

.onramp:has(.onramp__shot--phone) .onramp__copy {
  z-index: 2;
  padding-block: clamp(28px, 3.6vw, 56px);
  padding-right: clamp(8px, 1.4vw, 16px);
}

.onramp__shot--phone {
  position: relative;
  z-index: 1;
  align-self: stretch;
  justify-self: stretch;
  width: auto;
  height: 100%;
  min-height: 100%;
  margin: 0 0 0 clamp(-64px, -7vw, -36px);
  padding: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.onramp__shot--phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 72% 42%;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 9%,
    rgba(0, 0, 0, 0.7) 20%,
    #000 34%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 9%,
    rgba(0, 0, 0, 0.7) 20%,
    #000 34%
  );
}

@media (max-width: 900px) {
  .handoff,
  .ledger,
  .onramp {
    grid-template-columns: minmax(0, 1fr);
  }

  .ledger {
    gap: clamp(22px, 4vw, 34px);
  }

  .onramp {
    min-height: 0;
  }

  .onramp__copy,
  .onramp__shot {
    grid-column: 1;
  }

  .onramp__shot {
    grid-row: 2;
    margin: 0;
    border-radius: var(--r-md);
    border-right: 1px solid var(--line-ink);
  }

  .onramp__shot img {
    aspect-ratio: 16 / 9;
  }

  .onramp:has(.onramp__shot--phone) {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 0;
  }

  .onramp:has(.onramp__shot--phone) .onramp__copy {
    gap: 22px;
    padding: 36px 22px 32px;
  }

  .onramp:has(.onramp__shot--phone) .onramp__copy h2 {
    max-width: none;
    font-size: clamp(1.55rem, 7.2vw, 1.9rem);
    line-height: 1.12;
  }

  .onramp:has(.onramp__shot--phone) .onramp__steps {
    gap: 14px;
  }

  .onramp:has(.onramp__shot--phone) .onramp__cta {
    margin-top: 2px;
    gap: 8px;
  }

  .onramp:has(.onramp__shot--phone) .onramp__cta .btn {
    flex: 1 1 0;
  }

  .onramp__shot--phone {
    width: 100%;
    min-height: min(64vw, 340px);
    margin: 0;
  }

  .onramp__shot--phone img {
    object-position: 55% 28%;
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.2) 10%,
      rgba(0, 0, 0, 0.75) 22%,
      #000 38%
    );
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.2) 10%,
      rgba(0, 0, 0, 0.75) 22%,
      #000 38%
    );
  }
}

@media (max-width: 560px) {
  .beacon__cta .btn,
  .ledger__cta .btn,
  .handoff__field .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Relay — customer proof as the ask
   Quote left, the close right in the same plane. Nothing stacked.
   -------------------------------------------------------------------------- */

.relay {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 3.2vw, 44px) clamp(22px, 3vw, 48px);
  border-radius: var(--r-lg);
  background: var(--band);
}

.relay__quote {
  display: grid;
  gap: 12px;
}

.relay__say {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: -0.042em;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}

.relay__who {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.relay__rail {
  list-style: none;
  display: grid;
  justify-items: end;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--line-2);
}

.relay__rail li {
  font-family: "Outfit", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.relay__rail li:last-child {
  font-weight: 600;
  color: var(--accent);
}

.relay__rail li:last-child a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.relay__rail svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s var(--ease);
}

.relay__rail a:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Ramp — three phases across the plane, ask below the claim
   Claim and CTA live in the same column; nothing pinned far right.
   -------------------------------------------------------------------------- */

.ramp {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 3.2vw, 44px) clamp(22px, 3vw, 48px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
}

.ramp__claim {
  display: grid;
  gap: 14px;
}

.ramp__claim h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  letter-spacing: -0.038em;
  line-height: 1.07;
  color: var(--ink);
}

.ramp__claim p {
  margin: 0;
  max-width: 28ch;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.ramp__claim .ramp__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.ramp__claim .ramp__cta .btn--ghost {
  padding-inline: 6px;
  border-color: transparent;
  color: var(--muted);
}

.ramp__claim .ramp__cta .btn--ghost:hover {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
}

.ramp__phases {
  list-style: none;
  counter-reset: ramp;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.ramp__phases li {
  counter-increment: ramp;
  position: relative;
  display: grid;
  gap: 4px;
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.2vw, 26px) 0 0;
  border-top: 1px solid var(--line-2);
}

.ramp__phases li::before {
  content: counter(ramp, decimal-leading-zero);
  position: absolute;
  top: -7px;
  left: 0;
  padding-right: 8px;
  background: var(--card);
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.ramp__phases b {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ramp__phases span {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Reach — hairline edge ask on the live page band
   No slab, no fill. The sentence is the CTA.
   -------------------------------------------------------------------------- */

.reach {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px clamp(20px, 3vw, 40px);
  padding: clamp(20px, 3vw, 34px) 0;
  border-top: 1px solid var(--line-2);
}

.reach__line {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink);
}

.reach__line a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s var(--ease);
}

.reach__line a:hover {
  text-decoration-color: var(--accent);
}

.reach__alt a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Outfit", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
}

.reach__alt svg {
  width: 12px;
  height: 12px;
}

.reach__alt a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Capstone — full-bleed ink end-cap
   Display type fills the left, the ask is a quiet column on the right.
   -------------------------------------------------------------------------- */

.capstone {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 4vw, 56px) clamp(24px, 3.4vw, 56px);
  background: linear-gradient(158deg, #1A1B21 0%, var(--ink-deep) 60%, #0B0B0E 100%);
  color: var(--on-ink);
}

.capstone > * {
  position: relative;
  z-index: 1;
}

.capstone__say {
  display: grid;
  gap: 14px;
}

.capstone__say h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  letter-spacing: -0.046em;
  line-height: 1.0;
  color: inherit;
  text-wrap: balance;
}

.capstone__say h2 .accent {
  color: var(--accent-glow);
}

.capstone__say p {
  margin: 0;
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--on-ink-2);
}

.capstone__act {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
  align-content: center;
  justify-items: start;
  padding-left: clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--line-ink);
}

.capstone__act .btn--primary {
  background: var(--on-ink);
  color: var(--ink-deep);
}

.capstone__act .btn--primary:hover {
  background: #FFFFFF;
}

.capstone__act .btn--ghost {
  color: var(--on-ink);
  border-color: var(--line-ink-2);
}

.capstone__act .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.4);
}

.capstone__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capstone__marks span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line-ink);
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--on-ink-2);
}

@media (max-width: 900px) {
  .relay,
  .ramp,
  .capstone {
    grid-template-columns: minmax(0, 1fr);
  }

  .relay__rail {
    justify-items: start;
    padding-left: 0;
    padding-top: clamp(18px, 2.4vw, 26px);
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .ramp__phases {
    grid-template-columns: minmax(0, 1fr);
  }

  .ramp__phases li {
    padding: clamp(14px, 1.8vw, 18px) 0 0;
  }

  .capstone {
    align-items: start;
  }

  .capstone__act {
    padding-left: 0;
    padding-top: clamp(18px, 2.4vw, 26px);
    border-left: 0;
    border-top: 1px solid var(--line-ink);
  }
}

@media (max-width: 560px) {
  .ramp__claim .ramp__cta .btn,
  .capstone__act .btn {
    width: 100%;
  }

  .capstone__act {
    justify-items: stretch;
  }
}

/* --------------------------------------------------------------------------
   Skyline — accent plane, centred ask, product deck rising off the foot
   The shot is cropped by the plane itself, so the page reads as opening
   into the product rather than stopping at a banner.
   -------------------------------------------------------------------------- */

.skyline {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: clamp(40px, 5.2vw, 76px) clamp(20px, 4vw, 64px) 0;
  border-radius: var(--r-lg);
  background: linear-gradient(168deg,
    var(--accent-bright) 0%,
    var(--accent) 52%,
    color-mix(in srgb, var(--accent) 62%, #0A0C14) 100%);
  color: #FFFFFF;
}

.skyline > * {
  position: relative;
  z-index: 1;
}

.skyline__say {
  display: grid;
  justify-items: center;
  gap: clamp(12px, 1.5vw, 18px);
  width: min(100%, 720px);
  margin-inline: auto;
  text-align: center;
}

.skyline__kicker {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.skyline__say h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  letter-spacing: -0.046em;
  line-height: 1.0;
  color: inherit;
  text-wrap: balance;
}

.skyline__note {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(0.92rem, 1.1vw, 1.04rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.skyline__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
}

.skyline .btn--primary {
  background: #FFFFFF;
  color: var(--ink);
}

.skyline .btn--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #FFFFFF;
}

.skyline .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.skyline__proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(18px, 2.6vw, 34px);
  margin: clamp(6px, 1vw, 12px) 0 0;
  padding: 0;
}

.skyline__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.skyline__proof li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

/* Deck sits on the foot and runs off it — never a full framed screenshot */
.skyline__deck {
  width: min(100%, 940px);
  margin: clamp(28px, 3.6vw, 52px) auto 0;
  padding: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 0;
  overflow: hidden;
  background: #0B0B0E;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.12), 0 40px 90px rgba(0, 0, 0, 0.4);
}

.skyline__deck img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: top center;
}

/* --------------------------------------------------------------------------
   Ticket — the ask as a boarding pass: action panel plus a torn stub
   Use when the terms are the objection. The stub restates them at the
   moment of decision without a second section.
   -------------------------------------------------------------------------- */

.ticket {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}

.ticket__main {
  display: grid;
  align-content: center;
  gap: clamp(12px, 1.5vw, 18px);
  padding: clamp(28px, 3.6vw, 52px);
}

.ticket__kicker {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.ticket__main h2 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.042em;
  line-height: 1.06;
  color: var(--ink);
}

.ticket__main > p:not(.ticket__kicker) {
  margin: 0;
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.ticket__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* The tear: dashed rule with a punched notch top and bottom */
.ticket__stub {
  position: relative;
  display: grid;
  align-content: center;
  gap: clamp(10px, 1.2vw, 14px);
  padding: clamp(24px, 3vw, 40px);
  border-left: 2px dashed var(--line-2);
  background: var(--mist);
}

.ticket__stub::before,
.ticket__stub::after {
  content: "";
  position: absolute;
  left: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
}

.ticket__stub::before {
  top: -11px;
}

.ticket__stub::after {
  bottom: -11px;
}

.ticket__stub-label {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticket__rows {
  list-style: none;
  display: grid;
  margin: 0;
  padding: 0;
}

.ticket__rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.ticket__rows li:first-child {
  border-top: 0;
  padding-top: 0;
}

.ticket__rows b {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  color: var(--ink);
}

.ticket__fine {
  margin: 2px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Aperture — arched product window beside the ask
   The only arch in the system, so it reads as a door into the product.
   Light band; use where the close needs to feel warm, not loud.
   -------------------------------------------------------------------------- */

.aperture {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  width: 100%;
  padding: clamp(28px, 3.8vw, 60px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--accent-wash);
}

.aperture > * {
  position: relative;
  z-index: 1;
}

.aperture__copy {
  display: grid;
  gap: clamp(13px, 1.6vw, 18px);
}

.aperture__copy h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1.75rem, 3.1vw, 2.6rem);
  letter-spacing: -0.044em;
  line-height: 1.04;
  color: var(--ink);
  text-wrap: balance;
}

.aperture__copy h2 .accent {
  color: var(--accent);
}

.aperture__copy > p {
  margin: 0;
  max-width: 40ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.aperture__marks {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.aperture__marks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.aperture__marks svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.aperture__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* Arch: full radius on top, container radius at the foot */
.aperture__window {
  position: relative;
  margin: 0;
  border-radius: 999px 999px var(--r-md) var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--card);
  box-shadow: var(--shadow-lift);
}

.aperture__window img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

/* One quiet fact riding the foot of the arch */
.aperture__chip {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 1.6vw, 18px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.aperture__chip b {
  font-weight: 600;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Pledge — the ask as a guarantee
   Risk reversal is the argument: seal, one promise, the action, fine print.
   Use where the doubt is commitment, not capability.
   -------------------------------------------------------------------------- */

.pledge {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(12px, 1.6vw, 18px);
  width: 100%;
  padding: clamp(34px, 4.4vw, 64px) clamp(24px, 4vw, 56px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--band);
}

.pledge > * {
  position: relative;
  z-index: 1;
}

.pledge__seal {
  display: grid;
  place-items: center;
  width: clamp(52px, 5vw, 64px);
  height: clamp(52px, 5vw, 64px);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  background: var(--card);
  color: var(--accent);
  box-shadow: 0 0 0 clamp(6px, 0.8vw, 10px) color-mix(in srgb, var(--accent) 8%, transparent);
}

.pledge__seal svg {
  width: 26px;
  height: 26px;
}

.pledge h2 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(1.6rem, 2.9vw, 2.4rem);
  letter-spacing: -0.042em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}

.pledge h2 .accent {
  color: var(--accent);
}

.pledge__note {
  margin: 0;
  max-width: 48ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.pledge__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
}

.pledge__fine {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(16px, 2.4vw, 30px);
  width: min(100%, 720px);
  margin: clamp(10px, 1.6vw, 18px) 0 0;
  padding: clamp(14px, 1.8vw, 22px) 0 0;
  border-top: 1px solid var(--line);
}

.pledge__fine li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.pledge__fine li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 60%, transparent);
}

/* Pledge · Band — same promise, full-bleed ink, top rule only, no foot */
.pledge--band {
  width: 100%;
  margin: 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--line-ink);
  padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(52px, 6.4vw, 96px);
  background: var(--ink-deep);
  color: var(--on-ink);
}

.pledge--band > .fold,
.pledge--band > .grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.pledge--band > .fold {
  opacity: 0.12;
  --fold-size: clamp(180px, 20vw, 280px) auto;
  --fold-pos: 50% 110%;
  --fold-fade: linear-gradient(180deg, transparent 0%, #000 48%, transparent 100%);
}

.pledge--band > .grain {
  opacity: 0.36;
  mix-blend-mode: overlay;
}

.pledge--band > *:not(.fold):not(.grain) {
  position: relative;
  z-index: 1;
}

.pledge--band .pledge__seal {
  border-color: color-mix(in srgb, var(--accent-glow) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 14%, #121218);
  color: var(--accent-glow);
  box-shadow: 0 0 0 clamp(6px, 0.8vw, 10px) color-mix(in srgb, var(--accent) 12%, transparent);
}

.pledge--band h2 {
  color: var(--on-ink);
}

.pledge--band h2 .accent {
  color: var(--accent-glow);
}

.pledge--band .pledge__note {
  color: var(--on-ink-2);
}

.pledge--band .btn--primary {
  background: var(--on-ink);
  color: var(--ink-deep);
}

.pledge--band .btn--primary:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.pledge--band .btn--primary:active {
  background: color-mix(in srgb, var(--accent) 84%, #000);
  color: #FFFFFF;
}

.pledge--band .btn--ghost {
  color: var(--on-ink);
  border-color: var(--line-ink-2);
}

.pledge--band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.4);
}

.pledge--band .pledge__fine {
  border-top-color: var(--line-ink);
}

.pledge--band .pledge__fine li {
  color: var(--on-ink-2);
}

.pledge--band .pledge__fine li::before {
  background: var(--accent-glow);
}

/* Pledge · Band · Paper — light full-bleed twin of Pledge · Band */
.pledge--band.pledge--paper {
  border-top-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.pledge--band.pledge--paper > .fold {
  opacity: 0.4;
  --fold-pos: 50% 108%;
  --fold-fade: linear-gradient(180deg, transparent 0%, #000 50%, transparent 100%);
}

.pledge--band.pledge--paper > .grain {
  opacity: 0.3;
  mix-blend-mode: multiply;
}

.pledge--band.pledge--paper .pledge__seal {
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  background: var(--card);
  color: var(--accent);
  box-shadow: 0 0 0 clamp(6px, 0.8vw, 10px) color-mix(in srgb, var(--accent) 8%, transparent);
}

.pledge--band.pledge--paper h2 {
  color: var(--ink);
}

.pledge--band.pledge--paper h2 .accent {
  color: var(--accent);
}

.pledge--band.pledge--paper .pledge__note {
  color: var(--muted);
}

.pledge--band.pledge--paper .btn--primary {
  background: var(--ink);
  color: #FFFFFF;
}

.pledge--band.pledge--paper .btn--primary:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.pledge--band.pledge--paper .btn--primary:active {
  background: color-mix(in srgb, var(--accent) 84%, #000);
  color: #FFFFFF;
}

.pledge--band.pledge--paper .btn--ghost {
  color: var(--ink);
  border-color: var(--line-2);
}

.pledge--band.pledge--paper .btn--ghost:hover {
  background: rgba(17, 17, 17, 0.03);
  border-color: var(--ink);
}

.pledge--band.pledge--paper .pledge__fine {
  border-top-color: var(--line);
}

.pledge--band.pledge--paper .pledge__fine li {
  color: var(--muted);
}

.pledge--band.pledge--paper .pledge__fine li::before {
  background: color-mix(in srgb, var(--accent) 60%, transparent);
}

/* --------------------------------------------------------------------------
   Kiosk — three doors, one painted
   For pages serving self-serve and sales at once. The accent door is the
   recommendation; the other two exist so nobody leaves for lack of a path.
   -------------------------------------------------------------------------- */

.kiosk {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--rule);
  overflow: hidden;
}

.kiosk__door {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(24px, 2.8vw, 38px);
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.24s var(--ease);
}

.kiosk__door:hover {
  background: var(--mist);
}

.kiosk__glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--accent);
}

.kiosk__glyph svg {
  width: 18px;
  height: 18px;
}

.kiosk__door h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  letter-spacing: -0.028em;
  line-height: 1.2;
  color: var(--ink);
}

.kiosk__door p {
  margin: 0;
  max-width: 30ch;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.kiosk__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
}

.kiosk__go svg {
  width: 13px;
  height: 13px;
  transition: transform 0.24s var(--ease);
}

.kiosk__door:hover .kiosk__go svg {
  transform: translate(2px, -2px);
}

/* The recommended door carries the only colour in the row */
.kiosk__door--lead {
  background: linear-gradient(158deg, var(--accent-bright) 0%, var(--accent) 60%, color-mix(in srgb, var(--accent) 70%, #0A0C14) 100%);
  color: #FFFFFF;
}

.kiosk__door--lead:hover {
  background: linear-gradient(158deg, var(--accent-bright) 0%, var(--accent) 52%, color-mix(in srgb, var(--accent) 62%, #0A0C14) 100%);
}

.kiosk__door--lead > * {
  position: relative;
  z-index: 1;
}

.kiosk__door--lead h3 {
  color: #FFFFFF;
}

.kiosk__door--lead p {
  color: rgba(255, 255, 255, 0.82);
}

.kiosk__door--lead .kiosk__glyph {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.kiosk__door--lead .kiosk__go {
  color: #FFFFFF;
}

.kiosk__flag {
  position: absolute;
  top: clamp(16px, 2vw, 22px);
  right: clamp(16px, 2vw, 22px);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
  .ticket,
  .aperture,
  .kiosk {
    grid-template-columns: minmax(0, 1fr);
  }

  .ticket__stub {
    border-left: 0;
    border-top: 2px dashed var(--line-2);
  }

  .ticket__stub::before,
  .ticket__stub::after {
    left: auto;
    top: -11px;
    bottom: auto;
  }

  .ticket__stub::before {
    left: -11px;
  }

  .ticket__stub::after {
    right: -11px;
  }

  .aperture__window img {
    aspect-ratio: 5 / 4;
  }

  .aperture__window {
    border-radius: 999px 999px var(--r-md) var(--r-md) / 160px 160px var(--r-md) var(--r-md);
  }
}

@media (max-width: 560px) {
  .skyline__cta .btn,
  .ticket__cta .btn,
  .aperture__cta .btn,
  .pledge__cta .btn {
    width: 100%;
  }

  .skyline__deck img {
    aspect-ratio: 16 / 11;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kiosk__door,
  .kiosk__go svg {
    transition: none;
  }

  .kiosk__door:hover .kiosk__go svg {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Full-bleed closing bands — Threshold · Vantage · Sill
   One rule at the top, nothing at the sides or the foot: the page ends by
   running out, not by closing a box. Place as a direct child of <main>,
   outside .shell — each band aligns its own copy to the shell from inside.
   Atmosphere matches Verdict / Span: soft-light grain + quiet faded chevrons.
   Product shots stay plain rectangles, cropped short so they support the ask.
   -------------------------------------------------------------------------- */

.threshold,
.vantage,
.sill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--line-ink);
  background: var(--ink-deep);
  color: var(--on-ink);
}

/* Keep fold + grain absolute under content */
.threshold > .fold,
.threshold > .grain,
.vantage > .fold,
.vantage > .grain,
.sill > .fold,
.sill > .grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.vantage > .fold,
.sill > .fold {
  opacity: 0.12;
  --fold-size: clamp(180px, 20vw, 260px) auto;
  --fold-pos: 6% 82%;
  --fold-fade: linear-gradient(120deg, #000 12%, transparent 55%);
}

.vantage > .grain,
.sill > .grain {
  opacity: 0.38;
  mix-blend-mode: soft-light;
}

.threshold__pane,
.threshold__view,
.vantage > *:not(.fold):not(.grain):not(.vantage__plane):not(.vantage__scrim),
.sill > *:not(.fold):not(.grain) {
  position: relative;
  z-index: 1;
}

.threshold .btn--primary,
.vantage .btn--primary,
.sill .btn--primary {
  background: var(--on-ink);
  color: var(--ink-deep);
}

.threshold .btn--primary:hover,
.vantage .btn--primary:hover,
.sill .btn--primary:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.threshold .btn--primary:active,
.vantage .btn--primary:active,
.sill .btn--primary:active {
  background: color-mix(in srgb, var(--accent) 84%, #000);
  color: #FFFFFF;
}

.threshold .btn--ghost,
.vantage .btn--ghost,
.sill .btn--ghost {
  color: var(--on-ink);
  border-color: var(--line-ink-2);
}

.threshold .btn--ghost:hover,
.vantage .btn--ghost:hover,
.sill .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.4);
}

.threshold__kicker,
.vantage__kicker,
.sill__kicker {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-glow);
}

.threshold__cta,
.vantage__cta,
.sill__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

/* --- Threshold: ask left, product docking hard from the right ----------- */

.threshold {
  position: relative;
  display: grid;
  grid-template-columns: minmax(17rem, 30rem) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(20px, 2.8vw, 40px);
  min-height: clamp(300px, 34vw, 420px);
  padding-block: clamp(18px, 2.2vw, 28px);
  padding-left: max(var(--gutter), calc((100% - var(--shell)) / 2));
  padding-right: 0;
}

.threshold > .fold {
  opacity: 0.12;
  --fold-size: clamp(180px, 20vw, 260px) auto;
  --fold-pos: 4% 78%;
  --fold-fade: linear-gradient(120deg, #000 10%, transparent 52%);
}

.threshold > .grain {
  opacity: 0.32;
  mix-blend-mode: overlay;
}

.threshold__pane {
  display: grid;
  align-content: center;
  padding-block: clamp(8px, 1vw, 16px);
  padding-inline: 0;
}

.threshold__copy {
  display: grid;
  gap: clamp(12px, 1.4vw, 16px);
  max-width: 28rem;
}

.threshold__copy h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  letter-spacing: -0.044em;
  line-height: 1.04;
  color: inherit;
  text-wrap: balance;
}

.threshold__copy h2 .accent {
  color: var(--accent-glow);
}

.threshold__note {
  margin: 0;
  max-width: 36ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--on-ink-2);
}

.threshold__proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(14px, 2vw, 24px);
  margin: clamp(4px, 0.8vw, 10px) 0 0;
  padding: clamp(12px, 1.5vw, 18px) 0 0;
  border-top: 1px solid var(--line-ink);
}

.threshold__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--on-ink-2);
}

.threshold__proof li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-glow);
}

/* Docked shot: fills the right column, flush right, left radius only */
.threshold__view {
  position: relative;
  z-index: 1;
  margin: 0;
  border: 0;
  border-radius: var(--r-md) 0 0 var(--r-md);
  overflow: hidden;
  background: #0B0B0E;
  box-shadow:
    -1px 0 0 rgba(255, 255, 255, 0.06),
    -24px 12px 48px rgba(0, 0, 0, 0.4);
}

.threshold__view img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

/* Threshold · Paper — light twin: paper band, product still docking from right */
.threshold--paper {
  border-top-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.threshold--paper > .fold {
  opacity: 0.38;
  --fold-pos: 4% 78%;
  --fold-fade: linear-gradient(120deg, #000 10%, transparent 52%);
}

.threshold--paper > .grain {
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.threshold--paper .threshold__kicker {
  color: var(--accent);
}

.threshold--paper .threshold__copy h2 .accent {
  color: var(--accent);
}

.threshold--paper .threshold__note,
.threshold--paper .threshold__proof li {
  color: var(--muted);
}

.threshold--paper .threshold__proof {
  border-top-color: var(--line);
}

.threshold--paper .threshold__proof li::before {
  background: var(--accent);
}

.threshold--paper .btn--primary {
  background: var(--ink);
  color: #FFFFFF;
}

.threshold--paper .btn--primary:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.threshold--paper .btn--primary:active {
  background: color-mix(in srgb, var(--accent) 84%, #000);
  color: #FFFFFF;
}

.threshold--paper .btn--ghost {
  color: var(--ink);
  border-color: var(--line-2);
}

.threshold--paper .btn--ghost:hover {
  background: rgba(17, 17, 17, 0.03);
  border-color: var(--ink);
}

.threshold--paper .threshold__view {
  background: #0B0B0E;
  box-shadow:
    -1px 0 0 rgba(17, 17, 17, 0.08),
    -20px 14px 40px rgba(17, 17, 17, 0.12);
}

/* --- Vantage: deep ink ask; product only as soft side atmosphere -------- */

.vantage {
  display: grid;
  justify-items: center;
  align-items: center;
  min-height: clamp(260px, 28vw, 360px);
  padding-block: clamp(44px, 5vw, 72px);
  box-shadow:
    inset 0 22px 36px -24px rgba(0, 0, 0, 0.55),
    inset 0 -22px 36px -24px rgba(0, 0, 0, 0.5);
}

.vantage__plane {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0.34;
  filter: grayscale(1) contrast(1.12) brightness(0.78);
  mix-blend-mode: screen;
}

.vantage__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 54% at 50% 48%, rgba(14, 14, 16, 0.42) 0%, rgba(14, 14, 16, 0.78) 58%, rgba(14, 14, 16, 0.94) 100%),
    linear-gradient(90deg, rgba(14, 14, 16, 0.7) 0%, transparent 24%, transparent 76%, rgba(14, 14, 16, 0.7) 100%);
}

.vantage > .fold {
  --fold-pos: 50% 110%;
  --fold-size: clamp(220px, 28vw, 360px) auto;
  --fold-fade: linear-gradient(180deg, transparent 0%, #000 50%, transparent 100%);
  opacity: 0.08;
}

.vantage > .grain {
  z-index: 0;
  opacity: 0.4;
}

.vantage__inner {
  display: grid;
  justify-items: center;
  justify-self: center;
  gap: clamp(11px, 1.3vw, 16px);
  box-sizing: border-box;
  width: min(100%, 64rem);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.vantage__inner h2 {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.4rem, 5.4vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.08;
  color: inherit;
  text-align: center;
  text-wrap: balance;
}

.vantage__inner .hero__title-line {
  display: block;
  white-space: normal;
  text-align: center;
}

.vantage__inner .hero__verb {
  font-style: normal;
  color: var(--accent-glow);
}

.vantage__inner h2 .accent {
  color: var(--accent-glow);
}

@media (min-width: 900px) {
  .vantage__inner .hero__title-line {
    white-space: normal;
  }
}

.vantage__note {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.5;
  color: var(--on-ink-2);
}

.vantage__cta {
  justify-content: center;
}

.vantage__proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(16px, 2.2vw, 28px);
  width: 100%;
  margin: clamp(4px, 1vw, 12px) 0 0;
  padding: clamp(12px, 1.6vw, 18px) 0 0;
  border-top: 1px solid var(--line-ink);
}

.vantage__proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--on-ink-2);
}

.vantage__proof li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-glow);
}

/* Vantage · Paper — same centred ask, light plane, soft product atmosphere */
.vantage--paper {
  border-top-color: var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow:
    inset 0 20px 32px -22px rgba(17, 17, 17, 0.14),
    inset 0 -20px 32px -22px rgba(17, 17, 17, 0.12);
}

.vantage--paper .vantage__plane {
  opacity: 0.38;
  filter: grayscale(0.85) contrast(1.12) brightness(0.95);
  mix-blend-mode: multiply;
}

.vantage--paper .vantage__scrim {
  background:
    radial-gradient(ellipse 50% 56% at 50% 48%,
      color-mix(in srgb, var(--paper) 55%, transparent) 0%,
      color-mix(in srgb, var(--paper) 78%, transparent) 58%,
      color-mix(in srgb, var(--paper) 92%, transparent) 100%),
    linear-gradient(90deg,
      color-mix(in srgb, var(--paper) 72%, transparent) 0%,
      transparent 24%,
      transparent 76%,
      color-mix(in srgb, var(--paper) 72%, transparent) 100%);
}

.vantage--paper > .fold {
  opacity: 0.4;
  --fold-pos: 50% 108%;
  --fold-size: clamp(220px, 28vw, 360px) auto;
  --fold-fade: linear-gradient(180deg, transparent 0%, #000 50%, transparent 100%);
}

.vantage--paper > .grain {
  opacity: 0.3;
  mix-blend-mode: multiply;
}

.vantage--paper .vantage__kicker {
  color: var(--accent);
}

.vantage--paper .vantage__inner {
  width: min(100%, 76rem);
  max-width: calc(100% - (2 * var(--gutter)));
}

.vantage--paper .vantage__inner h2 {
  max-width: none;
  text-wrap: pretty;
}

.vantage--paper .vantage__inner .hero__title-line {
  text-wrap: pretty;
}

.vantage--paper .vantage__inner h2 .accent,
.vantage--paper .vantage__inner .hero__verb {
  color: var(--accent);
}

.vantage--paper .vantage__note,
.vantage--paper .vantage__proof li {
  color: var(--muted);
}

.vantage--paper .vantage__proof {
  border-top-color: var(--line);
}

.vantage--paper .vantage__proof li::before {
  background: var(--accent);
}

.vantage--paper .btn--primary {
  background: var(--ink);
  color: #FFFFFF;
}

.vantage--paper .btn--primary:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.vantage--paper .btn--primary:active {
  background: color-mix(in srgb, var(--accent) 84%, #000);
  color: #FFFFFF;
}

.vantage--paper .btn--ghost {
  color: var(--ink);
  border-color: var(--line-2);
}

.vantage--paper .btn--ghost:hover {
  background: rgba(17, 17, 17, 0.03);
  border-color: var(--ink);
}

/* --- Sill: copy + action on one plane; product as a dark horizon -------- */

.sill {
  display: grid;
  align-content: start;
  padding-top: clamp(40px, 4.6vw, 68px);
}

.sill > .fold {
  --fold-pos: 4% 28%;
  --fold-fade: linear-gradient(105deg, #000 18%, transparent 52%);
  opacity: 0.1;
}

.sill__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(28px, 3.2vw, 44px);
}

.sill__say {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
}

.sill__say h2 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  letter-spacing: -0.044em;
  line-height: 1.04;
  color: inherit;
  text-wrap: balance;
}

.sill__say h2 .accent {
  color: var(--accent-glow);
}

.sill__note {
  margin: 0;
  max-width: 40ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--on-ink-2);
}

.sill__act {
  display: grid;
  gap: clamp(10px, 1.4vw, 16px);
  justify-items: start;
  padding-left: clamp(18px, 2.4vw, 36px);
  border-left: 1px solid var(--line-ink);
}

.sill__act .sill__cta {
  margin-top: 0;
}

.sill__marks {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.sill__marks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--on-ink-2);
}

.sill__marks li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-glow);
}

/* Horizon stays on the ink plane — darkened so the gray UI does not lift */
.sill__strip {
  position: relative;
  z-index: 1;
  margin: 0;
  border-top: 1px solid var(--line-ink);
  background: #0B0B0E;
  max-height: clamp(108px, 12vw, 148px);
  overflow: hidden;
}

.sill__strip img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(108px, 12vw, 148px);
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.7) contrast(1.04);
  opacity: 0.9;
}

.sill__strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14, 14, 16, 0.55) 0%, transparent 45%),
    linear-gradient(90deg, rgba(14, 14, 16, 0.25) 0%, transparent 18%, transparent 82%, rgba(14, 14, 16, 0.25) 100%);
}

@media (max-width: 900px) {
  .threshold,
  .sill__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .threshold {
    gap: 0;
    min-height: 0;
    padding: 0;
  }

  .threshold__pane {
    padding: clamp(36px, 5vw, 56px) var(--gutter);
  }

  .threshold__view {
    border-radius: 0;
    min-height: 0;
    max-height: 220px;
    box-shadow: none;
  }

  .threshold__view img {
    height: auto;
    max-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .vantage {
    min-height: 0;
  }

  .sill__act {
    justify-items: stretch;
    padding-left: 0;
    padding-top: clamp(16px, 2.2vw, 24px);
    border-left: 0;
    border-top: 1px solid var(--line-ink);
  }

  .sill__strip,
  .sill__strip img {
    max-height: 128px;
    min-height: 128px;
  }
}

@media (max-width: 560px) {
  .threshold__cta .btn,
  .sill__cta .btn {
    width: 100%;
  }

  .vantage__cta {
    flex-wrap: nowrap;
    width: 100%;
  }

  .vantage__cta .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding-inline: 12px;
  }

  .threshold__view,
  .threshold__view img {
    max-height: 168px;
  }

  .sill__strip,
  .sill__strip img {
    max-height: 104px;
    min-height: 104px;
  }
}

/* --------------------------------------------------------------------------
   Integrations · Lattice
   Ruled plane of tool tiles with the DIMA node held in the middle, copy and
   three connect steps beside it. The tiles wake in sequence — a slow sweep
   left to right, never all lit at once.
   -------------------------------------------------------------------------- */

.lattice {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px);
}

.lattice__plane {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(10px, 1.4vw, 16px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 0%,
      color-mix(in srgb, var(--accent) 7%, transparent) 0%, transparent 62%),
    var(--card);
}

.lattice__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(5px, 0.65vw, 8px);
}

.lattice__cell {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-height: clamp(52px, 6.5vw, 72px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
}

.lattice__cell img {
  width: clamp(28px, 3.2vw, 40px);
  height: auto;
  opacity: 0.72;
  filter: saturate(0.35);
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}

.lattice__cell:hover img {
  opacity: 1;
  filter: none;
}

/* The sweep: each tile carries its own --d so the light travels the grid */
.lattice__cell--live img {
  animation: lattice-wake 9s var(--d, 0s) infinite;
}

@keyframes lattice-wake {
  0%, 88%, 100% {
    opacity: 0.72;
    filter: saturate(0.35);
  }

  6%, 16% {
    opacity: 1;
    filter: none;
  }
}

/* Centre node — the only accent object on the plane */
.lattice__node {
  grid-column: 3;
  grid-row: 3;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  border: 0;
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 32%, transparent);
}

.lattice__node svg {
  position: relative;
  z-index: 1;
  width: 46%;
  height: auto;
}

.lattice__node::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  animation: lattice-ring 3.6s var(--ease) infinite;
  pointer-events: none;
}

@keyframes lattice-ring {
  0% {
    transform: scale(0.96);
    opacity: 0.9;
  }

  70%, 100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

.lattice__copy {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

.lattice__copy h2 {
  margin: 0;
  max-width: 16ch;
}

.lattice__copy .lede {
  max-width: 44ch;
}

.lattice__steps {
  list-style: none;
  counter-reset: lattice;
  display: grid;
  gap: 0;
  margin: 4px 0 0;
  padding: 0;
}

.lattice__steps li {
  counter-increment: lattice;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 4px 14px;
  padding: clamp(14px, 1.7vw, 18px) 0;
  border-top: 1px solid var(--line);
}

.lattice__steps li:first-child {
  border-top: 0;
  padding-top: 0;
}

.lattice__steps li::before {
  content: counter(lattice, decimal-leading-zero);
  grid-row: span 2;
  margin-top: 2px;
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.lattice__steps b {
  font-family: "Outfit", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.lattice__steps span {
  max-width: 42ch;
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--muted);
}

.lattice__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Integrations · Orbit
   Tools held on two rings around the workspace core, with an accent sweep
   passing under them. Centred composition on ink — one per page.
   -------------------------------------------------------------------------- */

.orbit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.4vw, 28px);
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  margin-inline: 0;
  padding: clamp(28px, 3.6vw, 48px) clamp(18px, 2.6vw, 36px);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #1A1B21 0%, var(--ink-deep) 70%, #0B0B0E 100%);
  color: var(--on-ink);
  text-align: center;
}

.orbit > .orbit__head,
.orbit > .orbit__stage,
.orbit > .orbit__cta {
  position: relative;
  z-index: 1;
}

.orbit__head {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 42ch;
}

.orbit__head h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  letter-spacing: -0.044em;
  line-height: 1.05;
  color: inherit;
  text-wrap: balance;
}

.orbit__head p {
  margin: 0;
  max-width: 44ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--on-ink-2);
}

/*
  Geometry (relative to --size):
  core ≈ 0.20 · size, inner ring ≈ 0.34 · size radius, outer ≈ 0.47 · size radius.
  Chips stay small so the rings read as orbit, not a pile.
*/
.orbit__stage {
  --size: clamp(300px, 52vw, 520px);
  --chip: clamp(34px, 4vw, 44px);
  position: relative;
  width: calc(var(--size) + var(--chip));
  height: calc(var(--size) + var(--chip));
  margin-inline: auto;
  overflow: visible;
}

.orbit__ring {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: calc(var(--size) * 0.94);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line-ink);
  pointer-events: none;
}

.orbit__ring--in {
  width: calc(var(--size) * 0.58);
  border-style: dashed;
  border-color: var(--line-ink-2);
}

/* The sweep reads as work moving through the tools, not as a radar */
.orbit__sweep {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: calc(var(--size) * 1.02);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    color-mix(in srgb, var(--accent) 38%, transparent) 0deg,
    transparent 48deg,
    transparent 360deg);
  -webkit-mask-image: radial-gradient(closest-side, transparent 28%, #000 58%, transparent 100%);
  mask-image: radial-gradient(closest-side, transparent 28%, #000 58%, transparent 100%);
  opacity: 0.42;
  animation: orbit-sweep 22s linear infinite;
  pointer-events: none;
}

@keyframes orbit-sweep {
  to {
    rotate: 360deg;
  }
}

/* Slots sit on the ring; the chip inside stays upright */
.orbit__slot {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}

.orbit__slot--out {
  --r: calc(var(--size) * 0.47);
}

.orbit__slot--in {
  --r: calc(var(--size) * 0.29);
}

.orbit__chip {
  display: grid;
  place-items: center;
  width: var(--chip);
  aspect-ratio: 1;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  animation: orbit-lit 22s var(--d, 0s) linear infinite;
}

.orbit__chip img {
  width: 52%;
  height: auto;
  animation: none;
}

@keyframes orbit-lit {
  0%, 10%, 100% {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  }

  3% {
    box-shadow:
      0 4px 14px rgba(0, 0, 0, 0.22),
      0 0 0 3px color-mix(in srgb, var(--accent) 40%, transparent);
  }
}

.orbit__core {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  gap: 4px;
  width: calc(var(--size) * 0.2);
  min-width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 36%, transparent);
}

.orbit__core svg {
  width: 28%;
  height: auto;
}

.orbit__core span {
  font-family: "Outfit", sans-serif;
  font-size: clamp(0.55rem, 0.7vw, 0.64rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.orbit__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.orbit .btn--primary {
  background: var(--on-ink);
  color: var(--ink-deep);
}

.orbit .btn--primary:hover {
  background: #FFFFFF;
}

.orbit .btn--ghost {
  color: var(--on-ink);
  border-color: var(--line-ink-2);
}

.orbit .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   Integrations · Conduit
   Two rails running opposite ways with the workspace band between them —
   tools above, models below, work passing through the middle.
   -------------------------------------------------------------------------- */

.conduit {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  padding: clamp(26px, 3.4vw, 48px) 0;
  border-radius: var(--r-lg);
  background: var(--band);
  overflow: hidden;
}

.conduit__head {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 52ch;
  margin-inline: auto;
  padding-inline: clamp(20px, 3vw, 40px);
  text-align: center;
}

.conduit__head h2 {
  margin: 0;
  max-width: 20ch;
}

.conduit__head p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--muted);
}

.conduit__rails {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
}

.conduit__rail {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 11%, #000 89%, transparent 100%);
}

.conduit__row {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 14px);
  padding-right: clamp(10px, 1.2vw, 14px);
  animation: conduit-run 46s linear infinite;
}

.conduit__rail--back .conduit__row {
  animation-direction: reverse;
}

.conduit__rail:hover .conduit__row {
  animation-play-state: paused;
}

@keyframes conduit-run {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-100%, 0, 0);
  }
}

.conduit__chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: clamp(46px, 5vw, 56px);
  padding: 0 clamp(14px, 1.6vw, 18px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--card);
}

.conduit__chip img {
  width: clamp(18px, 2vw, 22px);
  height: auto;
}

.conduit__chip span {
  font-family: "Outfit", sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: var(--ink-2);
}

/* The band the rails run through — the product, stated once */
.conduit__core {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px clamp(20px, 3vw, 40px);
  margin-inline: clamp(20px, 3vw, 40px);
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.4vw, 28px);
  border-radius: var(--r-md);
  background: var(--ink-deep);
  color: var(--on-ink);
}

.conduit__core::before,
.conduit__core::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: clamp(10px, 1.2vw, 14px);
  background: color-mix(in srgb, var(--accent) 60%, transparent);
}

.conduit__core::before {
  bottom: 100%;
}

.conduit__core::after {
  top: 100%;
}

.conduit__mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.022em;
}

.conduit__mark svg {
  width: 18px;
  height: 18px;
  color: var(--accent-glow);
}

.conduit__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(16px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
}

.conduit__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--on-ink-2);
}

.conduit__facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-glow);
}

.conduit__act {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-inline: clamp(20px, 3vw, 40px);
}

/* --------------------------------------------------------------------------
   Integrations · Bands
   Two equal rounded planes: copy + ink bar left, square logo mosaic right.
   -------------------------------------------------------------------------- */

.bands {
  --bands-pad-x: clamp(20px, 2.2vw, 28px);
  --bands-gap: clamp(8px, 0.9vw, 12px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(14px, 1.6vw, 20px);
}

.bands__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
}

.bands__copy h2,
.bands__copy .h-lg,
.bands__copy .roster__line {
  margin: 0;
  max-width: 14em;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.4rem, 1.9vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.42;
  color: var(--ink);
  text-align: left;
  text-wrap: pretty;
}

.bands__copy .lede {
  margin: 0;
  max-width: 34ch;
  font-family: inherit;
  font-size: clamp(0.92rem, 1.02vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

.bands__copy .sec-label {
  margin-bottom: 0;
}

.bands__body {
  display: grid;
  align-content: center;
  gap: clamp(10px, 1.2vw, 14px);
  flex: 1 1 auto;
  padding: clamp(22px, 2.4vw, 32px) var(--bands-pad-x) 22px;
}

.bands__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.bands__proof li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
}

.bands__proof li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.bands__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 16px var(--bands-pad-x);
  background: var(--ink);
}

.bands__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.bands__brand img {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.bands__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s var(--ease);
}

.bands__link svg {
  transition: transform 0.3s var(--ease);
}

.bands__link:hover {
  color: #FFFFFF;
}

.bands__link:hover svg {
  transform: translateX(4px);
}

.bands__stage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-content: center;
  gap: var(--bands-gap);
  min-width: 0;
  padding: var(--bands-gap);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--band);
}

.bands__col,
.bands__track {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bands__set {
  display: grid;
  grid-template-rows: repeat(4, auto);
  gap: var(--bands-gap);
}

.bands__set[aria-hidden="true"],
.bands__set > .bands__tile:nth-child(n + 5) {
  display: none;
}

.bands__tile {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 10px;
  background: var(--card);
}

.bands__tile:hover {
  z-index: 1;
}

.bands__tile img {
  display: block;
  width: 38%;
  height: 38%;
  object-fit: contain;
}

.bands__tile img[src*="openaib.png"],
.bands__tile img[src*="grok.png"],
.bands__tile img[src*="perplexityb.png"],
.bands__tile img[src*="qwenb.png"] {
  filter: brightness(0);
}

@media (max-width: 900px) {
  .lattice {
    grid-template-columns: minmax(0, 1fr);
  }

  .conduit__core {
    justify-content: flex-start;
  }

  .bands {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(12px, 3vw, 16px);
  }

  .bands__copy {
    text-align: center;
  }

  .bands__body {
    padding: 20px 18px 18px;
    justify-items: center;
  }

  .bands__copy h2,
  .bands__copy .h-lg,
  .bands__copy .roster__line,
  .bands__copy .lede {
    max-width: none;
    text-align: center;
    margin-inline: auto;
  }

  .bands__copy h2,
  .bands__copy .h-lg,
  .bands__copy .roster__line {
    font-size: clamp(1.86rem, 5.04vw, 2.2rem);
    line-height: 1.42;
  }

  .bands__copy .lede {
    font-size: clamp(0.9rem, 3.6vw, 0.98rem);
  }

  .bands__copy .sec-label {
    text-align: center;
  }

  .bands__body {
    gap: 12px;
    justify-items: center;
  }

  .bands__proof {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    justify-items: start;
    column-gap: clamp(16px, 4vw, 28px);
    row-gap: 8px;
    margin-top: 2px;
    width: 100%;
  }

  .bands__proof li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .lattice__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lattice__node {
    grid-column: 2 / span 2;
    grid-row: 3;
    aspect-ratio: 2 / 1;
  }

  .lattice__cell--trim {
    display: none;
  }

  .orbit__stage {
    --size: min(300px, 78vw);
    --chip: clamp(32px, 9vw, 40px);
  }
}

@media (max-width: 560px) {
  .lattice__cta .btn,
  .orbit__cta .btn,
  .conduit__act .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lattice__cell--live img,
  .lattice__node::after,
  .orbit__sweep,
  .orbit__chip,
  .conduit__row {
    animation: none;
  }

  .lattice__cell--live img {
    opacity: 0.85;
    filter: none;
  }

  .orbit__sweep {
    opacity: 0.32;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ladder__row,
  .switch__pane,
  .faq__item summary::after {
    transition: none;
  }

  .ladder__row:hover {
    padding-inline: 0;
  }
}

/* --------------------------------------------------------------------------
   Trio — three cards as one object
   The answer to "we need three cards". A hairline spine runs across all three
   with a node per card, and the middle card lifts and takes the accent plane,
   so the set reads as one composition with a lead rather than three boxes.
   -------------------------------------------------------------------------- */

.trio {
  --trio-lift: clamp(0px, 2.4vw, 30px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  padding-top: var(--trio-lift);
}

/* the spine: one rule through the set, nodes marking each card */
.trio::before {
  content: "";
  position: absolute;
  top: calc(var(--trio-lift) + clamp(34px, 3.4vw, 46px));
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.trio__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: clamp(12px, 1.4vw, 16px);
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
}

/* the lead card lifts out of the row and carries the only colour */
.trio__card--lead {
  margin-top: calc(-1 * var(--trio-lift));
  padding-bottom: calc(clamp(24px, 2.6vw, 34px) + var(--trio-lift));
  border-color: transparent;
  background: linear-gradient(158deg, var(--accent-bright) 0%, var(--accent) 55%, color-mix(in srgb, var(--accent) 68%, #0A0C14) 100%);
  color: #FFFFFF;
}

.trio__card--ink {
  border-color: transparent;
  background: var(--ink-deep);
  color: var(--on-ink);
}

.trio__card > * {
  position: relative;
  z-index: 1;
}

/* oversized brand chevron in the corner — scale contrast, not a fake number */
.trio__mark {
  position: absolute;
  top: clamp(-6px, -0.4vw, 0px);
  right: clamp(-10px, -0.6vw, -4px);
  z-index: 0;
  width: clamp(74px, 8vw, 104px);
  height: auto;
  color: var(--ink);
  opacity: 0.07;
}

.trio__card--lead .trio__mark,
.trio__card--ink .trio__mark {
  color: #FFFFFF;
  opacity: 0.16;
}

.trio__glyph {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--accent-wash);
  color: var(--accent);
}

.trio__card--lead .trio__glyph {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.trio__card--ink .trio__glyph {
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  color: var(--accent-glow);
}

.trio__card h3 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1.14rem, 1.6vw, 1.4rem);
  letter-spacing: -0.032em;
  line-height: 1.14;
  color: inherit;
}

.trio__card p {
  max-width: 32ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.trio__card--lead p {
  color: rgba(255, 255, 255, 0.78);
}

.trio__card--ink p {
  color: var(--on-ink-2);
}

/* one hard fact per card, on a hairline, pinned to the bottom */
.trio__foot {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  padding-top: clamp(14px, 1.6vw, 18px);
  border-top: 1px solid var(--line);
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

.trio__card--lead .trio__foot {
  border-top-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.8);
}

.trio__card--ink .trio__foot {
  border-top-color: var(--line-ink);
  color: var(--on-ink-2);
}

.trio__foot b {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.trio__card--lead .trio__foot b {
  color: #FFFFFF;
}

.trio__card--ink .trio__foot b {
  color: var(--on-ink);
}

@media (max-width: 900px) {
  .trio {
    --trio-lift: 0px;
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
    margin-inline: auto;
  }

  .trio::before {
    display: none;
  }

  .trio__card--lead {
    margin-top: 0;
    padding-bottom: clamp(24px, 2.6vw, 34px);
  }
}

/* --------------------------------------------------------------------------
   Bento — four layouts, one tile system
   Rule for every layout: captions never sit on top of a screenshot. Text lives
   in .bt__cap under the image, or in its own copy tile.
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  gap: clamp(8px, 0.9vw, 12px);
}

.bt {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 0;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--card);
}

/* --- tile tones --- */

.bt--ink {
  border-color: var(--line-ink);
  background: var(--ink-panel);
  color: var(--on-ink);
}

.bt--accent {
  border-color: transparent;
  background: linear-gradient(150deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #FFFFFF;
}

.bt--band {
  background: var(--band);
}

/* --- media tile: image on top, caption plate beneath --- */

.bt__shot {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--mist);
}

.bt--ink .bt__shot {
  background: #0B0B0E;
}

.bt__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}

.bt:hover .bt__shot img {
  transform: scale(1.03);
}

/* UI screenshots read better floated on a plane than bled to the edge */
.bt__shot--inset {
  padding: clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 22px) 0;
}

.bt__shot--inset img {
  height: auto;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  object-fit: cover;
}

.bt--ink .bt__shot--inset img {
  border-color: var(--line-ink);
}

.bt__cap {
  flex: 0 0 auto;
  padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--line);
  background: var(--card);
}

.bt--ink .bt__cap {
  border-top-color: var(--line-ink);
  background: var(--ink-panel);
}

.bt--band .bt__cap {
  background: var(--band);
}

.bt__cap h3 {
  margin: 0;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  letter-spacing: -0.026em;
  line-height: 1.2;
  color: inherit;
}

.bt__cap p {
  margin-top: 7px;
  max-width: 34ch;
  font-size: 0.87rem;
  line-height: 1.45;
  color: var(--muted);
}

.bt--ink .bt__cap p {
  color: var(--on-ink-2);
}

/* --- copy tile --- */

.bt__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
  flex: 1 1 auto;
  padding: clamp(22px, 2.4vw, 30px);
}

.bt__copy h3 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1.1rem, 1.5vw, 1.34rem);
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: inherit;
}

.bt__copy p {
  max-width: 28ch;
  font-size: 0.89rem;
  line-height: 1.45;
  color: var(--muted);
}

.bt--ink .bt__copy p {
  color: var(--on-ink-2);
}

.bt--accent .bt__copy p {
  color: rgba(255, 255, 255, 0.8);
}

.bt__kicker {
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.bt--ink .bt__kicker {
  color: var(--on-ink-3);
}

.bt--accent .bt__kicker {
  color: rgba(255, 255, 255, 0.66);
}

/* --- Layout 1 · Frame: dark stage, 12-col editorial mosaic --- */

.bento--frame {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(140px, 12.5vw, 168px), auto);
  gap: clamp(8px, 0.9vw, 12px);
  padding: clamp(8px, 0.9vw, 12px);
  border-radius: 18px;
  background: #08080A;
  border: 1px solid var(--line-ink);
}

/* One shared row height for every tile. Hero spans two rows — never taller
   than Models + Automation stacked, and never bigger than that relative to
   the bottom three. */
.bento--frame > .bt:not(.bt--wide) {
  min-height: 0;
  height: 100%;
}

.bento--frame > .bt:nth-child(1):not(.bt--wide) {
  grid-column: 1 / span 7;
  grid-row: span 2;
}

.bento--frame > .bt:nth-child(2):not(.bt--wide) {
  grid-column: 8 / span 5;
}

.bento--frame > .bt:nth-child(3):not(.bt--wide) {
  grid-column: 8 / span 5;
}

.bento--frame > .bt:nth-child(4):not(.bt--wide) {
  grid-column: 1 / span 4;
}

.bento--frame > .bt:nth-child(5):not(.bt--wide) {
  grid-column: 5 / span 4;
}

.bento--frame > .bt:nth-child(6):not(.bt--wide) {
  grid-column: 9 / span 4;
}

/* Frame on an ink section — grid is the chapter, not a box inside a box */
.sec--ink .bento--frame {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Frame media: shot is the tile background — edge to edge, no plate chrome */
.bento--frame .bt__shot,
.bento--frame .bt__shot--inset {
  padding: 0;
  background: transparent;
}

.bento--frame .bt__shot img,
.bento--frame .bt__shot--inset img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: top center;
  transition: none;
}

.bento--frame .bt:hover .bt__shot img {
  transform: none;
}

.bento--frame .bt__cap {
  padding: clamp(12px, 1.3vw, 16px) clamp(14px, 1.5vw, 18px);
  border-top: 1px solid var(--line);
}

.bento--frame .bt--ink .bt__cap {
  border-top-color: var(--line-ink);
}

.bento--frame .bt__copy {
  padding: clamp(16px, 1.7vw, 20px);
}

.sec--ink .bento--frame > .bt:not(.bt--ink):not(.bt--accent) .bt__copy h3,
.sec--ink .bento--frame > .bt:not(.bt--ink):not(.bt--accent) .bt__cap h3 {
  color: var(--ink);
}

.sec--ink .bento--frame > .bt:not(.bt--ink):not(.bt--accent) .bt__copy p,
.sec--ink .bento--frame > .bt:not(.bt--ink):not(.bt--accent) .bt__cap p {
  color: var(--muted);
}

.sec--ink .bento--frame > .bt:not(.bt--ink):not(.bt--accent) .bt__kicker {
  color: var(--muted);
}

/* --- Layout 2 · Weave: alternating wide/narrow rows, no stage --- */

.bento--weave {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(190px, 20vw, 270px), auto);
}

.bento--weave > .bt:nth-child(4n + 1) {
  grid-column: 1 / span 8;
}

.bento--weave > .bt:nth-child(4n + 2) {
  grid-column: 9 / span 4;
}

.bento--weave > .bt:nth-child(4n + 3) {
  grid-column: 1 / span 4;
}

.bento--weave > .bt:nth-child(4n) {
  grid-column: 5 / span 8;
}

/* --- Layout 3 · Cascade: irregular masonry, varied spans ---
   Not a carousel. Tall lead + staggered mid + uneven bottom row. */

.bento--cascade {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: clamp(8px, 0.9vw, 12px);
}

.bento--cascade > .bt:not(.bt--wide) {
  min-height: clamp(120px, 12vw, 160px);
}

/* tall lead — left */
.bento--cascade > .bt:nth-child(1):not(.bt--wide) {
  grid-column: 1 / span 5;
  grid-row: span 2;
  min-height: clamp(240px, 26vw, 320px);
}

/* wide top-right */
.bento--cascade > .bt:nth-child(2):not(.bt--wide) {
  grid-column: 6 / span 7;
  min-height: clamp(130px, 14vw, 170px);
}

/* narrow mid-right pair */
.bento--cascade > .bt:nth-child(3):not(.bt--wide) {
  grid-column: 6 / span 4;
}

.bento--cascade > .bt:nth-child(4):not(.bt--wide) {
  grid-column: 10 / span 3;
}

/* uneven bottom: 4 / 5 / 3 */
.bento--cascade > .bt:nth-child(5):not(.bt--wide) {
  grid-column: 1 / span 4;
  min-height: clamp(140px, 14vw, 180px);
}

.bento--cascade > .bt:nth-child(6):not(.bt--wide) {
  grid-column: 5 / span 5;
  min-height: clamp(140px, 14vw, 180px);
}

.bento--cascade > .bt:nth-child(7):not(.bt--wide) {
  grid-column: 10 / span 3;
  min-height: clamp(140px, 14vw, 180px);
}

/* Keep media tiles compact — shot is a fixed plane, caption sits under it */
.bento--cascade .bt__shot {
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  max-height: clamp(120px, 14vw, 180px);
}

.bento--cascade > .bt:nth-child(1) .bt__shot {
  aspect-ratio: 4 / 5;
  max-height: clamp(200px, 24vw, 280px);
}

/* --- Layout 4 · Quad: four poster-scale panels --- */

.bento--quad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(220px, 24vw, 300px), auto);
}

.bento--quad > .bt {
  border-radius: var(--r-lg);
}

/* --- Layout 5 · Pair: exact ref — 4-col staggered mosaic ---
   Top: 1 | 2 | 1  (square · wide full-bleed image · square)
   Bottom: 1 | 1 | 2  (square · square · wide)
   Six tiles. Wide tiles offset so columns never read as equal. */

.bento--pair {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(220px, 22vw, 280px), auto);
  gap: clamp(8px, 0.9vw, 12px);
}

.bento--pair > .bt {
  border-radius: var(--r-lg);
  min-height: 0;
}

/* 1 · top-left square */
.bento--pair > .bt:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

/* 2 · top-middle wide — full-bleed image */
.bento--pair > .bt:nth-child(2) {
  grid-column: 2 / span 2;
  grid-row: 1;
}

/* 3 · top-right square */
.bento--pair > .bt:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
}

/* 4 · bottom-left square */
.bento--pair > .bt:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

/* 5 · bottom-middle square */
.bento--pair > .bt:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}

/* 6 · bottom-right wide */
.bento--pair > .bt:nth-child(6) {
  grid-column: 3 / span 2;
  grid-row: 2;
}

/* Full-bleed image tile — no caption plate, image is the tile */
.bt--fill {
  position: relative;
  padding: 0;
  border: 0;
  background: var(--mist);
}

.bt__shot--fill {
  position: absolute;
  inset: 0;
  flex: none;
  height: 100%;
}

.bt__shot--fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --- Pair tile interiors --- */

.bento--pair > .bt .bt__copy {
  gap: 0;
  padding: clamp(20px, 2.2vw, 28px);
}

/* Marks tile: logos up top, statement pinned to the foot */
.bento--pair > .bt--pair-marks .bt__copy {
  justify-content: space-between;
  min-height: 100%;
}

.bento--pair > .bt--pair-marks .bt__foot {
  display: grid;
  gap: 8px;
}

.bento--pair > .bt--pair-marks .bt__foot h3 {
  max-width: 12ch;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}

.bento--pair > .bt--pair-marks .bt__foot p {
  max-width: 24ch;
  font-size: 0.84rem;
  line-height: 1.4;
}

.bt__marks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.bt__marks li {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 6%, var(--card));
  font-family: "Outfit", sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Stat tiles: display figure top, short note bottom */
.bento--pair > .bt--pair-stat .bt__copy {
  justify-content: space-between;
  min-height: 100%;
}

.bento--pair .bt__stat {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ink);
}

.bento--pair .bt__note {
  margin: 0;
  max-width: 18ch;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--muted);
}

/* Demo tile: quiet kicker, product shot floats on the band */
.bento--pair > .bt--pair-demo {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(18px, 2vw, 24px);
  padding-bottom: clamp(14px, 1.6vw, 18px);
}

.bento--pair > .bt--pair-demo > .bt__kicker {
  flex: 0 0 auto;
  margin: 0 0 clamp(12px, 1.4vw, 16px);
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
}

.bento--pair > .bt--pair-demo .bt__shot--inset {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #0B0B0E;
  box-shadow: 0 12px 28px rgba(17, 17, 20, 0.14);
}

.bento--pair > .bt--pair-demo .bt__shot--inset img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: top center;
}

/* Claim tile: statement sits low on the accent plane */
.bento--pair > .bt--pair-claim .bt__copy {
  justify-content: flex-end;
  gap: 10px;
  min-height: 100%;
}

.bento--pair > .bt--pair-claim .bt__copy h3 {
  max-width: 14ch;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.bento--pair > .bt--pair-claim .bt__copy p {
  max-width: 28ch;
}

/* --- Layout 6 · Spine: tall media column as the visual anchor ---
   4-col grid:
   [marks] [media↕] [stat] [icon]
   [stat ] [media↕] [   claim   ]
*/

.bento--spine {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(clamp(200px, 20vw, 260px), auto));
  gap: clamp(8px, 0.9vw, 12px);
}

.bento--spine > .bt {
  border-radius: var(--r-lg);
  min-height: 0;
}

/* 1 · top-left marks */
.bento--spine > .bt--spine-marks {
  grid-column: 1;
  grid-row: 1;
}

.bento--spine > .bt--spine-marks .bt__copy {
  justify-content: space-between;
  gap: 0;
  min-height: 100%;
  padding: clamp(20px, 2.2vw, 28px);
}

.bento--spine > .bt--spine-marks .bt__foot {
  display: grid;
  gap: 8px;
}

.bento--spine > .bt--spine-marks .bt__foot h3 {
  max-width: 12ch;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}

.bento--spine > .bt--spine-marks .bt__foot p {
  max-width: 22ch;
  font-size: 0.84rem;
  line-height: 1.4;
}

/* 2 · bottom-left stat — first .bt--spine-stat in DOM after marks */
.bento--spine > .bt--spine-stat:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

/* 3 · tall media spine */
.bento--spine > .bt--spine-media {
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* 4 · top mid-right accent stat */
.bento--spine > .bt--spine-stat:nth-child(4) {
  grid-column: 3;
  grid-row: 1;
}

.bento--spine > .bt--spine-stat .bt__copy {
  justify-content: space-between;
  gap: 0;
  min-height: 100%;
  padding: clamp(20px, 2.2vw, 28px);
}

.bento--spine .bt__stat {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: inherit;
}

.bento--spine .bt__stat-unit {
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-left: 0.08em;
}

.bento--spine > .bt--spine-media .bt__shot img {
  object-fit: cover;
  object-position: center;
}

.bento--spine .bt__note {
  margin: 0;
  max-width: 18ch;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--muted);
}

.bento--spine > .bt--accent .bt__note {
  color: rgba(255, 255, 255, 0.78);
}

/* 5 · top-right ink icon */
.bento--spine > .bt--spine-icon {
  grid-column: 4;
  grid-row: 1;
}

.bento--spine > .bt--spine-icon .bt__copy {
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  min-height: 100%;
  padding: clamp(20px, 2.2vw, 28px);
}

.bt__glyph {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent-glow);
}

.bt__label {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--on-ink);
}

/* 6 · bottom-right wide claim */
.bento--spine > .bt--spine-claim {
  grid-column: 3 / span 2;
  grid-row: 2;
}

.bento--spine > .bt--spine-claim .bt__copy {
  justify-content: flex-end;
  gap: 10px;
  min-height: 100%;
  padding: clamp(22px, 2.4vw, 32px);
}

.bento--spine > .bt--spine-claim .bt__copy h3 {
  max-width: 16ch;
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
}

.bento--spine > .bt--spine-claim .bt__copy p {
  max-width: 32ch;
}

.bento--spine > .bt--spine-claim .bt__act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 2px;
}

.bento--spine > .bt--spine-claim .bt__risk {
  margin: 0;
  max-width: 36ch;
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

/* --- Layout 7 · Suite: the capability set on one plane ---
   Two tall anchors carry it — the accent Automation plane (left) and the media
   plane (right) — with lighter tiles threaded between. Every tile differs in
   size or tone, so the set never flattens into a card wall.

   [ models 5 ][ chat 4  ][ media 3 ]
   [ auto  5 ][ note 4   ][    ↕    ]
   [   ↕     ][ feed 4   ][    ↕    ]
*/

.bento--suite {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows:
    minmax(clamp(150px, 14vw, 190px), auto)
    minmax(clamp(150px, 14vw, 190px), auto)
    minmax(clamp(120px, 11vw, 150px), auto);
  gap: clamp(8px, 0.9vw, 12px);
}

.bento--suite > .bt {
  border-radius: var(--r-lg);
  min-height: 0;
}

/* models rail — paper, top-left */
.bento--suite > .bt--suite-models {
  grid-column: 1 / span 5;
  grid-row: 1;
}

/* chat — ink, top-middle */
.bento--suite > .bt--suite-chat {
  grid-column: 6 / span 4;
  grid-row: 1;
}

/* media plane — right anchor, all three rows */
.bento--suite > .bt--suite-media {
  grid-column: 10 / span 3;
  grid-row: 1 / span 3;
}

/* automation — accent left anchor, rows 2–3 */
.bento--suite > .bt--suite-auto {
  grid-column: 1 / span 5;
  grid-row: 2 / span 2;
}

/* annotation — paper, middle */
.bento--suite > .bt--suite-note {
  grid-column: 6 / span 4;
  grid-row: 2;
}

/* feed — band strip, middle bottom */
.bento--suite > .bt--suite-feed {
  grid-column: 6 / span 4;
  grid-row: 3;
}

/* shared interior: glyph up top, label + one line at the foot */
.bento--suite .bt__copy {
  justify-content: space-between;
  gap: clamp(14px, 1.8vw, 22px);
  min-height: 100%;
  padding: clamp(18px, 2vw, 26px);
}

.bento--suite .bt__foot {
  display: grid;
  gap: 7px;
}

.bento--suite .bt__copy h3 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  letter-spacing: -0.026em;
  line-height: 1.18;
}

.bento--suite .bt__copy p {
  margin: 0;
  max-width: 26ch;
  font-size: 0.84rem;
  line-height: 1.42;
  color: var(--muted);
}

.bento--suite > .bt--ink .bt__copy p {
  color: var(--on-ink-2);
}

.bento--suite > .bt--accent .bt__copy p {
  color: rgba(255, 255, 255, 0.82);
}

.bento--suite > .bt--accent .bt__kicker {
  color: rgba(255, 255, 255, 0.7);
}

/* glyph reads as a quiet mark, tinted to its plane */
.bento--suite .bt__glyph {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--accent);
}

.bento--suite > .bt--ink .bt__glyph {
  border-color: var(--line-ink);
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-glow);
}

.bento--suite > .bt--accent .bt__glyph {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

/* models rail: chips lead, one line at the foot */
.bento--suite > .bt--suite-models .bt__marks {
  margin: 0;
}

.bento--suite > .bt--suite-models .bt__copy p {
  max-width: 34ch;
}

/* automation: the loudest tile — display type on the accent plane */
.bento--suite > .bt--suite-auto .bt__copy {
  padding: clamp(22px, 2.4vw, 32px);
}

.bento--suite > .bt--suite-auto .bt__glyph {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
}

.bento--suite > .bt--suite-auto .bt__copy h3 {
  max-width: 13ch;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: -0.038em;
  line-height: 1.06;
}

.bento--suite > .bt--suite-auto .bt__copy p {
  max-width: 34ch;
  font-size: 0.9rem;
}

/* feed: three ruled activity rows, no chrome */
.bt__feed {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.bt__feed li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  line-height: 1.3;
  color: var(--ink-2);
}

.bt__feed li:first-child {
  border-top: 0;
  padding-top: 0;
}

.bt__feed li:last-child {
  padding-bottom: 0;
}

.bt__feed i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* media plane: image holds the tile, caption plate beneath */
.bento--suite > .bt--suite-media {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--mist);
}

.bento--suite > .bt--suite-media .bt__shot--fill {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  min-height: clamp(200px, 24vw, 320px);
}

.bento--suite > .bt--suite-media .bt__cap {
  flex: 0 0 auto;
  padding: clamp(16px, 1.8vw, 22px);
}

.bento--suite > .bt--suite-media .bt__cap h3 {
  max-width: 14ch;
}

.bento--suite > .bt--suite-media .bt__cap p {
  margin-top: 6px;
  max-width: 24ch;
}

/* Closing band — thin horizontal strip, same weight as the old .ob--accent.
   Never inherits mosaic min-heights. */
.bt--wide {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px clamp(14px, 1.8vw, 24px);
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.6vw, 36px);
  min-height: 0 !important;
  height: auto;
  align-self: stretch;
}

.bento--frame > .bt--wide,
.bento--cascade > .bt--wide,
.bento--weave > .bt--wide,
.bento--quad > .bt--wide,
.bento--pair > .bt--wide,
.bento--spine > .bt--wide,
.bento--suite > .bt--wide {
  grid-column: 1 / -1;
  grid-row: auto;
}

.bt--wide .bt__kicker,
.bt--wide .ob__kicker {
  flex: 0 0 auto;
}

.bt--wide h3 {
  flex: 0 1 auto;
  margin: 0;
  max-width: none;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: inherit;
}

.bt--wide__price h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.bt--wide .bt__was {
  font-size: 0.68em;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
  opacity: 0.55;
}

.bt--wide .bt__now {
  display: inline-flex;
  align-items: baseline;
  font-weight: 600;
}

.bt--wide .bt__now i {
  font-style: normal;
  font-size: 0.48em;
  letter-spacing: -0.02em;
  opacity: 0.78;
  margin-left: 0.08em;
}

.bt--wide p {
  flex: 0 1 36ch;
  margin: 0;
  max-width: 36ch;
  font-size: 0.88rem;
  line-height: 1.4;
}

.bt--wide .btn {
  margin-left: auto;
  flex: 0 0 auto;
}

.bt--accent.bt--wide .btn--primary {
  background: #FFFFFF;
  color: var(--ink);
}

.bt--accent.bt--wide .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.bt--accent.bt--wide .btn--primary:active {
  background: rgba(255, 255, 255, 0.82);
}

.bt--wide-say {
  justify-content: center;
  text-align: center;
  margin-top: clamp(14px, 1.4vw, 20px);
  padding: clamp(18px, 2vw, 24px) clamp(24px, 3vw, 40px);
}

.bt--wide-say p {
  flex: 1 1 auto;
  max-width: none;
  margin: 0;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.bt--wide-say p strong {
  font-weight: 600;
}

/* Wide accent bars — one height for Tally one-bill, Jobs ask, etc. */
.tally > .bt--wide,
.bt.bt--wide.jobs__ask {
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(16px, 1.6vw, 20px) clamp(20px, 2.6vw, 36px);
}

.bt.bt--wide.jobs__ask {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  flex-wrap: nowrap;
  align-items: center;
  min-height: 0 !important;
  height: auto;
}

.bt.bt--wide.jobs__ask .bt__kicker {
  margin: 0;
  line-height: 1;
}

.bt.bt--wide.jobs__ask h3 {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.bt.bt--wide.jobs__ask .btn {
  margin-left: auto;
  align-self: center;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .tally > .bt--wide {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 14px 16px;
    gap: 12px 16px;
  }

  .tally > .bt--wide .bt--wide__price {
    display: none;
  }

  .tally > .bt--wide .bt--wide__lead {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
  }

  .bt.bt--wide.jobs__ask {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
  }

  .bt.bt--wide.jobs__ask h3 {
    flex: none;
    width: 100%;
    max-width: none;
    white-space: normal;
    line-height: 1.2;
  }

  .bt.bt--wide.jobs__ask .btn {
    width: 100%;
    margin-left: 0;
    align-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 900px) {

  .bento--frame,
  .bento--weave,
  .bento--cascade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .bento--frame > .bt:nth-child(n),
  .bento--weave > .bt:nth-child(n),
  .bento--cascade > .bt:nth-child(n) {
    grid-column: span 2;
    grid-row: auto;
    min-height: clamp(140px, 22vw, 190px);
  }

  .bento--frame > .bt:nth-child(4):not(.bt--wide),
  .bento--frame > .bt:nth-child(5):not(.bt--wide),
  .bento--weave > .bt:nth-child(4n + 2):not(.bt--wide),
  .bento--weave > .bt:nth-child(4n + 3):not(.bt--wide),
  .bento--cascade > .bt:nth-child(3):not(.bt--wide),
  .bento--cascade > .bt:nth-child(4):not(.bt--wide) {
    grid-column: span 1;
  }

  .bento--frame > .bt--wide,
  .bento--cascade > .bt--wide,
  .bento--weave > .bt--wide {
    min-height: 0 !important;
  }

  /* Pair: 2-col — wide tiles take full row, squares share a row */
  .bento--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .bento--pair > .bt:nth-child(1),
  .bento--pair > .bt:nth-child(3),
  .bento--pair > .bt:nth-child(4),
  .bento--pair > .bt:nth-child(5) {
    grid-column: span 1;
    grid-row: auto;
    min-height: clamp(180px, 28vw, 220px);
  }

  .bento--pair > .bt:nth-child(2),
  .bento--pair > .bt:nth-child(6) {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: clamp(180px, 32vw, 240px);
  }

  .bento--pair > .bt--pair-demo .bt__shot--inset {
    min-height: clamp(120px, 22vw, 160px);
  }

  /* Spine: media full-width on top, then 2-col tiles, claim full-width */
  .bento--spine {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .bento--spine > .bt--spine-media {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: clamp(220px, 40vw, 300px);
  }

  .bento--spine > .bt--spine-marks {
    grid-column: 1;
    grid-row: 2;
    min-height: clamp(180px, 28vw, 220px);
  }

  .bento--spine > .bt--spine-stat:nth-child(2) {
    grid-column: 2;
    grid-row: 2;
    min-height: clamp(180px, 28vw, 220px);
  }

  .bento--spine > .bt--spine-stat:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
    min-height: clamp(180px, 28vw, 220px);
  }

  .bento--spine > .bt--spine-icon {
    grid-column: 2;
    grid-row: 3;
    min-height: clamp(180px, 28vw, 220px);
  }

  .bento--spine > .bt--spine-claim {
    grid-column: 1 / -1;
    grid-row: 4;
    min-height: clamp(160px, 26vw, 200px);
  }

  /* Suite: 6-col — automation and media keep their weight, rest pair up */
  .bento--suite {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .bento--suite > .bt--suite-models {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: clamp(160px, 26vw, 200px);
  }

  .bento--suite > .bt--suite-auto {
    grid-column: 1 / span 3;
    grid-row: 2;
    min-height: clamp(230px, 38vw, 280px);
  }

  .bento--suite > .bt--suite-media {
    grid-column: 4 / span 3;
    grid-row: 2;
    min-height: clamp(230px, 38vw, 280px);
  }

  .bento--suite > .bt--suite-chat {
    grid-column: 1 / span 3;
    grid-row: 3;
    min-height: clamp(170px, 28vw, 210px);
  }

  .bento--suite > .bt--suite-note {
    grid-column: 4 / span 3;
    grid-row: 3;
    min-height: clamp(170px, 28vw, 210px);
  }

  .bento--suite > .bt--suite-feed {
    grid-column: 1 / -1;
    grid-row: 4;
    min-height: 0;
  }

  .bento--suite > .bt--suite-media .bt__shot--fill {
    min-height: clamp(140px, 22vw, 180px);
  }
}

@media (max-width: 560px) {

  .bento--frame,
  .bento--weave,
  .bento--cascade,
  .bento--quad,
  .bento--pair,
  .bento--spine,
  .bento--suite {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento--frame > .bt:nth-child(n),
  .bento--weave > .bt:nth-child(n),
  .bento--cascade > .bt:nth-child(n) {
    grid-column: span 1;
  }

  .bento--pair > .bt:nth-child(n),
  .bento--spine > .bt,
  .bento--suite > .bt {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bento--spine > .bt--spine-media {
    min-height: clamp(200px, 56vw, 280px);
  }

  .bento--suite > .bt {
    min-height: clamp(150px, 34vw, 190px);
  }

  .bento--suite > .bt--suite-auto {
    min-height: clamp(230px, 52vw, 280px);
  }

  .bento--suite > .bt--suite-feed,
  .bento--suite > .bt--suite-media {
    min-height: 0;
  }

  .bento--suite > .bt--suite-media .bt__shot--fill {
    min-height: clamp(180px, 46vw, 240px);
  }

  .bt--wide {
    flex-direction: column;
    align-items: flex-start;
  }

  .bt--wide .btn {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bt__shot img {
    transition: none;
  }

  .bt:hover .bt__shot img {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Spotlight — 2×2 capability tiles + tall product stage
   Resting tiles stay quiet. Hover / focus paints the tile (accent or ink via
   modifier) and swaps the stage shot on the right — never a bg on the tile.
   Wired by initSpotlight.
   -------------------------------------------------------------------------- */

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(12px, 1.4vw, 18px);
  align-items: stretch;
}

.spotlight__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  min-height: clamp(340px, 38vw, 440px);
}

.spotlight__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 0;
  padding: clamp(20px, 2.2vw, 26px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.spotlight__card > * {
  position: relative;
  z-index: 1;
}

.spotlight__card > .fold,
.spotlight__card > .grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.spotlight__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease), backdrop-filter 0.3s var(--ease),
    -webkit-backdrop-filter 0.3s var(--ease);
}

.spotlight__card h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.spotlight__card p {
  margin: 0;
  max-width: 28ch;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

/* Accent hover — same language as .bt--accent */
.spotlight__card--accent.is-active {
  border-color: transparent;
  background: linear-gradient(150deg, var(--accent-bright) 0%, var(--accent) 100%);
  box-shadow: none;
  color: #FFFFFF;
}

.spotlight__card--accent.is-active > .fold,
.spotlight__card--accent.is-active > .grain {
  opacity: 1;
}

.spotlight__card--accent.is-active .spotlight__icon {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.spotlight__card--accent.is-active h3 {
  color: #FFFFFF;
}

.spotlight__card--accent.is-active p {
  color: rgba(255, 255, 255, 0.82);
}

/* Ink hover — same language as .bt--ink */
.spotlight__card--ink.is-active {
  border-color: var(--line-ink);
  background: var(--ink-deep);
  box-shadow: none;
  color: var(--on-ink);
}

.spotlight__card--ink.is-active > .fold,
.spotlight__card--ink.is-active > .grain {
  opacity: 1;
}

.spotlight__card--ink.is-active .spotlight__icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--accent-glow);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.spotlight__card--ink.is-active h3 {
  color: var(--on-ink);
}

.spotlight__card--ink.is-active p {
  color: var(--on-ink-2);
}

/* Tall product stage — shot swaps with the active tile */
.spotlight__stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  min-height: 0;
  height: 100%;
  padding: 0;
  border-radius: var(--r-lg);
  background: var(--ink-deep);
  border: 1px solid var(--line-ink);
}

.spotlight__stage > .fold {
  opacity: 0.3;
  z-index: 0;
}

.spotlight__shot {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: #0B0B0E;
}

.spotlight__shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.spotlight__shot img.is-shown,
.spotlight__shot img:only-child {
  opacity: 1;
}

@media (max-width: 900px) {
  .spotlight {
    grid-template-columns: minmax(0, 1fr);
  }

  .spotlight__tiles {
    min-height: 0;
  }

  .spotlight__stage {
    order: -1;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .spotlight__card {
    min-height: clamp(150px, 28vw, 180px);
  }
}

@media (max-width: 560px) {
  .spotlight__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 10px;
  }

  .spotlight__card {
    min-height: 0;
    padding: 16px;
    gap: 8px;
  }

  .spotlight__card h3 {
    font-size: 1rem;
  }

  .spotlight__card p {
    font-size: 0.82rem;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight__card,
  .spotlight__icon,
  .spotlight__card h3,
  .spotlight__card p,
  .spotlight__card > .fold,
  .spotlight__card > .grain,
  .spotlight__shot img {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Flank — open body split (copy ↔ media)
   Sits on the page band with no shell. Checklist copy + tall stage with
   fold/grain (or photo wash) and an inset product shot. Alternate with
   .flank--flip down a page. Not Module (no brand bar) and not Duo (no frame).
   -------------------------------------------------------------------------- */

.flank {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.flank--flip {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.flank--flip .flank__copy {
  order: 2;
}

.flank__copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
}

.flank__copy .sec-label {
  margin: 0;
}

.flank__copy .h-lg,
.flank__copy .roster__line {
  margin: 0;
  max-width: 16ch;
}

.flank__copy .roster__line {
  max-width: 14em;
  font-size: clamp(2.4rem, 1.9vw, 1.95rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.flank__copy .lede {
  margin: 0;
  max-width: 42ch;
}

.flank__marks {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.flank__marks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.flank__tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--accent);
}

.flank__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.flank__stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin: 0;
  min-height: clamp(280px, 34vw, 420px);
  padding: clamp(28px, 4vw, 48px) clamp(22px, 3vw, 40px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg,
      color-mix(in srgb, var(--accent-wash) 70%, var(--band)) 0%,
      var(--band) 55%,
      #DDD9D0 100%);
}

.flank__stage > .fold,
.flank__stage > .grain {
  z-index: 0;
}

.flank__stage--ink {
  border-color: var(--line-ink);
  background: var(--ink-deep);
}

.flank__stage--accent {
  border-color: transparent;
  background: linear-gradient(150deg, var(--accent-bright) 0%, var(--accent) 100%);
}

.flank__stage--photo {
  padding: 0;
  background: #0B0B0E;
}

.flank__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.flank__stage--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(160deg,
      rgba(10, 10, 12, 0.18) 0%,
      rgba(10, 10, 12, 0.42) 100%);
  pointer-events: none;
}

.flank__shot {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 20, 0.08);
  box-shadow: var(--shadow-deep);
  display: block;
  object-fit: cover;
  object-position: top center;
}

.flank__stage--ink .flank__shot,
.flank__stage--accent .flank__shot,
.flank__stage--photo .flank__shot {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

@media (max-width: 860px) {
  .flank,
  .flank--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 4vw, 32px);
  }

  .flank--flip .flank__copy {
    order: 0;
  }

  .flank__stage {
    min-height: clamp(240px, 58vw, 340px);
    order: -1;
  }

  .flank__copy .h-lg,
  .flank__copy .roster__line {
    max-width: none;
  }

  .flank__copy .roster__line {
    max-width: none;
  }

  .flank__copy .lede {
    max-width: none;
  }

  body.page-chat #flank-title {
    max-width: none;
  }

  body.page-chat .flank__copy .roster__text--break {
    display: inline;
  }

  .flank__marks li {
    max-width: none;
  }

  .flank__cta {
    width: 100%;
  }

  .flank__cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Vista — atmospheric body split (plane ↔ copy)
   Media-led chapter: coloured / photo plane with fold·grain and a glass
   float (or inset shot). Copy uses ruled micro-facts — not a checklist.
   Flip with .vista--flip. Heavier than Flank; lighter than Module/Duo shell.
   -------------------------------------------------------------------------- */

.vista {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(12px, 1.4vw, 18px);
  align-items: stretch;
  padding: clamp(10px, 1.2vw, 14px);
  border-radius: 22px;
  background: var(--band);
  border: 1px solid var(--line);
}

.vista--flip {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.vista--flip .vista__copy {
  order: 2;
}

.vista__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: clamp(28px, 3.2vw, 44px) clamp(24px, 2.8vw, 40px);
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-soft);
}

.vista__copy .sec-label {
  margin: 0;
}

.vista__copy .h-lg {
  margin: 0;
  max-width: 14ch;
}

.vista__copy .lede {
  margin: 0;
  max-width: 36ch;
}

.vista__facts {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line);
}

.vista__facts li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.vista__facts b {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.vista__facts span {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 36ch;
}

.vista__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.vista__plane {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 36vw, 440px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 60% at 70% 20%,
      color-mix(in srgb, var(--accent) 22%, transparent),
      transparent 60%),
    linear-gradient(160deg, #F7F6F2 0%, #E8E6DF 100%);
}

.vista__plane--ink {
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%,
      color-mix(in srgb, var(--accent) 28%, transparent),
      transparent 60%),
    var(--ink-deep);
}

.vista__plane--accent {
  background: linear-gradient(150deg, var(--accent-bright) 0%, var(--accent) 100%);
}

.vista__plane--photo {
  padding: clamp(28px, 3.5vw, 48px);
  background: #0B0B0E;
}

.vista__plane > .fold,
.vista__plane > .grain {
  z-index: 0;
}

.vista__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.vista__plane--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(155deg,
      rgba(10, 10, 12, 0.2) 0%,
      rgba(10, 10, 12, 0.55) 100%);
  pointer-events: none;
}

.vista__plane > .glass,
.vista__plane > .vista__shot {
  position: relative;
  z-index: 1;
}

.vista__panel {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  display: grid;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
}

.vista__panel .sec-label {
  margin: 0;
}

.vista__panel h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.vista__panel-rows {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
}

.vista__panel-rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-2);
}

.vista__panel-rows li:first-child {
  border-top: 0;
  padding-top: 0;
}

.vista__panel-rows b {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.vista__panel p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.vista__shot {
  width: min(100%, 480px);
  height: auto;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 20, 0.08);
  box-shadow: var(--shadow-deep);
  display: block;
  object-fit: cover;
  object-position: top center;
}

.vista__plane--ink .vista__shot,
.vista__plane--accent .vista__shot,
.vista__plane--photo .vista__shot {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.vista__plane > .glass {
  width: min(100%, 340px);
}

@media (max-width: 860px) {
  .vista,
  .vista--flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .vista--flip .vista__copy {
    order: 0;
  }

  .vista__plane {
    min-height: clamp(260px, 62vw, 360px);
    order: -1;
  }

  .vista__copy .h-lg {
    max-width: 18ch;
  }
}

/* --------------------------------------------------------------------------
   Slate — product card with a bleeding shot
   One card holds the whole row: padded copy panel on one side, media running
   flush to the card's edges on the other. Media keeps its native 16:10 ratio,
   so the row height comes from the screenshot instead of a forced crop.
   Copy closes on two hard facts. Flip with .slate--flip.
   -------------------------------------------------------------------------- */

.slate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card);
}

.slate--flip {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.slate--flip .slate__copy {
  order: 2;
}

.slate__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: clamp(32px, 4vw, 56px);
}

.slate__copy .sec-label,
.slate__copy .h-lg,
.slate__copy .roster__line,
.slate__copy .lede {
  margin: 0;
}

.slate__copy .h-lg,
.slate__copy .roster__line {
  max-width: 14em;
}

.slate__copy .lede {
  max-width: 40ch;
}

.slate__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 2.6vw, 40px);
  margin: 6px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.slate__facts li {
  display: grid;
  gap: 2px;
}

.slate__facts b {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.slate__facts span {
  font-size: 0.82rem;
  color: var(--muted);
}

.slate__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--band);
}

.slate__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 900px) {
  .slate,
  .slate--flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .slate--flip .slate__copy {
    order: 0;
  }

  .slate__media {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   Verge — layered frame on an open row
   No shell: copy with a glyph plate and one text link, beside a lifted 16:10
   frame with an accent plate stepped behind it. The offset lives inside the
   media box (padding on the stepped sides), so nothing overflows the section.
   -------------------------------------------------------------------------- */

.verge {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}

.verge--flip {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.verge--flip .verge__copy {
  order: 2;
}

.verge__copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.verge__glyph {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-wash);
  border: 1px solid var(--accent-soft);
  color: var(--accent);
}

.verge__copy .sec-label,
.verge__copy .h-lg,
.verge__copy .lede {
  margin: 0;
}

.verge__copy .h-lg {
  max-width: 16ch;
}

.verge__copy .lede {
  max-width: 40ch;
}

.verge__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  width: fit-content;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-2);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.verge__link svg {
  transition: transform 0.3s var(--ease);
}

.verge__link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.verge__link:hover svg {
  transform: translateX(3px);
}

.verge__media {
  --verge-off: clamp(14px, 1.6vw, 22px);
  position: relative;
  margin: 0;
  padding: 0 var(--verge-off) var(--verge-off) 0;
}

.verge--flip .verge__media {
  padding: 0 0 var(--verge-off) var(--verge-off);
}

.verge__media::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: var(--verge-off) 0 0 var(--verge-off);
  border-radius: var(--r-lg);
  background: var(--accent-wash);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
}

.verge--flip .verge__media::before {
  inset: var(--verge-off) var(--verge-off) 0 0;
}

.verge__frame {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-lift);
}

.verge__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 900px) {
  .verge,
  .verge--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 4vw, 32px);
  }

  .verge--flip .verge__copy {
    order: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .verge__link,
  .verge__link svg {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Brief — captioned plane with numbered copy
   Copy is a short numbered brief; media is a plane (ink or band) carrying
   fold + grain, an inset 16:10 shot, and a caption row beneath it — the only
   body split where the media names itself.
   -------------------------------------------------------------------------- */

.brief {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.brief--flip {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.brief--flip .brief__copy {
  order: 2;
}

.brief__copy {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.brief__copy .sec-label,
.brief__copy .h-lg,
.brief__copy .roster__line,
.brief__copy .lede {
  margin: 0;
}

.brief__copy .h-lg {
  max-width: 16ch;
}

.brief__copy .roster__line {
  max-width: 22em;
  text-align: left;
}

.brief__copy .lede {
  max-width: 40ch;
}

.brief__rows {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
}

.brief__rows li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.brief__rows li:first-child {
  border-top: 1px solid var(--line);
}

.brief__rows i {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.brief__rows b {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brief__rows span {
  display: block;
  margin-top: 3px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.brief__plane {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-ink);
  background: var(--ink-deep);
}

.brief__plane > .fold,
.brief__plane > .grain {
  z-index: 0;
}

.brief__shot {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.brief__cap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
}

.brief__cap b {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--on-ink);
}

.brief__cap span {
  font-size: 0.82rem;
  color: var(--on-ink-2);
}

.brief__plane--band {
  border-color: var(--line);
  background: linear-gradient(160deg, var(--band) 0%, #DDD9D0 100%);
}

.brief__plane--band .brief__shot {
  border-color: rgba(17, 17, 20, 0.08);
  box-shadow: var(--shadow-deep);
}

.brief__plane--band .brief__cap b {
  color: var(--ink);
}

.brief__plane--band .brief__cap span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .brief,
  .brief--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 4vw, 32px);
  }

  .brief--flip .brief__copy {
    order: 0;
  }
}

/* --------------------------------------------------------------------------
   Crest — coloured stage with a continuing shot
   The most atmospheric body split: a 16:10 accent (or ink) stage with fold +
   grain, and the shot anchored inside the top/inner corner while running off
   the outer edge — so the product reads as continuing past the section.
   -------------------------------------------------------------------------- */

.crest {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.crest--flip {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.crest--flip .crest__copy {
  order: 2;
}

.crest__copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.crest__copy .sec-label,
.crest__copy .h-lg,
.crest__copy .lede {
  margin: 0;
}

.crest__copy .h-lg {
  max-width: 16ch;
}

.crest__copy .lede {
  max-width: 38ch;
}

.crest__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.crest__stage {
  --crest-in: clamp(26px, 3.4vw, 44px);
  --crest-out: clamp(18px, 2.2vw, 30px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
  background:
    radial-gradient(ellipse 80% 70% at 20% 10%,
      color-mix(in srgb, var(--accent) 14%, transparent),
      transparent 60%),
    var(--accent-wash);
}

.crest__stage--ink {
  border-color: var(--line-ink);
  background:
    radial-gradient(ellipse 80% 70% at 20% 10%,
      color-mix(in srgb, var(--accent) 30%, transparent),
      transparent 60%),
    var(--ink-deep);
}

.crest__stage > .fold,
.crest__stage > .grain {
  z-index: 0;
}

.crest__shot {
  position: absolute;
  z-index: 1;
  top: var(--crest-in);
  left: var(--crest-in);
  right: calc(-1 * var(--crest-out));
  bottom: calc(-1 * var(--crest-out));
  width: auto;
  height: auto;
  object-fit: cover;
  object-position: top left;
  border-radius: 12px 0 0 0;
  box-shadow: -16px -16px 44px rgba(17, 17, 20, 0.16);
}

.crest--flip .crest__shot {
  left: calc(-1 * var(--crest-out));
  right: var(--crest-in);
  object-position: top right;
  border-radius: 0 12px 0 0;
  box-shadow: 16px -16px 44px rgba(17, 17, 20, 0.16);
}

.crest__stage--ink .crest__shot {
  box-shadow: -16px -16px 44px rgba(0, 0, 0, 0.34);
}

.crest--flip .crest__stage--ink .crest__shot {
  box-shadow: 16px -16px 44px rgba(0, 0, 0, 0.34);
}

@media (max-width: 900px) {
  .crest,
  .crest--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 4vw, 32px);
  }

  .crest--flip .crest__copy {
    order: 0;
  }

  .crest__stage {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   Span — asymmetric chapter break
   Ink gradient stage, fold/grain/glow atmosphere, vertically centred grid,
   and a frosted fact panel on the right — not a flat dark box with text.
   -------------------------------------------------------------------------- */

.span {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: clamp(320px, 36vw, 420px);
  padding: clamp(40px, 5.5vw, 72px) clamp(26px, 4vw, 56px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%,
      color-mix(in srgb, var(--accent) 28%, transparent) 0%,
      transparent 55%),
    linear-gradient(155deg, #1A1B22 0%, var(--ink-deep) 48%, #0A0A0C 100%);
  color: var(--on-ink);
}

.span::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  height: 3px;
  background: var(--accent);
  pointer-events: none;
}

.span > .fold,
.span > .grain,
.span > .span__glow,
.span > .span__mark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.span > .fold {
  inset: 0;
  opacity: 0.55;
  --fold-pos: 18% 70%;
  --fold-fade: linear-gradient(115deg, #000 20%, transparent 70%);
  background-position: var(--fold-pos);
  -webkit-mask-image: var(--fold-chevron), var(--fold-fade);
  -webkit-mask-size: var(--fold-size), 100% 100%;
  -webkit-mask-position: var(--fold-pos), 0 0;
  -webkit-mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in;
  mask-image: var(--fold-chevron), var(--fold-fade);
  mask-size: var(--fold-size), 100% 100%;
  mask-position: var(--fold-pos), 0 0;
  mask-repeat: repeat, no-repeat;
  mask-composite: intersect;
}

.span > .grain {
  inset: 0;
  opacity: 0.45;
  mix-blend-mode: soft-light;
}

.span__glow {
  inset: auto -10% -30% auto;
  width: min(55%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle,
      color-mix(in srgb, var(--accent-bright) 40%, transparent) 0%,
      transparent 70%);
  filter: blur(8px);
  opacity: 0.85;
}

.span__mark {
  right: clamp(-20px, -1vw, 0px);
  bottom: clamp(-30px, -2vw, -10px);
  width: clamp(180px, 28vw, 320px);
  height: auto;
  color: #FFFFFF;
  opacity: 0.07;
}

.span__main,
.span__aside {
  position: relative;
  z-index: 1;
}

.span__main {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
  align-content: center;
}

.span__main .tag {
  margin: 0;
}

.span__title {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 0.96;
  color: #F5F5F4;
  text-wrap: balance;
}

.span__title em {
  font-style: normal;
  color: var(--accent-glow);
}

.span__lede {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(0.95rem, 1.1vw, 1.06rem);
  line-height: 1.5;
  color: var(--on-ink-2);
}

.span__aside {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: clamp(18px, 2vw, 24px) clamp(18px, 2.2vw, 26px);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.span__aside li {
  display: grid;
  gap: 5px;
  padding: clamp(12px, 1.4vw, 16px) 0;
  border-bottom: 1px solid var(--line-ink);
}

.span__aside li:first-child {
  padding-top: 2px;
}

.span__aside li:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.span__aside b {
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-glow);
}

.span__aside span {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(245, 245, 244, 0.78);
}

@media (max-width: 780px) {
  .span {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    min-height: 0;
    align-items: start;
  }

  .span__main {
    justify-items: center;
    text-align: center;
  }

  .span__title,
  .span__lede {
    margin-inline: auto;
  }

  .span__mark {
    width: min(70vw, 240px);
    opacity: 0.05;
  }
}

/* --------------------------------------------------------------------------
   Prompt — product-in-action stage
   Shows the product working: ask field + answer + source chips.
   Prefer this over another screenshot mosaic when the claim is “it answers.”
   -------------------------------------------------------------------------- */

.prompt {
  display: grid;
  gap: clamp(10px, 1.1vw, 14px);
  padding: clamp(12px, 1.3vw, 16px);
  border-radius: var(--r-lg);
  background: var(--ink-deep);
  border: 1px solid var(--line-ink);
}

.prompt__ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: clamp(14px, 1.6vw, 18px) clamp(16px, 1.8vw, 22px);
  border-radius: var(--r-md);
  background: var(--ink-panel);
  border: 1px solid var(--line-ink);
}

.prompt__ask p {
  flex: 1 1 16rem;
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--on-ink);
}

.prompt__ask .btn {
  flex: 0 0 auto;
}

.prompt__ask .btn--primary {
  background: var(--accent);
  color: #FFFFFF;
}

.prompt__reply {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--r-md);
  background: var(--ink-panel);
  border: 1px solid var(--line-ink);
}

.prompt__reply > * {
  position: relative;
  z-index: 1;
}

.prompt__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-3);
}

.prompt__meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

.prompt__reply p {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  color: var(--on-ink-2);
}

.prompt__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.prompt__sources span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-ink);
  font-size: 0.78rem;
  color: var(--on-ink-2);
}

.prompt__sources span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent-glow);
}

/* --------------------------------------------------------------------------
   Pulse — live activity / audit feed
   Trust proof as a feed, not a fact grid. Newest row can carry .is-live.
   -------------------------------------------------------------------------- */

.pulse {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
}

.pulse__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px clamp(14px, 2vw, 24px);
  align-items: center;
  padding: clamp(14px, 1.6vw, 18px) clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
}

.pulse__row:last-child {
  border-bottom: 0;
}

.pulse__row.is-live {
  background: var(--accent-wash);
}

.pulse__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}

.pulse__row.is-live .pulse__dot {
  background: var(--accent);
}

.pulse__row.is-live .pulse__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent);
  animation: pulseRing 1.8s var(--ease) infinite;
}

.pulse__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pulse__body strong {
  font-family: "Outfit", sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pulse__body span {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--muted);
}

.pulse__when {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.85);
    opacity: 1;
  }

  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@media (max-width: 560px) {
  .pulse__row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
  }

  .pulse__when {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse__row.is-live .pulse__dot::after {
    animation: none;
    opacity: 0.5;
  }
}

/* --------------------------------------------------------------------------
   Ribbon — horizontal capability continuum
   Icon nodes on a rule with one active state. Mark OS “process bar” energy —
   not Flow (click accordion) and not Track (dated rollout).
   -------------------------------------------------------------------------- */

.ribbon {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: clamp(8px, 1vw, 12px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
}

.ribbon__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(16px, 2vw, 24px) clamp(8px, 1vw, 14px);
  text-align: center;
}

.ribbon__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(clamp(16px, 2vw, 24px) + 19px);
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 1px;
  background: var(--line-2);
}

.ribbon__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.ribbon__step.is-active .ribbon__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px var(--accent-wash);
}

.ribbon__step h3 {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: -0.024em;
  color: var(--ink);
}

.ribbon__step p {
  margin: 0;
  max-width: 16ch;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

.ribbon__step.is-active h3 {
  color: var(--accent);
}

@media (max-width: 800px) {
  .ribbon {
    grid-template-columns: minmax(0, 1fr);
    padding: 4px;
  }

  .ribbon__step {
    grid-template-columns: 40px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    column-gap: 14px;
    row-gap: 4px;
    text-align: left;
    padding: 14px 16px;
  }

  .ribbon__step:not(:last-child)::after {
    display: none;
  }

  .ribbon__step:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .ribbon__icon {
    grid-row: span 2;
  }
}

/* --------------------------------------------------------------------------
   Page hero — compact opener for every page that is not home
   Fold + grain + accent pool only. No video — that stays on the home hero.
   -------------------------------------------------------------------------- */

.phero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-offset));
  padding-top: calc(var(--nav-offset) + clamp(36px, 5vw, 64px));
  padding-bottom: clamp(40px, 5.5vw, 76px);
  background: #08080A;
  color: var(--on-ink);
}

.phero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Soft accent pool — the page-hero signature */
.phero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 66% 62% at 78% 96%,
      color-mix(in srgb, var(--accent-bright) 62%, transparent) 0%,
      color-mix(in srgb, var(--accent) 34%, transparent) 42%,
      transparent 72%);
  pointer-events: none;
}

.phero__bg .fold {
  z-index: 1;
  opacity: 0.28;
  background-position: 70% 55%;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 70% 70%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 80% at 70% 70%, #000 10%, transparent 72%);
}

.phero__bg .grain {
  z-index: 2;
  opacity: 0.32;
  mix-blend-mode: soft-light;
}

.pb-phero-demo .phero__bg .fold {
  opacity: 0.24;
}

.phero > .shell {
  position: relative;
  z-index: 1;
}

.phero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
}

.phero--center .phero__grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.phero--center .phero__crumbs {
  justify-content: center;
}

.phero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(18px, 2.4vw, 26px);
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--on-ink-3);
}

.phero__crumbs a:hover {
  color: var(--on-ink);
}

.phero__crumbs span[aria-current] {
  color: var(--on-ink-2);
}

.phero h1 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.0;
  color: #F5F5F4;
}

.phero--center h1 {
  max-width: 20ch;
  margin-inline: auto;
}

.phero h1 em {
  font-style: normal;
  color: var(--accent-glow);
}

.phero__lede {
  margin-top: clamp(16px, 1.8vw, 22px);
  max-width: 46ch;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.55;
  color: var(--on-ink-2);
}

.phero--center .phero__lede {
  margin-inline: auto;
}

.phero .pillars {
  width: min(100%, 720px);
  margin: clamp(28px, 3.4vw, 44px) auto 0;
  gap: 0;
}

.phero .pillars__item {
  padding-inline: clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line-ink);
}

.phero .pillars__item:first-child {
  border-left: 0;
}

.phero .pillars__item h3 {
  max-width: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--on-ink);
}

@media (max-width: 900px) {
  .phero .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
}

@media (max-width: 560px) {
  .phero .pillars {
    grid-template-columns: minmax(0, 1fr);
    max-width: 16rem;
    gap: 0;
  }

  .phero .pillars__item {
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-ink);
  }

  .phero .pillars__item:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

.phero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 2.6vw, 30px);
}

.phero--center .phero__cta {
  justify-content: center;
}

.phero--center .hero__note {
  justify-content: center;
}

.phero--center .phero__shot {
  width: min(100%, 920px);
  margin-inline: auto;
  margin-top: clamp(32px, 4.5vw, 52px);
}

.phero .btn--ghost {
  border-color: rgba(245, 245, 244, 0.28);
  color: var(--on-ink);
}

.phero .btn--ghost:hover {
  border-color: rgba(245, 245, 244, 0.55);
  background: rgba(245, 245, 244, 0.06);
}

.phero .btn--primary {
  background: var(--accent);
  color: #FFFFFF;
}

.phero--agent {
  padding-top: calc(var(--nav-offset) + clamp(22px, 3vw, 36px));
  padding-bottom: clamp(28px, 4vw, 48px);
}

.phero--agent h1 {
  max-width: 18ch;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  letter-spacing: -0.036em;
  line-height: 1.05;
}

.phero--agent .phero__lede {
  margin-top: 12px;
  max-width: 54ch;
  font-size: 0.98rem;
  line-height: 1.5;
}

.phero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.phero__pills li {
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(245, 245, 244, 0.16);
  background: rgba(245, 245, 244, 0.08);
  color: var(--on-ink-2);
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  white-space: nowrap;
}

.phero--agent .phero__cta {
  margin-top: 18px;
}

.phero--agent .phero__grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.phero--agent .phero__crumbs {
  margin-bottom: 16px;
}

.phero--agent .phero__bg > .phero__agent {
  display: none;
}

.phero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--r-ctl);
  aspect-ratio: 1;
  min-height: 0;
  background: var(--ink-deep, #08080A);
}

.phero__stage .phero__agent {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.72;
}

.phero__stage .fold,
.phero__stage .grain {
  z-index: 1;
  pointer-events: none;
}

.phero__stage .fold {
  opacity: 0.2;
}

.phero__stage .grain {
  opacity: 0.4;
}

.phero__stage .phero__facts {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(52px, 18%, 72px) clamp(16px, 1.6vw, 20px) clamp(14px, 1.5vw, 18px);
  border-top: 0;
  background: linear-gradient(to top,
      rgba(8, 8, 10, 0.94) 0%,
      rgba(8, 8, 10, 0.86) 34%,
      rgba(8, 8, 10, 0.55) 62%,
      transparent 100%);
}

.phero__stage .phero__facts::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  -webkit-mask-image: linear-gradient(to top, #000 48%, transparent 100%);
  mask-image: linear-gradient(to top, #000 48%, transparent 100%);
}

.phero__stage .phero__facts li {
  padding: 9px 0;
  border-color: rgba(245, 245, 244, 0.14);
  font-size: 0.82rem;
}

.phero__stage .phero__facts li:first-child {
  border-top: 1px solid rgba(245, 245, 244, 0.14);
}

.phero__stage .phero__facts b {
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .phero--agent .phero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .phero__stage {
    max-width: 360px;
    justify-self: start;
  }
}

/* Right-hand facts. Hairline rows, never a card. */
.phero__facts {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-ink);
}

.phero__facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(11px, 1.2vw, 14px) 0;
  border-bottom: 1px solid var(--line-ink);
  font-size: 0.88rem;
  color: var(--on-ink-2);
}

.phero__facts b {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--on-ink);
}

/* Optional shot that bleeds past the hero into the section below */
.phero__shot {
  position: relative;
  z-index: 1;
  margin: clamp(28px, 4vw, 44px) 0 calc(-1 * clamp(60px, 8vw, 110px));
  border-radius: var(--r-lg);
  border: 1px solid var(--line-ink-2);
  overflow: hidden;
  background: var(--ink-panel);
  box-shadow: var(--shadow-deep);
}

.phero__shot img {
  width: 100%;
  height: auto;
}

.phero + .sec,
.phero + .pb-chapter {
  padding-top: clamp(72px, 9vw, 120px);
}

/* Bleed shot eats into the next chapter — restore air under the overlap */
.phero:has(.phero__shot) + .sec {
  padding-top: clamp(96px, 12vw, 148px);
}

.phero--paper {
  background: var(--band);
  color: var(--ink);
}

.phero--paper .phero__bg::after {
  background:
    radial-gradient(ellipse 60% 60% at 80% 100%,
      color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
}

.phero--paper h1 {
  color: var(--ink);
}

.phero--paper h1 em {
  color: var(--accent);
}

.phero--paper .phero__lede {
  color: var(--muted);
}

.phero--paper .phero__crumbs {
  color: var(--muted);
}

.phero--paper .phero__facts,
.phero--paper .phero__facts li {
  border-color: var(--line);
}

.phero--paper .phero__facts li {
  color: var(--muted);
}

.phero--paper .phero__facts b {
  color: var(--ink);
}

.phero--paper .btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
}

@media (max-width: 860px) {
  .phero__grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .phero h1 {
    max-width: 16ch;
  }
}

/* --------------------------------------------------------------------------
   Stick — sticky visual, scrolling explanation
   The long-form feature story. Visual pins while the reader moves through the
   steps; the active step drives which shot is showing.
   -------------------------------------------------------------------------- */

.stick {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.stick--flip .stick__visual {
  order: -1;
}

.stick__copy {
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  padding-block: clamp(12px, 6vw, 80px);
}

.stick__step {
  display: grid;
  gap: 12px;
  padding-left: clamp(16px, 2vw, 26px);
  border-left: 2px solid var(--line);
  opacity: 0.4;
  transition: opacity 0.35s var(--ease), border-color 0.35s var(--ease);
}

.stick__step.is-active {
  opacity: 1;
  border-left-color: var(--accent);
}

.stick__step h3 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.034em;
  line-height: 1.12;
}

.stick__step p {
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.stick__visual {
  position: sticky;
  top: calc(var(--nav-offset) + 20px);
  display: grid;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--mist) 0%, var(--band) 100%);
}

.stick__shot {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.stick__shot.is-active {
  opacity: 1;
  transform: none;
}

.stick__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .stick {
    grid-template-columns: minmax(0, 1fr);
  }

  .stick__visual,
  .stick--flip .stick__visual {
    order: -1;
    position: static;
    aspect-ratio: 16 / 10;
  }

  .stick__copy {
    gap: 26px;
    padding-block: 0;
  }

  .stick__step {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Compare — before / after wipe
   A real range input drives it, so it is draggable, tappable and keyboard
   operable with no extra work.
   -------------------------------------------------------------------------- */

.compare {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--ink-deep);
  --pos: 50%;
}

.compare__pane {
  margin: 0;
  grid-area: 1 / 1;
}

.compare__panes {
  display: grid;
  aspect-ratio: 16 / 10;
}

.compare__pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare__pane--b {
  clip-path: inset(0 0 0 var(--pos));
}

.compare__tag {
  position: absolute;
  top: 14px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(8, 8, 10, 0.62);
  backdrop-filter: blur(8px);
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.compare__tag--a {
  left: 14px;
}

.compare__tag--b {
  right: 14px;
  background: var(--accent);
}

.compare__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 2px;
  margin-left: -1px;
  background: #FFFFFF;
  pointer-events: none;
}

.compare__line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6M9 6l6 6-6 6' opacity='0'/%3E%3Cpath d='M8.5 9L5.5 12l3 3M15.5 9l3 3-3 3'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: var(--shadow-lift);
}

.compare__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.compare__range:focus-visible + .compare__line {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Seg — segmented control (pricing period, audience filters)
   -------------------------------------------------------------------------- */

.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--card);
}

.seg__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.seg__btn[aria-pressed="true"] {
  background: var(--ink);
  color: #FFFFFF;
}

.seg__save {
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--accent-wash);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
}

.seg__btn[aria-pressed="true"] .seg__save {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Counter — figures that count up once, on reveal
   -------------------------------------------------------------------------- */

.counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 20vw, 220px), 1fr));
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}

.counters--ink {
  background: var(--line-ink);
  border-color: var(--line-ink);
}

.counters__cell {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 2.6vw, 32px) clamp(18px, 2vw, 26px);
  background: var(--paper);
}

.counters--ink .counters__cell {
  background: var(--ink-deep);
}

.counter {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.counters--ink .counter {
  color: var(--on-ink);
}

.counters__cell p {
  font-size: 0.87rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 24ch;
}

.counters--ink .counters__cell p {
  color: var(--on-ink-2);
}

/* --------------------------------------------------------------------------
   Deck — cards that open on hover / focus
   The detail line is hidden until intent, so the grid stays calm at rest.
   -------------------------------------------------------------------------- */

.deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 24vw, 280px), 1fr));
  gap: clamp(10px, 1.1vw, 14px);
}

.deck__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.deck__card:hover,
.deck__card:focus-within {
  border-color: var(--ink);
}

.deck__card > * {
  position: relative;
  z-index: 1;
}

.deck__glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--accent-wash);
  color: var(--accent);
}

.deck__card:hover .deck__glyph,
.deck__card:focus-within .deck__glyph {
  background: var(--accent);
  color: #FFFFFF;
}

.deck__card h3 {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: -0.028em;
  line-height: 1.2;
}

.deck__card p {
  font-size: 0.89rem;
  line-height: 1.5;
  color: var(--muted);
}

.deck__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}

.deck__card:hover .deck__more,
.deck__card:focus-within .deck__more {
  grid-template-rows: 1fr;
}

.deck__more > div {
  overflow: hidden;
}

.deck__more span {
  display: inline-block;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Kit — dense capability list with glyph plates
   For "everything included" lists that would otherwise be a wall of bullets.
   -------------------------------------------------------------------------- */

.kit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 22vw, 260px), 1fr));
  gap: clamp(16px, 2vw, 28px) clamp(20px, 2.6vw, 40px);
}

.kit__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 4px 14px;
}

.kit__item svg {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: var(--r-sm);
  background: var(--accent-wash);
  color: var(--accent);
}

.kit__item h3 {
  margin: 0;
  align-self: center;
  font-size: 0.96rem;
  letter-spacing: -0.026em;
}

.kit__item p {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 30ch;
}

/* --------------------------------------------------------------------------
   Post-hero · Pillars
   Three open claims after the hero — no cards, no lift, no lead. Centred
   emoji or glyph, short title, one line. The lightest way to land three ideas.
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.pillars__item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  padding-inline: clamp(6px, 1vw, 14px);
  text-align: center;
}

.pillars__emo {
  display: block;
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  line-height: 1;
}

.pillars__glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--accent);
}

.pillars__glyph svg {
  width: 24px;
  height: 24px;
}

.pillars__item h3 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
}

.pillars__item p {
  margin: 0;
  max-width: 28ch;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Post-hero · Signets
   Three quiet icon plates with the claim under them. Use when the mark is a
   real logo or a minimal glyph image — the plate is the only surface.
   -------------------------------------------------------------------------- */

.signets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
}

.signets__item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 16px;
  text-align: center;
}

.signets__mark {
  display: grid;
  place-items: center;
  width: clamp(60px, 6.5vw, 76px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(var(--shadow-tint), 0.04);
}

.signets__mark img {
  width: 44%;
  height: auto;
  object-fit: contain;
}

.signets__mark svg {
  width: 42%;
  height: auto;
  color: var(--accent);
}

.signets__item h3 {
  margin: 0;
  max-width: none;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
}

.signets__item p {
  margin: 0;
  max-width: none;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.signets--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.signets--four .signets__item h3 {
  font-size: 1.12rem;
}

/* --------------------------------------------------------------------------
   Post-hero · Sparks
   Three ruled columns with an emoji as the only accent. Left-aligned, bold
   claims, no card chrome — for pages that want a bit more voice after the hero.
   -------------------------------------------------------------------------- */

.sparks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sparks__item {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 26px) clamp(18px, 2.4vw, 32px);
  border-top: 1px solid var(--line);
}

.sparks__item:first-child {
  padding-left: 0;
}

.sparks__item:last-child {
  padding-right: 0;
}

.sparks__emo {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.sparks__item h3 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  letter-spacing: -0.034em;
  line-height: 1.14;
  color: var(--ink);
}

.sparks__item p {
  margin: 0;
  max-width: 30ch;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Post-hero · Nodes
   Trio's spine without the cards: one hairline, three accent nodes, open copy
   under each. Display-scale claims — the node is a mark, not the hero.
   -------------------------------------------------------------------------- */

.nodes {
  --dot: 44px;
  --halo: 8px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 48px);
}

.nodes::before {
  content: "";
  position: absolute;
  top: calc(var(--dot) / 2);
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.nodes__item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0;
  text-align: center;
}

.nodes__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--dot);
  height: var(--dot);
  margin-bottom: clamp(22px, 2.6vw, 32px);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  background: var(--paper);
  color: var(--accent);
  box-shadow: 0 0 0 var(--halo) var(--paper);
}

.nodes__dot svg {
  width: 18px;
  height: 18px;
}

.nodes__item h3 {
  margin: 0 0 10px;
  max-width: 12ch;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: -0.042em;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}

.nodes__item p {
  margin: 0;
  max-width: 26ch;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Post-hero · Rails
   Three columns on vertical hairlines. Accent label → small glyph → display
   claim → quiet line. Type carries it; the glyph stays a mark.
   -------------------------------------------------------------------------- */

.rails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rails__item {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0;
  padding: 0 clamp(24px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

.rails__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.rails__item:last-child {
  padding-right: 0;
}

.rails__item .sec-label {
  margin: 0 0 14px;
  color: var(--accent);
}

.rails__glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: clamp(18px, 2.2vw, 26px);
  border-radius: var(--r-sm);
  background: var(--accent-wash);
  color: var(--accent);
}

.rails__glyph svg {
  width: 16px;
  height: 16px;
}

.rails__item h3 {
  margin: 0 0 12px;
  max-width: 12ch;
  font-size: clamp(1.4rem, 2.35vw, 1.95rem);
  letter-spacing: -0.044em;
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
}

.rails__item p {
  margin: 0;
  max-width: 26ch;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Post-hero · Shards
   One soft band plane, three open cells. Accent hairline + quiet glyph, then
   a display claim. Same bento gap — type hierarchy does the work.
   -------------------------------------------------------------------------- */

.shards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 0.9vw, 12px);
  padding: clamp(8px, 0.9vw, 12px);
  border-radius: var(--r-lg);
  background: var(--band);
}

.shards__item {
  display: grid;
  align-content: start;
  gap: 0;
  min-width: 0;
  padding: clamp(20px, 2.2vw, 28px) clamp(16px, 2vw, 24px) clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-md);
  background: var(--card);
}

.shards__item::before {
  content: "";
  width: 22px;
  height: 2px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--accent);
}

.shards__glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: var(--r-sm);
  background: var(--accent-wash);
  color: var(--accent);
}

.shards__glyph svg {
  width: 22px;
  height: 22px;
}

.shards__item h3 {
  margin: 0 0 10px;
  max-width: 100%;
  font-size: clamp(1.2rem, 1.85vw, 1.5rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: pretty;
}

.shards__item p {
  margin: 0;
  max-width: 100%;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.shards--cold {
  --shard-tone: #C23A4E;
  --shard-wash: #FBF0F2;
}

.shards--cold .shards__item::before {
  background: var(--shard-tone);
}

.shards--cold .shards__glyph {
  background: var(--shard-wash);
  color: var(--shard-tone);
}

body.page-compare .roster {
  gap: clamp(18px, 2.2vw, 28px);
}

body.page-compare .roster > .roster__line:not(:has(.roster__chip)) {
  max-width: min(100%, 44em);
  line-height: 1.28;
}

body.page-compare .roster > .lede {
  max-width: min(100%, 58ch);
  margin: 0;
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.55;
  color: var(--ink-2);
}

body.page-compare .flank__copy .lede {
  max-width: 42ch;
}

body.page-compare #pain .roster + .shards {
  margin-top: clamp(36px, 4.2vw, 52px);
}

body.page-compare #pain .pain-compare {
  margin: clamp(8px, 0.9vw, 12px) 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--band);
  padding: clamp(8px, 0.9vw, 12px);
  display: flex;
  justify-content: center;
}

body.page-compare #pain .pain-compare img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
}

body.page-compare #models .roster > .roster__line#models-title:has(.roster__chip) {
  max-width: min(100%, 46em);
  font-size: clamp(2rem, 1.9vw, 1.95rem);
  font-weight: 600;
  line-height: 1.42;
}

body.page-compare #models .roster__chip {
  font-weight: 600;
}

body.page-compare .ledge-well #models {
  padding-bottom: var(--gap-xl);
}

body.page-compare #choice {
  border-top: 1px solid var(--line);
}

body.page-compare .threshold {
  grid-template-columns: minmax(19rem, 36rem) minmax(0, 1fr);
}

body.page-compare .threshold__copy {
  max-width: none;
}

body.page-compare .threshold__copy h2 {
  max-width: 16em;
  line-height: 1.12;
  letter-spacing: -0.036em;
}

/* --------------------------------------------------------------------------
   Cast — side clouds around title + Shards. Recede out, grayscale, still.
   -------------------------------------------------------------------------- */

.cast {
  --cast-inset: clamp(6.5rem, 11vw, 12rem);
  --cast-spread: clamp(2.4rem, 5vw, 4.2rem);
  --cast-scale: 1;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 5.2vw, 72px);
  padding-block: clamp(28px, 4vw, 56px);
  overflow: visible;
}

.cast__field {
  /* Distances are measured from the centre to the orb's inner edge, so a
     larger orb grows outward and never eats into the text column. */
  --d-in: min(21.5rem, 40cqi);
  --d-out: max(calc(var(--d-in) + 3rem), 41cqi);
  container-type: inline-size;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  margin-left: -50vw;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 5%, #000 11%, #000 89%, rgba(0, 0, 0, 0.5) 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 5%, #000 11%, #000 89%, rgba(0, 0, 0, 0.5) 95%, transparent 100%);
}

.cast .roster {
  position: relative;
  z-index: 1;
  overflow: visible;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  padding-inline: 0;
}

.cast .roster .roster__line {
  max-width: 16em;
}

.cast .shards {
  position: relative;
  z-index: 1;
  margin-inline: var(--cast-inset);
}

.cast__orb {
  --t: 0.4;
  --dy: 0;
  --s: 3rem;
  position: absolute;
  top: 50%;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  width: calc(var(--s) * var(--cast-scale));
  border-radius: 50%;
  background: #111;
  opacity: calc(0.7 - var(--t) * 0.44);
  filter: blur(calc(var(--t) * var(--t) * 1.5px));
  box-shadow: 0 8px 20px rgba(var(--shadow-tint), 0.07);
  z-index: calc(5 - var(--t) * 4);
  translate: 0 calc(-50% + var(--dy) * var(--cast-spread));
}

.cast__orb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  filter: grayscale(1) contrast(1.04);
}

.cast__orb--l1 { --t: 0.05; --dy: -0.66; --s: 3.3rem; }
.cast__orb--l2 { --t: 0.48; --dy:  0.82; --s: 2.5rem; }
.cast__orb--l3 { --t: 0.88; --dy: -0.14; --s: 1.8rem; }
.cast__orb--l4 { --t: 0.6;  --dy: -1.28; --s: 2.1rem; }
.cast__orb--l5 { --t: 0.96; --dy:  1.24; --s: 1.5rem; }
.cast__orb--l6 { --t: 0.74; --dy:  1.66; --s: 1.7rem; }
.cast__orb--l7 { --t: 1;    --dy: -1.7;  --s: 1.4rem; }

.cast__orb--r1 { --t: 0;    --dy:  0.7;  --s: 3rem; }
.cast__orb--r2 { --t: 0.44; --dy: -0.86; --s: 2.7rem; }
.cast__orb--r3 { --t: 0.84; --dy:  0.26; --s: 1.9rem; }
.cast__orb--r4 { --t: 0.62; --dy:  1.34; --s: 2rem; }
.cast__orb--r5 { --t: 0.94; --dy: -1.3;  --s: 1.6rem; }
.cast__orb--r6 { --t: 0.76; --dy: -1.7;  --s: 1.6rem; }
.cast__orb--r7 { --t: 1;    --dy:  1.74; --s: 1.4rem; }

.cast__orb[class*="--l"] {
  left: auto;
  right: calc(50cqi + var(--d-in) + var(--t) * (var(--d-out) - var(--d-in)));
}

.cast__orb[class*="--r"] {
  left: calc(50cqi + var(--d-in) + var(--t) * (var(--d-out) - var(--d-in)));
  right: auto;
}

@media (max-width: 900px) {
  .pillars,
  .signets,
  .sparks,
  .nodes,
  .rails {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
    margin-inline: auto;
  }

  /* Shards — 2+1 on narrow mobile; three across when width allows */
  .shards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: none;
    width: 100%;
    margin-inline: 0;
  }

  .shards > .shards__item:nth-child(3):last-child {
    grid-column: 1 / -1;
  }

  .shards__item h3 {
    max-width: none;
    font-size: clamp(0.95rem, 2.8vw, 1.28rem);
    line-height: 1.34;
    letter-spacing: -0.022em;
    text-wrap: pretty;
  }

  .shards__item p {
    max-width: none;
    font-size: clamp(0.76rem, 2.4vw, 0.84rem);
  }

  .cast {
    --cast-inset: 0px;
    --cast-spread: clamp(1.9rem, 7vw, 2.8rem);
    --cast-scale: 0.7;
    gap: 32px;
    padding-block: clamp(16px, 5vw, 30px);
  }

  .cast .roster {
    max-width: 22rem;
    padding-inline: 52px;
  }

  .cast .shards {
    max-width: none;
    width: 100%;
    margin-inline: 0;
  }

  .cast__field {
    /* Keep the cloud inside the 52px lane the roster padding reserves. */
    --d-in: calc(50cqi - 46px);
    --d-out: calc(50cqi - 8px);
    left: 0;
    width: 100%;
    margin-left: 0;
  }

  .cast__orb--l6,
  .cast__orb--l7,
  .cast__orb--r6,
  .cast__orb--r7 {
    display: none;
  }

  .signets--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin-inline: 0;
    gap: clamp(20px, 3.2vw, 28px);
  }

  .pillars {
    gap: clamp(28px, 5vw, 36px);
  }

  .signets {
    gap: clamp(26px, 4vw, 34px);
  }

  @media (max-width: 640px) {
    .signets {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: none;
      gap: 10px;
    }

    .cast .roster {
      padding-inline: 44px;
    }

    .cast__orb--l4,
    .cast__orb--l5,
    .cast__orb--r4,
    .cast__orb--r5 {
      display: none;
    }

    .signets--four {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px 12px;
    }

    .signets__item {
      gap: 10px;
    }

    .signets__mark {
      width: clamp(44px, 12vw, 56px);
    }

    .signets__item h3 {
      max-width: none;
      font-size: clamp(0.82rem, 3.2vw, 0.95rem);
    }

    .signets__item p {
      max-width: none;
      font-size: clamp(0.72rem, 2.8vw, 0.8rem);
      line-height: 1.4;
    }
  }

  .sparks__item {
    padding-inline: 0;
  }

  .nodes {
    padding-top: 0;
    gap: clamp(28px, 5vw, 36px);
  }

  .nodes::before {
    display: none;
  }

  .nodes__dot {
    box-shadow: none;
  }

  .rails__item {
    padding: clamp(18px, 3vw, 24px) 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .rails__item:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .signets:not(.signets--four) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    width: 100%;
    margin-inline: 0;
    gap: clamp(10px, 2vw, 18px);
  }

  .signets:not(.signets--four) .signets__item {
    gap: clamp(8px, 1.5vw, 12px);
  }

  .signets:not(.signets--four) .signets__mark {
    width: clamp(40px, 7vw, 56px);
  }

  .signets:not(.signets--four) .signets__item h3 {
    max-width: none;
    font-size: clamp(0.78rem, 1.7vw, 0.92rem);
  }

  .signets:not(.signets--four) .signets__item p {
    max-width: none;
    font-size: clamp(0.68rem, 1.4vw, 0.78rem);
    line-height: 1.35;
  }
}

@media (max-width: 900px) and (min-width: 640px) {
  .shards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shards > .shards__item:nth-child(3):last-child {
    grid-column: auto;
  }

  .shards__item {
    padding: clamp(14px, 2vw, 22px) clamp(12px, 1.6vw, 18px) clamp(16px, 2vw, 24px);
  }

  .shards__item h3 {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  }

  .shards__item p {
    font-size: clamp(0.74rem, 1.4vw, 0.82rem);
  }
}

/* --------------------------------------------------------------------------
   Note — inline callout inside long copy
   -------------------------------------------------------------------------- */

.note {
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  gap: 0 clamp(14px, 1.8vw, 20px);
  padding: clamp(14px, 1.8vw, 20px) 0;
}

.note::before {
  content: "";
  border-radius: 2px;
  background: var(--accent);
}

.note p {
  max-width: 56ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.note b {
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Banner — top-of-page announcement
   -------------------------------------------------------------------------- */

.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding: 10px 20px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  text-align: center;
}

.banner a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-glow);
}

.banner a:hover {
  color: #FFFFFF;
}

.banner__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .stick__step,
  .stick__shot,
  .deck__more,
  .deck__card,
  .seg__btn {
    transition: none;
  }

  .stick__step {
    opacity: 1;
  }

  .deck__more {
    grid-template-rows: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Roster — model access as one sentence, model names set as inline chips
   -------------------------------------------------------------------------- */

.roster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: clamp(12px, 1.4vw, 16px);
  width: 100%;
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.roster > *:not(.fold):not(.grain) {
  position: relative;
  z-index: 1;
}

.roster .sec-label {
  margin: 0;
}

.roster > .lede {
  margin: 0 0 clamp(28px, 3.2vw, 44px);
  max-width: 40ch;
  text-align: center;
}

.roster__line {
  margin: 0;
  max-width: 26em;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.4rem, 1.9vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.42;
  color: var(--ink);
  text-wrap: pretty;
}

.roster__text {
  display: inline;
}

.roster__text--break:not(.roster__plat-mob):not(.roster__ctrl-mob):not(.roster__out-mob) {
  display: block;
}

/* Home workspaces title — two rows on desktop; mobile override at ≤720px */
@media (min-width: 721px) {
  #platform-title .roster__plat-mob {
    display: none !important;
  }

  #control-title .roster__ctrl-mob {
    display: none !important;
  }

  #output-title .roster__out-mob {
    display: none !important;
  }
}

@media (max-width: 720px) {
  #platform-title,
  #control-title {
    max-width: 100%;
  }

  #platform-title .roster__text--break {
    display: inline;
  }

  #control-title .roster__text--break {
    display: inline;
  }

  /* Home workspaces title — three rows on mobile only */
  #platform-title {
    max-width: none;
    text-wrap: wrap;
  }

  #platform-title .roster__plat-desk {
    display: none !important;
  }

  #platform-title .roster__plat-mob {
    display: block !important;
  }

  #platform-title .roster__plat-line1 {
    display: block;
    margin-inline: auto;
  }

  #platform-title .roster__plat-mob.roster__text--break {
    display: block !important;
  }

  /* Home control title — shorter line 1 on mobile */
  #control .roster {
    width: 100%;
    max-width: none;
  }

  #control-title {
    max-width: none;
    width: 100%;
    text-wrap: wrap;
    font-size: clamp(1.95rem, 6.2vw, 2.4rem);
  }

  #control-title .roster__ctrl-desk {
    display: none !important;
  }

  #control-title .roster__ctrl-mob {
    display: block !important;
  }

  #control-title .roster__ctrl-line1 {
    display: block;
    margin-inline: auto;
  }

  #control-title .roster__ctrl-line2 {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  /* Company Chat output title — two rows on mobile */
  #output-title {
    max-width: none;
    text-wrap: wrap;
  }

  #output-title .roster__out-desk {
    display: none !important;
  }

  #output-title .roster__out-mob {
    display: block !important;
  }

  #output-title .roster__out-line1 {
    display: block;
    margin-inline: auto;
  }

  #output-title .roster__out-mob.roster__text--break {
    display: block !important;
  }
}

@media (min-width: 721px) {
  #control-title .roster__text--break {
    display: block;
  }
}

.roster__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  vertical-align: baseline;
  margin: 0.04em 0.14em;
  box-sizing: border-box;
  padding: 0.2em 0.48em 0.24em;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  font-family: "Inter Tight", sans-serif;
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}

.roster__chip img {
  width: 0.95em;
  height: 0.95em;
  flex: none;
  object-fit: contain;
  border-radius: 3px;
}

/* Bright (white) logos on paper chips — force ink */
.roster__mark--ink {
  filter: brightness(0);
}

.roster__chip--more {
  border-style: dashed;
  border-color: var(--line-2);
  background: color-mix(in srgb, var(--card) 72%, var(--paper));
  color: var(--muted);
  box-shadow: none;
}

.roster + .shards,
.onramp + .roster,
.roster + .shards-stage,
.roster + .tally,
.roster + .ballot,
.roster + .spotlight,
.roster + .reel,
.roster + .cells,
.roster + .nodes,
.roster + .signets,
.roster + .voice,
.roster + .bento,
.roster + .output__bento,
.roster + .rails,
.roster + .stage,
.roster + .facet,
.roster + .ladder,
.roster + .deck,
.roster + .flow,
.roster + .brief,
.roster + .pulse,
.roster + .prompt,
.roster + .faq,
.roster + .verdict,
.roster + .pricing__grid,
.sec-head + .tally,
.sec-head--wide + .ballot,
.sec-head--center + .rails,
.sec-head--center + .signets,
.sec-head--center + .ladder,
.sec-head--center + .facet,
.sec-head--center + .output__bento,
.sec-head--center + .pricing__grid,
.sec-head--center + .tiers,
.sec-head--wide ~ .sheet,
.sec-head--wide + .faq {
  margin-top: clamp(40px, 0.8vw, 64px);
}

@media (max-width: 900px) {
  .sec-head--wide ~ .sheet {
    margin-top: 0;
  }
}

.cells + .spotlight,
.signets + .spotlight {
  margin-top: clamp(48px, 5.5vw, 72px);
}

.spotlight + .onramp {
  margin-top: clamp(48px, 5.5vw, 72px);
}

.ledge-well--foot + #consolidate.sec--soft {
  border-top: 0;
}

/* Control stacks head → Signets → Spotlight; kill double lede air.
   On desktop the section above (#tools) already leaves chapter air —
   don't stack another full --gap-xl on top. */


#onramp.sec {
  padding-top: 0;
}

#control.sec {
  background: var(--card);
  padding-block: clamp(36px, 3.6vw, 52px);
}

#control .spotlight__card:not(.is-active) {
  background: var(--paper);
}

#control + #consolidate.sec--soft {
  border-top: 0;
}

#control .roster > .lede {
  margin-bottom: 0;
}

#control .spotlight,
#control .spotlight__tiles {
  gap: clamp(14px, 1.7vw, 20px);
}

.tally + .shards,
.tally + .stage__strip {
  margin-top: clamp(28px, 3vw, 40px);
}

.roster__rail {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0 clamp(14px, 1.8vw, 24px);
  width: 100%;
  max-width: none;
  margin: clamp(8px, 1vw, 12px) 0 0;
  padding: clamp(20px, 2.4vw, 28px) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--muted);
}

.roster__rail li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin: 0;
  white-space: nowrap;
}

.roster__rail li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

/* Ink register — the same sentence as a dark band */
.roster--ink {
  width: 100%;
  max-width: none;
  padding: clamp(40px, 5.2vw, 68px) clamp(28px, 5vw, 72px);
  border-radius: var(--r-lg);
  background: var(--ink-deep);
}

.roster--ink .roster__line {
  max-width: 26em;
}

.roster--ink .sec-label {
  color: var(--accent-glow);
}

.roster--ink .roster__line {
  color: var(--on-ink);
}

.roster--ink .roster__chip {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  color: var(--on-ink);
}

.roster--ink .roster__chip img {
  border-radius: 3px;
  background: #FFFFFF;
}

.roster--ink .roster__chip--more {
  border-color: var(--line-ink-2);
  background: transparent;
  color: var(--on-ink-3);
}

.roster--ink .roster__rail {
  border-top-color: var(--line-ink);
  color: var(--on-ink-3);
}

@media (max-width: 600px) {
  .roster__line {
    font-size: clamp(2.4rem, 1.9vw, 1.95rem);
    max-width: min(26em, 100%);
  }

  .roster__chip {
    padding: 0.16em 0.4em 0.2em;
    margin-inline: 0.12em;
  }

  .roster__rail {
    gap: 0 clamp(10px, 2vw, 16px);
    font-size: clamp(0.72rem, 2.8vw, 0.84rem);
  }
}

/* --------------------------------------------------------------------------
   Tally — the price of buying models separately, added up against one plan
   -------------------------------------------------------------------------- */

.tally {
  display: grid;
  gap: clamp(8px, 0.9vw, 12px);
  align-items: start;
}

#models .tally {
  margin-top: clamp(40px, 1.8vw, 64px);
}

/* Text · media · agents share one band plane */
.tally__lists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--band);
}

.tally--pair .tally__lists {
  grid-template-columns: minmax(0, 1fr);
}

.tally--pair .tally__rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tally--pair .tally__rows > li,
.tally--pair .tally__rows > li:has(.tally__pack) {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
  padding: 12px 14px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  border-radius: var(--r-md);
}

.tally__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.tally__pack {
  min-width: 0;
}

.tally__models {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.tally__model {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.28em 0.62em;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-2);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
  white-space: nowrap;
}

.tally__rest {
  display: none;
}

.tally__pack.is-open .tally__rest {
  display: contents;
}

.tally__model--eu::after {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  opacity: 0.75;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23003399'/%3E%3Cg fill='%23FFCC00'%3E%3Ccircle cx='12' cy='4.2' r='1.05'/%3E%3Ccircle cx='15.7' cy='5.2' r='1.05'/%3E%3Ccircle cx='18.2' cy='7.7' r='1.05'/%3E%3Ccircle cx='19.2' cy='11.2' r='1.05'/%3E%3Ccircle cx='18.2' cy='14.7' r='1.05'/%3E%3Ccircle cx='15.7' cy='17.2' r='1.05'/%3E%3Ccircle cx='12' cy='18.2' r='1.05'/%3E%3Ccircle cx='8.3' cy='17.2' r='1.05'/%3E%3Ccircle cx='5.8' cy='14.7' r='1.05'/%3E%3Ccircle cx='4.8' cy='11.2' r='1.05'/%3E%3Ccircle cx='5.8' cy='7.7' r='1.05'/%3E%3Ccircle cx='8.3' cy='5.2' r='1.05'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.tally__more-btn {
  appearance: none;
  margin: 0;
  padding: 0.28em 0.45em;
  border: 0;
  border-radius: 8px;
  background: none;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--muted);
  cursor: pointer;
}

.tally__more-btn:hover {
  color: var(--ink);
}

.tally__col {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 16px);
  min-width: 0;
}

.tally__cap {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.tally__rows {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tally__rows > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.tally__name {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  font-size: 0.9rem;
  color: var(--ink);
}

.tally__name img {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tally__label {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}

.tally__eu {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 5px;
  margin-left: 2px;
  padding: 3px 9px 3px 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--muted);
  background: color-mix(in srgb, var(--ink) 4%, var(--card));
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.tally__eu-mark {
  flex-shrink: 0;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.tally__cost {
  flex-shrink: 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.tally__rows > li.tally__more {
  display: flex;
  justify-content: center;
  min-height: 0;
  padding: 4px 12px;
  background: transparent;
  box-shadow: none;
  border: 1px dashed var(--line-2);
}

.tally__more .tally__name {
  justify-content: center;
  width: 100%;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
}

/* Closing ask — same wide accent strip as Output bento */
.tally > .bt--wide {
  width: 100%;
  align-self: start;
  margin-bottom: clamp(8px, 1.2vw, 16px);
}

.tally > .bt--wide .bt--wide__lead {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.tally > .bt--wide .bt--wide__price {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 20px);
}

.tally > .bt--wide .bt__kicker {
  line-height: 1;
}

.tally > .bt--wide h3 {
  line-height: 1;
}

.tally > .bt--wide p {
  margin: 0;
  line-height: 1.2;
}

@media (min-width: 901px) {
  /* Flatten lead so price · copy · CTA share one center axis */
  .tally > .bt--wide .bt--wide__lead {
    display: contents;
  }

  .tally > .bt--wide .bt--wide__price {
    flex: 0 0 auto;
    padding-right: clamp(16px, 2vw, 28px);
    border-right: 1px solid rgba(255, 255, 255, 0.22);
  }

  .tally > .bt--wide .bt__kicker,
  .tally > .bt--wide h3 {
    white-space: nowrap;
  }

  .tally > .bt--wide p {
    flex: 1 1 auto;
    max-width: 34ch;
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.15;
  }
}

.tally > .bt--wide .bt__now {
  transform-origin: left center;
}

.tally:not(.is-in) > .bt--wide .bt__now {
  transform: scale(0.92) translateY(0.14em);
  opacity: 0;
}

.tally.is-in > .bt--wide .bt__now {
  animation: bt-now-pop 0.72s var(--ease) forwards;
  animation-delay: calc(var(--reveal-delay, 0ms) + 280ms);
}

@keyframes bt-now-pop {
  0% {
    transform: scale(0.92) translateY(0.14em);
    opacity: 0;
  }

  55% {
    transform: scale(1.035) translateY(-0.03em);
    opacity: 1;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tally:not(.is-in) > .bt--wide .bt__now,
  .tally.is-in > .bt--wide .bt__now {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

/* Legacy sum card — kept for older pages still using the three-card layout */
.tally__col--sum {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(12px, 1.4vw, 16px);
  height: 100%;
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--band);
  text-align: center;
}

.tally__plate {
  display: grid;
  gap: 6px;
  padding: clamp(16px, 1.8vw, 22px) 16px;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.tally__plate span {
  font-family: "Outfit", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tally__plate b {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-2);
}

.tally__plate--was b {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  color: var(--muted);
}

.tally__plate--now b {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--ink);
}

.tally__plate--now b i {
  font-style: normal;
  font-size: 0.42em;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.tally__note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.tally__note em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 0.94em;
  color: var(--muted);
}

@media (max-width: 900px) {
  .tally--pair .tally__rows {
    grid-template-columns: minmax(0, 1fr);
  }

  .tally__lists {
    grid-template-columns: minmax(0, 1fr);
  }

  .tally__col--sum .tally__plate {
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }

  .tally__lists {
    gap: 12px;
    padding: 14px;
  }

  .tally__col {
    gap: 10px;
  }

  .tally__rows {
    gap: 6px;
  }

  .tally__rows > li {
    padding: 8px 12px;
  }

  .tally__rows > li:has(.tally__pack) {
    padding: 10px 12px;
  }

  .tally__rows > li.tally__row--extra {
    display: none;
  }

  .tally__rows > li.tally__more {
    display: flex;
    padding: 3px 10px;
    background: transparent;
    box-shadow: none;
    border: 1px dashed var(--line-2);
  }

  .tally__label,
  .tally__eu {
    white-space: nowrap;
  }

  .tally > .bt--wide {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    align-content: flex-start;
    gap: 12px 16px;
    align-self: start;
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    padding: 14px 16px;
  }

  .tally > .bt--wide .bt--wide__price {
    display: none;
  }

  .tally > .bt--wide .bt--wide__lead {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
  }

  .tally > .bt--wide .bt__kicker,
  .tally > .bt--wide h3 {
    display: none;
  }

  .tally > .bt--wide p {
    margin: 0;
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .tally > .bt--wide .btn {
    flex: 0 0 auto;
    align-self: center;
    margin: 0;
    white-space: nowrap;
  }

  .output__bento + .bt--wide {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    align-self: stretch;
    gap: 18px;
    min-height: 0 !important;
    height: auto !important;
    padding: 22px 20px 20px;
  }

  .output__bento + .bt--wide .bt--wide__lead {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .output__bento + .bt--wide .bt--wide__price {
    gap: 8px;
  }

  .output__bento + .bt--wide .bt__kicker,
  .output__bento + .bt--wide h3,
  .output__bento + .bt--wide p {
    margin: 0;
    flex: none;
    max-width: none;
  }

  .output__bento + .bt--wide h3 {
    font-size: clamp(1.32rem, 6.4vw, 1.6rem);
    line-height: 1.15;
  }

  .output__bento + .bt--wide p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .output__bento + .bt--wide p br {
    display: none;
  }

  .output__bento + .bt--wide .btn {
    margin: 2px 0 0;
    width: 100%;
    padding: 12px 18px;
  }
}

@media (max-width: 600px) {
  .tally {
    align-items: start;
  }
}

@media (max-width: 360px) {
  .tally > .bt--wide {
    gap: 10px;
    padding: 12px 14px;
  }

  .tally > .bt--wide .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   Chorus — every model gathered around one centred price
   -------------------------------------------------------------------------- */

.chorus {
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.2vw, 26px);
  text-align: center;
}

.chorus__cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 1vw, 12px);
  width: min(100%, 880px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.chorus__cloud li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
  color: var(--ink-2);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.chorus__cloud li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.chorus__cloud img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.chorus__cloud--under li {
  background: transparent;
  box-shadow: none;
  color: var(--muted);
}

.chorus__core {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: clamp(14px, 1.6vw, 18px);
  width: min(100%, 760px);
  padding: clamp(30px, 4vw, 48px) clamp(24px, 3.4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-deep);
}

.chorus__core > *:not(.fold):not(.grain) {
  position: relative;
  z-index: 1;
}

.chorus__core .sec-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.chorus__title {
  margin: 0;
  max-width: 17ch;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #FFFFFF;
  text-wrap: balance;
}

.chorus__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 14px;
  margin: 0;
}

.chorus__price s {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.6);
  text-decoration-thickness: 1.5px;
}

.chorus__price b {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.6rem, 5.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.chorus__price b i {
  font-style: normal;
  font-size: 0.34em;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.72);
}

.chorus__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.chorus__core .btn--primary {
  border-color: #FFFFFF;
  background: #FFFFFF;
  color: var(--accent);
}

.chorus__core .btn--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #FFFFFF;
}

.chorus__core .btn--ghost:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.chorus__marks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(16px, 2vw, 28px);
  width: min(100%, 760px);
  margin: 0;
  padding: clamp(14px, 1.8vw, 20px) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
}

.chorus__marks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chorus__marks li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 600px) {
  .chorus__cloud li {
    padding: 7px 12px;
    font-size: 0.8rem;
  }

  .chorus__cloud img {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chorus__cloud li {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Socket — ownership as a flip. Big switch first; company layer ↔ model bay
   repaint together. Colour is ownership: accent when open, drained when locked.
   -------------------------------------------------------------------------- */

.roster > .lede.lede--wide {
  max-width: 60ch;
}

.lede--wide {
  max-width: 60ch;
}

.socket {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
  padding: clamp(10px, 1.2vw, 14px);
  border-radius: 22px;
  background: var(--band);
}

/* ── Inviting switch (the thing you can't miss) ──────────────────────── */

.socket__switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  padding: clamp(14px, 1.6vw, 18px);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.socket__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: opacity 0.3s var(--ease);
}

.socket__hint.is-done {
  opacity: 0.45;
  color: var(--muted);
}

.socket__hint-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent);
  animation: socket-pulse 1.6s var(--ease) infinite;
}

.socket__hint.is-done .socket__hint-dot {
  animation: none;
  background: var(--muted);
  box-shadow: none;
}

@keyframes socket-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.socket__mode {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  background: var(--mist);
}

.socket__mode-btn {
  min-width: 9.5rem;
  padding: 11px 18px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.socket__mode-btn:hover {
  color: var(--ink);
}

.socket__mode-btn[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.socket__mode-btn[data-socket-mode="locked"][aria-pressed="true"] {
  background: var(--ink);
  color: var(--on-ink);
}

.socket__mode.is-beckon {
  animation: socket-beckon 0.55s var(--ease) 2;
}

@keyframes socket-beckon {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-3px); }
  70% { transform: translateY(1px); }
}

/* ── Two-panel stage ─────────────────────────────────────────────────── */

.socket__stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(10px, 1.2vw, 14px);
}

.socket__own {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(16px, 1.8vw, 22px);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: opacity 0.35s var(--ease);
}

.socket.is-locked .socket__own {
  opacity: 0.72;
}

.socket__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.socket__nudge {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent-bright);
  transition: color 0.35s var(--ease);
}

.socket.is-locked .socket__nudge {
  color: var(--on-ink-3);
}

.socket__rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socket__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--mist);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}

.socket.is-locked .socket__row {
  background: rgba(17, 17, 17, 0.03);
}

.socket__glyph {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--accent-wash);
  color: var(--accent);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.socket.is-locked .socket__glyph {
  background: rgba(17, 17, 17, 0.06);
  color: var(--muted);
}

.socket__row b {
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.socket__state {
  justify-self: start;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  background: var(--accent-wash);
  font-family: "Outfit", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.socket.is-locked .socket__state {
  background: rgba(17, 17, 17, 0.08);
  color: var(--muted);
}

/* ── Model plane ─────────────────────────────────────────────────────── */

.socket__plane {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 16px);
  padding: clamp(16px, 1.8vw, 22px);
  border-radius: var(--r-lg);
  background: var(--ink-deep);
  color: var(--on-ink);
}

.socket__plane > * {
  position: relative;
  z-index: 1;
}

.socket__plane .socket__cap {
  color: var(--on-ink-3);
}

.socket__rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socket__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r-ctl);
  background: rgba(245, 245, 244, 0.05);
  font-family: "Outfit", sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--on-ink-2);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), opacity 0.35s var(--ease), transform 0.25s var(--ease);
}

.socket__chip:hover {
  border-color: var(--line-ink-2);
  color: var(--on-ink);
}

.socket__chip[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent-bright) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  color: var(--on-ink);
}

.socket.is-locked .socket__chip[aria-pressed="true"] {
  border-color: var(--line-ink-2);
  background: rgba(245, 245, 244, 0.12);
}

.socket.is-locked .socket__chip[aria-pressed="false"] {
  opacity: 0.4;
}

.socket__mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #fff;
}

.socket__mark img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.socket__mark--open {
  background: color-mix(in srgb, var(--accent-glow) 30%, transparent);
  color: var(--accent-glow);
}

.socket__lock {
  display: none;
  margin-left: 2px;
  color: var(--on-ink-3);
}

.socket.is-locked .socket__chip[aria-pressed="false"] .socket__lock {
  display: inline-flex;
}

@keyframes socket-refuse {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-3px); }
  70% { transform: translateX(3px); }
}

.socket__chip.is-refused {
  animation: socket-refuse 0.26s var(--ease);
}

.socket__bay {
  display: grid;
  gap: 4px;
  padding: clamp(14px, 1.6vw, 18px);
  border: 1px solid color-mix(in srgb, var(--accent-bright) 42%, transparent);
  border-radius: var(--r-md);
  background: rgba(245, 245, 244, 0.04);
  transition: border-color 0.35s var(--ease);
}

.socket.is-locked .socket__bay {
  border-color: var(--line-ink-2);
}

.socket__bay-name {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--on-ink);
}

.socket__bay-note {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--on-ink-2);
}

@keyframes socket-swap {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.socket__bay-name.is-swapping,
.socket__bay-note.is-swapping,
.socket__verdict.is-swapping {
  animation: socket-swap 0.32s var(--ease);
}

.socket__meter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-ink);
}

.socket__meter > div + div {
  margin-left: clamp(10px, 1.2vw, 16px);
  padding-left: clamp(10px, 1.2vw, 16px);
  border-left: 1px solid var(--line-ink);
}

.socket__meter dt {
  font-family: "Outfit", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-ink-3);
}

.socket__meter dd {
  margin: 4px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-glow);
  transition: color 0.35s var(--ease);
}

.socket.is-locked .socket__meter dd {
  color: var(--on-ink-2);
}

/* ── Verdict ─────────────────────────────────────────────────────────── */

.socket__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 2vw, 24px);
  padding: clamp(12px, 1.4vw, 16px) clamp(16px, 1.8vw, 22px);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.socket__verdict {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.socket__act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-left: auto;
}

.socket__risk {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .socket__stage {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .socket__mode-btn {
    min-width: 0;
    flex: 1 1 0;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .socket__rows {
    grid-template-columns: minmax(0, 1fr);
  }

  .socket__meter {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .socket__meter > div + div {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line-ink);
  }

  .socket__act {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .socket__hint-dot,
  .socket__mode.is-beckon,
  .socket__chip.is-refused,
  .socket__bay-name.is-swapping,
  .socket__bay-note.is-swapping,
  .socket__verdict.is-swapping,
  .socket__engine-note.is-swapping,
  .socket__engine-note strong.is-swapping {
    animation: none;
  }
}

/* Socket v2 — side-by-side lock-in vs DIMA (overrides the flip layout) */

.socket__stage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.socket__side {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 18px);
  padding: clamp(18px, 2vw, 24px);
  border-radius: var(--r-lg);
  min-height: 100%;
}

.socket__side > * {
  position: relative;
  z-index: 1;
}

.socket__side--locked {
  background: var(--ink-deep);
  color: var(--on-ink);
}

.socket__side--open {
  background: var(--card);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}

.socket__side-head {
  display: grid;
  gap: 4px;
}

.socket__side .socket__cap {
  display: block;
  color: var(--muted);
}

.socket__side--locked .socket__cap {
  color: var(--on-ink-3);
}

.socket__side-claim {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.socket__side--locked .socket__side-claim {
  color: var(--on-ink);
}

.socket__side--open .socket__side-claim {
  color: var(--ink);
}

.socket__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.socket__side--locked .socket__list {
  border-top-color: var(--line-ink);
}

.socket__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.socket__side--locked .socket__list li {
  border-bottom-color: var(--line-ink);
}

.socket__list span {
  color: var(--ink-2);
}

.socket__side--locked .socket__list span {
  color: var(--on-ink-2);
}

.socket__list b {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.socket__side--locked .socket__list b {
  color: var(--on-ink-3);
}

.socket__side--open .socket__list b {
  color: var(--accent);
}

.socket__engine {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.socket__side--locked .socket__engine {
  border-top-color: var(--line-ink);
}

.socket__engine-cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.socket__side--locked .socket__engine-cap {
  color: var(--on-ink-3);
}

.socket__engine-cap em {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent);
}

.socket__engine-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.socket__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 7px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r-ctl);
  background: rgba(245, 245, 244, 0.06);
  font-family: "Outfit", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--on-ink-2);
}

.socket__pill img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  padding: 4px;
  border-radius: 6px;
  background: #fff;
}

.socket__pill.is-only {
  border-color: var(--line-ink-2);
  color: var(--on-ink);
}

.socket__pill.is-dead {
  opacity: 0.38;
  padding: 7px 12px;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.socket__side--open .socket__chip {
  border-color: var(--line);
  background: var(--mist);
  color: var(--ink-2);
}

.socket__side--open .socket__chip:hover {
  border-color: var(--line-2);
  color: var(--ink);
}

.socket__side--open .socket__chip[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: var(--accent-wash);
  color: var(--ink);
}

.socket__side--open .socket__mark--open {
  background: var(--accent-wash);
  color: var(--accent);
}

.socket__engine-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.socket__side--locked .socket__engine-note {
  color: var(--on-ink-2);
}

.socket__engine-note strong {
  color: var(--ink);
  font-weight: 600;
}

.socket__engine-note.is-swapping,
.socket__engine-note strong.is-swapping {
  animation: socket-swap 0.28s var(--ease);
}

@media (max-width: 800px) {
  .socket__stage {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Socket v3 — one stack: control → brain (holds) → models (plug in) */

.socket__why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 14px);
}

.socket__path {
  display: grid;
  gap: 10px;
  padding: clamp(16px, 1.8vw, 22px);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.socket__path--locked {
  background: var(--ink-deep);
  color: var(--on-ink);
}

.socket__path-cap {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.socket__path--locked .socket__path-cap {
  color: var(--on-ink-3);
}

.socket__path-claim {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.socket__path--open .socket__path-claim {
  color: var(--ink);
}

.socket__path--locked .socket__path-claim {
  color: var(--on-ink);
}

.socket__path-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socket__path-list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.socket__path--locked .socket__path-list li {
  color: var(--on-ink-2);
}

.socket__path-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}

.socket__path--open .socket__path-list li::before {
  background: var(--accent);
}

.socket__path--locked .socket__path-list li::before {
  background: var(--on-ink-3);
}

@media (max-width: 800px) {
  .socket__why {
    grid-template-columns: minmax(0, 1fr);
  }
}

.socket__stack {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: clamp(14px, 1.6vw, 18px);
  border-radius: var(--r-lg);
  background: var(--ink-deep);
  color: var(--on-ink);
}

.socket__stack > .fold,
.socket__stack > .grain {
  z-index: 0;
}

.socket__layer {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: clamp(14px, 1.6vw, 18px);
  border: 1px solid var(--line-ink);
  border-radius: var(--r-md);
  background: rgba(245, 245, 244, 0.04);
}

.socket__layer--brain {
  border-color: color-mix(in srgb, var(--accent-bright) 42%, transparent);
  background: color-mix(in srgb, var(--accent) 16%, rgba(245, 245, 244, 0.04));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.socket__layer--brain.is-held {
  border-color: color-mix(in srgb, var(--accent-bright) 70%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}

.socket__layer-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-3);
}

.socket__layer-cap span {
  color: var(--accent-glow);
  letter-spacing: 0.12em;
}

.socket__layer-cap em {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--accent-glow);
}

.socket__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socket__tags li {
  padding: 7px 12px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r-sm);
  background: rgba(245, 245, 244, 0.05);
  font-size: 0.88rem;
  color: var(--on-ink-2);
}

.socket__tags--strong li {
  border-color: color-mix(in srgb, var(--accent-bright) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--on-ink);
  font-weight: 500;
}

.socket__layer-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--on-ink-2);
}

.socket__stack .socket__rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socket__stack .socket__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r-ctl);
  background: rgba(245, 245, 244, 0.05);
  font-family: "Outfit", sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--on-ink-2);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.socket__stack .socket__chip:hover {
  border-color: var(--line-ink-2);
  color: var(--on-ink);
}

.socket__stack .socket__chip[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent-bright) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  color: var(--on-ink);
}

.socket__stack .socket__mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #fff;
}

.socket__stack .socket__mark img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.socket__live {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.4;
  color: var(--on-ink-2);
}

.socket__live strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.05em;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--on-ink);
}

.socket__live.is-swapping,
.socket__live strong.is-swapping,
[data-socket-line].is-swapping {
  animation: socket-swap 0.28s var(--ease);
}

.socket__proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.socket__proof li {
  display: grid;
  gap: 4px;
  padding: clamp(14px, 1.6vw, 18px);
  border-right: 1px solid var(--line);
}

.socket__proof li:last-child {
  border-right: 0;
}

.socket__proof b {
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.socket__proof span {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .socket__proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .socket__proof li:nth-child(2n) {
    border-right: 0;
  }

  .socket__proof li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .socket__proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .socket__proof li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .socket__proof li:last-child {
    border-bottom: 0;
  }

  .socket__proof li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .socket__layer--brain.is-held {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Ballot — twin band planes; cast builds ~1s (charge fill + bloom), then
   soft tide + quiet result chip. Choice copy always stays.
   -------------------------------------------------------------------------- */

.ballot {
  --locked-share: 0%;
  --open-share: 0%;
  display: grid;
  gap: clamp(28px, 3.4vw, 32px);
}

.ballot__lead {
  text-align: center;
  margin: 0;
  padding-bottom: 0;
  order: 1;
}

.ballot__ask {
  margin: 0 auto;
  max-width: 28em;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink-2);
}

.ballot__prompt {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  justify-self: center;
  order: 2;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 999px;
  background: var(--accent-wash);
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.ballot__stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ballot__stat b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.ballot__sep {
  width: 1px;
  height: 12px;
  background: color-mix(in srgb, var(--accent) 35%, var(--line));
}

.ballot.is-decided .ballot__prompt {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.ballot.is-decided .ballot__sep {
  background: var(--line);
}

.ballot__live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.ballot.is-decided .ballot__live {
  background: var(--muted);
}

.ballot__arena {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(10px, 1.4vw, 16px);
  align-items: stretch;
  order: 3;
}

.ballot__side {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--band);
  box-shadow: var(--shadow-soft);
  text-align: center;
  cursor: pointer;
  color: var(--ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), opacity 0.35s var(--ease);
}

.ballot__side:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  z-index: 3;
}

.ballot__side > .fold,
.ballot__side > .grain {
  z-index: 0;
  pointer-events: none;
}

.ballot__side > .fold {
  opacity: 0.42;
  --fold-size: clamp(200px, 24vw, 320px) auto;
  --fold-pos: center 85%;
}

.ballot__side > .grain {
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.ballot:not(.is-decided):not(.is-casting) .ballot__side:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--ink) 10%, var(--line-2));
  box-shadow: var(--shadow-lift);
}

.ballot:not(.is-decided):not(.is-casting) .ballot__side:hover > .fold {
  opacity: 0.5;
}

.ballot:not(.is-decided):not(.is-casting) .ballot__side:hover > .grain {
  opacity: 0.34;
}

.ballot:not(.is-decided):not(.is-casting) .ballot__side:active {
  transform: translateY(-1px) scale(0.985);
}

.ballot.is-casting {
  pointer-events: none;
}

.ballot.is-casting .ballot__side.is-picked,
.ballot.is-decided .ballot__side.is-picked {
  border-color: var(--accent);
  box-shadow: var(--shadow-lift);
  z-index: 2;
}

.ballot.is-casting .ballot__side.is-picked {
  transform: translateY(-4px);
  box-shadow:
    var(--shadow-lift),
    0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
    0 18px 40px color-mix(in srgb, var(--accent) 18%, transparent);
}

.ballot.is-casting .ballot__side.is-picked::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    120% 90% at 50% 110%,
    color-mix(in srgb, var(--accent) 28%, transparent) 0%,
    transparent 62%
  );
  animation: ballot-bloom 1.1s var(--ease) forwards;
}

@keyframes ballot-bloom {
  0% { opacity: 0; transform: scaleY(0.72); transform-origin: bottom; }
  55% { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0.55; transform: scaleY(1); transform-origin: bottom; }
}

.ballot.is-casting .ballot__side:not(.is-picked),
.ballot.is-decided .ballot__side:not(.is-picked) {
  opacity: 0.72;
}

.ballot.is-casting .ballot__prompt {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.ballot.is-casting .ballot__live {
  animation: ballot-live 0.85s var(--ease) infinite;
}

@keyframes ballot-live {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.ballot.is-landed .ballot__side.is-picked {
  animation: ballot-land 0.55s var(--ease);
}

@keyframes ballot-land {
  0% { transform: translateY(-4px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

/* Tide — soft wash from the bottom to the vote share */
.ballot__tide {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 0;
  pointer-events: none;
  border: 0;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  transition: height 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

/* During cast: tide + CTA climb toward the real share with momentum */
.ballot.is-casting .ballot__side.is-picked .ballot__tide {
  height: var(--cast-share, 0%);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 8%, transparent) 0%,
    color-mix(in srgb, var(--accent) 34%, transparent) 100%
  );
  transition: none;
}

.ballot.is-decided .ballot__side--locked .ballot__tide {
  height: var(--locked-share, 0%);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--ink) 4%, transparent) 0%,
    color-mix(in srgb, var(--ink) 16%, transparent) 100%
  );
}

.ballot.is-decided .ballot__side--open .ballot__tide {
  height: var(--open-share, 0%);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 8%, transparent) 0%,
    color-mix(in srgb, var(--accent) 26%, transparent) 100%
  );
}

.ballot.is-decided .ballot__side.is-picked .ballot__tide {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 10%, transparent) 0%,
    color-mix(in srgb, var(--accent) 30%, transparent) 100%
  );
}

.ballot__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  justify-items: start;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(18px, 2vw, 24px) clamp(18px, 2.2vw, 26px) clamp(16px, 1.8vw, 20px);
  text-align: left;
}

.ballot__logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 2px 0;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.ballot__logos img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* openaib is a light mark — force ink on band planes */
.ballot__logos img[src*="openaib"] {
  filter: brightness(0);
}

.ballot__logos i {
  font-style: normal;
  font-family: "Outfit", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ballot__logos--and {
  gap: 8px;
}

.ballot__result {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  max-height: 0;
  margin: 0;
  padding: 0 12px;
  overflow: hidden;
  opacity: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent);
  transform: translateY(4px);
  transition: max-height 0.4s var(--ease), opacity 0.4s var(--ease),
    transform 0.4s var(--ease), padding 0.4s var(--ease),
    background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.ballot.is-decided .ballot__result {
  max-height: 3rem;
  margin-top: 2px;
  padding: 7px 14px;
  overflow: visible;
  opacity: 1;
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  transform: translateY(0);
}

.ballot__result b {
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.ballot__result > i {
  font-style: normal;
  font-size: 0.78rem;
  opacity: 0.7;
  margin-left: -4px;
}

.ballot__count {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.ballot__cap {
  font-family: "Outfit", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ballot__claim {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
  text-wrap: balance;
  max-width: 18em;
}

.ballot__marks {
  display: grid;
  gap: 8px;
  justify-items: start;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
  width: 100%;
}

.ballot__marks li {
  position: relative;
  padding: 0;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}

.ballot__cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--r-ctl);
  background: var(--accent);
  font-family: "Outfit", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ballot__cta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.ballot__cta-fill {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent) 68%, #1546d6) 0%,
    var(--accent) 55%,
    color-mix(in srgb, var(--accent) 85%, #6ea0ff) 100%
  );
  transition: none;
}

.ballot__cta-label {
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ballot.is-casting .ballot__side.is-picked .ballot__cta {
  border-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.ballot.is-casting .ballot__side.is-picked .ballot__cta-label {
  color: #fff;
}

.ballot__side:hover .ballot__cta {
  background: var(--paper);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line-2));
  color: var(--ink);
  transform: none;
}

.ballot__side:hover .ballot__cta-dot {
  background: var(--accent);
}

.ballot.is-decided .ballot__side.is-picked .ballot__cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.ballot.is-decided .ballot__side.is-picked .ballot__cta-dot {
  background: #fff;
}

.ballot.is-decided .ballot__side:not(.is-picked) .ballot__cta {
  opacity: 0.55;
  box-shadow: none;
}

.ballot__vs {
  display: grid;
  place-items: center;
  align-self: center;
  min-width: 1.5rem;
  pointer-events: none;
}

.ballot__vs span {
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.55;
}

.ballot.is-decided .ballot__vs span {
  opacity: 0.35;
}

@media (max-width: 780px) {
  .roster + .ballot,
  .sec-head--wide + .ballot {
    margin-top: clamp(28px, 7vw, 40px);
  }

  .ballot {
    gap: clamp(22px, 5.5vw, 32px);
  }

  .ballot__arena {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .ballot__vs {
    justify-self: center;
    padding: 2px 0;
  }

  .ballot__side {
    min-height: 0;
  }

  .ballot__body {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ballot__tide,
  .ballot__result,
  .ballot__side,
  .ballot__cta,
  .ballot.is-casting .ballot__side.is-picked::after,
  .ballot.is-casting .ballot__live,
  .ballot.is-landed .ballot__side.is-picked {
    animation: none !important;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Pattern Book — /pattern-book.html catalog chrome
   Specimens reuse production classes; .pb-* is index UI only.
   -------------------------------------------------------------------------- */

.pb-page .site-header .nav-link[href="/pattern-book.html"],
.pb-page .site-header a[href*="pattern-book"] {
  color: var(--accent);
}

.pb {
  padding-bottom: clamp(64px, 8vw, 120px);
}

.pb-hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.pb-hero .h-xl {
  max-width: 14ch;
  margin: 0;
}

.pb-hero .lede {
  margin-top: 18px;
  max-width: 54ch;
}

.pb-hero__meta {
  margin-top: 22px;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.pb-hero__meta code,
.pb-spec__classes code,
.pb-spec__when code,
.pb-surface code,
.pb-atm__swatch span code {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: 0.84em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink-2);
}

/* Catalog layout: TOC docks in the left page margin; body keeps full shell width */
.pb-layout {
  --pb-toc-w: 200px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(100%, var(--shell)) minmax(0, 1fr);
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(20px, 2.5vw, 28px) 0 clamp(48px, 6vw, 80px);
}

.pb-toc {
  grid-column: 1;
  justify-self: end;
  box-sizing: border-box;
  width: min(var(--pb-toc-w), 100%);
  max-width: 100%;
  margin: 0 clamp(12px, 1.4vw, 24px) 0 max(12px, var(--gutter));
  position: sticky;
  top: calc(var(--nav-offset) + 12px);
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: calc(100vh - var(--nav-offset) - 28px);
  padding: 4px 10px 16px 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--ink) 18%, transparent) transparent;
  border-right: 1px solid var(--line);
}

.pb-body {
  grid-column: 2;
  min-width: 0;
  padding-inline: var(--gutter);
}

.pb-toc__title {
  margin: 0 0 2px;
  padding-right: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.pb-toc__group {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.pb-toc__label {
  margin: 0;
  padding-right: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.pb-toc__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pb-toc__list a {
  display: block;
  padding: 5px 10px 5px 8px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  font-size: 0.84rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.pb-toc__list a:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}

.pb-toc__list a.is-active,
.pb-toc__list a[aria-current="location"] {
  color: var(--ink);
  border-left-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-weight: 500;
}

.pb-chapter {
  padding-block: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.pb-chapter:first-child {
  padding-top: 8px;
}

/* Catalog chrome: break out of the body gutter so full-bleed bands demo true */
.pb-bleed {
  width: calc(100% + (2 * var(--gutter)));
  max-width: none;
  margin-inline: calc(-1 * var(--gutter));
}

.pb-spec {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.pb-spec__id {
  margin: 0 0 10px;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.pb-spec__name {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pb-spec__when {
  margin: 12px 0 0;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.pb-spec__classes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.pb-demo {
  padding: clamp(24px, 3vw, 36px);
  margin-top: 16px;
  border: 1px dashed color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 70%, white);
}

.pb-surface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pb-surface {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 140px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
}

.pb-surface--paper {
  background: var(--paper);
}

.pb-surface--soft {
  background: var(--band);
}

.pb-surface--ink {
  background: var(--ink-deep);
  color: var(--on-ink);
  border-color: var(--line-ink);
}

.pb-surface--ink code {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.pb-proof-demo {
  margin-top: 8px;
  border-radius: 0;
}

.pb-flow-demo {
  max-width: 36rem;
  pointer-events: none;
}

.pb-bento-demo {
  margin: 0;
  padding: 0;
}

.pb-bento-demo__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  margin-top: 0;
  min-height: 0;
}

.pb-bento-demo__grid .ob {
  grid-column: auto;
  grid-row: auto;
  min-height: 180px;
}

.pb-bento-demo__grid .ob--media {
  min-height: 260px;
}

.pb-atm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pb-atm__swatch {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--band);
}

.pb-atm__swatch--ink {
  background: #12131A;
  border-color: var(--line-ink);
}

.pb-atm__swatch--accent {
  background: linear-gradient(150deg, var(--accent-bright) 0%, var(--accent) 100%);
  border-color: transparent;
}

.pb-atm__swatch--accent > span {
  color: rgba(255, 255, 255, 0.72);
}

.pb-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.1vw, 16px);
}

.pb-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pb-atm__swatch--shot {
  display: grid;
  place-items: end stretch;
  padding: 16px;
  background:
    linear-gradient(160deg, #F7F6F2 0%, #E8E6DF 100%);
}

.pb-atm__swatch--shot .glass {
  position: relative;
  inset: auto;
}

.pb-atm__swatch > span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-size: 0.8rem;
  color: var(--muted);
}

.pb-atm__swatch--ink > span {
  color: rgba(255, 255, 255, 0.55);
}

.pb-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pb-tiers-bar {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(18px, 2.2vw, 26px);
}

/* the hero pattern pulls itself under the fixed nav; inside the catalog it has
   to sit in normal flow instead */
.pb-phero-demo {
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px dashed color-mix(in srgb, var(--ink) 14%, transparent);
}

.pb-phero-demo .phero {
  margin-top: 0;
  padding-top: clamp(32px, 4vw, 52px);
}

/* Home hero specimen: same stage, catalog-scaled, no full showcase chrome */
.pb-home-hero-demo {
  overflow: hidden;
  border-block: 1px solid var(--line-ink);
}

.pb-home-hero-demo .hero--catalog {
  margin-top: 0;
  padding-top: clamp(48px, 6vw, 72px);
  --hero-band: clamp(36px, 5vw, 56px);
}

.pb-home-hero-demo .hero--catalog h2 {
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.0;
  width: 100%;
  max-width: 20ch;
  color: #F5F5F4;
  text-wrap: balance;
}

@media (min-width: 900px) {
  .pb-home-hero-demo .hero--catalog h2 {
    max-width: none;
  }
}

.pb-home-hero-demo__shot {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-ink-2);
  background: var(--ink-panel);
  box-shadow: var(--shadow-deep);
}

.pb-home-hero-demo__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.pb-closing-demo {
  padding-block: 0;
}

.pb-foot {
  padding-block: clamp(36px, 5vw, 56px);
}

.pb-foot p {
  margin: 0;
  max-width: 56ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.pb-rules {
  display: grid;
  gap: 0;
  margin: clamp(20px, 2.4vw, 28px) 0 0;
  padding: 0;
  max-width: 68ch;
  counter-reset: pb-rule;
  list-style: none;
  border-top: 1px solid var(--line);
}

.pb-rules li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 14px;
  padding: clamp(14px, 1.6vw, 18px) 0;
  border-bottom: 1px solid var(--line);
  counter-increment: pb-rule;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.pb-rules li::before {
  content: counter(pb-rule, decimal-leading-zero);
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 0.25em;
}

@media (max-width: 860px) {
  .pb-surface-grid,
  .pb-atm,
  .pb-pair,
  .pb-bento-demo__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1679px) {
  .pb-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 0;
  }

  .pb-toc {
    grid-column: 1;
    justify-self: stretch;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 12px var(--gutter) 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: min(40vh, 340px);
    top: var(--nav-offset);
    z-index: 30;
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(var(--shadow-tint), 0.04);
  }

  .pb-body {
    grid-column: 1;
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-top: 8px;
  }

  .pb-toc__list a {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   eCommerce page · mobile type + wrap (≤900px — site mobile breakpoint)
   Display titles on /marketing were oversized, tight-leading and forced into
   awkward breaks. Scope stays on body.page-ecom so other pages are untouched.,
body.page-mkt so other pages are untouched.
   -------------------------------------------------------------------------- */

body.page-ecom #automatizare .roster > .roster__line,
body.page-mkt #automatizare .roster > .roster__line
body.page-ecom #auto-title,
body.page-mkt #auto-title{
  max-width: none;
}

body.page-ecom #rezultate .shards-head,
body.page-mkt #rezultate .shards-head{
  text-align: center;
  margin: 0 0 clamp(20px, 2.8vw, 32px);
}

body.page-ecom #rezultate .shards-head .roster__line,
body.page-mkt #rezultate .shards-head .roster__line{
  margin-inline: auto;
  max-width: none;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.028em;
}

body.page-ecom #rezultate .roster > .lede,
body.page-mkt #rezultate .roster > .lede{
  max-width: none;
  width: 100%;
}

body.page-ecom #ce-face .roster > .lede,
body.page-mkt #ce-face .roster > .lede{
  max-width: none;
  width: 100%;
}

body.page-ecom .footer__tagline,
body.page-mkt .footer__tagline{
  max-width: none;
}

body.page-ecom #automatizare .roster > .lede,
body.page-mkt #automatizare .roster > .lede{
  max-width: min(100%, 52ch);
}

/* Foot well + closing white chapter — flush, no cream margin bands between blocks */
body.page-ecom .sec:not(.sec--ink) + .ledge-well--foot,
body.page-mkt .sec:not(.sec--ink) + .ledge-well--foot{
  margin-top: 0;
  padding-top: 0;
}

body.page-ecom .ledge-well--foot,
body.page-mkt .ledge-well--foot{
  margin-bottom: 0;
  background: var(--card);
}

body.page-ecom .ledge-well--foot:has(#automatizare),
body.page-mkt .ledge-well--foot:has(#automatizare){
  background: var(--card);
}

body.page-ecom .ledge-well--foot:has(#automatizare) #automatizare.sec--ledge-foot,
body.page-mkt .ledge-well--foot:has(#automatizare) #automatizare.sec--ledge-foot{
  background: var(--paper);
  border-radius: 0 0 3rem 3rem / 0 0 1rem 1rem;
  border: 1px solid var(--line);
  border-top: 0;
  margin-bottom: clamp(4px, 0.6vw, 12px);
}

body.page-ecom .ledge-well--foot .sec--ledge-foot,
body.page-mkt .ledge-well--foot .sec--ledge-foot{
  border-top: 0;
}

body.page-ecom .ledge-well--foot:has(#automatizare) + #instrumente,
body.page-mkt .ledge-well--foot:has(#automatizare) + #instrumente{
  margin-top: 0;
  background: var(--card);
}

body.page-ecom #instrumente,
body.page-mkt #instrumente{
  background: var(--card);
}

body.page-ecom #instrumente + #run.sec,
body.page-mkt #instrumente + #run.sec{
  margin-top: 0;
  padding-top: var(--gap-lg);
}

body.page-ecom #instrumente:has(+ #run),
body.page-mkt #instrumente:has(+ #run){
  padding-bottom: 0;
}

/* Junction spacing lives inside the upper white section — never pad both sides to 0 (margin bleed shows paper) */
body.page-ecom #run.sec:has(+ #compara),
body.page-mkt #run.sec:has(+ #compara){
  padding-bottom: var(--gap-lg);
  border-bottom: 0;
}

body.page-ecom #run.sec + #compara.sec,
body.page-mkt #run.sec + #compara.sec{
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

body.page-ecom #compara.sec:has(+ .vantage),
body.page-mkt #compara.sec:has(+ .vantage){
  padding-bottom: var(--gap-xl);
  border-bottom: 0;
}

body.page-ecom #compara.sec + .vantage,
body.page-mkt #compara.sec + .vantage{
  margin-top: 0;
}

body.page-ecom #compara .verdict + .roster,
body.page-mkt #compara .verdict + .roster{
  margin-top: clamp(40px, 4.8vw, 64px);
}

@media (min-width: 901px) {
  body.page-ecom .hero h1 .hero__accent-tail,
body.page-mkt .hero h1 .hero__accent-tail{
    color: #F5F5F4;
  }

  body.page-ecom .hero h1 .hero__verb--second,
body.page-mkt .hero h1 .hero__verb--second{
    color: var(--accent-glow);
  }

  body.page-ecom .hero__sub-comma,
body.page-mkt .hero__sub-comma{
    display: none;
  }

  body.page-ecom #outputs-title,
body.page-mkt #outputs-title{
    margin-bottom: 2rem;
  }

  body.page-ecom .vantage,
body.page-mkt .vantage{
    min-height: clamp(320px, 32vw, 420px);
    padding-block: clamp(64px, 7vw, 96px);
  }

  body.page-ecom .vantage__inner,
body.page-mkt .vantage__inner{
    gap: clamp(22px, 2.6vw, 34px);
    width: min(100%, 54rem);
    max-width: calc(100% - (2 * var(--gutter)));
  }

  body.page-ecom .vantage__inner h2,
body.page-mkt .vantage__inner h2{
    width: 100%;
    max-width: none;
    font-size: clamp(1.92rem, 2.55vw, 2.85rem);
    line-height: 1.14;
    letter-spacing: -0.028em;
    text-wrap: normal;
  }

  body.page-ecom .vantage__inner .hero__title-line,
body.page-mkt .vantage__inner .hero__title-line{
    display: block;
    white-space: nowrap;
  }

  body.page-ecom .vantage__note,
body.page-mkt .vantage__note{
    width: 100%;
    max-width: none;
    font-size: 1.04rem;
    line-height: 1.55;
    text-wrap: pretty;
  }

  body.page-ecom .vantage__cta,
body.page-mkt .vantage__cta{
    margin-top: clamp(8px, 1vw, 14px);
  }

  body.page-ecom .vantage__proof,
body.page-mkt .vantage__proof{
    margin-top: clamp(12px, 1.4vw, 20px);
    padding-top: clamp(20px, 2.2vw, 28px);
  }
}

body.page-ecom #run.sec,
body.page-mkt #run.sec
body.page-ecom #compara.sec,
body.page-mkt #compara.sec
body.page-ecom #preturi.sec,
body.page-mkt #preturi.sec{
  display: flow-root;
}

body.page-ecom #preturi.sec,
body.page-mkt #preturi.sec{
  margin-bottom: 0;
}

/* Flanks → shards: restore section bottom air before the three cards */
body.page-ecom #automatizare > .shell:first-of-type,
body.page-mkt #automatizare > .shell:first-of-type{
  padding-bottom: clamp(48px, 5.5vw, 72px);
}

body.page-ecom #automatizare,
body.page-mkt #automatizare{
  padding-bottom: var(--gap-xl);
}

body.page-ecom #automatizare .shell + .shell .shards,
body.page-mkt #automatizare .shell + .shell .shards{
  margin-top: 0;
}

/* #instrumente — stack bands + scrollable job tabs on tablet/phone */
@media (max-width: 960px) {
  body.page-ecom #instrumente,
body.page-mkt #instrumente{
    overflow-x: clip;
  }

  body.page-ecom #instrumente .shell,
body.page-mkt #instrumente .shell{
    min-width: 0;
  }

  body.page-ecom #instrumente .bands,
body.page-mkt #instrumente .bands{
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(14px, 3.2vw, 18px);
  }

  body.page-ecom #instrumente .bands__copy,
body.page-mkt #instrumente .bands__copy{
    min-width: 0;
    overflow: visible;
  }

  body.page-ecom #instrumente .bands__body,
body.page-mkt #instrumente .bands__body{
    justify-items: stretch;
    padding-inline: clamp(16px, 4vw, 22px);
  }

  body.page-ecom #instrumente .bands__copy .roster__line,
body.page-mkt #instrumente .bands__copy .roster__line
  body.page-ecom #instrumente .bands__copy h2,
body.page-mkt #instrumente .bands__copy h2
  body.page-ecom #instrumente .bands__copy .lede,
body.page-mkt #instrumente .bands__copy .lede{
    max-width: none;
    width: 100%;
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.page-ecom #instrumente #tools-title .accent,
body.page-mkt #instrumente #tools-title .accent{
    white-space: nowrap;
  }

  body.page-ecom #instrumente .bands__proof,
body.page-mkt #instrumente .bands__proof{
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    justify-items: center;
  }

  body.page-ecom #instrumente .bands__proof li,
body.page-mkt #instrumente .bands__proof li{
    justify-content: center;
    text-align: center;
  }

  body.page-ecom #instrumente .bands__proof li:last-child:nth-child(odd),
body.page-mkt #instrumente .bands__proof li:last-child:nth-child(odd){
    grid-column: auto;
  }

  /* Flatten column conveyors into one square mosaic on phone/tablet */
  body.page-ecom #instrumente .bands__stage,
body.page-mkt #instrumente .bands__stage{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(6px, 1.6vw, 10px);
    padding: clamp(10px, 2.5vw, 14px);
    width: 100%;
    min-width: 0;
    align-content: start;
  }

  body.page-ecom #instrumente .bands__col,
body.page-mkt #instrumente .bands__col
  body.page-ecom #instrumente .bands__track,
body.page-mkt #instrumente .bands__track
  body.page-ecom #instrumente .bands__set,
body.page-mkt #instrumente .bands__set{
    display: contents;
  }

  body.page-ecom #instrumente .bands__set > .bands__tile:nth-child(n + 5),
body.page-mkt #instrumente .bands__set > .bands__tile:nth-child(n + 5){
    display: none;
  }

  body.page-ecom #instrumente .bands__col:nth-child(5) .bands__tile,
body.page-mkt #instrumente .bands__col:nth-child(5) .bands__tile{
    display: none;
  }

  body.page-ecom #instrumente .bands__tile,
body.page-mkt #instrumente .bands__tile{
    aspect-ratio: 1;
    width: 100%;
    min-width: 0;
    min-height: 0;
    border-radius: 8px;
  }

  body.page-ecom #instrumente .bands__tile img,
body.page-mkt #instrumente .bands__tile img{
    width: 42%;
    height: 42%;
  }

  body.page-ecom #instrumente .jobs__rail,
body.page-mkt #instrumente .jobs__rail{
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  body.page-ecom #instrumente .jobs__nav,
body.page-mkt #instrumente .jobs__nav{
    display: inline-flex;
    flex-shrink: 0;
  }

  body.page-ecom #instrumente .jobs__tabs,
body.page-mkt #instrumente .jobs__tabs{
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 8px;
  }

  body.page-ecom #instrumente .jobs__tab,
body.page-mkt #instrumente .jobs__tab{
    flex-shrink: 0;
  }
}

body.page-ecom #compara .roster + .verdict,
body.page-mkt #compara .roster + .verdict{
  margin-top: clamp(36px, 4.2vw, 52px);
}

body.page-ecom #compara .roster > .roster__line,
body.page-mkt #compara .roster > .roster__line{
  max-width: 34em;
}

body.page-ecom #verdict-title s,
body.page-mkt #verdict-title s{
  text-decoration-thickness: 2px;
  opacity: 0.72;
}

body.page-ecom #compara .roster > .lede,
body.page-mkt #compara .roster > .lede
body.page-ecom #preturi .roster > .lede,
body.page-mkt #preturi .roster > .lede{
  max-width: min(100%, 54ch);
  font-size: clamp(0.95rem, 3.5vw, 1.06rem);
  line-height: 1.55;
  color: var(--ink-2);
}

body.page-ecom #compara .verdict__head,
body.page-mkt #compara .verdict__head{
  gap: 12px;
}

body.page-ecom #compara .verdict__head h3,
body.page-mkt #compara .verdict__head h3{
  max-width: none;
  font-size: clamp(1.2rem, 4.6vw, 1.5rem);
  line-height: 1.18;
}

body.page-ecom #compara .verdict__note,
body.page-mkt #compara .verdict__note{
  max-width: min(100%, 40ch);
  font-size: clamp(0.9rem, 3.3vw, 0.98rem);
  line-height: 1.55;
}

body.page-ecom #compara .verdict__side,
body.page-mkt #compara .verdict__side{
  gap: clamp(18px, 2vw, 26px);
  padding: clamp(26px, 3vw, 38px) clamp(22px, 2.5vw, 30px);
}

body.page-ecom #compara .verdict__rows li,
body.page-mkt #compara .verdict__rows li{
  padding: 14px 0;
  font-size: clamp(0.9rem, 3.2vw, 0.97rem);
  line-height: 1.52;
}

body.page-ecom #compara .verdict__bar,
body.page-mkt #compara .verdict__bar{
  padding: clamp(18px, 2.2vw, 24px) clamp(22px, 2.6vw, 32px);
}

body.page-ecom #compara .verdict__bar p,
body.page-mkt #compara .verdict__bar p{
  max-width: none;
  font-size: clamp(0.98rem, 3.6vw, 1.12rem);
  line-height: 1.35;
}

body.page-ecom #preturi .roster + .tally,
body.page-mkt #preturi .roster + .tally{
  margin-top: clamp(36px, 4.2vw, 52px);
}

@media (min-width: 901px) {
  body.page-ecom #rezultate .roster > .roster__line#why-title,
  body.page-mkt #rezultate .roster > .roster__line#why-title,
  body.page-ecom #automatizare .roster > .roster__line#auto-title,
  body.page-mkt #automatizare .roster > .roster__line#auto-title,
  body.page-ecom #compara .roster > .roster__line#verdict-title,
  body.page-mkt #compara .roster > .roster__line#verdict-title {
    max-width: none;
    width: 100%;
    white-space: nowrap;
    font-size: clamp(1.9rem, 2.35vw, 2.45rem);
    line-height: 1.18;
    letter-spacing: -0.032em;
  }
}

@media (max-width: 900px) {
  body.page-ecom #instrumente + #run.sec,
body.page-mkt #instrumente + #run.sec
  body.page-ecom #run.sec.sec--tight,
body.page-mkt #run.sec.sec--tight{
    padding-top: var(--gap-lg);
    margin-top: 0;
  }

  body.page-ecom .hero h1,
body.page-mkt .hero h1
  body.page-ecom .vantage__inner h2,
body.page-mkt .vantage__inner h2{
    max-width: none;
    font-size: clamp(2.78rem, 7.4vw, 2.78rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-wrap: pretty;
  }

  body.page-ecom .hero h1 .hero__accent-tail,
body.page-mkt .hero h1 .hero__accent-tail{
    color: var(--accent-glow);
  }

  body.page-ecom .hero h1 .hero__verb--second,
body.page-mkt .hero h1 .hero__verb--second{
    color: #F5F5F4;
  }

  body.page-ecom .hero__sub-more,
body.page-mkt .hero__sub-more{
    display: none;
  }

  body.page-ecom .hero__title-line,
body.page-mkt .hero__title-line
  body.page-ecom .vantage__inner .hero__title-line,
body.page-mkt .vantage__inner .hero__title-line{
    display: inline;
  }

  body.page-ecom .vantage__inner .hero__title-line,
body.page-mkt .vantage__inner .hero__title-line{
    white-space: normal;
  }

  body.page-ecom .hero__sub,
body.page-mkt .hero__sub{
    margin-top: 16px;
    font-size: clamp(0.92rem, 3.4vw, 1.02rem);
    line-height: 1.5;
    max-width: 34ch;
  }

  body.page-ecom .hero__cta-rail,
body.page-mkt .hero__cta-rail{
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: 2px;
  }

  body.page-ecom .hero__cta-rail .btn,
body.page-mkt .hero__cta-rail .btn{
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 10px 10px;
  }

  body.page-ecom .sweep,
body.page-mkt .sweep{
    --sweep-w: clamp(118px, 32vw, 142px);
    --sweep-h: clamp(166px, 46vw, 200px);
    --sweep-gap: 10px;
    --sweep-fade: 24px;
    width: 100%;
  }

  body.page-ecom .sweep__stage,
body.page-mkt .sweep__stage{
    height: calc(var(--sweep-h) + 36px);
    padding: 14px 0 22px;
  }

  body.page-ecom .sweep__card,
body.page-mkt .sweep__card{
    border-radius: 14px;
  }

  body.page-ecom .roster,
body.page-mkt .roster{
    gap: 14px;
  }

  body.page-ecom .roster__line,
body.page-mkt .roster__line
  body.page-ecom #rezultate .roster > .roster__line,
body.page-mkt #rezultate .roster > .roster__line
  body.page-ecom #inside .roster > .roster__line,
body.page-mkt #inside .roster > .roster__line
  body.page-ecom #run .roster > .roster__line,
body.page-mkt #run .roster > .roster__line
  body.page-ecom #automatizare .roster > .roster__line,
body.page-mkt #automatizare .roster > .roster__line
  body.page-ecom #compara .roster > .roster__line,
body.page-mkt #compara .roster > .roster__line
  body.page-ecom #preturi .roster > .roster__line,
body.page-mkt #preturi .roster > .roster__line
  body.page-ecom .bands__copy .roster__line,
body.page-mkt .bands__copy .roster__line
  body.page-ecom .bands__copy h2,
body.page-mkt .bands__copy h2{
    font-size: clamp(1.72rem, 5.8vw, 2.05rem);
    line-height: 1.28;
    letter-spacing: -0.026em;
    max-width: none;
    text-wrap: pretty;
    hyphens: manual;
  }

  body.page-ecom .roster > .lede,
body.page-mkt .roster > .lede
  body.page-ecom .bands__copy .lede,
body.page-mkt .bands__copy .lede{
    font-size: clamp(0.9rem, 3.4vw, 0.98rem);
    line-height: 1.5;
    max-width: min(100%, 44ch);
  }

  body.page-ecom #instrumente .bands__stage,
body.page-mkt #instrumente .bands__stage{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
  }

  body.page-ecom #instrumente .bands__col:nth-child(n + 4) .bands__tile,
body.page-mkt #instrumente .bands__col:nth-child(n + 4) .bands__tile{
    display: none;
  }

  body.page-ecom #instrumente .jobs,
body.page-mkt #instrumente .jobs{
    min-width: 0;
  }

  body.page-ecom #instrumente .jobs__panes,
body.page-mkt #instrumente .jobs__panes{
    padding: clamp(10px, 2.8vw, 14px);
  }

  body.page-ecom #instrumente .jobs__grid,
body.page-mkt #instrumente .jobs__grid{
    gap: 10px;
  }

  body.page-ecom #instrumente .job,
body.page-mkt #instrumente .job{
    padding: clamp(16px, 4vw, 20px);
    gap: 12px;
  }

  body.page-ecom #instrumente .job h3,
body.page-mkt #instrumente .job h3{
    font-size: clamp(1rem, 4vw, 1.12rem);
    line-height: 1.25;
  }

  body.page-ecom #instrumente .job p,
body.page-mkt #instrumente .job p{
    font-size: clamp(0.84rem, 3.2vw, 0.92rem);
    line-height: 1.48;
  }

  body.page-ecom #instrumente .bands + .jobs,
body.page-mkt #instrumente .bands + .jobs{
    margin-top: clamp(20px, 4.5vw, 28px);
  }

  body.page-ecom #instrumente .jobs__tab,
body.page-mkt #instrumente .jobs__tab{
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  body.page-ecom #instrumente .bands__copy .roster__line,
body.page-mkt #instrumente .bands__copy .roster__line
  body.page-ecom #instrumente .bands__copy h2,
body.page-mkt #instrumente .bands__copy h2
  body.page-ecom #instrumente #tools-title,
body.page-mkt #instrumente #tools-title{
    font-size: clamp(1.72rem, 7.4vw, 2.12rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
  }

  body.page-ecom #instrumente .bands__body,
body.page-mkt #instrumente .bands__body{
    padding: clamp(24px, 5.5vw, 32px) clamp(22px, 5.5vw, 32px) clamp(20px, 4.5vw, 26px);
    gap: clamp(14px, 3.5vw, 18px);
  }

  body.page-ecom #instrumente .bands__copy .lede,
body.page-mkt #instrumente .bands__copy .lede{
    max-width: min(100%, 36ch);
  }

  body.page-ecom #instrumente .bands__proof li:nth-child(n + 3),
body.page-mkt #instrumente .bands__proof li:nth-child(n + 3){
    display: none;
  }

  body.page-ecom #automatizare .roster,
body.page-mkt #automatizare .roster{
    overflow: visible;
    justify-items: stretch;
    width: 100%;
  }

  body.page-ecom #automatizare .roster > .roster__line,
body.page-mkt #automatizare .roster > .roster__line
  body.page-ecom #auto-title,
body.page-mkt #auto-title{
    max-width: none;
    width: 100%;
  }

  body.page-ecom #automatizare .roster > .lede,
body.page-mkt #automatizare .roster > .lede{
    max-width: none;
    width: 100%;
  }

  /* Let short second beats join the line so "cu DIMA." is not an orphan. */
  body.page-ecom .roster__text--break,
body.page-mkt .roster__text--break{
    display: inline;
  }

  body.page-ecom #why-title .roster__text--break,
body.page-mkt #why-title .roster__text--break
  body.page-ecom #verdict-title .roster__text--break,
body.page-mkt #verdict-title .roster__text--break
  body.page-ecom #signets-title .roster__text--break,
body.page-mkt #signets-title .roster__text--break
  body.page-ecom #tally-title .roster__text--break,
body.page-mkt #tally-title .roster__text--break
  body.page-ecom #auto-title .roster__text--break,
body.page-mkt #auto-title .roster__text--break
  body.page-ecom #output-title .roster__text--break,
body.page-mkt #output-title .roster__text--break
  body.page-ecom #outputs-title .roster__text--break,
body.page-mkt #outputs-title .roster__text--break
  body.page-ecom #texte .roster__text--break,
body.page-mkt #texte .roster__text--break
  body.page-ecom #adn .roster__text--break,
body.page-mkt #adn .roster__text--break
  body.page-ecom #ads .roster__text--break,
body.page-mkt #ads .roster__text--break
  body.page-ecom #agent-shop .roster__text--break,
body.page-mkt #agent-shop .roster__text--break
  body.page-ecom #trenduri .roster__text--break,
body.page-mkt #trenduri .roster__text--break
  body.page-ecom #operatiuni .roster__text--break,
body.page-mkt #operatiuni .roster__text--break{
    display: block;
  }

  body.page-ecom #inside .roster,
body.page-mkt #inside .roster{
    width: 100%;
    overflow: visible;
  }

  body.page-ecom #rezultate .roster > .roster__line#why-title,
body.page-mkt #rezultate .roster > .roster__line#why-title
  body.page-ecom #compara .roster > .roster__line#verdict-title,
body.page-mkt #compara .roster > .roster__line#verdict-title
  body.page-ecom #compara .roster > .roster__line#signets-title,
body.page-mkt #compara .roster > .roster__line#signets-title
  body.page-ecom #inside .roster > .roster__line#output-title,
body.page-mkt #inside .roster > .roster__line#output-title
  body.page-ecom #automatizare .roster > .roster__line#auto-title,
body.page-mkt #automatizare .roster > .roster__line#auto-title{
    font-size: clamp(2.4rem, 1.9vw, 1.95rem);
    line-height: 1.26;
  }

  body.page-ecom #compara .verdict__bar,
body.page-mkt #compara .verdict__bar{
    justify-content: center;
    text-align: center;
  }

  body.page-ecom #compara .verdict__bar p,
body.page-mkt #compara .verdict__bar p{
    text-align: center;
    max-width: none;
  }

  body.page-ecom #compara .verdict__bar .btn,
body.page-mkt #compara .verdict__bar .btn{
    display: none;
  }

  body.page-ecom #why-title,
body.page-mkt #why-title{
    text-wrap: wrap;
    width: 100%;
    max-width: none;
  }

  body.page-ecom #why-title > .roster__text:not(.roster__text--break),
body.page-mkt #why-title > .roster__text:not(.roster__text--break){
    display: block;
    white-space: normal;
    font-size: clamp(1.72rem, 5.8vw, 2.05rem);
  }

  body.page-ecom #why-title > .roster__text--break,
body.page-mkt #why-title > .roster__text--break{
    display: block;
  }

  body.page-ecom #rezultate .shards-head,
body.page-mkt #rezultate .shards-head{
    margin: -31px 0 clamp(20px, 2.8vw, 32px);
  }

  body.page-ecom #output-title,
body.page-mkt #output-title{
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  body.page-ecom #output-title .roster__text,
body.page-mkt #output-title .roster__text{
    display: block;
  }

  body.page-ecom #ce-face .roster,
body.page-mkt #ce-face .roster{
    overflow: visible;
  }

  body.page-ecom #ce-face .roster > .roster__line:has(.roster__chip),
body.page-mkt #ce-face .roster > .roster__line:has(.roster__chip)
  body.page-ecom #use-title,
body.page-mkt #use-title{
    justify-self: stretch;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: none;
    font-size: clamp(1.42rem, 5.8vw, 1.72rem);
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: -0.026em;
    text-wrap: wrap;
    text-align: center;
    row-gap: 0.1em;
    column-gap: 0;
  }

  body.page-ecom #use-title .roster__text--break,
body.page-mkt #use-title .roster__text--break{
    display: contents;
  }

  body.page-ecom #use-title .roster__end,
body.page-mkt #use-title .roster__end{
    flex: 1 0 100%;
    display: block;
    white-space: nowrap;
  }

  body.page-ecom .flank__copy .roster__line,
body.page-mkt .flank__copy .roster__line{
    font-size: clamp(2rem, 5.4vw, 2rem);
    line-height: 1.28;
    letter-spacing: -0.022em;
    max-width: none;
  }

  body.page-ecom .flank__copy .lede,
body.page-mkt .flank__copy .lede{
    font-size: clamp(1rem, 3.4vw, 1rem);
    line-height: 1.5;
  }

  body.page-ecom .flank__marks li,
body.page-mkt .flank__marks li{
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--ink-2);
  }

  body.page-ecom .jobs__lead .roster__line,
body.page-mkt .jobs__lead .roster__line{
    font-size: clamp(1.28rem, 5.2vw, 1.52rem);
    line-height: 1.28;
    letter-spacing: -0.022em;
    max-width: none;
  }

  body.page-ecom .jobs__ask,
body.page-mkt .jobs__ask{
    display: none;
  }

  body.page-ecom .tally > .bt--wide h3,
body.page-mkt .tally > .bt--wide h3{
    font-size: clamp(1.12rem, 4.4vw, 1.32rem);
    line-height: 1.22;
  }

  body.page-ecom .shards__item h3,
body.page-mkt .shards__item h3{
    font-size: clamp(1.02rem, 3.6vw, 1.16rem);
    line-height: 1.36;
    letter-spacing: -0.022em;
    text-wrap: pretty;
    white-space: normal;
  }

  body.page-ecom #automatizare .shards,
body.page-mkt #automatizare .shards{
    grid-template-columns: 1fr;
    gap: clamp(10px, 2.8vw, 14px);
  }

  body.page-ecom #automatizare .shards > .shards__item:nth-child(3):last-child,
body.page-mkt #automatizare .shards > .shards__item:nth-child(3):last-child{
    grid-column: auto;
  }

  body.page-ecom #automatizare .shards__item,
body.page-mkt #automatizare .shards__item{
    gap: 6px;
    padding: clamp(18px, 4.5vw, 24px) clamp(18px, 4vw, 22px);
  }

  body.page-ecom #automatizare .shards__item h3,
body.page-mkt #automatizare .shards__item h3{
    margin-bottom: 6px;
  }

  body.page-ecom .shards__item p,
body.page-mkt .shards__item p{
    font-size: clamp(0.82rem, 3vw, 0.9rem);
    line-height: 1.5;
  }

  body.page-ecom .signets__item h3,
body.page-mkt .signets__item h3{
    font-size: clamp(1.05rem, 3.8vw, 1.18rem);
    line-height: 1.25;
    letter-spacing: -0.024em;
  }

  body.page-ecom .signets__item p,
body.page-mkt .signets__item p{
    font-size: clamp(0.84rem, 3.2vw, 0.92rem);
    line-height: 1.48;
  }

  body.page-ecom #compara .signets--four,
body.page-mkt #compara .signets--four{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    width: 100%;
    gap: 20px 14px;
  }

  body.page-ecom .verdict__head h3,
body.page-mkt .verdict__head h3{
    font-size: clamp(1.18rem, 4.4vw, 1.38rem);
    line-height: 1.22;
    max-width: none;
  }

  body.page-ecom .vantage__note,
body.page-mkt .vantage__note{
    font-size: clamp(0.9rem, 3.4vw, 0.98rem);
    line-height: 1.5;
    max-width: 36ch;
  }

  body.page-ecom .vantage__cta,
body.page-mkt .vantage__cta{
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  body.page-ecom .vantage__cta .btn,
body.page-mkt .vantage__cta .btn{
    flex: 1 1 148px;
    justify-content: center;
    text-align: center;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  body.page-ecom .hero__cta-rail .btn,
body.page-mkt .hero__cta-rail .btn{
    font-size: 0.72rem;
    padding: 10px 8px;
  }

  body.page-ecom .vantage__cta,
body.page-mkt .vantage__cta{
    flex-direction: column;
    align-items: stretch;
  }

  body.page-ecom .vantage__cta .btn,
body.page-mkt .vantage__cta .btn{
    flex: none;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Aisle — marketplace directory
   Category rail (Jobs track + arrows) above search, then a three-column
   field of Job-family cards. Used on /marketplace and category pages.
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.aisle {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.aisle__rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.aisle__rail-label {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.aisle__track {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  width: 100%;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--band);
}

.aisle__nav {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--r-ctl);
  background: transparent;
  color: var(--ink-2);
}

.aisle__nav:hover {
  color: var(--ink);
}

.aisle__nav:active {
  background: var(--card);
  color: var(--ink);
}

.aisle__nav:disabled {
  opacity: 0.32;
  pointer-events: none;
}

.aisle__nav[hidden] {
  display: none;
}

.aisle__cats {
  display: flex;
  flex: 1 1 0;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.aisle__cats::-webkit-scrollbar {
  display: none;
}

.aisle__cat {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--r-ctl);
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  white-space: nowrap;
  background: transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.aisle__cat span {
  font-size: 0.74rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.aisle__cat:hover {
  color: var(--ink);
}

.aisle__cat.is-active {
  background: var(--card);
  border-color: var(--line-2);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.aisle__cat.is-active span {
  color: var(--ink-2);
}

.aisle__toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.aisle__search {
  flex: 1 1 auto;
  min-width: 0;
}

.aisle__count {
  margin: 0;
  flex: 0 0 auto;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.aisle__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 16px);
}

.aisle__grid--related {
  margin-top: 0;
}

[aria-labelledby="try-title"] .sec-head {
  padding-bottom: 12px;
}

[aria-labelledby="try-title"] {
  padding-bottom: clamp(36px, 4.4vw, 56px);
}

.aisle__item {
  --fold-size: clamp(180px, 22vw, 260px) auto;
  --fold-pos: 110% 120%;
  --fold-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='200' viewBox='0 0 320 200'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1.25'%3E%3Cpath d='M-40 190 L160 20 L360 190'/%3E%3Cpath d='M-40 216 L160 46 L360 216'/%3E%3Cpath d='M-40 242 L160 72 L360 242'/%3E%3Cpath d='M-40 268 L160 98 L360 268'/%3E%3Cpath d='M-40 164 L160 -6 L360 164'/%3E%3Cpath d='M-40 138 L160 -32 L360 138'/%3E%3C/g%3E%3C/svg%3E");
  --fold-fade: linear-gradient(190deg, #000 10%, transparent 85%);
  --aisle-art: clamp(92px, 26%, 112px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: var(--aisle-art) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 4px clamp(14px, 1.6vw, 18px);
  min-height: clamp(148px, 18vw, 168px);
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.aisle__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='200' viewBox='0 0 320 200'%3E%3Cg fill='none' stroke='%23111111' stroke-width='1.25' opacity='0.10'%3E%3Cpath d='M-40 190 L160 20 L360 190'/%3E%3Cpath d='M-40 216 L160 46 L360 216'/%3E%3Cpath d='M-40 242 L160 72 L360 242'/%3E%3Cpath d='M-40 268 L160 98 L360 268'/%3E%3Cpath d='M-40 164 L160 -6 L360 164'/%3E%3C/g%3E%3C/svg%3E");
  background-size: var(--fold-size);
  background-position: var(--fold-pos);
  opacity: 0.42;
}

.aisle__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.aisle__item > * {
  position: relative;
  z-index: 1;
}

.aisle__item:hover,
.aisle__item:focus-visible {
  border-color: transparent;
  background: linear-gradient(150deg, var(--accent-bright) 0%, var(--accent) 100%);
  box-shadow: none;
  color: #fff;
  outline: none;
}

.aisle__item:hover::before,
.aisle__item:focus-visible::before {
  opacity: 1;
  background-image: none;
  background-color: color-mix(in srgb, #ffffff 22%, transparent);
  -webkit-mask-image: var(--fold-chevron), var(--fold-fade);
  -webkit-mask-size: var(--fold-size), 100% 100%;
  -webkit-mask-position: var(--fold-pos), 0 0;
  -webkit-mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in;
  mask-image: var(--fold-chevron), var(--fold-fade);
  mask-size: var(--fold-size), 100% 100%;
  mask-position: var(--fold-pos), 0 0;
  mask-repeat: repeat, no-repeat;
  mask-composite: intersect;
}

.aisle__item:hover::after,
.aisle__item:focus-visible::after {
  opacity: 0.55;
  mix-blend-mode: soft-light;
}

.aisle__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
}

.aisle__item > .aisle__mark {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  margin: 0;
  z-index: 1;
}

.aisle__mark {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--accent-wash);
  overflow: hidden;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 600;
  color: var(--accent);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.aisle__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s var(--ease);
}

.aisle__body {
  display: contents;
}

.aisle__kicker {
  display: none;
}

.aisle__item h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin: 0;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.25;
  transition: color 0.3s var(--ease);
}

.aisle__head h3 {
  grid-column: auto;
  grid-row: auto;
}

.aisle__item p {
  grid-column: 2;
  grid-row: 2;
  margin: 6px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s var(--ease);
}

.aisle__foot {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}

.aisle__call,
.aisle__price {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.aisle__open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 7px 12px;
  border-radius: var(--r-ctl);
  background-color: #fff;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.aisle__open svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.8;
  transition: transform 0.3s var(--ease);
}

.aisle__item:hover h3,
.aisle__item:focus-visible h3,
.aisle__item:hover .aisle__call,
.aisle__item:focus-visible .aisle__call,
.aisle__item:hover .aisle__price,
.aisle__item:focus-visible .aisle__price {
  color: #fff;
}

.aisle__item:hover p,
.aisle__item:focus-visible p {
  color: rgba(255, 255, 255, 0.82);
}

.aisle__item:hover .aisle__mark,
.aisle__item:focus-visible .aisle__mark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.aisle__item:hover .aisle__mark img,
.aisle__item:focus-visible .aisle__mark img {
  transform: scale(1.03);
}

.aisle__item:hover .aisle__foot,
.aisle__item:focus-visible .aisle__foot {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.aisle__item:hover .aisle__open svg,
.aisle__item:focus-visible .aisle__open svg {
  transform: translateX(3px);
}

.aisle__empty {
  margin: 28px 0 0;
  color: var(--muted);
}

.aisle__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--band);
}

.aisle__pages[hidden] {
  display: none;
}

.aisle__pages .aisle__nav {
  display: inline-flex;
  text-decoration: none;
}

.aisle__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--r-ctl);
  background: transparent;
  font-family: "Outfit", sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}

.aisle__page:hover {
  color: var(--ink);
}

.aisle__page.is-active {
  background: var(--card);
  border-color: var(--line-2);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.aisle__item.is-hidden,
.aisle__empty[hidden] {
  display: none !important;
}

.aisle__back-row {
  margin: 0 0 10px;
}

.aisle__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--on-ink-2);
}

.aisle__back::before {
  content: "←";
  font-size: 0.9em;
}

.aisle__back:hover {
  color: var(--on-ink);
}

.aisle__back--plain {
  margin-top: 14px;
  color: var(--muted);
}

.aisle__back--plain:hover {
  color: var(--ink);
}

.aisle-hero h1 {
  max-width: 18ch;
}

.phero .aisle-hero .sec-label {
  color: var(--on-ink-3);
}

.aisle-dossier {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.phero--agent + #about.sec--tight {
  padding-top: clamp(32px, 4vw, 48px);
}

.aisle-dossier__copy .sec-label {
  margin: 0;
}

.aisle-dossier__copy .h-md {
  margin-top: 8px;
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
}

.aisle-dossier__mark {
  display: none;
}

.aisle-dossier__prose {
  margin-top: 18px;
  max-width: 54ch;
}

.aisle-dossier__prose p,
.aisle-dossier__prose li {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-2, var(--ink));
}

.aisle-dossier__prose p + p {
  margin-top: 14px;
}

.aisle-dossier__prose h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.aisle-dossier__summon {
  margin-top: 20px;
  font-size: 0.98rem;
  color: var(--muted);
}

.aisle-dossier__summon code {
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92em;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--mist);
  color: var(--ink);
}

.aisle-dossier__side {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.aisle-facts {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 0 0 16px;
}

.aisle-facts div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 15px 18px;
  background: var(--card);
}

.aisle-facts dt {
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}

.aisle-facts dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.aisle-facts__free {
  color: #3F6A4E;
}

.aisle-ask {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.aisle-ask li {
  flex: 0 0 auto;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: color-mix(in srgb, var(--ink) 4%, var(--card));
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--ink-2, var(--ink));
  white-space: nowrap;
}

@media (max-width: 980px) {
  .aisle__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .aisle-dossier {
    grid-template-columns: 1fr;
  }

  .aisle__toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .aisle__grid {
    grid-template-columns: 1fr;
  }

  .aisle__item {
    --aisle-art: clamp(80px, 24vw, 96px);
  }

  .aisle__cat span {
    display: none;
  }
}

/* ==========================================================================
   Journal (blog listing) and Entry (blog post)
   Opener is Page hero with the latest post in the grid. Cards are a
   three-column paper field: 16:10 shot, chips on the image, ruled foot.
   ========================================================================== */

.phero--journal {
  padding-top: calc(var(--nav-offset) + clamp(28px, 4vw, 48px));
  padding-bottom: clamp(32px, 4.5vw, 56px);
}

.phero--journal .phero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.phero--journal .sec-label {
  color: var(--accent-glow);
  margin-bottom: 12px;
}

.phero--journal h1 {
  max-width: 18ch;
  font-size: clamp(1.85rem, 4vw, 3.05rem);
}

.phero--journal .phero__lede {
  max-width: 44ch;
}

.phero--journal .phero__grid:not(:has(.phero__shot)) {
  grid-template-columns: minmax(0, 1fr);
}

.phero--journal .phero__shot {
  margin: 0;
  display: block;
  aspect-ratio: 16 / 10;
  color: inherit;
  text-decoration: none;
}

.phero--journal .phero__shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phero--journal .journal__hero-shot .fold,
.phero--journal .journal__hero-shot .grain {
  z-index: 1;
  opacity: 0.42;
}

.journal__hero-by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 22px 0 0;
  color: var(--on-ink-2);
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
}

.journal__hero-by img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-ink);
}

.phero.phero--journal + .sec,
.phero.phero--journal:has(.phero__shot) + .sec {
  padding-top: clamp(28px, 4vw, 48px);
}

.journal {
  display: grid;
  gap: clamp(22px, 2.6vw, 32px);
}

.journal__status {
  margin: 0;
  padding: clamp(48px, 8vw, 96px) 0;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
}

.journal__status a {
  color: var(--ink);
  font-weight: 600;
}

.journal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
}

.journal__grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journal__card {
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.journal__card:hover,
.journal__card:focus-visible {
  border-color: var(--line-2);
  box-shadow: var(--shadow-lift);
}

.journal__body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  padding: 16px 16px 14px;
  min-width: 0;
}

.journal__card h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.journal__card:hover h3,
.journal__card:focus-visible h3 {
  color: var(--ink);
}

.journal__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.journal__shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--band);
}

.journal__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal__chip,
.journal__mins {
  position: absolute;
  bottom: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: var(--r-ctl);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
}

.journal__chip {
  left: 10px;
}

.journal__mins {
  right: 10px;
  color: var(--muted);
  font-weight: 500;
}

.journal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.journal__who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.journal__who img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.journal__go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.journal__card:hover .journal__go,
.journal__card:focus-visible .journal__go {
  color: var(--accent);
}

.journal .aisle__search .field__input,
.journal form.aisle__search .field__input {
  width: 100%;
  background: var(--card);
}

.entry__progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.entry__progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

/* Head band — ink plane, kicker, title, standfirst, byline, overlapping shot */
.entry__head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-offset));
  padding-top: calc(var(--nav-offset) + clamp(26px, 3.6vw, 48px));
  padding-bottom: clamp(40px, 5vw, 64px);
  background: #08080A;
  color: var(--on-ink);
}

.entry__head-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.entry__head-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(ellipse 62% 58% at 82% 8%,
      color-mix(in srgb, var(--accent-bright) 46%, transparent) 0%,
      color-mix(in srgb, var(--accent) 26%, transparent) 44%,
      transparent 74%);
  pointer-events: none;
}

.entry__head-photo {
  position: absolute;
  inset: -18%;
  z-index: 0;
  width: 136%;
  height: 136%;
  object-fit: cover;
  filter: blur(72px) saturate(1.35) brightness(0.58);
  transform: scale(1.12);
  opacity: 0.78;
  pointer-events: none;
}

.entry__head-glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(8, 8, 10, 0.22) 0%,
      rgba(8, 8, 10, 0.48) 48%,
      rgba(8, 8, 10, 0.78) 100%);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  pointer-events: none;
}

.entry__head-bg .fold {
  z-index: 2;
  opacity: 0.28;
  background-position: 74% 30%;
  -webkit-mask-image: radial-gradient(ellipse 82% 76% at 76% 24%, #000 8%, transparent 70%);
  mask-image: radial-gradient(ellipse 82% 76% at 76% 24%, #000 8%, transparent 70%);
}

.entry__head-bg .grain {
  z-index: 3;
  opacity: 0.34;
  mix-blend-mode: soft-light;
}

.entry__head > .entry__layout {
  position: relative;
  z-index: 1;
}

.entry__crumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--on-ink-3);
}

.entry__crumbs a:hover {
  color: var(--on-ink);
}

.entry__crumbs span[aria-current] {
  min-width: 0;
  color: var(--on-ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(16px, 1.8vw, 22px);
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--on-ink-3);
}

.entry__kicker > * + *::before {
  content: "·";
  margin-right: 10px;
  color: var(--on-ink-3);
}

.entry__cat {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--accent-glow) 34%, transparent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent-glow);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.entry__cat:hover {
  border-color: color-mix(in srgb, var(--accent-glow) 60%, transparent);
  color: #fff;
}

.entry__title {
  margin: 0;
  max-width: none;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.95rem, 3.6vw, 2.95rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.04;
  color: #F5F5F4;
  text-wrap: balance;
}

.entry__standfirst {
  margin: clamp(16px, 1.8vw, 22px) 0 0;
  max-width: none;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.58;
  color: var(--on-ink-2);
}

.entry__by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: clamp(22px, 2.6vw, 30px);
  font-family: "Outfit", sans-serif;
  font-size: 0.86rem;
}

.entry__by img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-ink-2);
  background: #0a0a0c;
}

.entry__by-mark {
  object-fit: contain;
  padding: 5px;
}

.entry__by-name {
  font-weight: 600;
  color: var(--on-ink);
}

.entry__by-role {
  color: var(--on-ink-3);
}

.entry__by-role::before {
  content: "·";
  margin-right: 8px;
}

.entry__shot {
  overflow: hidden;
  margin: 0 0 clamp(28px, 3.2vw, 40px);
  max-height: 388px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--band);
}

.entry__shot img {
  width: 100%;
  height: 388px;
  object-fit: cover;
  object-position: center;
}

.entry__head + .sec,
.entry__head + .entry__body {
  padding-top: clamp(28px, 3.6vw, 44px);
}

/* Body — article + rail share one centered layout */
.entry {
  display: grid;
  gap: 0;
}

.entry__layout {
  width: 100%;
  max-width: var(--entry-layout);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.entry__main {
  min-width: 0;
}

.entry__rail {
  display: none;
}

@media (min-width: 1120px) {
  .entry__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--entry-rail);
    column-gap: var(--entry-rail-gap);
    align-items: start;
  }

  .entry__rail {
    display: grid;
    gap: 18px;
    width: var(--entry-rail);
    max-width: 100%;
    min-width: 0;
    position: sticky;
    top: calc(var(--nav-offset) + 16px);
  }

  .entry__related {
    display: none;
  }

  body:has([data-entry]) .nav > .shell {
    max-width: var(--entry-layout);
  }
}

.entry__offer,
.entry__alike {
  overflow: hidden;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.entry__offer {
  display: grid;
  gap: 12px;
}

.entry__offer .sec-label,
.entry__alike .sec-label {
  margin: 0;
}

.entry__offer-claim {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.14;
  color: var(--ink);
}

.entry__offer-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.entry__offer-cta {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.entry__alike {
  padding-bottom: 10px;
}

.entry__alike .sec-label {
  margin-bottom: 6px;
}

.entry__alike-row {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.entry__alike-row:first-of-type {
  border-top: 0;
  padding-top: 8px;
}

.entry__alike-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.026em;
  line-height: 1.32;
  color: var(--ink);
}

.entry__alike-meta {
  font-family: "Outfit", sans-serif;
  font-size: 0.76rem;
  color: var(--muted);
}

.entry__alike-row:hover .entry__alike-title {
  color: var(--accent);
}

.entry__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  margin: 0 0 clamp(20px, 2.4vw, 28px);
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.entry__bar p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.entry__bar .sec-label {
  display: inline;
  margin: 0;
}

.entry__bar a {
  color: var(--ink);
}

.entry__bar a:hover {
  color: var(--accent);
}

.entry__share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.entry__share a,
.entry__share button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-family: "Outfit", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}

.entry__share a:hover,
.entry__share button:hover {
  color: var(--ink);
}

.entry--policy {
  max-width: min(56rem, 100%);
  margin-inline: auto;
}

.entry--policy .entry__prose blockquote {
  margin: 1.4em 0 0;
  padding: clamp(16px, 2vw, 20px) clamp(18px, 2.2vw, 24px);
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent-wash) 42%, var(--card));
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.entry--policy .entry__prose blockquote p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

.entry__prose {
  min-width: 0;
  max-width: none;
}

.entry__prose > :first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.entry__prose h1,
.entry__prose h2,
.entry__prose h3,
.entry__prose h4 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

/* Bodies that repeat the title as an h1 must not outshout the head band */
.entry__prose h1,
.entry__prose h2 {
  margin: 2.6rem 0 0.85rem;
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  letter-spacing: -0.032em;
  line-height: 1.2;
}

.entry__prose h3 {
  margin: 2rem 0 0.6rem;
  font-size: clamp(1.18rem, 1.4vw, 1.3rem);
  letter-spacing: -0.024em;
  line-height: 1.26;
}

.entry__prose h4 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1.06rem;
  letter-spacing: -0.014em;
  line-height: 1.35;
}

.entry__prose h2 + h3,
.entry__prose h3 + h4 {
  margin-top: 1.1rem;
}

.entry__prose h2 strong,
.entry__prose h3 strong,
.entry__prose h4 strong {
  font-weight: inherit;
}

.entry__prose p,
.entry__prose li {
  color: var(--ink-2);
  font-size: 1.075rem;
  line-height: 1.78;
  letter-spacing: -0.004em;
}

.entry__prose p {
  margin: 0;
}

.entry__prose p + p {
  margin-top: 1.15rem;
}

.entry__prose > p:first-of-type {
  font-size: 1.18rem;
  line-height: 1.66;
  color: var(--ink);
}

.entry__prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* CMS bodies arrive with empty paragraphs and stray breaks — never render gaps */
.entry__prose p:empty,
.entry__prose p:has(> br:only-child),
.entry__prose > br {
  display: none;
}

.entry__prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, var(--line-2));
  text-underline-offset: 3px;
}

.entry__prose a:hover {
  color: var(--accent);
}

.entry__prose img,
.entry__prose figure {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: var(--r-md);
}

.entry__prose figure {
  width: 100%;
}

.entry__prose img:not([width]):not([style*="width"]) {
  width: 100%;
}

.entry__prose figure img {
  margin: 0;
}

.entry__prose figcaption {
  margin-top: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.entry__prose ul,
.entry__prose ol {
  margin: 1.15rem 0;
  padding-left: 0;
}

.entry__prose ul {
  list-style: none;
}

.entry__prose li {
  position: relative;
  margin: 0.4rem 0;
  padding-left: 1.2em;
}

.entry__prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
}

.entry__prose ol {
  list-style: none;
  counter-reset: entry;
}

.entry__prose ol > li {
  counter-increment: entry;
  padding-left: 1.55em;
}

.entry__prose ol > li::before {
  content: counter(entry) ".";
  position: absolute;
  left: 0;
  top: 0.02em;
  font-family: "Outfit", sans-serif;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--accent);
}

.entry__prose blockquote {
  margin: 2rem 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent);
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.4;
  color: var(--ink);
}

.entry__prose blockquote p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.entry__prose hr {
  border: 0;
  height: 1px;
  margin: 2.6rem 0;
  background: var(--line);
}

.entry__prose table {
  width: 100%;
  margin: 1.8rem 0;
  border-collapse: collapse;
  font-size: 0.95em;
}

.entry__prose th,
.entry__prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.entry__prose th {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.entry__prose iframe,
.entry__prose video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 2rem 0;
  border: 0;
  border-radius: var(--r-md);
  background: var(--ink-deep);
}

.entry__prose pre,
.entry__prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.entry__prose pre {
  overflow: auto;
  margin: 1.4em 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
}

.entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: clamp(30px, 3.4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.entry__tags .sec-label {
  margin: 0 6px 0 0;
}

.entry__tag {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}

.entry__tag:hover {
  border-color: var(--line-2);
  color: var(--ink);
}

.entry__bio {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  margin-top: clamp(26px, 3vw, 36px);
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}

.entry__bio img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #0a0a0c;
}

.entry__bio .entry__by-mark {
  object-fit: contain;
  padding: 7px;
}

.entry__bio p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--muted);
}

.entry__bio .sec-label {
  margin-bottom: 8px;
}

.entry__bio-name {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.entry__bio-role {
  margin: 2px 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .phero--journal .phero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .journal__grid,
  .journal__grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .journal__grid,
  .journal__grid--related {
    grid-template-columns: 1fr;
  }

  .entry__shot,
  .entry__shot img {
    max-height: 240px;
    height: 240px;
  }

  .entry__bar {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding-bottom: 12px;
    margin-bottom: 16px;
  }

  /* Date and category already appear in .entry__kicker — keep the bar to share */
  .entry__bar > p {
    display: none;
  }

  .entry__share {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14px;
    width: 100%;
    font-size: 0.82rem;
  }

  .entry__share::before {
    content: "Share";
    flex: 0 0 auto;
    font-family: "Outfit", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 2px;
  }

  .entry__prose > p:first-of-type {
    font-size: 1.1rem;
  }

  .entry__bio {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Cookie consent — full-bleed paper bar + settings sheet
   -------------------------------------------------------------------------- */

.consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 80;
  pointer-events: none;
}

.consent[data-on="true"],
.consent[data-sheet="true"] {
  pointer-events: auto;
}

.consent__bar {
  position: relative;
  z-index: 1;
  isolation: isolate;
  transform: translate3d(0, 110%, 0);
  border-top: 1px solid rgba(11, 18, 32, 0.1);
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66), 0 -8px 28px rgba(var(--shadow-tint), 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  padding-bottom: env(safe-area-inset-bottom);
  transition: transform 0.55s var(--ease);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .consent__bar {
    background-color: rgba(255, 255, 255, 0.94);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .consent__bar {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.consent[data-on="true"] .consent__bar {
  transform: translate3d(0, 0, 0);
}

.consent__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.4vw, 32px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 10px var(--gutter) 10px;
}

.consent__copy {
  min-width: 0;
  max-width: 52rem;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

.consent__line--short,
.consent__act-short {
  display: none;
}

.consent__kicker {
  display: inline;
  margin-right: 0.55em;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.consent__privacy {
  margin-left: 0.35em;
  font-family: "Outfit", sans-serif;
  font-size: inherit;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent__privacy:hover {
  color: var(--accent);
}

.consent__acts {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

.consent__acts .btn {
  padding: 6px 12px;
  font-size: 0.78rem;
  line-height: 1.2;
}

.consent__text {
  padding: 2px 0;
  border: 0;
  background: none;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  cursor: pointer;
}

.consent__text:hover {
  color: var(--ink);
}

.consent__layer {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px var(--gutter);
}

.consent__layer[hidden] {
  display: none;
}

.consent__scrim {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 16, 0.28);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.consent[data-sheet="true"] .consent__scrim {
  opacity: 1;
}

.consent__sheet {
  position: relative;
  width: min(34rem, 100%);
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.14);
  transform: translate3d(0, 16px, 0);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s var(--ease);
}

.consent[data-sheet="true"] .consent__sheet {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.consent__sheet-head {
  margin-bottom: 6px;
}

.consent__sheet-head .sec-label {
  margin: 0 0 8px;
}

.consent__sheet-title {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.consent__sheet-lede {
  margin: 8px 0 0;
  max-width: 38ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.consent__rows {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.consent__row {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.consent__row-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.consent__more {
  min-width: 0;
}

.consent__more summary {
  width: fit-content;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.consent__more summary::-webkit-details-marker {
  display: none;
}

.consent__more summary::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  margin-bottom: 1px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  vertical-align: middle;
}

.consent__more[open] summary::after {
  transform: rotate(-135deg);
  margin-bottom: -1px;
}

.consent__more ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.consent__more li {
  position: relative;
  padding: 3px 0 3px 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-2);
}

.consent__more li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 1px;
  background: var(--line-2);
}

.consent__row-name {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.consent__row-note {
  margin: 4px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.consent__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

.consent__toggle.is-locked {
  cursor: default;
}

.consent__toggle-track {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 10px;
  background: var(--band);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.consent__toggle-track i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.16);
  transition: transform 0.25s var(--ease);
}

.consent__toggle.is-on {
  color: var(--ink);
}

.consent__toggle.is-on .consent__toggle-track {
  background: var(--accent);
  box-shadow: none;
}

.consent__toggle.is-on .consent__toggle-track i {
  transform: translateX(18px);
}

.consent__sheet-acts {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 720px) {
  .consent__bar-inner {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
  }

  .consent__copy {
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .consent__kicker,
  .consent__privacy,
  .consent__line--full,
  .consent__act-full {
    display: none;
  }

  .consent__line--short,
  .consent__act-short {
    display: inline;
  }

  .consent__acts {
    gap: 8px;
  }

  .consent__acts .btn {
    flex: 0 0 auto;
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  .consent__text {
    font-size: 0.72rem;
  }

  .consent__sheet {
    padding: 22px 18px 18px;
  }

  .consent__row {
    align-items: start;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent__bar,
  .consent__sheet,
  .consent__scrim,
  .consent__toggle-track,
  .consent__toggle-track i {
    transition-duration: 0.01s;
  }
}

/* --------------------------------------------------------------------------
   Spend — live seat vs company bill (paper pad ↔ ink board)
   -------------------------------------------------------------------------- */

.spend {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(8px, 0.9vw, 12px);
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(8px, 0.9vw, 12px);
  border: 1px solid var(--line-ink);
  border-radius: 22px;
  background: var(--ink-deep);
}

.spend__pad {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 16px;
  background: var(--card);
}

.spend__field {
  display: grid;
  gap: 10px;
}

.spend__field label {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.spend__n {
  display: grid;
  gap: 10px;
}

.spend__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spend__sizes button {
  min-width: 44px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  background: transparent;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.spend__sizes button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}

.spend__n input[type="number"] {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.05rem;
}

.spend__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-2);
  cursor: pointer;
}

.spend__check input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.spend__note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}

.spend__mail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spend__mail input {
  flex: 1 1 180px;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  background: var(--paper);
}

.spend__board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: 16px;
  background: var(--ink-panel);
  color: var(--on-ink);
}

.spend__board > * {
  position: relative;
  z-index: 1;
}

.spend__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--on-ink) 12%, transparent);
}

.spend__row span {
  font-size: 0.9rem;
  color: var(--on-ink-2);
}

.spend__row strong {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.spend__win strong {
  color: var(--accent-glow);
}

.spend__row.is-muted {
  opacity: 0.42;
}

.spend__save {
  margin: 8px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.spend__explain {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--on-ink-2);
}

@media (max-width: 860px) {
  .spend {
    grid-template-columns: 1fr;
  }
}

/* Spend · Compare — calculator on compare landing pages */
.spend--compare {
  gap: clamp(14px, 1.6vw, 20px);
  padding: clamp(10px, 1.1vw, 14px);
  border-color: var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-lift);
}

.spend--compare .spend__pad {
  gap: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.spend__head {
  display: grid;
  gap: 4px;
}

.spend__head--ink .spend__kicker {
  color: var(--on-ink-2);
}

.spend__kicker {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.spend__extras {
  display: grid;
  gap: 10px;
}

.spend__toggle {
  cursor: pointer;
}

.spend__toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.spend__toggle-ui {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.35;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.spend__toggle-box {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 5px;
  background: var(--card);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.spend__toggle-box::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--on-ink);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.15s ease, transform 0.15s ease;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.spend__toggle input:checked + .spend__toggle-ui {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--line));
  background: color-mix(in srgb, var(--accent) 7%, var(--card));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
}

.spend__toggle input:checked + .spend__toggle-ui .spend__toggle-box {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.spend__toggle input:checked + .spend__toggle-ui .spend__toggle-box::after {
  opacity: 1;
  transform: scale(1);
  background: #fff;
}

.spend__toggle input:focus-visible + .spend__toggle-ui {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.spend--compare .spend__sizes button {
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  font-size: 1rem;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.spend--compare .spend__sizes button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 28%, transparent);
}

.spend--compare .spend__n input[type="number"] {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
}

.spend--compare .spend__board {
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--on-ink) 14%, transparent);
}

.spend__meter {
  display: grid;
  gap: 10px;
  margin-bottom: 6px;
}

.spend__meter-row {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.spend__meter-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-ink-2);
}

.spend__meter-track {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--on-ink) 10%, transparent);
  overflow: hidden;
}

.spend__meter-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.spend__meter-fill--cold {
  background: color-mix(in srgb, var(--on-ink) 42%, transparent);
}

.spend__meter-fill--win {
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
}

.spend__row--cold strong {
  color: var(--on-ink);
}

.spend__save {
  padding: 12px 14px;
  border-radius: var(--r-ctl);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-glow);
}

.spend__save:empty {
  display: none;
}

.spend.is-saving .spend__save {
  animation: spend-pulse 0.55s ease;
}

.spend__cta {
  justify-self: start;
  margin-top: 4px;
}

.spend.is-live .spend__win strong {
  transition: color 0.25s ease, text-shadow 0.25s ease;
  text-shadow: 0 0 24px color-mix(in srgb, var(--accent-glow) 45%, transparent);
}

@keyframes spend-pulse {
  0% { transform: scale(0.985); opacity: 0.72; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 860px) {
  .spend--compare .spend__sizes button {
    flex: 1 1 calc(25% - 8px);
  }
}

/* --------------------------------------------------------------------------
   About — full shell width, left-aligned body (centered hero only)
   -------------------------------------------------------------------------- */

body.page-about .phero--center h1 {
  max-width: 28ch;
}

body.page-about .phero--center .phero__lede {
  max-width: 62ch;
}

body.page-about .roster {
  justify-items: start;
  text-align: left;
}

body.page-about .roster__line {
  max-width: none;
  text-align: left;
}

body.page-about .roster > .lede {
  text-align: left;
  max-width: 72ch;
}

body.page-about .roster > .lede.lede--wide {
  max-width: 78ch;
}

body.page-about .flank__copy .roster__line {
  max-width: none;
  text-align: left;
}

body.page-about .flank__copy .lede {
  max-width: 52ch;
}

body.page-about .faq__item p {
  max-width: none;
}

body.page-about .span__title {
  max-width: 22ch;
}

body.page-about .span__lede {
  max-width: 52ch;
}

body.page-about .cells .cell p {
  max-width: none;
}

body.page-about .sec {
  padding-block: clamp(56px, 6vw, 80px);
  border-top: 0;
  border-bottom: 0;
}

body.page-about .sec--soft,
body.page-about .sec--tight {
  padding-block: clamp(56px, 6vw, 80px);
  border-block: 0;
  background: transparent;
}

body.page-about .sec--soft + .sec--soft {
  padding-top: clamp(56px, 6vw, 80px);
}

body.page-about .span::before {
  display: none;
}

@media (max-width: 900px) {
  body.page-about .roster__line {
    text-align: center;
  }

  body.page-about .roster {
    justify-items: center;
    text-align: center;
  }

  body.page-about .roster > .lede {
    text-align: left;
  }

  body.page-about .flank__copy .roster__line {
    text-align: center;
  }
}