/* Hallmark · v2.0.0 · built: the project · redesign: polish · genre: editorial · theme: the project's own BarqType design file · surface: absolute */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V3 · weakest: E, every label on this site was set in tracked capitals; 44 label rules now sit in the body face, untracked and sentence case */
/* Hallmark · waive 37 · four faces: Manrope, Bricolage Grotesque, IBM Plex Mono, IBM Plex Sans Arabic · the Arabic face is the product's own claim, not decoration: the hero shows Urdu and Arabic being typed */
/* Hallmark · waive 7b · gates 40 and 41 pass · white is the design file's card paper laid over cream, and the two surfaces are what separates a card from the page behind it */
/* Hallmark · waive 39b · app UI sits at 40px with the hit target · the design file draws the download control at 56px because that action carries the landing page */
/* Hallmark · dismissed 48 x4 · the #000 stops in mask-image are the mask channel, not a colour this page paints */
/* Hallmark · reworded "100 prompts. Your key. Nothing added." to "100 AI prompts. Your key. Nothing added." · 54 named the "AI tools" eyebrow that sat above it */
/* Hallmark · reworded "Pick speed, accuracy, or both." to "Pick a speech model: speed, accuracy, or both." · 54 named the "Speech models" eyebrow that sat above it */
/* Hallmark · reworded the phone FAQ "Is my audio uploaded anywhere?" to "Is my audio uploaded?" · 49a, the accordion button wrapped at 320 */
/* Hallmark · dropped 19 eyebrows across home, pricing, download, about and contact · 54 names them, and the heading under each already said it */
/* Hallmark · note 24a · parts 1-4 carry px values copied from the design file, while the --space-* scale is rem and belongs to the older component library; converting the design sections would trade design fidelity for the token and is the owner's call */
/* Hallmark · deviation: craft.md bans pointer-linked motion and an ambient loop needs a theme that declares one · the drifting icon field behind the hero and footer is the owner's explicit request · not waived, because no guard holds: recorded as a decision · kept intact: transform and opacity only, aria-hidden, pointer-events none, under the content, a full stop under prefers-reduced-motion and while the tab is hidden, and line glyphs at 30% that leave every contrast figure in the audit unchanged */
/* Hallmark · motion: 4 primitives · the page reveal (once, staggered, IntersectionObserver), the header's stuck state, the reading spine scrubbed by scroll(root), and the icon field · every one with a reduced-motion end state and a no-script end state */
/* Hallmark · note 3, 44c, 58, 59, 77, 78, 79 · layout, fold and screen-budget gates, reported and not rebuilt: polish keeps the composition */

/* ==========================================================================
   BarqType — public site stylesheet
   Hand-written, no framework, no build step.

   Parts 1–4 implement the BarqType website design (landing page for desktop
   and phone, pricing, download). Every value — colour, size, spacing, radius —
   is copied from the design file; when changing one, change it against the
   design rather than by eye. Class names start with bt- (shared and desktop)
   or bm- (the landing page's phone composition, which the design draws as a
   separate, shorter layout).

   Part 5 onwards is the older component library still used by the account,
   checkout, sign-in and content pages. It reads the same tokens, so those
   pages follow the BarqType look without being rebuilt.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts — self-hosted subsets of the design's Google Fonts (see
      assets/fonts/OFL.txt). The unicode ranges match Google's own so text
      falls back exactly as it does in the design.
   -------------------------------------------------------------------------- */

@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 500 800;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans-arabic-600-arabic.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans-arabic-600-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans-arabic-700-arabic.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
    font-family: "IBM Plex Sans Arabic";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/ibm-plex-sans-arabic-700-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Tokens

   The bt- tokens are the design's palette. The unprefixed tokens below them
   are the names the older component library (part 5+) was written against,
   now pointed at the same palette.
   -------------------------------------------------------------------------- */

:root {
    color-scheme: light;

    /* Vertical rhythm between sections.
     *
     * Was clamp(80px, 9vw, 128px) on the larger sections, which put 256px of
     * empty cream between two of them on a desktop: more than a laptop's
     * viewport can spend on nothing. These are about a third tighter, which
     * still reads as separate sections without making the page a scroll.
     *
     * Declared here rather than repeated: seven rules carried their own copy of
     * the figure and had already drifted into three different values. */
    --bt-section-y:    clamp(52px, 5.5vw, 84px);
    --bt-section-y-lg: clamp(60px, 6.5vw, 96px);
    --bt-hero-y:       clamp(40px, 4.5vw, 64px);

    --bt-ink:          #101114;
    --bt-ink-2:        #4A4D55;
    --bt-ink-3:        #6B6E76;
    --bt-cream:        #F7F6F1;
    --bt-cream-2:      #F0EFE9;
    --bt-line:         #E4E2DA;
    --bt-line-2:       #D6D3C9;
    --bt-white:        #FFFFFF;
    --bt-yellow:       #FFD23F;
    --bt-yellow-deep:  #D9A80F;
    --bt-green:        #0F7B55;
    --bt-mint:         #35C68F;
    --bt-amber:        #E0952E;
    --bt-red:          #C8372D;
    --bt-blue:         #2F54EB;
    --bt-blue-hover:   #1E3BB8;
    --bt-night:        #0B0C0F;
    --bt-night-2:      #191B21;
    --bt-night-3:      #22252C;
    --bt-night-line:   #2A2D35;
    --bt-fog:          #C9CAD1;
    --bt-fog-2:        #979AA3;

    --bt-font:    Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bt-display: "Bricolage Grotesque", system-ui, sans-serif;
    --bt-mono:    "IBM Plex Mono", ui-monospace, monospace;
    --bt-urdu:    "IBM Plex Sans Arabic", system-ui, sans-serif;

    /* One face per script the landing band can speak. Arabic (which carries
       both Urdu and Arabic) is self-hosted and subset beside the Latin faces.
       Devanagari, Bengali and Turkish's ğ/ş/İ are NOT in any subset this site
       ships, so they name the system faces that do carry them — Nirmala UI on
       Windows, Noto on Android and Linux, Kohinoor/Bangla MN on macOS. To make
       those three render in the brand face, add the matching woff2 subsets
       beside the others and point these tokens at them. */
    --bt-script-arabic:     "IBM Plex Sans Arabic", system-ui, sans-serif;
    --bt-script-devanagari: "Nirmala UI", "Noto Sans Devanagari", "Kohinoor Devanagari", system-ui, sans-serif;
    --bt-script-bengali:    "Nirmala UI", "Noto Sans Bengali", "Bangla MN", system-ui, sans-serif;
    --bt-script-latin-ext:  "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
    --bt-script-latin:      var(--bt-display);

    /* One ring colour per band, so focus clears 3:1 on paper and on night. */
    --bt-nav-hover:    rgba(16, 17, 20, 0.055);
    --bt-sheen:        rgba(255, 210, 63, 0.22);
    --bt-yellow-14:    rgba(255, 210, 63, 0.11);
    --bt-mint-08:      rgba(53, 198, 143, 0.08);
    --bt-ink-05:       rgba(74, 77, 85, 0.05);
    --bt-nav-current:  rgba(255, 210, 63, 0.30);

    --bt-focus:        #2F54EB;
    --bt-focus-invert: #FFD23F;
    /* Deep red: the flash red reads 4.41:1 on its own tint, just under 4.5. */
    --bt-red-deep:     #A82B22;


    /* Alpha tints of the palette, lifted out of the rules (gate 48).
       Each name says which colour it tints and at what alpha. */
    --bt-yellow-55            : rgba(255, 210, 63, 0.55);
    --bt-white-24             : rgba(255, 255, 255, 0.24);
    --bt-mint-16              : rgba(53, 198, 143, 0.16);
    --bt-amber-16             : rgba(224, 149, 46, 0.16);
    --bt-cream-92             : rgba(247, 246, 241, 0.92);
    --bt-ink-12               : rgba(16, 17, 20, 0.12);
    --bt-yellow-5             : rgba(255, 210, 63, 0.5);
    --bt-white-16             : rgba(255, 255, 255, 0.16);
    --bt-white-06             : rgba(255, 255, 255, 0.06);
    --bt-white-015            : rgba(255, 255, 255, 0.015);
    --bt-yellow-35            : rgba(255, 210, 63, 0.35);
    --bt-black-38             : rgba(0, 0, 0, 0.38);
    --bt-yellow-3             : rgba(255, 210, 63, 0.3);
    --bt-white-10             : rgba(255, 255, 255, 0.10);
    --bt-white-08             : rgba(255, 255, 255, 0.08);
    --bt-yellow-14            : rgba(255, 210, 63, 0.14);
    --bt-mint-14              : rgba(53, 198, 143, 0.14);
    --bt-yellow-10            : rgba(255, 210, 63, 0.10);
    --bt-white-12             : rgba(255, 255, 255, 0.12);
    --bt-ink-07               : rgba(16, 17, 20, 0.07);
    --bt-green-12             : rgba(15, 123, 85, 0.12);
    --bt-white-45             : rgba(255, 255, 255, .45);
    --bt-tint-22d3ee-38       : rgba(34, 211, 238, .38);
    --bt-white-18             : rgba(255, 255, 255, .18);
    --bt-white-13             : rgba(255, 255, 255, .13);
    --bt-white-7              : rgba(255, 255, 255, .7);
    --bt-white-82             : rgba(255, 255, 255, .82);
    --bt-white-9              : rgba(255, 255, 255, .9);
    --bt-white-22             : rgba(255, 255, 255, .22);
    --bt-white-75             : rgba(255, 255, 255, .75);
    --bt-white-5              : rgba(255, 255, 255, .5);
    --bt-white-3              : rgba(255, 255, 255, .3);

    /* Motion. Arrivals ease out, exits ease in, toggles ease both ways;
       never the browser's own `ease`. linear is for scrubbing only, where
       scroll distance maps to progress one to one. */
    --bt-dur-micro:   120ms;
    --bt-dur-short:   220ms;
    --bt-dur-long:    420ms;
    --bt-ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
    --bt-ease-in:     cubic-bezier(0.55, 0, 1, 0.45);
    --bt-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --bt-max:    1240px;
    --bt-gutter: clamp(20px, 4vw, 48px);
    --bt-dots:   radial-gradient(circle, rgba(255, 255, 255, 0.08) 1.2px, transparent 1.5px);

    /* ---- Names used by the older component library ---- */
    --bg:             var(--bt-cream);
    --bg-subtle:      var(--bt-cream-2);
    --bg-inset:       var(--bt-cream-2);
    --surface:        var(--bt-white);
    --surface-raised: var(--bt-white);
    --surface-invert: var(--bt-ink);

    --line:        var(--bt-line);
    --line-strong: var(--bt-line-2);
    --line-invert: rgba(255, 255, 255, 0.16);

    --text:           var(--bt-ink);
    --text-secondary: var(--bt-ink-2);
    --text-muted:     var(--bt-ink-3);
    --text-invert:    var(--bt-white);
    --text-on-accent: var(--bt-white);

    --accent:        var(--bt-ink);
    --accent-hover:  #2A2D35;
    --accent-soft:   rgba(255, 210, 63, 0.18);
    --accent-softer: rgba(255, 210, 63, 0.34);
    --accent-line:   var(--bt-line-2);
    --accent-text:   var(--bt-blue);
    --accent-glow:   rgba(255, 210, 63, 0.45);
    --ring:          rgba(47, 84, 235, 0.45);

    --success-bg:   rgba(15, 123, 85, 0.10);
    --success-line: rgba(15, 123, 85, 0.28);
    --success-fg:   var(--bt-green);
    --warning-bg:   #FFF4D6;
    --warning-line: #F2D27A;
    --warning-fg:   #9A5B08;
    --danger-bg:    #FCE8E6;
    --danger-line:  #F2C2BD;
    --danger-fg:    var(--bt-red);

    --grad-brand: linear-gradient(135deg, var(--bt-ink), #2A2D35);
    --grad-spot:  none;
    --grad-mesh:  none;

    --radius-sm:   10px;
    --radius-md:   14px;
    --radius-lg:   22px;
    --radius-xl:   28px;
    --radius-pill: 999px;

    --shadow-sm:     0 1px 2px rgba(16, 17, 20, 0.05);
    --shadow-md:     0 6px 16px rgba(16, 17, 20, 0.07);
    --shadow-lg:     0 18px 40px rgba(16, 17, 20, 0.10);
    --shadow-accent: 0 8px 24px rgba(16, 17, 20, 0.18);

    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;

    --font-sans:    var(--bt-font);
    --font-display: var(--bt-display);
    --font-mono:    var(--bt-mono);

    --measure:   68ch;
    --container: var(--bt-max);

    --ease:     cubic-bezier(.4, 0, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --header-h: 72px;

    /* Raw palette names a few older rules still reference directly. */
    --p-white:      var(--bt-white);
    --p-n-200:      var(--bt-line);
    --p-n-950:      var(--bt-night);
    --p-accent-300: var(--bt-yellow);
    --p-accent-400: var(--bt-yellow);
    --p-accent-500: var(--bt-yellow-deep);
    --p-amber-600:  #9A5B08;
    --p-red-400:    #E5675E;
    --p-brand-300:  #FFE27A;
    --p-brand-400:  var(--bt-yellow);
    --p-brand-500:  #2A2D35;
    --p-brand-600:  var(--bt-ink);
    --p-brand-700:  var(--bt-ink);
    --p-brand-800:  var(--bt-night);

    --ink-900: var(--text);
    --ink-700: var(--bt-ink);
    --ink-500: var(--text-secondary);
    --ink-300: var(--text-muted);
    --ink-200: var(--line-strong);
    --ink-100: var(--line);
    --ink-50:  var(--bg-inset);
    --paper:   var(--surface);
    --brand-600: var(--accent);
    --brand-500: var(--bt-ink);
    --brand-100: var(--accent-soft);
    --ok-600:   var(--success-fg);
    --ok-100:   var(--success-bg);
    --warn-600: var(--warning-fg);
    --warn-100: var(--warning-bg);
    --err-600:  var(--danger-fg);
    --err-100:  var(--danger-bg);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* Anchored sections clear the sticky header. */
    scroll-padding-top: 88px;
    /* clip, not hidden: hidden here turns the page into a scroll container
       and breaks position: sticky on the header. */
    overflow-x: clip;
    /* The paper lives here rather than on body, so body can be transparent
       and the ambient field below it is not painted over. */
    background: var(--bt-cream);
}

body {
    margin: 0;
    font-family: var(--bt-font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--bt-ink);
    background: transparent;
    overflow-x: clip;
}

a {
    color: var(--bt-blue);
}

a:hover {
    color: var(--bt-blue-hover);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--bt-yellow-55);
    color: var(--bt-ink);
}

:focus-visible {
    outline: 3px solid var(--bt-focus);
    outline-offset: 2px;
}

/* The focus blue falls to 2.94:1 against the night surfaces, so the dark
   bands take the volt ring instead (14:1 there). */
.bt-banner :focus-visible,
.bt-dark-dots :focus-visible,
.bt-section--dark :focus-visible,
.bt-words__card :focus-visible,
.bt-app__card :focus-visible,
.bt-ai__panel :focus-visible,
.bt-impersonation :focus-visible {
    outline-color: var(--bt-focus-invert);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    padding: 12px 18px;
    background: var(--bt-ink);
    color: var(--bt-white);
    font-weight: 800;
    border-radius: 0 0 14px 0;
    /* Parked above the viewport rather than 9999px to the left, which pushed
       the page 9999px wide on a phone. No transition: focus shows at once. */
    transform: translateY(-100%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* Copy the design writes differently for phones and for wider screens. */
.bt-m-only {
    display: none;
}

/* The landing page's two compositions (see views/web/home.php): bt-desk
   sections above 640px, bm sections at or below it. !important so that no
   section's own display value can bring the other composition back. */
@media (min-width: 641px) {
    .bm {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .bt-d-only {
        display: none;
    }

    .bt-m-only {
        display: inline;
    }

    .bt-desk {
        display: none !important;
    }
}

/* The design's caret and level-meter animations. */
@keyframes bt-blink {
    50% { opacity: 0; }
}

@keyframes bt-meter {
    0%, 100% { transform: scaleY(.35); }
    50% { transform: scaleY(1); }
}

.caret {
    animation: bt-blink 1s steps(1) infinite;
}

.bar {
    animation: bt-meter 900ms ease-in-out infinite;
    transform-origin: center;
}

.lift {
    transition: transform 120ms cubic-bezier(.2, 0, 0, 1);
}

.lift:hover {
    transform: translate(-2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .caret,
    .bar {
        animation: none;
    }

    .lift,
    .lift:hover {
        transition: none;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   4. Shared pieces of the design
   -------------------------------------------------------------------------- */

.bt-wrap {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: 0 var(--bt-gutter);
}

/* The section label above most headings. */
.bt-eyebrow {
    font-size: 14px;
    font-weight: 700;
    color: var(--bt-ink-2);
}

.bt-eyebrow--fog {
    color: var(--bt-fog);
}

.bt-eyebrow--fog-2 {
    color: var(--bt-fog-2);
}

.bt-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bt-h2 {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: clamp(38px, 4.2vw, 60px);
    line-height: 1;
    letter-spacing: -0.035em;
}

/* The smaller heading scale of the pricing and download pages. */
.bt-h2--page {
    font-size: clamp(36px, 4vw, 56px);
}

.bt-h3-sub {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* The view tags every line of showcase text with the script it is written
   in, so the right face is used whatever language resolved. */
.bt-script--arabic {
    font-family: var(--bt-script-arabic);
}

.bt-script--devanagari {
    font-family: var(--bt-script-devanagari);
    /* Devanagari and Bengali carry tall matras above and below the baseline;
       the Latin leading clips them. */
    line-height: 1.7;
}

.bt-script--bengali {
    font-family: var(--bt-script-bengali);
    line-height: 1.7;
}

.bt-script--latin-ext {
    font-family: var(--bt-script-latin-ext);
}

.bt-script--latin {
    font-family: var(--bt-script-latin);
}

.bt-balance {
    text-wrap: balance;
}

/* Heads balance, prose sets pretty, so no line ends on a one-word stub.
   Checked at 375, where the stubs showed. */
.bt-h2,
.bt-h3,
.bm-h2,
.bm-h3,
.bt-words__title,
.bt-step__title,
.bt-feature__title,
.bt-fact__title,
.bt-ruled__title,
.bt-who__title {
    text-wrap: balance;
}

.bt-lede,
.bt-step__text,
.bt-feature__text,
.bt-fact__text,
.bt-ruled__text,
.bt-who__text,
.bm-lede,
.bt-words__text {
    text-wrap: pretty;
}

.bt-lede {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--bt-ink-2);
    max-width: 36em;
}

.bt-lede--dark {
    color: var(--bt-fog);
}

/* Section heading block: eyebrow, heading, optional lede, stacked. */
.bt-head {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 780px;
}

/* Heading on the left, lede on the right, bottoms aligned. */
.bt-split-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 48px;
}

.bt-split-head__main {
    flex: 1 1 520px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 760px;
}

.bt-split-head__lede {
    flex: 1 1 340px;
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--bt-ink-2);
    max-width: 30em;
}

.bt-split-head__lede--dark {
    color: var(--bt-fog);
}

/* Small capsule labels. */
.bt-tag-new {
    background: var(--bt-ink);
    color: var(--bt-yellow);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
}

.bt-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.bt-badge--premium {
    color: var(--bt-yellow);
    background: var(--bt-ink);
}

.bt-badge--yellow {
    color: var(--bt-ink);
    background: var(--bt-yellow);
}

.bt-badge--free {
    color: var(--bt-ink-2);
    border: 1.5px solid var(--bt-line-2);
    padding: 3px 9px;
}

.bt-mono-tag {
    font-family: var(--bt-font);
    font-size: 11px;
    background: var(--bt-night-3);
    color: var(--bt-fog);
    padding: 4px 9px;
    border-radius: 999px;
}

/* Buttons. */
.bt-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 26px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
}

.bt-btn--yellow {
    background: var(--bt-yellow);
    color: var(--bt-ink);
}

.bt-btn--yellow:hover {
    color: var(--bt-ink);
}

.bt-btn--outlined {
    border: 2px solid var(--bt-ink);
}

.bt-btn--white {
    padding: 0 24px;
    background: var(--bt-white);
    color: var(--bt-ink);
    border: 1.5px solid var(--bt-line);
}

.bt-btn--white:hover {
    color: var(--bt-ink);
}

.bt-btn--ghost {
    padding: 0 24px;
    border: 1.5px solid var(--bt-white-24);
    color: var(--bt-white);
}

.bt-btn--ghost:hover {
    color: var(--bt-white);
}

.bt-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Full-width card buttons. */
.bt-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
}

.bt-card-btn--outline {
    border: 1.5px solid var(--bt-ink);
    color: var(--bt-ink);
}

.bt-card-btn--dark {
    background: var(--bt-ink);
    color: var(--bt-white);
}

.bt-card-btn--outline:hover {
    color: var(--bt-ink);
}

.bt-card-btn--dark:hover {
    color: var(--bt-white);
}

/* Keyboard keys. */
.bt-key {
    font-family: var(--bt-font);
    font-weight: 800;
    font-size: 15px;
    color: var(--bt-ink);
    background: var(--bt-white);
    border: 2px solid var(--bt-ink);
    border-radius: 12px;
    box-shadow: 0 4px 0 var(--bt-ink);
    padding: 9px 16px;
    min-width: 60px;
    text-align: center;
}

.bt-key--small {
    font-size: 14px;
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 0;
    text-align: start;
}

.bt-key--pressed {
    background: var(--bt-yellow);
    box-shadow: 0 1px 0 var(--bt-ink);
    min-width: 96px;
    text-align: center;
    margin-top: 3px;
}

.bt-key-plus {
    font-weight: 800;
    color: var(--bt-ink-3);
}

/* The typing caret drawn after mock text. */
.bt-caret {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--bt-ink);
    vertical-align: text-bottom;
    margin-left: 2px;
}

.bt-caret--tall {
    height: 1.1em;
}

.bt-caret--yellow {
    background: var(--bt-yellow);
    margin-left: 3px;
}

/* Green tick in a soft circle, on dark pills. */
.bt-tick {
    border-radius: 999px;
    background: var(--bt-mint-16);
    color: var(--bt-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bt-tick--amber {
    background: var(--bt-amber-16);
    color: var(--bt-amber);
}

/* Lists with a leading tick. */
.bt-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 15px;
}

.bt-checks li {
    display: flex;
    gap: 10px;
}

.bt-checks svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Dark band with the dot grid. */
.bt-dark-dots {
    background-color: var(--bt-ink);
    background-image: var(--bt-dots);
    background-size: 26px 26px;
    color: var(--bt-white);
}

/* --------------------------------------------------------------------------
   5. Announcement bar, header, menus
   -------------------------------------------------------------------------- */

.bt-banner {
    background: var(--bt-ink);
    color: var(--bt-white);
}

.bt-banner__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: 10px var(--bt-gutter);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.bt-banner__new {
    background: var(--bt-yellow);
    color: var(--bt-ink);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
}

.bt-banner__link {
    color: var(--bt-yellow);
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bt-banner__link:hover {
    color: var(--bt-yellow);
}

.bt-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--bt-cream-92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1.5px solid var(--bt-line);
}

.bt-header__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: 0 var(--bt-gutter);
    height: 72px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.bt-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--bt-ink);
    flex-shrink: 0;
}

.bt-brand:hover {
    color: var(--bt-ink);
}

.bt-wordmark {
    font-family: var(--bt-display);
    font-size: 24px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.bt-wordmark__barq {
    font-weight: 800;
}

.bt-wordmark__type {
    font-weight: 500;
}

.bt-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 20px;
}

/*
 * The current page used to be a white box with a border, which read as a
 * disabled button. It is now a Volt underline that wipes in, with the same
 * underline previewed in grey on hover - one spark per screen (BRAND.md).
 */
.bt-nav__link {
    position: relative;
    isolation: isolate;
    /* inline-block so the marker's containing block is this link's padding
       box. As an inline box the vertical padding does not reserve height and
       the absolutely positioned marker resolved against the wrong width. */
    display: inline-block;
    padding: 10px 9px;
    margin: 0 3px;
    border-radius: 8px;
    color: var(--bt-ink-2);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: color var(--bt-dur-short) var(--bt-ease-out);
}

/*
 * The bar carries one indicator for every link rather than a box per link: a
 * Volt rule parked under the current page that glides to whichever link is
 * hovered, then slides back when the pointer leaves. It is the tab-bar
 * pattern — the movement between items is the effect, which a per-item
 * background cannot give you.
 *
 * It moves on translate and scaleX only. A 3px rule is the shape that takes
 * scaleX without distorting: a capsule would stretch its corners.
 */
.bt-nav {
    position: relative;
}

.js .bt-nav__glider {
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 1px;
    height: 3px;
    border-radius: 2px;
    background: var(--bt-yellow);
    opacity: 0;
    transform-origin: left center;
    /* Created and positioned by site.js, so it only exists where it can be
       measured. 1px wide, so --bt-glide-w reads as a pixel width. */
    transform: translate3d(var(--bt-glide-x, 0), 0, 0) scaleX(var(--bt-glide-w, 0));
    transition: transform 420ms var(--bt-ease-out),
                opacity var(--bt-dur-short) var(--bt-ease-out),
                background-color var(--bt-dur-short) linear;
    pointer-events: none;
}

.js .bt-nav.is-glider-ready .bt-nav__glider {
    opacity: 1;
}

/* Away from the current page the rule quietens, so the Volt still reads as
   "you are here" rather than "your pointer is here". */
.js .bt-nav.is-glider-away .bt-nav__glider {
    background: var(--bt-ink-3);
}

.bt-nav__link {
    position: relative;
    isolation: isolate;
    display: inline-block;
    padding: 10px 11px;
    margin: 0 2px;
    border-radius: 10px;
    color: var(--bt-ink-2);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: color var(--bt-dur-short) var(--bt-ease-out);
}

/* A fill that fades rather than slides, so it never fights the glider. */
.bt-nav__link::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 1px 0 6px;
    border-radius: 10px;
    background: var(--bt-nav-hover);
    opacity: 0;
    transition: opacity var(--bt-dur-short) var(--bt-ease-out);
}

.bt-nav__link:hover,
.bt-nav__link:focus-visible {
    color: var(--bt-ink);
}

.bt-nav__link:hover::after,
.bt-nav__link:focus-visible::after {
    opacity: 1;
}

.bt-nav__link.is-current {
    color: var(--bt-ink);
    font-weight: 800;
}

/*
 * Without script there is no glider, so the current page draws its own rule.
 * The selector is on <html>, which carries .js from the inline head script.
 */
html:not(.js) .bt-nav__link.is-current::before {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: -6px;
    height: 3px;
    border-radius: 2px;
    background: var(--bt-yellow);
}

.bt-nav__link:focus-visible {
    outline: 2px solid var(--bt-blue);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .bt-nav__link,
    .bt-nav__link::after {
        transition: none;
    }

    .bt-nav__link.is-current::after {
        animation: none;
    }
}

.bt-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.bt-header__premium {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    color: var(--bt-ink);
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
}

.bt-header__premium:hover {
    color: var(--bt-ink);
}

.bt-header__download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    background: var(--bt-ink);
    color: var(--bt-white);
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
}

.bt-header__download:hover {
    color: var(--bt-white);
}

.bt-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1.5px solid var(--bt-line);
    background: var(--bt-white);
    color: var(--bt-ink);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

/* Account menu (signed in). */
.bt-account {
    position: relative;
}

.bt-account__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
}

.bt-account__trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.bt-account__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 40;
    width: 260px;
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 18px;
    box-shadow: 0 18px 40px var(--bt-ink-12);
    padding: 8px;
}

.bt-account__who {
    padding: 10px 12px 12px;
    border-bottom: 1.5px solid var(--bt-cream-2);
    margin-bottom: 6px;
}

.bt-account__name {
    margin: 0;
    font-weight: 800;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.bt-account__email {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--bt-ink-3);
    overflow-wrap: anywhere;
}

.bt-account__role {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-yellow);
    background: var(--bt-ink);
    padding: 3px 9px;
    border-radius: 999px;
}

.bt-account__links {
    display: flex;
    flex-direction: column;
}

.bt-account__links a,
.bt-account__signout button {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--bt-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-align: left;
}

.bt-account__links a:hover,
.bt-account__signout button:hover {
    background: var(--bt-cream);
    color: var(--bt-ink);
}

.bt-account__signout {
    margin: 6px 0 0;
    padding-top: 6px;
    border-top: 1.5px solid var(--bt-cream-2);
}

.bt-account__signout button {
    border: 0;
    background: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* The menu panel below 1240px. Not drawn by the design; it reuses the header's
   colours, line weights and link style. */
.bt-mobile-menu {
    border-top: 1.5px solid var(--bt-line);
    background: var(--bt-cream);
    padding: 8px var(--bt-gutter) 20px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

.bt-mobile-menu[hidden] {
    display: none;
}

.bt-mobile-menu__nav,
.bt-mobile-menu__account {
    display: flex;
    flex-direction: column;
}

.bt-mobile-menu a,
.bt-mobile-menu button {
    display: block;
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-bottom: 1.5px solid var(--bt-cream-2);
    background: none;
    color: var(--bt-ink);
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    font-size: 17px;
    text-align: left;
    cursor: pointer;
}

.bt-mobile-menu__account {
    margin-top: 12px;
}

.bt-mobile-menu__account form {
    margin: 0;
}

.bt-mobile-menu__who {
    margin: 0;
    padding: 12px 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bt-ink-3);
}

.bt-nav__link,
.bt-header__premium,
.bt-header__download {
    white-space: nowrap;
}

/* The design folds the links into the menu button at 900px. The account link
   added to the bar needs about 160px more, and Tutorials and Blog about 150px
   beyond that, so the fold happens at 1240px; the designed 1440px layout is
   unaffected. Measured against the longest set the bar can hold — six links,
   Get Premium, Download free and a signed-in account name. */
@media (max-width: 1240px) {
    .bt-nav,
    .bt-header__premium,
    .bt-header__account,
    .bt-account {
        display: none !important;
    }

    .bt-menu-button {
        display: inline-flex;
    }
}

@media (min-width: 1241px) {
    .bt-mobile-menu {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .bt-banner__inner {
        padding: 10px 20px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 10px;
        font-size: 13px;
        text-align: start;
    }

    .bt-banner__new {
        font-size: 10px;
        padding: 3px 8px;
        flex-shrink: 0;
    }

    .bt-banner__text {
        flex: 1;
    }

    .bt-banner__link svg {
        display: none;
    }

    .bt-header {
        position: static;
        background: var(--bt-cream);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 0;
    }

    /* The phone design draws a 64px bar with the border inside that height
       (border-box), so the bar carries the border here rather than the header. */
    .bt-header__inner {
        height: 64px;
        padding: 0 20px;
        gap: 10px;
        border-bottom: 1.5px solid var(--bt-line);
    }

    .bt-brand {
        gap: 8px;
    }

    .bt-brand svg {
        width: 32px;
        height: 32px;
    }

    .bt-wordmark {
        font-size: 22px;
    }

    .bt-header__download {
        padding: 0 14px;
        font-size: 14px;
    }

    .bt-menu-button {
        display: flex;
    }

    .bt-mobile-menu {
        padding: 8px 20px 20px;
        border-top: 0;
        border-bottom: 1.5px solid var(--bt-line);
    }

    html {
        scroll-padding-top: 16px;
    }
}

/* --------------------------------------------------------------------------
   6. Footer
   -------------------------------------------------------------------------- */

.bt-footer {
    border-top: 1.5px solid var(--bt-line);
}

.bt-footer__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: 64px var(--bt-gutter) 40px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.bt-footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 64px;
}

.bt-footer__brand {
    flex: 2 1 280px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bt-footer__logo,
.bt-footer-row__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--bt-ink);
}

.bt-footer__logo:hover,
.bt-footer-row__logo:hover {
    color: var(--bt-ink);
}

.bt-footer__logo .bt-wordmark {
    font-size: 22px;
    line-height: 1.5;
}

.bt-footer-row__logo .bt-wordmark {
    font-size: 20px;
    line-height: 1.5;
}

.bt-footer__tagline {
    margin: 0;
    color: var(--bt-ink-2);
    max-width: 22em;
}

.bt-footer__col {
    flex: 1 1 140px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 15px;
}

.bt-footer__heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--bt-ink-3);
}

.bt-footer__col a,
.bt-footer-row__nav a {
    color: var(--bt-ink);
    text-decoration: none;
    font-weight: 600;
}

.bt-footer__col a:hover,
.bt-footer-row__nav a:hover {
    color: var(--bt-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bt-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    border-top: 1.5px solid var(--bt-line);
    padding-top: 24px;
    font-size: 14px;
    color: var(--bt-ink-3);
}

.bt-footer-row {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: 48px var(--bt-gutter) 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px 40px;
    font-size: 14px;
    color: var(--bt-ink-3);
}

.bt-footer-row__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

@media (max-width: 640px) {
    .bt-footer {
        border-top: 0;
    }

    .bt-footer__inner {
        padding: 44px 20px 32px;
        gap: 32px;
    }

    .bt-footer__top {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }

    .bt-footer__brand {
        grid-column: 1 / -1;
        gap: 10px;
        margin-bottom: 8px;
    }

    .bt-footer__logo {
        gap: 8px;
    }

    .bt-footer__logo svg {
        width: 28px;
        height: 28px;
    }

    .bt-footer__logo .bt-wordmark {
        font-size: 20px;
    }

    .bt-footer__tagline {
        font-size: 14px;
        max-width: none;
    }

    .bt-footer__col {
        gap: 10px;
    }

    .bt-footer__heading {
        font-size: 12px;
    }

    .bt-footer__bottom {
        padding-top: 20px;
        font-size: 13px;
    }

    .bt-footer__motto {
        display: none;
    }

    .bt-footer-row {
        padding: 40px 20px 32px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --------------------------------------------------------------------------
   7. Messages and the impersonation bar
   -------------------------------------------------------------------------- */

.bt-flash {
    max-width: var(--bt-max);
    margin: 20px auto 0;
    padding: 0 var(--bt-gutter);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bt-flash__message {
    margin: 0;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--bt-line);
    background: var(--bt-white);
    font-weight: 700;
}

.bt-flash__message--success {
    border-color: var(--success-line);
    background: var(--success-bg);
    color: var(--bt-green);
}

.bt-flash__message--error {
    border-color: var(--danger-line);
    background: var(--danger-bg);
    color: var(--bt-red-deep);
}

.bt-impersonation {
    background: var(--bt-yellow);
    color: var(--bt-ink);
    font-size: 14px;
    font-weight: 600;
}

.bt-impersonation__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: 8px var(--bt-gutter);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.bt-impersonation form {
    margin: 0;
}

.bt-impersonation__button {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1.5px solid var(--bt-ink);
    background: var(--bt-white);
    color: var(--bt-ink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   8. Landing page — desktop and tablet composition (bt-desk)
   -------------------------------------------------------------------------- */

/* ---- Hero ---- */

.bt-hero {
    padding: var(--bt-hero-y) 0 var(--bt-section-y-lg);
}

.bt-hero__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: 0 var(--bt-gutter);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(48px, 5vw, 72px);
}

.bt-hero__copy {
    flex: 1.1 1 500px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bt-hero__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 10px;
    border: 1.5px solid var(--bt-line);
    background: var(--bt-white);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bt-ink-2);
}

.bt-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--bt-yellow);
    border: 2px solid var(--bt-ink);
}

.bt-hero__title {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: clamp(50px, 5.9vw, 86px);
    line-height: 0.95;
    letter-spacing: -0.045em;
    margin: 0;
    text-wrap: balance;
}

.bt-hero__sub {
    margin: 0;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.55;
    color: var(--bt-ink-2);
    max-width: 34em;
    text-wrap: pretty;
}

.bt-hero__checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 14px;
    color: var(--bt-ink-2);
    font-weight: 600;
}

.bt-hero__checks li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.bt-hero__visual {
    flex: 1 1 460px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-right: 12px;
}

.bt-hero__bubble {
    align-self: flex-end;
    position: relative;
    z-index: 2;
    margin: 0 -6px -24px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bt-white);
    border: 2px solid var(--bt-ink);
    border-radius: 999px;
    padding: 7px 16px 7px 7px;
    box-shadow: 4px 4px 0 var(--bt-ink);
}

.bt-hero__lang {
    font-family: var(--bt-mono);
    font-size: 12px;
    font-weight: 500;
    background: var(--bt-ink);
    color: var(--bt-white);
    padding: 4px 9px;
    border-radius: 999px;
}

.bt-hero__said {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.bt-mail {
    position: relative;
    z-index: 1;
    background: var(--bt-white);
    border: 2px solid var(--bt-ink);
    border-radius: 22px;
    box-shadow: 10px 10px 0 var(--bt-ink);
    overflow: hidden;
}

.bt-mail__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1.5px solid var(--bt-line);
    background: var(--bt-cream);
}

.bt-mail__lights {
    display: flex;
    gap: 6px;
}

.bt-mail__lights span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 1.5px solid var(--bt-line-2);
    background: var(--bt-white);
}

.bt-mail__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--bt-ink-2);
}

.bt-mail__fields {
    padding: 4px 24px 0;
}

.bt-mail__field {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1.5px solid var(--bt-cream-2);
    font-size: 14px;
}

.bt-mail__label {
    color: var(--bt-ink-3);
    width: 56px;
}

.bt-mail__value {
    font-weight: 700;
}

.bt-mail__body {
    padding: 20px 24px 72px;
    font-size: 16px;
    line-height: 1.7;
}

.bt-mail__body p {
    margin: 0;
}

.bt-mail__body p:first-child {
    margin: 0 0 12px;
}

.bt-mark {
    background: var(--bt-yellow-5);
    border-radius: 4px;
    padding: 1px 2px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.bt-inserted {
    align-self: center;
    position: relative;
    z-index: 2;
    margin-top: -30px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bt-ink);
    border: 1px solid var(--bt-white-16);
    border-radius: 999px;
    padding: 9px 10px;
    color: var(--bt-white);
}

.bt-inserted .bt-tick {
    width: 28px;
    height: 28px;
}

.bt-inserted__label {
    font-weight: 800;
    font-size: 14px;
}

.bt-inserted__count {
    color: var(--bt-fog);
    font-size: 13px;
}

.bt-hero__keys {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.bt-hero__keys .bt-key--space {
    min-width: 140px;
}

/* ---- Numbers and demo videos ---- */

.bt-numbers__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: var(--bt-section-y) var(--bt-gutter);
    display: flex;
    flex-direction: column;
    gap: clamp(56px, 6vw, 88px);
}

.bt-stats {
    margin: 0;
    /* Six across gave 171px columns, which cramped the numbers and forced the
       type down. Three across (two rows) gives each stat room to be read. */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

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

.bt-stat {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    /* column-reverse packs at main-start (the bottom); flex-end is the visual
       top, so every number sits on the same line whatever its label wraps to. */
    justify-content: flex-end;
    gap: 10px;
    padding: 30px 26px 26px;
    border-radius: 20px;
    background: linear-gradient(161deg, var(--bt-white-06), var(--bt-white-015));
    border: 1px solid var(--bt-night-line);
    overflow: hidden;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
                border-color 240ms ease,
                box-shadow 240ms ease;
}

/* The design's hairline rule, kept as the panel's top edge. */
.bt-stat::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--bt-night-line);
    transition: background-color 240ms ease;
}

.bt-stat:hover {
    transform: translateY(-4px);
    border-color: var(--bt-yellow-35);
    box-shadow: 0 18px 40px var(--bt-black-38);
}

.bt-stat:hover::before {
    background: var(--bt-yellow);
}

.bt-stat dt {
    color: var(--bt-fog);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
}

.bt-stat dd {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: clamp(46px, 4.6vw, 64px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    color: var(--bt-white);
}

/* Volt is the one spark on the section: the free-of-charge stat. */
.bt-stat--yellow {
    border-color: var(--bt-yellow-3);
}

.bt-stat--yellow::before {
    background: var(--bt-yellow);
}

.bt-stat--yellow dd {
    color: var(--bt-yellow);
}

@media (prefers-reduced-motion: reduce) {
    .bt-stat,
    .bt-stat:hover {
        transition: none;
        transform: none;
    }
}

.bt-watch {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.bt-watch__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 40px;
}

.bt-watch__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1;
    letter-spacing: -0.035em;
}

.bt-watch__lede {
    margin: 0;
    color: var(--bt-fog);
    font-size: 17px;
    max-width: 30em;
}

.bt-watch__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
    gap: 24px;
}

.bt-video {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bt-video__frame {
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    background: var(--bt-night-2);
    border: 1.5px dashed var(--bt-white-24);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
}

.bt-video__play {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: var(--bt-white);
    border: 0;
    color: var(--bt-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.bt-video__note {
    font-family: var(--bt-font);
    font-size: 13px;
    color: var(--bt-fog-2);
    text-align: center;
}

.bt-video__caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    font-size: 15px;
}

.bt-video__caption strong {
    font-weight: 800;
}

.bt-video__caption span {
    color: var(--bt-fog-2);
}

/* ---- Section rhythm shared by most landing sections ---- */

.bt-section {
    padding: var(--bt-section-y-lg) 0;
}

.bt-section--white {
    background: var(--bt-white);
    border-top: 1.5px solid var(--bt-line);
    border-bottom: 1.5px solid var(--bt-line);
}

.bt-section--dark {
    background: var(--bt-ink);
    color: var(--bt-white);
}

.bt-stack {
    display: flex;
    flex-direction: column;
}

.bt-stack--48 {
    gap: 36px;
}

.bt-stack--56 {
    gap: 40px;
}

/* ---- Dictation ---- */

.bt-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 20px;
}

.bt-step {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bt-step__stage {
    height: 200px;
    background: var(--bt-cream-2);
    border-bottom: 1.5px solid var(--bt-line);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.bt-step__stage--keys {
    flex-wrap: wrap;
    gap: 8px;
}

.bt-step__stage--stack {
    flex-direction: column;
    gap: 12px;
}

.bt-step__body {
    padding: 24px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bt-step__num {
    font-family: var(--bt-mono);
    font-size: 13px;
    color: var(--bt-ink-3);
}

.bt-step__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.bt-step__text {
    margin: 0;
    color: var(--bt-ink-2);
}

/* Dark status pills (Listening, Inserted, Copied). */
.bt-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bt-ink);
    border: 1px solid var(--bt-white-16);
    border-radius: 999px;
    padding: 8px 16px 8px 8px;
    color: var(--bt-white);
}

.bt-pill--listening {
    gap: 12px;
    padding: 10px 10px 10px 16px;
}

.bt-pill .bt-tick {
    width: 26px;
    height: 26px;
}

.bt-pill__label {
    font-weight: 800;
    font-size: 14px;
}

.bt-meter {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 22px;
}

.bt-meter span {
    width: 3px;
    border-radius: 2px;
    background: var(--bt-yellow);
}

.bt-step__hint {
    font-size: 13px;
    font-weight: 700;
    color: var(--bt-ink-2);
}

.bt-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 20px;
}

.bt-feature {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bt-feature__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--bt-cream);
    border: 1.5px solid var(--bt-line);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bt-feature__icon--dark {
    background: var(--bt-ink);
    border: 0;
    color: var(--bt-yellow);
}

.bt-feature__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.bt-feature__text {
    margin: 0;
    color: var(--bt-ink-2);
}

.bt-words {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px 56px;
    background: var(--bt-ink);
    color: var(--bt-white);
    border-radius: 28px;
    padding: clamp(28px, 4vw, 52px);
}

.bt-words__copy {
    flex: 1 1 380px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bt-words__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.bt-words__text {
    margin: 0;
    color: var(--bt-fog);
    font-size: 17px;
    max-width: 32em;
}

.bt-words__small {
    margin: 0;
    color: var(--bt-fog-2);
    font-size: 14px;
}

.bt-words__card {
    flex: 1 1 360px;
    min-width: 0;
    background: var(--bt-night-2);
    color: var(--bt-cream);
    border: 1px solid var(--bt-white-10);
    border-radius: 22px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bt-words__card-title {
    font-weight: 800;
    font-size: 15px;
}

.bt-progress {
    height: 8px;
    border-radius: 999px;
    background: var(--bt-night-line);
    overflow: hidden;
}

.bt-progress__fill {
    width: 8%;
    height: 100%;
    border-radius: 999px;
    background: var(--bt-yellow);
}

.bt-words__status {
    font-size: 14px;
    color: var(--bt-fog);
}

.bt-words__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border-top: 1px solid var(--bt-white-10);
    padding-top: 16px;
}

.bt-words__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bt-words__stat-value {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 22px;
}

.bt-words__stat-label {
    font-size: 12px;
    color: var(--bt-fog-2);
}

/* ---- Studio: the app window ---- */

.bt-app-scroll {
    overflow-x: auto;
    padding: 0 14px 14px 0;
}

.bt-app {
    min-width: 1000px;
    background: var(--bt-night);
    color: var(--bt-white);
    border-radius: 22px;
    border: 2px solid var(--bt-ink);
    box-shadow: 12px 12px 0 var(--bt-yellow);
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
}

.bt-app__frame {
    display: flex;
    min-height: 580px;
}

.bt-app__side {
    width: 210px;
    flex-shrink: 0;
    background: var(--bt-ink);
    border-right: 1px solid var(--bt-white-08);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bt-app__brand {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 2px 8px 18px;
}

.bt-app__brand .bt-wordmark {
    font-size: 17px;
    line-height: inherit;
}

.bt-app__group {
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-fog-2);
    padding: 6px 10px;
}

.bt-app__group--spaced {
    padding: 18px 10px 6px;
}

.bt-app__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--bt-fog);
    font-weight: 600;
}

.bt-app__item--active {
    color: var(--bt-yellow);
    background: var(--bt-yellow-14);
    font-weight: 700;
}

.bt-app__count {
    margin-left: auto;
    font-size: 11px;
    background: var(--bt-night-3);
    color: var(--bt-fog);
    padding: 1px 8px;
    border-radius: 999px;
}

.bt-app__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bt-app__top {
    height: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    border-bottom: 1px solid var(--bt-white-08);
}

.bt-app__heading {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.bt-app__search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 320px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    background: var(--bt-ink);
    border: 1px solid var(--bt-white-10);
    color: var(--bt-fog-2);
}

.bt-app__shortcut {
    margin-left: auto;
    font-family: var(--bt-mono);
    font-size: 11px;
    border: 1px solid var(--bt-white-16);
    border-radius: 6px;
    padding: 1px 6px;
}

.bt-app__new {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--bt-yellow);
    color: var(--bt-ink);
    font-weight: 800;
}

.bt-app__content {
    flex: 1;
    display: flex;
    gap: 18px;
    padding: 18px 20px 20px;
}

.bt-app__col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bt-app__aside {
    width: 290px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bt-app__card {
    background: var(--bt-ink);
    color: var(--bt-cream);
    border: 1px solid var(--bt-white-08);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.bt-app__player {
    padding: 16px 18px;
    gap: 12px;
}

.bt-app__episode {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bt-app__episode-title {
    font-weight: 800;
    font-size: 15px;
}

.bt-app__done {
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-mint);
    background: var(--bt-mint-14);
    padding: 3px 9px;
    border-radius: 999px;
}

.bt-app__controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bt-app__pause {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--bt-white);
    color: var(--bt-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bt-app__track {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: var(--bt-night-line);
    position: relative;
}

.bt-app__track span {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 34%;
    border-radius: 999px;
    background: var(--bt-yellow);
}

.bt-app__time {
    font-family: var(--bt-mono);
    font-size: 12px;
    color: var(--bt-fog);
}

.bt-app__speed {
    font-family: var(--bt-mono);
    font-size: 12px;
    color: var(--bt-fog-2);
}

.bt-app__lines {
    flex: 1;
    padding: 8px;
    gap: 2px;
}

.bt-app__line {
    display: flex;
    gap: 16px;
    padding: 10px 12px;
    border-radius: 10px;
}

.bt-app__stamp {
    font-family: var(--bt-mono);
    font-size: 12px;
    color: var(--bt-fog-2);
    padding-top: 1px;
}

.bt-app__said {
    color: var(--bt-fog);
}

.bt-app__line--now {
    background: var(--bt-yellow-10);
}

.bt-app__line--now .bt-app__stamp {
    color: var(--bt-yellow);
}

.bt-app__line--now .bt-app__said {
    color: var(--bt-white);
}

.bt-app__ai {
    padding: 16px;
    gap: 12px;
}

.bt-app__ai-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
}

.bt-app__select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--bt-night);
    border: 1px solid var(--bt-white-12);
}

.bt-app__select--muted {
    color: var(--bt-fog);
}

.bt-app__notes {
    border-top: 1px solid var(--bt-white-08);
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--bt-fog);
}

.bt-app__notes strong {
    font-weight: 800;
    color: var(--bt-white);
}

.bt-app__details {
    padding: 16px;
}

.bt-app__details-title {
    font-weight: 800;
    font-size: 14px;
    padding-bottom: 6px;
}

.bt-app__detail {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--bt-white-06);
}

.bt-app__detail:last-child {
    border-bottom: 0;
}

.bt-app__detail span:first-child {
    color: var(--bt-fog-2);
}

/* ---- Studio: six ways in ---- */

.bt-ways {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bt-ways__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 20px;
}

.bt-way {
    background: var(--bt-cream);
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
    padding: 14px 14px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bt-way__stage {
    height: 150px;
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bt-way__stage--drop {
    border: 2px dashed var(--bt-line-2);
    align-items: center;
    gap: 12px;
}

.bt-way__stage--record {
    gap: 14px;
    padding: 0 22px;
}

.bt-way__stage--link {
    gap: 12px;
    padding: 0 18px;
}

.bt-way__stage--live {
    gap: 10px;
    padding: 0 22px;
}

.bt-way__stage--batch {
    gap: 6px;
    padding: 0 16px;
    font-size: 13px;
}

.bt-way__stage--watch {
    gap: 8px;
    padding: 0 16px;
    font-size: 13px;
}

.bt-way__file {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bt-white);
    border: 1.5px solid var(--bt-ink);
    border-radius: 12px;
    padding: 9px 12px;
    box-shadow: 3px 3px 0 var(--bt-ink);
    font-size: 14px;
    font-weight: 700;
}

.bt-way__mono {
    font-family: var(--bt-mono);
    font-size: 12px;
    color: var(--bt-ink-3);
}

.bt-way__file .bt-way__mono {
    font-weight: 400;
}

.bt-way__rec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
}

.bt-way__rec-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--bt-red);
}

.bt-way__rec-time {
    font-family: var(--bt-mono);
    font-weight: 500;
    color: var(--bt-ink-2);
    letter-spacing: 0;
}

.bt-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 44px;
}

.bt-wave span {
    width: 4px;
    border-radius: 2px;
    background: var(--bt-ink);
}

.bt-wave span.is-quiet {
    background: var(--bt-line-2);
}

.bt-way__url-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bt-way__url {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 12px;
    border: 1.5px solid var(--bt-ink);
    border-radius: 12px;
    font-family: var(--bt-mono);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
}

.bt-way__url svg {
    flex-shrink: 0;
}

.bt-way__go {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--bt-ink);
    color: var(--bt-white);
    font-size: 13px;
    font-weight: 800;
}

.bt-way__more {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 800;
    background: var(--bt-cream-2);
    padding: 4px 10px;
    border-radius: 999px;
}

.bt-way__live {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-red);
    border: 1.5px solid var(--bt-red);
    padding: 3px 9px;
    border-radius: 999px;
}

.bt-way__live-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--bt-red);
}

.bt-way__said {
    font-size: 14px;
    color: var(--bt-ink-3);
}

.bt-way__saying {
    font-size: 14px;
    font-weight: 700;
}

.bt-way__job {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
}

.bt-way__job--busy {
    background: var(--bt-cream);
    border-radius: 8px;
}

.bt-way__job-name {
    flex: 1;
    font-weight: 700;
}

.bt-way__job-name--muted {
    color: var(--bt-ink-2);
}

.bt-way__done {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--bt-green);
    font-weight: 800;
}

.bt-way__bar {
    width: 70px;
    height: 6px;
    border-radius: 999px;
    background: var(--bt-line);
    overflow: hidden;
}

.bt-way__bar span {
    display: block;
    width: 62%;
    height: 100%;
    background: var(--bt-ink);
}

.bt-way__pct {
    font-family: var(--bt-mono);
    font-size: 12px;
    width: 32px;
    text-align: right;
}

.bt-way__queued {
    color: var(--bt-ink-3);
    font-weight: 700;
}

.bt-way__path {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--bt-mono);
    font-size: 12px;
    background: var(--bt-cream-2);
    padding: 5px 10px;
    border-radius: 8px;
}

.bt-way__watched {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px;
}

.bt-way__ok {
    color: var(--bt-green);
    font-weight: 800;
}

.bt-way__text {
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bt-way__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bt-way__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.02em;
}

.bt-way__desc {
    margin: 0;
    color: var(--bt-ink-2);
}

.bt-note-line {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bt-ink-2);
    font-size: 15px;
}

.bt-note-line svg {
    flex-shrink: 0;
}

/* ---- Studio: library and export ---- */

.bt-ruled {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 20px;
}

.bt-ruled__item {
    border-top: 2px solid var(--bt-ink);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bt-ruled__item--10 {
    gap: 10px;
}

.bt-ruled__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.02em;
}

.bt-ruled__text {
    margin: 0;
    color: var(--bt-ink-2);
}

.bt-formats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-family: var(--bt-mono);
    font-size: 12px;
    font-weight: 500;
}

.bt-formats li {
    padding: 4px 9px;
    border: 1.5px solid var(--bt-line);
    border-radius: 8px;
}

.bt-formats li.is-free {
    border-color: var(--bt-ink);
}

.bt-small-note {
    margin: 0;
    color: var(--bt-ink-3);
    font-size: 14px;
}

/* ---- Accuracy ---- */

.bt-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 0;
    border-top: 1.5px solid var(--bt-line);
}

.bt-fact {
    padding: 28px 28px 32px 0;
    border-bottom: 1.5px solid var(--bt-line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bt-fact__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.025em;
}

.bt-fact__text {
    margin: 0;
    color: var(--bt-ink-2);
}

.bt-lang-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 40px;
    background: var(--bt-white);
    border: 2px solid var(--bt-ink);
    border-radius: 22px;
    padding: 28px 32px;
}

.bt-lang-callout__line {
    margin: 0;
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.5;
}

.bt-lang-callout__text {
    flex: 1 1 380px;
    margin: 0;
    color: var(--bt-ink-2);
    font-size: 16px;
}

.bt-lang-callout__text strong {
    color: var(--bt-ink);
}

/* ---- AI tools ---- */

.bt-ai__body {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.bt-ai__cats {
    flex: 1 1 380px;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
    gap: 10px;
    align-content: start;
}

.bt-ai__cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--bt-night-line);
    background: var(--bt-night-2);
    border-radius: 14px;
    font-weight: 700;
}

.bt-ai__count {
    font-family: var(--bt-mono);
    font-size: 13px;
    color: var(--bt-fog-2);
}

.bt-ai__cat--active {
    border-color: var(--bt-yellow);
    background: var(--bt-yellow-10);
}

.bt-ai__cat--active .bt-ai__count {
    color: var(--bt-yellow);
}

.bt-ai__panel {
    flex: 1.3 1 460px;
    min-width: 0;
    background: var(--bt-night-2);
    color: var(--bt-cream);
    border: 1px solid var(--bt-night-line);
    border-radius: 22px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bt-ai__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
}

.bt-ai__chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--bt-ink);
    border: 1px solid var(--bt-night-line);
}

.bt-ai__chip span {
    color: var(--bt-fog-2);
}

.bt-ai__chip strong {
    font-weight: 700;
}

.bt-ai__answer {
    flex: 1;
    background: var(--bt-ink);
    border: 1px solid var(--bt-night-line);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 15px;
    line-height: 1.6;
}

.bt-ai__answer-title {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.bt-ai__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bt-ai__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-fog-2);
}

.bt-ai__point {
    color: var(--bt-fog);
}

.bt-ai__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--bt-fog-2);
}

.bt-ai__copy {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--bt-white);
    font-weight: 700;
}

.bt-keys-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    border-top: 1px solid var(--bt-night-line);
    padding-top: 28px;
}

.bt-providers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
}

.bt-providers li {
    padding: 8px 14px;
    border: 1px solid var(--bt-night-line);
    border-radius: 999px;
}

.bt-providers li.is-local {
    border-color: var(--bt-yellow);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bt-providers li.is-local span {
    font-size: 12px;
    color: var(--bt-yellow);
}

.bt-keys-row__note {
    color: var(--bt-fog-2);
    font-size: 14px;
    margin-left: auto;
}

/* ---- Privacy and comparison tables ---- */

.bt-privacy__row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}

.bt-table-box {
    flex: 1.5 1 520px;
    min-width: 0;
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
    overflow-x: auto;
}

.bt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.bt-table--480 {
    min-width: 480px;
}

.bt-table--640 {
    min-width: 640px;
}

.bt-table th,
.bt-table td {
    text-align: left;
    padding: 16px 24px;
    border-bottom: 1.5px solid var(--bt-cream-2);
}

.bt-table thead th,
.bt-table thead td {
    padding: 18px 24px;
    border-bottom-color: var(--bt-line);
}

.bt-table tbody tr:last-child th,
.bt-table tbody tr:last-child td {
    border-bottom: 0;
}

.bt-table thead th.bt-table__cap {
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-ink-3);
}

.bt-table tbody th {
    font-weight: 700;
}

.bt-table__muted {
    color: var(--bt-ink-2);
}

.bt-table__nothing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--bt-green);
}

.bt-table__aside {
    color: var(--bt-ink-3);
}

.bt-promises {
    flex: 1 1 340px;
    min-width: 0;
    list-style: none;
    margin: 0;
    background: var(--bt-ink);
    color: var(--bt-white);
    border-radius: 22px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bt-promises li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.bt-promises .bt-tick {
    width: 26px;
    height: 26px;
}

.bt-compare {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bt-compare__box {
    overflow-x: auto;
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
    background: var(--bt-white);
}

.bt-table .bt-table__corner {
    width: 22%;
}

.bt-table thead th.bt-table__them {
    font-weight: 800;
    color: var(--bt-ink-2);
}

.bt-table thead th.bt-table__us {
    font-weight: 800;
    background: var(--bt-ink);
    color: var(--bt-white);
}

.bt-table__us-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bt-dot-yellow {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--bt-yellow);
}

.bt-table td.bt-table__ours {
    font-weight: 700;
    background: var(--bt-cream);
}

/* ---- Who it's for ---- */

.bt-who__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 16px;
}

.bt-who {
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bt-cream);
}

.bt-who__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.bt-who__text {
    margin: 0;
    color: var(--bt-ink-2);
    font-size: 15px;
}

/* ---- How it works ---- */

.bt-how__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
    gap: 20px;
}

.bt-how {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 28px;
    padding: clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bt-how__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bt-how__steps li {
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.bt-how__num {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -0.04em;
    width: 44px;
}

.bt-how__text {
    font-size: 18px;
    font-weight: 600;
}

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

.bt-pricing-preview {
    padding: 0 0 clamp(80px, 9vw, 128px);
}

.bt-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 28px;
    align-items: stretch;
}

.bt-plan {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 28px;
    padding: clamp(28px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bt-plan--premium {
    border: 2px solid var(--bt-ink);
    box-shadow: 12px 12px 0 var(--bt-yellow);
}

.bt-plan__head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bt-plan__name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
}

.bt-plan__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.bt-plan__amount {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 64px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.bt-plan__period {
    color: var(--bt-ink-2);
    font-weight: 600;
}

.bt-plan__note {
    color: var(--bt-ink-2);
}

.bt-plan .bt-card-btn {
    margin-top: auto;
}

.bt-plans__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 32px;
    font-size: 15px;
    color: var(--bt-ink-2);
}

.bt-plans__foot a {
    color: var(--bt-ink);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ---- FAQ accordion ---- */

.bt-faq {
    background: var(--bt-white);
    border-top: 1.5px solid var(--bt-line);
    padding: var(--bt-section-y-lg) 0;
}

.bt-faq__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: 0 var(--bt-gutter);
    display: flex;
    flex-wrap: wrap;
    gap: 40px 64px;
}

.bt-faq__intro {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bt-faq__ask {
    margin: 0;
    color: var(--bt-ink-2);
    font-size: 17px;
}

.bt-faq__ask a {
    color: var(--bt-blue);
    font-weight: 700;
}

.bt-faq__ask a:hover {
    color: var(--bt-blue-hover);
}

.bt-faq__list {
    flex: 2 1 560px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-top: 1.5px solid var(--bt-line);
}

.bt-faq__item {
    border-bottom: 1.5px solid var(--bt-line);
}

.bt-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    background: none;
    border: 0;
    text-align: left;
    font: inherit;
    font-weight: 800;
    font-size: 18px;
    color: var(--bt-ink);
    cursor: pointer;
    min-height: 44px;
}

.bt-faq__question svg {
    flex-shrink: 0;
}

.bt-faq__answer {
    margin: 0;
    padding: 0 40px 24px 0;
    color: var(--bt-ink-2);
    font-size: 16px;
    line-height: 1.6;
}

/* Open/closed state: site.js toggles .is-open on the item (the first one is
   rendered open, as in the design), aria-expanded on the button and the
   answer's hidden attribute together. */
.bt-faq__minus,
.bt-faq__item.is-open .bt-faq__plus {
    display: none;
}

.bt-faq__item.is-open .bt-faq__minus {
    display: block;
}

/* ---- Closing call to action ---- */

.bt-closing__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: var(--bt-section-y-lg) var(--bt-gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
}

.bt-closing__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: clamp(44px, 5.4vw, 80px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    max-width: 12em;
    text-wrap: balance;
}

.bt-closing__text {
    margin: 0;
    color: var(--bt-fog);
    font-size: 18px;
    max-width: 34em;
}

.bt-closing__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.bt-closing__small {
    font-size: 14px;
    color: var(--bt-fog-2);
}

/* --------------------------------------------------------------------------
   9. Landing page — phone composition (bm), drawn at 390px in the design.
      Only shown at 640px and below (see part 1).
   -------------------------------------------------------------------------- */

.bm {
    display: flex;
    flex-direction: column;
}

.bm-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-ink-2);
}

.bm-h2 {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.035em;
}

.bm-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bm-lede {
    margin: 0;
    font-size: 17px;
    color: var(--bt-ink-2);
}

.bm-section {
    padding: 64px 20px;
}

.bm-section--white {
    background: var(--bt-white);
    border-top: 1.5px solid var(--bt-line);
    border-bottom: 1.5px solid var(--bt-line);
}

.bm-gap-20 { gap: 20px; }
.bm-gap-24 { gap: 24px; }
.bm-gap-28 { gap: 28px; }

.bm-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.bm-badge--premium {
    color: var(--bt-yellow);
    background: var(--bt-ink);
}

.bm-badge--free {
    color: var(--bt-ink-2);
    border: 1.5px solid var(--bt-line-2);
    padding: 2px 8px;
}

/* ---- Hero ---- */

.bm-hero {
    padding: 36px 20px 56px;
    gap: 22px;
}

.bm-hero__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 9px;
    border: 1.5px solid var(--bt-line);
    background: var(--bt-white);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-ink-2);
}

.bm-hero__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--bt-yellow);
    border: 2px solid var(--bt-ink);
}

.bm-hero__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 54px;
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.bm-hero__sub {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    color: var(--bt-ink-2);
}

.bm-hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
}

.bm-btn--yellow {
    min-height: 56px;
    background: var(--bt-yellow);
    color: var(--bt-ink);
    font-size: 17px;
}

.bm-btn--yellow:hover {
    color: var(--bt-ink);
}

.bm-btn--outlined {
    border: 2px solid var(--bt-ink);
}

.bm-btn--white {
    min-height: 52px;
    background: var(--bt-white);
    color: var(--bt-ink);
    border: 1.5px solid var(--bt-line);
    font-size: 16px;
}

.bm-btn--white:hover {
    color: var(--bt-ink);
}

.bm-btn--outline {
    min-height: 52px;
    border: 1.5px solid var(--bt-ink);
    color: var(--bt-ink);
}

.bm-btn--outline:hover {
    color: var(--bt-ink);
}

.bm-btn--dark {
    min-height: 52px;
    background: var(--bt-ink);
    color: var(--bt-white);
}

.bm-btn--dark:hover {
    color: var(--bt-white);
}

.bm-hero__checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    font-size: 13px;
    color: var(--bt-ink-2);
    font-weight: 600;
}

.bm-hero__checks li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bm-hero__visual {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
    padding-right: 8px;
}

.bm-hero__bubble {
    align-self: flex-end;
    position: relative;
    z-index: 2;
    margin: 0 -4px -20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bt-white);
    border: 2px solid var(--bt-ink);
    border-radius: 999px;
    padding: 5px 12px 5px 5px;
    box-shadow: 3px 3px 0 var(--bt-ink);
}

.bm-hero__lang {
    font-family: var(--bt-mono);
    font-size: 11px;
    background: var(--bt-ink);
    color: var(--bt-white);
    padding: 3px 8px;
    border-radius: 999px;
}

.bm-hero__said {
    font-size: 14px;
    font-weight: 600;
}

.bm-mail {
    position: relative;
    z-index: 1;
    background: var(--bt-white);
    border: 2px solid var(--bt-ink);
    border-radius: 20px;
    box-shadow: 8px 8px 0 var(--bt-ink);
    overflow: hidden;
}

.bm-mail__bar {
    padding: 12px 16px;
    border-bottom: 1.5px solid var(--bt-line);
    background: var(--bt-cream);
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-ink-2);
}

.bm-mail__fields {
    padding: 0 16px;
}

.bm-mail__field {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1.5px solid var(--bt-cream-2);
    font-size: 13px;
}

.bm-mail__label {
    color: var(--bt-ink-3);
    width: 50px;
}

.bm-mail__value {
    font-weight: 700;
}

.bm-mail__body {
    padding: 14px 16px 56px;
    font-size: 15px;
    line-height: 1.65;
}

.bm-mail__body p {
    margin: 0;
}

.bm-mail__body p:first-child {
    margin: 0 0 10px;
}

.bm-inserted {
    align-self: center;
    position: relative;
    z-index: 2;
    margin-top: -26px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bt-ink);
    border: 1px solid var(--bt-white-16);
    border-radius: 999px;
    padding: 8px 9px;
    color: var(--bt-white);
}

.bm-inserted .bt-tick {
    width: 26px;
    height: 26px;
}

.bm-inserted__label {
    font-weight: 800;
    font-size: 13px;
}

.bm-inserted__count {
    color: var(--bt-fog);
    font-size: 12px;
}

.bm-tag {
    font-family: var(--bt-font);
    font-size: 11px;
    background: var(--bt-night-3);
    color: var(--bt-fog);
    padding: 3px 8px;
    border-radius: 999px;
}

.bm-hero__keys {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.bm-key {
    font-family: var(--bt-font);
    font-weight: 800;
    font-size: 13px;
    background: var(--bt-white);
    border: 2px solid var(--bt-ink);
    border-radius: 10px;
    box-shadow: 0 3px 0 var(--bt-ink);
    padding: 7px 12px;
}

.bm-key--space {
    min-width: 100px;
    text-align: center;
}

/* ---- Numbers and demos ---- */

.bm-numbers {
    padding: 52px 20px;
    gap: 48px;
}

.bm-stats {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
}

.bm-stat {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 6px;
    border-top: 1.5px solid var(--bt-night-line);
    padding-top: 14px;
}

.bm-stat dt {
    color: var(--bt-fog);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.bm-stat dd {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.bm-stat--yellow {
    border-top-color: var(--bt-yellow);
}

.bm-stat--yellow dd {
    color: var(--bt-yellow);
}

.bm-watch {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bm-watch__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.035em;
}

.bm-video {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bm-video__frame {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    background: var(--bt-night-2);
    border: 1.5px dashed var(--bt-white-24);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bm-video__play {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--bt-white);
    border: 0;
    color: var(--bt-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.bm-video__note {
    font-family: var(--bt-font);
    font-size: 11px;
    color: var(--bt-fog-2);
}

.bm-video__caption {
    font-size: 14px;
    font-weight: 800;
}

/* ---- Dictation ---- */

.bm-new-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bm-new {
    background: var(--bt-ink);
    color: var(--bt-yellow);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
}

.bm-card {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
    overflow: hidden;
}

.bm-card__stage {
    background: var(--bt-cream-2);
    border-bottom: 1.5px solid var(--bt-line);
    padding: 28px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.bm-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bt-ink);
    border-radius: 999px;
    padding: 9px 9px 9px 14px;
    color: var(--bt-white);
}

.bm-pill--copied {
    gap: 8px;
    padding: 7px 14px 7px 7px;
}

.bm-pill__label {
    font-weight: 800;
    font-size: 13px;
}

.bm-pill .bt-tick {
    width: 24px;
    height: 24px;
}

.bm-meter {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
}

.bm-meter span {
    width: 3px;
    border-radius: 2px;
    background: var(--bt-yellow);
}

.bm-steps {
    list-style: none;
    margin: 0;
    padding: 8px 20px;
    display: flex;
    flex-direction: column;
}

.bm-steps li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1.5px solid var(--bt-cream-2);
}

.bm-steps li:last-child {
    border-bottom: 0;
}

.bm-steps__num {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 30px;
    line-height: 1;
    width: 22px;
}

.bm-steps__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bm-steps__body strong {
    font-weight: 800;
    font-size: 18px;
}

.bm-steps__body span {
    color: var(--bt-ink-2);
    font-size: 15px;
}

.bm-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bm-feature {
    display: flex;
    gap: 14px;
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 18px;
    padding: 16px;
}

.bm-feature__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--bt-cream);
    border: 1.5px solid var(--bt-line);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bm-feature__icon--dark {
    background: var(--bt-ink);
    border: 0;
    color: var(--bt-yellow);
}

.bm-feature__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bm-feature__body strong {
    font-weight: 800;
}

.bm-feature__body span {
    color: var(--bt-ink-2);
    font-size: 15px;
}

.bm-words {
    background: var(--bt-ink);
    color: var(--bt-white);
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bm-words__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.bm-words__status {
    font-size: 14px;
    color: var(--bt-fog);
}

.bm-words__note {
    font-size: 14px;
    color: var(--bt-fog-2);
}

/* ---- Studio ---- */

.bm-studio {
    background: var(--bt-night);
    color: var(--bt-white);
    border: 2px solid var(--bt-ink);
    border-radius: 20px;
    box-shadow: 8px 8px 0 var(--bt-yellow);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.bm-studio__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bm-studio__title {
    font-weight: 800;
    font-size: 14px;
}

.bm-studio__done {
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-mint);
    background: var(--bt-mint-14);
    padding: 3px 8px;
    border-radius: 999px;
}

.bm-studio__player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bm-studio__pause {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--bt-white);
    color: var(--bt-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bm-studio__time {
    font-family: var(--bt-mono);
    font-size: 11px;
    color: var(--bt-fog);
}

.bm-studio__lines {
    background: var(--bt-ink);
    border-radius: 12px;
    padding: 4px;
    display: flex;
    flex-direction: column;
}

.bm-studio__line {
    display: flex;
    gap: 12px;
    padding: 8px 10px;
}

.bm-studio__stamp {
    font-family: var(--bt-mono);
    font-size: 11px;
    color: var(--bt-fog-2);
}

.bm-studio__said {
    color: var(--bt-fog);
}

.bm-studio__line--now {
    background: var(--bt-yellow-10);
    border-radius: 8px;
}

.bm-studio__line--now .bm-studio__stamp {
    color: var(--bt-yellow);
}

.bm-studio__notes {
    background: var(--bt-ink);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--bt-fog);
}

.bm-studio__notes-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: var(--bt-white);
}

.bm-h3 {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.bm-h3--spaced {
    margin-top: 12px;
}

.bm-h3--tight {
    margin-top: 16px;
    line-height: 1.1;
}

.bm-ways {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    border-top: 1.5px solid var(--bt-line);
}

.bm-ways li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1.5px solid var(--bt-line);
}

.bm-ways li > svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.bm-ways__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bm-ways__head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.bm-ways__head strong {
    font-weight: 800;
}

.bm-ways__desc {
    color: var(--bt-ink-2);
    font-size: 15px;
}

.bm-export {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bm-export strong {
    font-weight: 800;
}

.bm-formats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-family: var(--bt-mono);
    font-size: 12px;
}

.bm-formats li {
    padding: 4px 9px;
    border: 1.5px solid var(--bt-line);
    border-radius: 8px;
}

.bm-formats li.is-free {
    border-color: var(--bt-ink);
}

.bm-small {
    color: var(--bt-ink-3);
    font-size: 14px;
}

/* ---- Accuracy ---- */

.bm-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    border-top: 1.5px solid var(--bt-line);
}

.bm-facts li {
    padding: 16px 0;
    border-bottom: 1.5px solid var(--bt-line);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bm-facts strong {
    font-weight: 800;
    font-size: 17px;
}

.bm-facts span {
    color: var(--bt-ink-2);
    font-size: 15px;
}

.bm-lang {
    background: var(--bt-white);
    border: 2px solid var(--bt-ink);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bm-lang__line {
    margin: 0;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.5;
}

.bm-lang__text {
    margin: 0;
    color: var(--bt-ink-2);
    font-size: 15px;
}

.bm-lang__text strong {
    color: var(--bt-ink);
}

/* ---- AI tools ---- */

.bm-ai {
    background: var(--bt-ink);
    color: var(--bt-white);
}

.bm-ai .bm-eyebrow {
    color: var(--bt-fog);
}

.bm-ai__premium {
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-ink);
    background: var(--bt-yellow);
    padding: 3px 9px;
    border-radius: 999px;
}

.bm-ai .bm-lede {
    color: var(--bt-fog);
}

.bm-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.bm-chips li {
    padding: 8px 12px;
    border: 1px solid var(--bt-night-line);
    background: var(--bt-night-2);
    border-radius: 12px;
}

.bm-chips span {
    font-family: var(--bt-font);
    color: var(--bt-fog-2);
}

.bm-chips li.is-active {
    border-color: var(--bt-yellow);
    background: var(--bt-yellow-10);
}

.bm-chips li.is-active span {
    color: var(--bt-yellow);
}

.bm-answer {
    background: var(--bt-night-2);
    border: 1px solid var(--bt-night-line);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.bm-answer__meta {
    color: var(--bt-fog-2);
}

.bm-answer__title {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 18px;
}

.bm-answer__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-fog-2);
}

.bm-answer__point {
    color: var(--bt-fog);
}

.bm-byok {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bm-byok__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-fog-2);
}

.bm-providers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
}

.bm-providers li {
    padding: 7px 12px;
    border: 1px solid var(--bt-night-line);
    border-radius: 999px;
}

.bm-providers li.is-local {
    border-color: var(--bt-yellow);
}

.bm-providers li.is-local span {
    color: var(--bt-yellow);
    font-size: 12px;
}

/* ---- Privacy ---- */

.bm-leaves {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 20px;
    padding: 4px 18px;
}

.bm-leaves__row {
    padding: 14px 0;
    border-bottom: 1.5px solid var(--bt-cream-2);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bm-leaves__row:last-child {
    border-bottom: 0;
}

.bm-leaves__when {
    font-weight: 700;
}

.bm-leaves__nothing {
    color: var(--bt-green);
    font-weight: 800;
}

.bm-leaves__what {
    color: var(--bt-ink-2);
    font-size: 15px;
}

.bm-promises {
    list-style: none;
    margin: 0;
    background: var(--bt-ink);
    color: var(--bt-white);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 15px;
}

.bm-promises li {
    display: flex;
    gap: 12px;
}

.bm-promises svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.bm-compare {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 20px;
    overflow: hidden;
    font-size: 14px;
}

.bm-compare__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1.5px solid var(--bt-cream-2);
}

.bm-compare__row:last-child {
    border-bottom: 0;
}

.bm-compare__row span {
    padding: 12px 14px;
}

.bm-compare__row span:first-child {
    color: var(--bt-ink-2);
}

.bm-compare__row span:last-child {
    font-weight: 700;
    background: var(--bt-cream);
}

.bm-compare__row--head {
    border-bottom: 0;
    font-weight: 700;
    font-size: 12px;
}

.bm-compare__row--head span:first-child {
    border-bottom: 1.5px solid var(--bt-line);
}

.bm-compare__row--head span:last-child {
    font-weight: 800;
    background: var(--bt-ink);
    color: var(--bt-white);
}

/* ---- Who it's for ---- */

.bm-who {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bm-who__card {
    border: 1.5px solid var(--bt-line);
    border-radius: 18px;
    padding: 16px;
    background: var(--bt-cream);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bm-who__card strong {
    font-weight: 800;
    font-size: 15px;
    line-height: 1.25;
}

/* ---- How it works ---- */

.bm-how {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bm-how__step {
    display: flex;
    gap: 14px;
    align-items: baseline;
}

.bm-how__num {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 30px;
    width: 22px;
    line-height: 1;
}

.bm-how__text {
    font-weight: 600;
}

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

.bm-pricing {
    padding: 0 20px 64px;
    gap: 20px;
}

.bm-plan {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bm-plan--premium {
    border: 2px solid var(--bt-ink);
    box-shadow: 8px 8px 0 var(--bt-yellow);
    margin-right: 8px;
}

.bm-plan__name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.bm-plan__lifetime {
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-yellow);
    background: var(--bt-ink);
    padding: 3px 9px;
    border-radius: 999px;
}

.bm-plan__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.bm-plan__amount {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 52px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.bm-plan__period {
    color: var(--bt-ink-2);
    font-weight: 600;
}

.bm-plan__summary {
    color: var(--bt-ink-2);
    font-size: 15px;
}

.bm-pricing__note {
    color: var(--bt-ink-2);
    font-size: 14px;
    text-align: center;
}

/* ---- FAQ ---- */

.bm-faq {
    background: var(--bt-white);
    border-top: 1.5px solid var(--bt-line);
    padding: 64px 20px;
    gap: 20px;
}

.bm-faq__list {
    display: flex;
    flex-direction: column;
    border-top: 1.5px solid var(--bt-line);
}

.bm-faq__item {
    border-bottom: 1.5px solid var(--bt-line);
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bm-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    font: inherit;
    font-weight: 800;
    font-size: 16px;
    color: var(--bt-ink);
    cursor: pointer;
}

.bm-faq__question svg {
    flex-shrink: 0;
}

.bm-faq__answer {
    margin: 0;
    color: var(--bt-ink-2);
    font-size: 15px;
}

.bm-faq__item .bt-faq__minus,
.bm-faq__item.is-open .bt-faq__plus {
    display: none;
}

.bm-faq__item.is-open .bt-faq__minus {
    display: block;
}

/* ---- Closing call to action ---- */

.bm-closing {
    padding: 64px 20px;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.bm-closing__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 44px;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.bm-closing__text {
    margin: 0;
    color: var(--bt-fog);
    font-size: 16px;
}

.bm-closing .bm-btn--yellow {
    align-self: stretch;
}

.bm-closing__small {
    font-size: 13px;
    color: var(--bt-fog-2);
}

/* --------------------------------------------------------------------------
   10. Pricing and download pages (drawn at 1440px; they reflow below that)
   -------------------------------------------------------------------------- */

/* ---- Page hero shared by pricing and download ---- */

.bt-page-hero {
    padding: var(--bt-hero-y) 0 var(--bt-section-y-lg);
}

.bt-page-hero__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: 0 var(--bt-gutter);
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.bt-page-hero__inner--center {
    align-items: center;
}

.bt-page-hero__head {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 860px;
}

.bt-page-hero__head--center {
    align-items: center;
    text-align: center;
    max-width: 820px;
}

.bt-page-hero__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: clamp(46px, 5.6vw, 82px);
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.bt-page-hero__sub {
    margin: 0;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.55;
    color: var(--bt-ink-2);
    max-width: 34em;
}

/* ---- Currency switch ---- */

.bt-currency {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
}

.bt-currency__option {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    color: var(--bt-ink-2);
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
}

.bt-currency__option:hover {
    color: var(--bt-ink);
}

.bt-currency__option.is-active {
    background: var(--bt-ink);
    color: var(--bt-white);
}

/* ---- Plan cards ---- */

.bt-price-cards {
    width: 100%;
    max-width: 1040px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
    gap: 28px;
    align-items: stretch;
}

/* ---- Pricing: the free-trial band ---- */

/* Above the two cards and spanning both, because it applies to neither: a trial is
   full Premium for a few days, not a third thing to compare prices with. Volt-tinted
   so it reads as an offer rather than another plan. */
.bt-trial-offer {
    width: 100%;
    max-width: 1040px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 36px);
    padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.6vw, 30px);
    border-radius: 22px;
    background: var(--accent-soft);
    border: 1.5px solid var(--bt-yellow);
}

@media (max-width: 760px) {
    .bt-trial-offer {
        flex-direction: column;
        align-items: flex-start;
    }
}

.bt-trial-offer__copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.bt-trial-offer__title {
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.bt-trial-offer__text {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--bt-ink-2);
    max-width: 68ch;
}

.bt-trial-offer__action {
    flex: none;
}

/* The reason, where the button would have been, so the paragraph above is not left
   describing an offer with no way to take it. */
.bt-trial-offer__refusal {
    flex: none;
    margin: 0;
    max-width: 34ch;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--bt-ink-2);
}

/* ---- Pricing: the billing term switch ---- */

/* A segmented control built from links.
 *
 * Inside the card rather than above the grid, because it changes one card's price
 * and not the page: a switch floating between the two cards would look as though
 * it governed Free as well.
 */
.bt-term-switch {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px;
    border-radius: 999px;
    background: var(--bt-cream-2);
    border: 1px solid var(--bt-line);
    /* Narrow cards wrap it rather than widening the card or clipping an option. */
    flex-wrap: wrap;
    gap: 2px;
}

.bt-term-switch__option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--bt-ink-2);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease;
}

.bt-term-switch__option:hover {
    color: var(--bt-ink);
    background: var(--bt-white);
}

.bt-term-switch__option:focus-visible {
    outline: 2px solid var(--bt-blue);
    outline-offset: 2px;
}

/* The selected term is a filled pill, which is the one shape a segmented control
   is read by. */
.bt-term-switch__option.is-current {
    background: var(--bt-ink);
    color: var(--bt-white);
}

/* The saving, on the option it belongs to rather than in a sentence underneath:
   the point of a term switch is choosing between terms, and the discount is the
   reason to choose one. Volt carries Ink text, never white. */
.bt-term-switch__save {
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--bt-yellow);
    color: var(--bt-ink);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* On the selected pill the Volt badge would sit on Ink and shout; a quiet
   version keeps the figure readable without competing with the price. */
.bt-term-switch__option.is-current .bt-term-switch__save {
    background: var(--bt-white-18);
    color: var(--bt-white);
}

.bt-price-card {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 28px;
    padding: clamp(28px, 3vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.bt-price-card--premium {
    border: 2px solid var(--bt-ink);
    box-shadow: 12px 12px 0 var(--bt-yellow);
}

.bt-price-card__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bt-price-card__name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.bt-price-card__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.bt-price-card__price--wrap {
    flex-wrap: wrap;
}

.bt-price-card__amount {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 72px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.bt-price-card__period,
.bt-price-card__note {
    color: var(--bt-ink-2);
}

.bt-price-card__period {
    font-weight: 600;
}

.bt-price-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
}

.bt-price-card__button--outline {
    border: 1.5px solid var(--bt-ink);
    color: var(--bt-ink);
}

.bt-price-card__button--outline:hover {
    color: var(--bt-ink);
}

.bt-price-card__button--dark {
    background: var(--bt-ink);
    color: var(--bt-white);
}

.bt-price-card__button--dark:hover {
    color: var(--bt-white);
}

.bt-price-card__button--soon {
    border: 1.5px dashed var(--bt-line-2);
    background: var(--bt-cream);
    color: var(--bt-ink-3);
}

.bt-price-card .bt-checks {
    border-top: 1.5px solid var(--bt-cream-2);
    padding-top: 22px;
}

.bt-price-card .bt-checks strong {
    font-weight: 800;
}

.bt-centered-note {
    margin: 0;
    color: var(--bt-ink-3);
    font-size: 14px;
    text-align: center;
}

/* ---- Feature comparison ---- */

.bt-page-section {
    padding: var(--bt-section-y) 0;
}

/* A section that carries the drifting field needs to be its positioning context
   and to clip it, or the glyphs placed at 3% and 96% spill into the sections
   either side. isolation keeps the field under the content without giving every
   child inside a z-index. */
.bt-page-section--field {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

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

/* The same for the landing page, which uses .bt-section rather than
   .bt-page-section. One rule set, two class names, because renaming either
   would touch every section on the site. */
.bt-section--field {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

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

.bt-page-section--white {
    background: var(--bt-white);
    border-top: 1.5px solid var(--bt-line);
    border-bottom: 1.5px solid var(--bt-line);
}

.bt-page-section--top {
    background: var(--bt-white);
    border-top: 1.5px solid var(--bt-line);
}

.bt-stack--40 {
    gap: 30px;
}

.bt-feature-table-box {
    overflow-x: auto;
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
}

.bt-feature-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 15px;
}

.bt-feature-table thead td,
.bt-feature-table thead th {
    padding: 20px 24px;
    border-bottom: 1.5px solid var(--bt-line);
}

.bt-feature-table thead td {
    width: 46%;
}

.bt-feature-table thead th {
    text-align: left;
    font-weight: 800;
    font-size: 17px;
}

.bt-feature-table thead th.bt-feature-table__free {
    width: 27%;
}

.bt-feature-table thead th.bt-feature-table__premium {
    background: var(--bt-ink);
    color: var(--bt-white);
}

.bt-feature-table__group {
    text-align: left;
    padding: 30px 24px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-ink-3);
}

.bt-feature-table tbody tr:first-child .bt-feature-table__group {
    padding-top: 22px;
}

.bt-feature-table tbody th[scope="row"],
.bt-feature-table tbody td {
    padding: 14px 24px;
    border-top: 1.5px solid var(--bt-cream-2);
}

.bt-feature-table tbody th[scope="row"] {
    text-align: left;
    font-weight: 600;
}

.bt-feature-table__text {
    color: var(--bt-ink-2);
}

.bt-feature-table td.bt-feature-table__ours {
    background: var(--bt-cream);
}

.bt-feature-table__strong {
    font-weight: 700;
}

.bt-feature-table__none {
    color: var(--bt-ink-3);
    font-weight: 700;
}

/* ---- How your licence works + ways to pay ---- */

.bt-licence__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: 0 var(--bt-gutter);
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.bt-licence__main {
    flex: 1.3 1 520px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bt-numbered {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    border-top: 1.5px solid var(--bt-line);
}

.bt-numbered li {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1.5px solid var(--bt-line);
}

.bt-numbered__num {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 36px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    width: 32px;
    flex-shrink: 0;
}

.bt-numbered__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bt-numbered__body strong {
    font-weight: 800;
    font-size: 18px;
}

.bt-numbered__body span {
    color: var(--bt-ink-2);
}

.bt-pay {
    flex: 1 1 380px;
    min-width: 0;
    background: var(--bt-ink);
    color: var(--bt-white);
    border-radius: 28px;
    padding: clamp(28px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-self: flex-start;
}

.bt-pay__block {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bt-pay__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.bt-pay__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bt-pay__method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--bt-night-line);
    background: var(--bt-night-2);
    border-radius: 14px;
    font-weight: 700;
}

.bt-pay__how {
    font-size: 13px;
    font-weight: 600;
    color: var(--bt-fog-2);
    white-space: nowrap;
}

.bt-pay__text {
    margin: 0;
    color: var(--bt-fog);
    font-size: 15px;
}

.bt-pay__foot {
    margin: 0;
    color: var(--bt-fog-2);
    font-size: 14px;
    border-top: 1px solid var(--bt-night-line);
    padding-top: 18px;
}

/* ---- "Before you buy" questions ---- */

.bt-qa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
    gap: 0 48px;
}

.bt-qa__item {
    border-top: 1.5px solid var(--bt-line);
    padding: 24px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bt-qa__question {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.bt-qa__answer {
    margin: 0;
    color: var(--bt-ink-2);
}

/* ---- Split call to action (pricing, download) ---- */

.bt-cta-split__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: var(--bt-section-y-lg) var(--bt-gutter);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px 48px;
}

.bt-cta-split__copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 640px;
}

.bt-cta-split__title {
    margin: 0;
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: clamp(40px, 4.6vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.bt-cta-split__text {
    margin: 0;
    color: var(--bt-fog);
    font-size: 18px;
}

/* The download page's single "See Premium" button keeps the wider padding. */
.bt-btn--wide {
    padding: 0 26px;
}

/* ---- Download: platform cards ---- */

.bt-platforms {
    display: grid;
    /* Equal columns so the two cards are the same width and height. They used to
       be flex 1.5 vs 1, which made Windows half again as wide as macOS. */
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    /* head / features / button / small print - four shared rows, so the
       buttons sit on the same line however long each card's small print runs.
       grid-auto-rows repeats the same four, because there are three cards now
       and a narrow viewport wraps them onto a second row: without it those
       implicit rows are all `auto`, and the wrapped card's button no longer
       lines up with anything. */
    grid-template-rows: auto 1fr auto auto;
    grid-auto-rows: auto 1fr auto auto;
    column-gap: 24px;
    row-gap: 18px;
    align-items: stretch;
}

.bt-platform {
    min-width: 0;
    /* The turning border is an absolutely positioned pseudo-element and needs
     * this to sit against the card. It is out of flow, so it never becomes a
     * grid item and cannot disturb the subgrid rows below. */
    position: relative;
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 24px;
    padding: clamp(24px, 2.6vw, 34px);
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.bt-platform:hover {
    border-color: var(--bt-line-2);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px var(--bt-ink-07);
}

/* Every card weighs the same.
 *
 * .bt-platform--primary gave Windows a 2px ink border to mark it as the lead
 * platform. That read correctly while there were two cards. With three -- one
 * Windows and one per Mac architecture -- a heavier border on the first one
 * reads as "this one is special because it is first", which is not what it
 * means. The Available / Early access tags already say which platform is the
 * mature one, in words, which is clearer than a border weight. Restoring the
 * emphasis is one class in download.php if that judgement is wrong.
 */

/* The angle has to be a registered custom property or it cannot be animated:
 * an unregistered one is a string to the engine, so it would jump from 0deg to
 * 360deg instead of travelling. Where @property is unsupported the ring still
 * draws, it simply does not turn -- which is the same end state as
 * prefers-reduced-motion, so nothing looks broken. */
@property --bt-platform-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Hallmark · deviation: a fifth motion primitive, the platform card's turning
 * border · the owner's explicit request, and at their direction it runs always
 * rather than on hover · not waived, because no guard holds: recorded as a
 * decision · kept intact: an ambient loop and nothing pointer-linked, one
 * registered angle only, pointer-events none, under the content, aria-hidden
 * by being a pseudo-element with no content, and a full stop under
 * prefers-reduced-motion that leaves the ring drawn and still.
 *
 * Volt and Ink only. Signal (--bt-blue) is this system's interactive colour --
 * links, and `outline: 2px solid var(--bt-blue)` for focus. A blue arc
 * travelling round a card reads as a focus ring arriving, which is a thing the
 * page says elsewhere and must keep meaning. The header makes the same choice:
 * its "you are here" rule is Volt, and nothing decorative is blue. */
/* Gated, because the ring is a filled shape that a mask turns into an outline.
 * Without mask-composite that fill is never cut away, so a browser lacking it
 * would paint a conic gradient over the whole card and bury the content. No
 * support, no ring: the plain 1.5px border is already there underneath. */
@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    .bt-platform::before {
        content: "";
        position: absolute;
        /* Out to the border box: an absolutely positioned child is placed against
         * the padding box, so without this the ring would sit inside the border
         * instead of over it. Matches .bt-platform's 1.5px border. */
        inset: -1.5px;
        border-radius: inherit;
        padding: 1.5px;
        /* Mostly the ordinary border colour, with one Volt and one Ink highlight
         * travelling through it. At rest a card still reads as a bordered card --
         * the motion is a highlight passing, not a coloured ring spinning, which
         * three cards doing it at once would be. */
        background: conic-gradient(from var(--bt-platform-angle),
            var(--bt-line) 0deg,
            var(--bt-line) 40deg,
            var(--bt-yellow) 95deg,
            var(--bt-line) 155deg,
            var(--bt-line) 215deg,
            var(--bt-ink) 265deg,
            var(--bt-line) 325deg,
            var(--bt-line) 360deg);
        /* Keep the fill and show only the padding ring. Both spellings: Safari
         * still needs the -webkit- pair. */
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
                mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
                mask-composite: exclude;
        pointer-events: none;
        /* Slow on purpose. Three of these run at once, side by side, for as long as
         * the page is open; at a few seconds it reads as a carousel. The hover
         * feedback is the card's existing lift and shadow, so the speed never
         * changes -- restarting an animation on hover makes the highlight jump. */
        animation: bt-platform-turn 9s linear infinite;
    }
}

/* Head / features / footer line up across both cards, so the two download
   buttons sit on the same line however long each card's small print runs.
   This must come after .bt-platform's display:flex - @supports adds no
   specificity, so source order decides. */
@supports (grid-template-rows: subgrid) {
    .bt-platform {
        display: grid;
        grid-row: span 4;
        grid-template-rows: subgrid;
    }
}

@keyframes bt-platform-turn {
    to { --bt-platform-angle: 360deg; }
}

.bt-platform__head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}

.bt-platform__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--bt-cream-2);
    color: var(--bt-ink);
    flex: none;
}

.bt-platform__icon--dark {
    background: var(--bt-ink);
    color: var(--bt-white);
}

.bt-platform__names {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.bt-platform__name {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: clamp(22px, 2vw, 27px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.bt-platform__os {
    color: var(--bt-ink-3);
    font-size: 14px;
    font-weight: 600;
}

.bt-platform__tag {
    align-self: start;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--bt-cream-2);
    color: var(--bt-ink-2);
    white-space: nowrap;
}

.bt-platform__tag--ready {
    background: var(--bt-green-12);
    color: var(--bt-green);
}

.bt-platform__tag--beta {
    background: var(--bt-yellow);
    color: var(--bt-ink);
}

.bt-platform__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.bt-platform__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--bt-ink);
}

.bt-platform__features li svg {
    flex: none;
    color: var(--bt-green);
}

/* A capability this platform does not have yet reads as muted, not as a tick. */
.bt-platform__features li.is-pending {
    color: var(--bt-ink-3);
    font-weight: 600;
}

.bt-platform__features li.is-pending svg {
    color: var(--bt-ink-3);
}

.bt-platform__cta {
    align-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 14px;
    background: var(--bt-ink);
    color: var(--bt-white);
    text-decoration: none;
    font-weight: 800;
    font-size: 16.5px;
    text-align: center;
    transition: background 160ms ease, transform 160ms ease;
}

.bt-platform__cta:hover {
    color: var(--bt-white);
    background: var(--bt-night);
    transform: translateY(-1px);
}

.bt-platform__cta--soon {
    background: var(--bt-cream);
    border: 1.5px dashed var(--bt-line-2);
    color: var(--bt-ink-3);
    cursor: not-allowed;
}

.bt-platform__cta--soon:hover {
    background: var(--bt-cream);
    color: var(--bt-ink-3);
    transform: none;
}

.bt-platform__meta {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--bt-ink-3);
    text-align: center;
}

.bt-platform__meta a {
    color: var(--bt-blue);
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .bt-platform,
    .bt-platform:hover,
    .bt-platform__cta,
    .bt-platform__cta:hover {
        transition: none;
        transform: none;
    }

    /* Drawn, and still. The angle keeps its initial 0deg, so the ring is the
     * border colour with the two highlights parked where the gradient puts
     * them -- a card that looks deliberate rather than one missing a border. */
    .bt-platform::before {
        animation: none;
    }
}

/* ---- Download: macOS first launch ---- */

/* The section is a sequence of three things that happen, in order, not a list of
   faults. Each stage is a numbered row; stage 1 happens to have two outcomes, so
   its two cards sit between its heading and the next number. */
.bt-macgate__stage {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

/* Outlined rather than filled, so these read as the spine of the section and the
   solid numbers inside the cards read as steps to carry out. */
.bt-macgate__stage-num {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 999px;
    border: 2px solid var(--bt-ink);
    color: var(--bt-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.bt-macgate__stage-body {
    min-width: 0;
    padding-top: 6px;
}

.bt-macgate__stage-title {
    margin: 0 0 6px;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.bt-macgate__stage-lede {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--bt-ink-2);
}

/* The two outcome cards belong to stage 1, so they are indented to its text and
   not to the page: unindented they looked like a third thing at the same level as
   the numbered stages. */
.bt-macgate__cases {
    margin-left: 60px;
}

@media (max-width: 720px) {
    /* No room to indent at this width, and the number already carries the
       grouping. */
    .bt-macgate__cases {
        margin-left: 0;
    }
}

/* The actions inside stages 2 and 3. Not <ol>, because these are things that are
   all true rather than a sequence -- the numbered spine is the sequence. */
.bt-macgate__points {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 68ch;
}

.bt-macgate__points li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 15.5px;
    line-height: 1.6;
}

.bt-macgate__points svg {
    flex: none;
    margin-top: 4px;
    color: var(--bt-ink);
}

.bt-macgate__points strong {
    font-weight: 800;
}


/* Stacked, not side by side.
 *
 * The two cases are three short steps and five that include a shell command, so
 * as equal columns one card was always half the height of the other and the pair
 * read as unfinished. They are alternatives rather than a comparison -- a visitor
 * sees one message, never both -- so nothing is gained by putting them level.
 *
 * As full-width rows each case is as tall as it needs to be, and the message gets
 * a column of its own rather than a heading squeezed above the steps.
 */
.bt-macgate__cases {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bt-macgate__case {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 24px;
    padding: clamp(22px, 2.4vw, 30px);
    display: grid;
    /* The message column is fixed so both rows agree on where the steps begin;
       without that the two step lists start at different places and the section
       looks ragged down its middle. */
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: clamp(20px, 3vw, 44px);
    align-items: start;
}

@media (max-width: 860px) {
    /* One column before the message gets too narrow to hold its quote on two
       lines. */
    .bt-macgate__case {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* The message: what the visitor is looking at, and one line saying what it means. */
.bt-macgate__message {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "icon quote" ".    aside";
    align-items: start;
    gap: 6px 14px;
}

.bt-macgate__message .bt-macgate__icon {
    grid-area: icon;
}

.bt-macgate__message .bt-macgate__quote {
    grid-area: quote;
    align-self: center;
}

.bt-macgate__message .bt-macgate__aside {
    grid-area: aside;
    margin-top: 2px;
}

@media (max-width: 860px) {
    /* Stacked, the aside tucking under the icon wastes the width it needs. */
    .bt-macgate__message {
        grid-template-areas: "icon quote" "aside aside";
    }
}

.bt-macgate__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 14px;
    background: var(--bt-cream-2);
    color: var(--bt-ink);
}

.bt-macgate__quote {
    display: block;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* The reassurance, not the message: "damaged" is alarming and the first thing a
   reader needs is that the app is fine. */
.bt-macgate__aside {
    display: block;
    margin-top: 4px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--bt-ink-2);
}

/* Smaller than the Windows steps: these cards sit two to a row, where 17px bold
   wraps the longer lines.

   align-items: flex-start, not center, because a step that wraps to two lines --
   or holds the command block -- would otherwise float its number against the
   middle of the step instead of beside its first line. */
.bt-macgate__steps li {
    font-size: 15.5px;
    gap: 13px;
    align-items: flex-start;
}

/* These cards hold longer steps than the Windows list, so the lines need room to
   breathe. Set on the text and not the li: the number is a fixed-size circle and a
   1.55 line-height would make it an oval. */
.bt-macgate__steps .bt-smartscreen__text {
    font-weight: 600;
    line-height: 1.55;
}

/* The number keeps its own line-height, or a 1.55 one makes the circle an oval. */
.bt-macgate__steps .bt-smartscreen__num {
    line-height: 1;
    /* Nudged down to sit on the text's first line rather than above it. */
    margin-top: 1px;
}

.bt-macgate__steps .bt-smartscreen__num {
    width: 30px;
    height: 30px;
    font-size: 14px;
}

/* The command and its button share a row and a background, so the button reads as
   part of the command rather than as a second action in the step. */
.bt-macgate__command {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 8px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bt-ink);
}

.bt-macgate__copy {
    flex: none;
    align-self: stretch;
    padding: 0 14px;
    border: 0;
    border-left: 1px solid var(--bt-white-18);
    background: transparent;
    color: var(--bt-white);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.bt-macgate__copy:hover {
    background: var(--bt-white-13);
}

.bt-macgate__copy:focus-visible {
    outline: 2px solid var(--bt-yellow);
    outline-offset: -3px;
}

/* Volt on the confirmation, which is this system's "done" colour, and Ink text on
   it -- Volt never carries white. */
.bt-macgate__copy.is-copied {
    background: var(--bt-yellow);
    color: var(--bt-ink);
}

/* A button that can do nothing is worse than no button: without script there is
   nothing to copy with, and the code is selectable on its own. */
html:not(.js) .bt-macgate__copy {
    display: none;
}

.bt-macgate__code {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px;
    color: var(--bt-white);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    /* Copied, not read aloud: one click selects all of it, and it breaks rather
       than widening the page on a phone. */
    user-select: all;
    overflow-wrap: anywhere;
}

/* The aside under a step: quieter than the instruction, and on its own line so it
   does not read as part of it. */
.bt-macgate__hint {
    display: block;
    margin-top: 4px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--bt-ink-2);
}

/* The closing line of the macOS walkthrough: the one piece of good news in a
   section of obstacles, so it carries Volt rather than another plain row. */
.bt-macgate__done {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 18px 0 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--accent-soft);
    border: 1px solid var(--bt-yellow);
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 68ch;
}

.bt-macgate__done svg {
    flex: none;
    margin-top: 3px;
    color: var(--bt-ink);
}

/* The macOS message, quoted so it can be matched against what is on screen. Set
   apart from the explanation: it is what the reader sees, not what we are saying. */
.bt-macgate__quoted {
    margin: 0 0 10px;
    padding-left: 14px;
    border-left: 3px solid var(--bt-line-2);
    color: var(--bt-ink-2);
    font-size: 15px;
    font-style: italic;
    line-height: 1.6;
    max-width: 62ch;
}

/* The one-click alternative to the three steps above it. Quieter than the closing
   Volt line, which is the section's conclusion, but set apart from the steps so it
   is not mistaken for a fourth one. */
.bt-macgate__shortcut {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 14px 0 0;
    padding: 13px 15px;
    border-radius: 14px;
    background: var(--bt-cream-2);
    border: 1px solid var(--bt-line);
    font-size: 15px;
    line-height: 1.6;
    max-width: 68ch;
}

.bt-macgate__shortcut svg {
    flex: none;
    margin-top: 3px;
    color: var(--bt-ink);
}

/* ---- Download: SmartScreen help ---- */

.bt-smartscreen__inner {
    max-width: var(--bt-max);
    margin: 0 auto;
    padding: 0 var(--bt-gutter);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px 72px;
}

.bt-smartscreen__copy {
    flex: 1 1 440px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.bt-smartscreen__lede {
    margin: 0;
    font-size: 18px;
    color: var(--bt-ink-2);
}

.bt-smartscreen__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bt-smartscreen__steps li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 17px;
    font-weight: 600;
}

.bt-smartscreen__steps strong {
    font-weight: 800;
}

/* A step's words, as one flex item.
 *
 * The <li> is a flex row, so every child is a flex item -- and a bare run of text
 * is a child. Without this wrapper "Click <strong>Run anyway</strong>." was three
 * items with the row's 16px gap between each: the emphasis sat in a box of its
 * own and the full stop drifted a gap away from the word it belongs to.
 *
 * display: block restores ordinary inline flow inside, so <strong> sits in the
 * sentence again.
 */
.bt-smartscreen__text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.bt-smartscreen__num {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--bt-ink);
    color: var(--bt-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.bt-smartscreen__stage {
    flex: 1 1 420px;
    min-width: 0;
    background: var(--bt-cream);
    border: 1.5px solid var(--bt-line);
    border-radius: 28px;
    padding: clamp(24px, 4vw, 48px);
    display: flex;
    justify-content: center;
}

.bt-dialog {
    width: 100%;
    max-width: 420px;
    background: var(--bt-white);
    border: 2px solid var(--bt-ink);
    border-radius: 18px;
    box-shadow: 8px 8px 0 var(--bt-ink);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.bt-dialog__title span {
    font-weight: inherit;
    font-size: inherit;
}

.bt-dialog__lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bt-dialog__lines span {
    height: 8px;
    border-radius: 999px;
    background: var(--bt-line);
}

.bt-dialog__more {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bt-dialog__more span:last-child {
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bt-dialog__marker {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--bt-yellow);
    border: 2px solid var(--bt-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.bt-dialog__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.bt-dialog__run {
    padding: 10px 18px;
    border-radius: 10px;
    border: 2px solid var(--bt-ink);
    font-weight: 800;
}

.bt-dialog__dont {
    padding: 10px 18px;
    border-radius: 10px;
    border: 1.5px solid var(--bt-line);
    color: var(--bt-ink-3);
    font-weight: 700;
}

/* ---- Download: first run ---- */

.bt-head--760 {
    gap: 18px;
    max-width: 760px;
}

.bt-first-run {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: 12px;
}

.bt-first-run li {
    background: var(--bt-white);
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bt-first-run__num {
    font-family: var(--bt-mono);
    font-size: 13px;
    color: var(--bt-ink-3);
}

.bt-first-run strong {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.bt-first-run__text {
    color: var(--bt-ink-2);
    font-size: 15px;
}

.bt-first-run li.is-last {
    background: var(--bt-ink);
    color: var(--bt-white);
    border-color: var(--bt-ink);
}

.bt-first-run li.is-last .bt-first-run__num {
    color: var(--bt-yellow);
}

.bt-first-run li.is-last .bt-first-run__text {
    color: var(--bt-fog);
}

/* ---- Download: speech models ---- */

.bt-split-head__main--720 {
    gap: 18px;
    max-width: 720px;
}

.bt-split-head__lede--17 {
    font-size: 17px;
    line-height: 1.5;
}

.bt-models-box {
    overflow-x: auto;
    border: 1.5px solid var(--bt-line);
    border-radius: 22px;
}

.bt-models {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    font-size: 15px;
}

.bt-models thead tr {
    background: var(--bt-cream);
}

.bt-models thead th {
    text-align: left;
    padding: 16px 22px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-ink-3);
    border-bottom: 1.5px solid var(--bt-line);
}

.bt-models tbody th,
.bt-models tbody td {
    padding: 16px 22px;
    border-bottom: 1.5px solid var(--bt-cream-2);
}

.bt-models tbody th {
    text-align: left;
    font-weight: 800;
}

.bt-models__name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.bt-models__recommended {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--bt-yellow);
    color: var(--bt-ink);
}

.bt-models__size {
    font-family: var(--bt-mono);
    font-size: 14px;
}

.bt-models__langs {
    color: var(--bt-ink-2);
}

.bt-dots {
    display: inline-flex;
    gap: 4px;
}

.bt-dots span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--bt-line);
}

.bt-dots span.is-on {
    background: var(--bt-ink);
}

.bt-models .bt-badge--premium {
    padding: 4px 9px;
}

.bt-ruled__item--18 {
    padding-top: 18px;
    gap: 6px;
}

.bt-ruled__item--18 strong {
    font-weight: 800;
    font-size: 18px;
}

.bt-ruled__item--18 span {
    color: var(--bt-ink-2);
}

/* ---- Download: system requirements ---- */

.bt-requirements {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 0 32px;
    border-top: 1.5px solid var(--bt-line);
}

.bt-requirements div {
    padding: 22px 0;
    border-bottom: 1.5px solid var(--bt-line);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bt-requirements dt {
    font-size: 12px;
    font-weight: 700;
    color: var(--bt-ink-3);
}

.bt-requirements dd {
    margin: 0;
    font-weight: 600;
}

/* ---- Pricing and download below 640px ----
   The design draws these pages only at 1440px. Two places need help on a
   phone: the SmartScreen steps, whose words the design spaces as separate flex
   items (fine at 1440px, ragged columns at 390px), and the dialog sketch,
   whose buttons would wrap. Everything else reflows as designed. */
@media (max-width: 640px) {
    .bt-smartscreen__steps li {
        display: block;
        position: relative;
        min-height: 36px;
        padding: 6px 0 0 52px;
    }

    .bt-smartscreen__num {
        position: absolute;
        left: 0;
        top: 0;
    }

    .bt-smartscreen__stage {
        padding: 16px;
    }

    .bt-dialog {
        padding: 20px;
    }

    .bt-dialog__run,
    .bt-dialog__dont {
        padding: 8px 12px;
        white-space: nowrap;
    }
}

/* ==========================================================================
   Part 5 — the older component library

   Used by the account, checkout, sign-in, error and content pages, which the
   design does not draw. Their <main> carries .lh, and the page typography
   below is scoped to it so it cannot reach the designed pages. The components
   themselves read the tokens in part 1, which is what gives these pages the
   BarqType colours, type and corners.

   The scope is wrapped in :where() so these rules keep the weight of the bare
   element selectors they replace: any single class in a component (an
   .auth-aside__title, a .card__title) must still win over them.
   ========================================================================== */

.lh {
    line-height: 1.6;
}

:where(.lh) h1,
:where(.lh) h2,
:where(.lh) h3,
:where(.lh) h4 {
    margin: 0 0 var(--space-4);
    line-height: 1.1;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

:where(.lh) p {
    margin: 0 0 var(--space-4);
    max-width: var(--measure);
    text-wrap: pretty;
}

:where(.lh) code {
    font-family: var(--font-mono);
    font-size: .9em;
    background: var(--bg-inset);
    padding: .15em .4em;
    border-radius: 6px;
}

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


/* ---- kept from the original stylesheet: 4. Buttons, 5. Alerts ---- */
/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: .625rem 1.15rem;
    font: inherit;
    font-size: .9375rem;
    font-weight: 570;
    line-height: 1.2;
    letter-spacing: -.005em;
    white-space: nowrap;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: background .18s var(--ease), border-color .18s var(--ease),
                color .18s var(--ease), box-shadow .18s var(--ease),
                transform .18s var(--ease);
}

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn:active { transform: translateY(1px); }

.btn--primary {
    background: var(--grad-brand);
    color: var(--text-on-accent);
    box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
    color: var(--text-on-accent);
    box-shadow: 0 10px 30px var(--accent-glow);
    filter: brightness(1.06);
}

.btn--ghost {
    background: var(--surface);
    border-color: var(--line);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--line-strong);
    background: var(--bg-inset);
    color: var(--text);
}

/* Tinted, for a secondary action that still belongs to the brand. */
.btn--soft {
    background: var(--accent-soft);
    border-color: var(--accent-line);
    color: var(--accent-text);
}

.btn--soft:hover {
    background: var(--accent-softer);
    color: var(--accent-text);
}

/* Chromeless, for header links that must not compete with the primary action. */
.btn--quiet {
    background: transparent;
    border-color: transparent;
    color: var(--text-secondary);
}

.btn--quiet:hover {
    background: var(--bg-inset);
    color: var(--text);
}

/* On a saturated panel, where the tokens above would vanish. */
.btn--invert {
    background: var(--p-white);
    color: var(--p-brand-700);
}

.btn--invert:hover {
    background: var(--p-white);
    color: var(--p-brand-800);
    box-shadow: var(--shadow-lg);
}

.btn--outline-invert {
    background: transparent;
    border-color: var(--bt-white-45);
    color: var(--p-white);
}

.btn--outline-invert:hover {
    background: var(--bt-white-12);
    border-color: var(--p-white);
    color: var(--p-white);
}

.btn.is-disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Alerts
   -------------------------------------------------------------------------- */

.alert {
    margin: var(--space-4) 0;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    max-width: none;
    font-size: .9375rem;
}

.alert--success {
    background: var(--success-bg);
    border-color: var(--success-line);
    color: var(--success-fg);
}

.alert--error {
    background: var(--danger-bg);
    border-color: var(--danger-line);
    color: var(--danger-fg);
}

/* ---- kept from the original stylesheet: 7. Sections, grid, cards (dashboard, contact, legal pages) ---- */
/* --------------------------------------------------------------------------
   7. Sections, grid, cards
   -------------------------------------------------------------------------- */

.section {
    padding: var(--space-24) 0;
}

.section--muted {
    background: var(--bg-subtle);
    border-block: 1px solid var(--line);
}

.section__title {
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    letter-spacing: -.03em;
    margin-bottom: var(--space-8);
}

/* Centred section header: kicker, title, one line of context. */
.section-head {
    max-width: 46rem;
    margin: 0 auto var(--space-12);
    text-align: center;
}

.section-head .section__title { margin-bottom: var(--space-4); }

.section-head__lede {
    margin: 0 auto;
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

.kicker {
    display: block;
    margin-bottom: var(--space-3);
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.grid {
    display: grid;
    gap: var(--space-6);
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    padding: var(--space-6);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card__title {
    font-size: 1.0625rem;
    margin-bottom: var(--space-2);
}

.card__body {
    margin: 0;
    color: var(--text-secondary);
    font-size: .9375rem;
}

/* ---- kept from the original stylesheet: 8b. Forms and authentication, 8c. Notices, detail lists, page headers ---- */
/* --------------------------------------------------------------------------
   8b. Forms and authentication
   -------------------------------------------------------------------------- */

.auth {
    display: grid;
    place-items: center;
    padding: var(--space-16) var(--space-6);
    min-height: 70vh;
    background: var(--grad-mesh), var(--bg-subtle);
}

/* Used when the card sits inside an already-framed page (the account area)
   rather than standing alone as the whole screen. */
.auth--inline {
    min-height: 0;
    padding: var(--space-12) var(--space-6);
    background: none;
}

/* --------------------------------------------------------------------------
   Split authentication screens

   Form on the left, brand panel on the right, filling what is left of the
   viewport under the header. The panel is decoration with a job: it is the
   only place on these pages where we can answer "what am I signing into?"
   The whole right column disappears below the breakpoint rather than being
   stacked, because on a phone it would push the form below the fold.
   -------------------------------------------------------------------------- */

body.page-auth .promo-bar { display: none; }

.auth-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: calc(100dvh - var(--header-h));
}

.auth-split__form {
    display: grid;
    place-items: center;
    padding: var(--space-12) var(--space-6);
    background: var(--bg);
}

.auth-split__inner {
    width: 100%;
    max-width: 26rem;
}

.auth-split__title {
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    margin-bottom: var(--space-2);
}

.auth-split__lede {
    margin-bottom: var(--space-8);
    font-size: .9375rem;
    color: var(--text-secondary);
}

.auth-split__alt {
    margin: var(--space-6) 0 0;
    padding-top: var(--space-6);
    border-top: 1px solid var(--line);
    font-size: .875rem;
    color: var(--text-secondary);
}

.auth-split__legal {
    margin: var(--space-6) 0 0;
    font-size: .75rem;
    color: var(--text-muted);
}

.auth-aside {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    padding: var(--space-16) var(--space-12);
    color: var(--text-on-accent);
    background: var(--grad-brand);
}

.auth-aside::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(28rem 20rem at 85% 15%, var(--bt-tint-22d3ee-38), transparent 62%),
        radial-gradient(24rem 18rem at 10% 90%, var(--bt-white-18), transparent 60%);
    pointer-events: none;
}

/* Same faint grid as the marketing hero, so the two read as one system. */
.auth-aside::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--bt-white-13) 1px, transparent 1px),
        linear-gradient(to bottom, var(--bt-white-13) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 80%);
    pointer-events: none;
}

.auth-aside > * { position: relative; z-index: 1; max-width: 30rem; }

.auth-aside__kicker {
    margin: 0 0 var(--space-4);
    font-size: .6875rem;
    font-weight: 700;
    color: var(--bt-white-7);
}

.auth-aside__title {
    margin: 0 0 var(--space-4);
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
    line-height: 1.15;
    color: var(--text-on-accent);
}

.auth-aside__lede { margin: 0; color: var(--bt-white-82); font-size: 1rem; }

.auth-aside__list {
    display: grid;
    gap: var(--space-4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-aside__list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: var(--space-3);
    font-size: .9375rem;
    color: var(--bt-white-9);
}

.auth-aside__list svg { width: 22px; height: 22px; color: var(--p-accent-300); }

.auth-aside__foot {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--bt-white-22);
    font-size: .8125rem;
    color: var(--bt-white-75);
}

.auth-aside__foot strong { display: block; font-size: 1.125rem; color: var(--text-on-accent); }

@media (max-width: 900px) {
    .auth-split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .auth-aside { display: none; }
    .auth-split__form { padding-block: var(--space-16); }
}

.auth__card {
    width: 100%;
    max-width: 27rem;
    padding: var(--space-8);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.auth__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.auth__lede {
    color: var(--text-secondary);
    font-size: .9375rem;
    margin-bottom: var(--space-6);
}

.auth__alt {
    margin: var(--space-6) 0 0;
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
    font-size: .875rem;
    color: var(--text-secondary);
    text-align: center;
}

.field {
    margin-bottom: var(--space-4);
}

.field__label {
    display: block;
    margin-bottom: var(--space-1);
    font-size: .875rem;
    font-weight: 550;
    color: var(--ink-700);
}

.field__label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-2);
}

.field__link {
    font-size: .8125rem;
}

.field__input,
.field__select,
.field__textarea {
    width: 100%;
    padding: .6rem .75rem;
    font: inherit;
    font-size: .9375rem;
    color: var(--ink-900);
    background: var(--paper);
    border: 1px solid var(--ink-300);
    border-radius: var(--radius-md);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px var(--brand-100);
}

.field__input.is-invalid {
    border-color: var(--err-600);
}

.field__input.is-invalid:focus {
    box-shadow: 0 0 0 3px var(--err-100);
}

.field__error {
    margin: var(--space-1) 0 0;
    font-size: .8125rem;
    color: var(--err-600);
    max-width: none;
}

.field__hint {
    margin: var(--space-1) 0 0;
    font-size: .8125rem;
    color: var(--ink-300);
    max-width: none;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    font-size: .875rem;
    color: var(--ink-500);
    cursor: pointer;
}

.checkbox input {
    margin-top: .2em;
    flex: none;
    accent-color: var(--brand-600);
}

.checkbox.is-invalid span {
    color: var(--err-600);
}

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

.inline-form {
    display: inline;
}

.btn--small {
    padding: .35rem .75rem;
    font-size: .8125rem;
}

/* Impersonation banner — deliberately loud, because forgetting you are wearing
   someone else's account is how mistakes get made. */
/* Fixed amber rather than the themed token: this bar must look identical and
   alarming in both themes, and the dark-theme amber is far too light to carry
   white text. */
.impersonation-bar {
    background: var(--p-amber-600);
    color: var(--p-white);
    position: relative;
    z-index: 30;
}

.impersonation-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding-block: var(--space-2);
}

.impersonation-bar__text {
    font-size: .875rem;
}

.impersonation-bar .btn--ghost {
    border-color: var(--bt-white-5);
    color: var(--bt-cream);
    background: transparent;
}

.impersonation-bar .btn--ghost:hover {
    background: var(--bt-white-12);
    border-color: var(--bt-cream);
    color: var(--bt-cream);
}

/* --------------------------------------------------------------------------
   8c. Notices, detail lists, page headers
   -------------------------------------------------------------------------- */

.notice {
    margin: var(--space-6) 0;
    padding: var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-100);
    background: var(--ink-50);
}

.notice--warn {
    background: var(--warning-bg);
    border-color: var(--warning-line);
}

.notice--dev {
    background: var(--accent-soft);
    border-color: var(--accent-line);
}

.notice__title {
    margin: 0 0 var(--space-1);
    font-weight: 600;
    font-size: .9375rem;
    color: var(--ink-900);
    max-width: none;
}

.notice__body {
    margin: 0 0 var(--space-3);
    font-size: .875rem;
    color: var(--ink-500);
    max-width: none;
}

.notice__body:last-child {
    margin-bottom: 0;
}

.badge {
    display: inline-block;
    padding: .15rem .55rem;
    font-size: .75rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.badge--ok {
    background: var(--success-bg);
    border-color: var(--success-line);
    color: var(--success-fg);
}

.badge--warn {
    background: var(--warning-bg);
    border-color: var(--warning-line);
    color: var(--warning-fg);
}

.page-head {
    margin-bottom: var(--space-8);
}

.page-head__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: var(--space-2);
}

.page-head__lede {
    color: var(--ink-500);
    margin: 0;
}

.detail-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-2) var(--space-4);
    margin: 0;
    font-size: .875rem;
}

.detail-list dt {
    color: var(--ink-300);
}

.detail-list dd {
    margin: 0;
    color: var(--ink-700);
}

.dashboard__admin-link {
    margin-top: var(--space-8);
    padding: var(--space-4);
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
    font-size: .875rem;
    max-width: none;
}

/* ---- kept from the original stylesheet: Currency switch (checkout) ---- */
.currency-switch {
    display: inline-flex;
    padding: 3px;
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    border-radius: 999px;
}

.currency-switch__option {
    padding: .35rem 1rem;
    font-size: .875rem;
    font-weight: 550;
    color: var(--ink-500);
    text-decoration: none;
    border-radius: 999px;
}

.currency-switch__option:hover {
    color: var(--ink-900);
}

.currency-switch__option.is-active {
    background: var(--paper);
    color: var(--brand-600);
    box-shadow: var(--shadow-sm);
}

/* ---- kept from the original stylesheet: 9. Error pages ---- */
/* --------------------------------------------------------------------------
   9. Error pages
   -------------------------------------------------------------------------- */

.error-page {
    padding: var(--space-16) 0;
    min-height: 60vh;
    display: grid;
    place-items: center;
}

.error-page__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-page__code {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--ink-100);
    margin-bottom: var(--space-4);
}

.error-page__title {
    font-size: clamp(1.375rem, 4vw, 2rem);
}

.error-page__body {
    color: var(--ink-500);
    margin-bottom: var(--space-6);
}

.error-page__actions {
    margin-bottom: var(--space-8);
}

.error-page__debug {
    max-width: 100%;
    width: min(100%, 900px);
    overflow-x: auto;
    text-align: left;
    padding: var(--space-4);
    background: var(--p-n-950);
    color: var(--p-n-200);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: .8125rem;
    line-height: 1.5;
}

.error-page__debug pre {
    margin: var(--space-3) 0 0;
    white-space: pre;
}

.error-page__debug-head {
    margin: 0;
    max-width: none;
    color: var(--p-red-400);
}

.error-page__debug-file {
    margin: var(--space-2) 0 0;
    max-width: none;
    color: var(--ink-300);
}

/* ---- kept from the original stylesheet: 11. Responsive, payment methods, checkout, orders, licences, devices ---- */
/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {
    .container { padding-inline: var(--space-4); }

    .hero {
        padding-top: var(--space-12);
    }

    .section {
        padding: var(--space-16) 0;
    }

    .cta-band,
    .cta-band--large { padding: var(--space-6); }

    .cta-band__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* Uploaded logo, replacing the built-in wordmark when one is set. */
.brand__logo {
    display: block;
    max-height: 32px;
    max-width: 180px;
}

/* --------------------------------------------------------------------------
   Accepted payment methods
   Rendered from the gateways that accept the currency on screen, so the list
   changes with the currency switcher rather than being decorative.
   -------------------------------------------------------------------------- */

.payment-methods {
    margin: var(--space-12) auto 0;
    max-width: 900px;
    text-align: center;
}

.payment-methods__title {
    margin: 0 0 var(--space-4);
    font-size: .8125rem;
    font-weight: 650;
    letter-spacing: .06em;
    color: var(--ink-500);
}

.payment-methods__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    min-width: 150px;
    padding: var(--space-3) var(--space-4);
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.payment-method__logo {
    width: auto;
    max-width: 80px;
    max-height: 32px;
    object-fit: contain;
}

.payment-method__name {
    font-size: .875rem;
    font-weight: 600;
    color: var(--ink-900);
}

.payment-method__note {
    font-size: .75rem;
    color: var(--ink-500);
}

.payment-methods__note {
    margin: var(--space-4) auto 0;
    max-width: 60ch;
    font-size: .8125rem;
    color: var(--ink-300);
}

/* ==========================================================================
   Checkout, orders and receipts
   ========================================================================== */

.container--narrow { max-width: 860px; }

.page-title {
    margin: 0 0 var(--space-6);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--ink-900);
}

.page-head .page-title { margin-bottom: 0; }

.breadcrumb {
    margin: 0 0 var(--space-4);
    font-size: .8125rem;
    color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-text); }

/* Status badges. The public site had only two; orders need the full set. */
.badge--info    { background: var(--brand-100); color: var(--brand-600); }
.badge--err     { background: var(--err-100);   color: var(--err-600); }
.badge--pending { background: var(--ink-50);    color: var(--ink-500); }

.notice--info  { border-left-color: var(--brand-500); background: var(--brand-100); }
.notice--error { border-left-color: var(--err-600);   background: var(--err-100); }

.notice__list { margin: var(--space-2) 0 0; padding-left: 1.1rem; font-size: .875rem; }

.field__hint--ok { color: var(--ok-600); }

.field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--space-4);
}

/* --------------------------------------------------------------- Checkout */

.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: var(--space-8);
    align-items: start;
}

/* The total should not scroll away while the payment methods are being read. */
@media (min-width: 821px) {
    .checkout__summary { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
}

.checkout__form {
    padding: var(--space-8);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 820px) {
    .checkout { grid-template-columns: minmax(0, 1fr); }
    /* Summary first on a phone: what you are paying matters more than how. */
    .checkout__summary { order: -1; }
}

.checkout__block {
    margin: 0 0 var(--space-6);
    padding: 0;
    border: 0;
}

.checkout__legend {
    padding: 0;
    margin: 0 0 var(--space-3);
    font-size: .8125rem;
    font-weight: 650;
    color: var(--ink-500);
}

.checkout__coupon { max-width: 320px; }

.checkout__legal {
    margin: var(--space-4) 0 0;
    font-size: .75rem;
    color: var(--ink-300);
}

.checkout__summary {
    position: sticky;
    top: var(--space-4);
    padding: var(--space-6);
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.checkout__summary-title {
    margin: 0 0 var(--space-4);
    font-size: .75rem;
    font-weight: 650;
    letter-spacing: .07em;
    color: var(--ink-300);
}

.checkout__plan { margin: 0; font-size: 1.05rem; font-weight: 650; color: var(--ink-900); }
.checkout__tagline { margin: var(--space-1) 0 0; font-size: .8125rem; color: var(--ink-500); }

.checkout__facts {
    margin: var(--space-3) 0 var(--space-4);
    padding: 0;
    list-style: none;
    font-size: .8125rem;
    color: var(--ink-500);
}

.checkout__facts li { padding: 2px 0; }

.checkout__totals { margin: 0; padding-top: var(--space-3); border-top: 1px solid var(--ink-100); }

.checkout__line {
    display: flex;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-2) 0;
    font-size: .9375rem;
}

.checkout__line dt { color: var(--ink-500); }
.checkout__line dd { margin: 0; font-variant-numeric: tabular-nums; }
.checkout__line--discount dd { color: var(--ok-600); }

.checkout__line--total {
    margin-top: var(--space-2);
    padding-top: var(--space-3);
    border-top: 1px solid var(--ink-100);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-900);
}

.checkout__note {
    margin: var(--space-4) 0 0;
    font-size: .75rem;
    line-height: 1.5;
    color: var(--ink-300);
}

/* ------------------------------------------------------- Method selection */

.method {
    display: block;
    margin-bottom: var(--space-3);
    padding: var(--space-4) var(--space-6);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease),
                background-color .15s var(--ease);
}

.method:hover { border-color: var(--line-strong); background: var(--bg-inset); }

.method:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 3px var(--ring);
}

.method:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

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

.method input { margin-right: var(--space-3); }

.method__body { display: inline-block; vertical-align: top; width: calc(100% - 2rem); }

.method__head { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.method__logo { max-width: 72px; max-height: 28px; width: auto; object-fit: contain; }
.method__name { font-weight: 650; color: var(--ink-900); }

.method__note {
    display: block;
    margin-top: var(--space-1);
    font-size: .8125rem;
    line-height: 1.5;
    color: var(--ink-500);
}

/* --------------------------------------------------------- Paying offline */

.pay-summary {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    color: var(--text-on-accent);
    background: var(--grad-brand);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.pay-summary .pay-summary__label,
.pay-summary .pay-summary__hint { color: var(--bt-white-82); }
.pay-summary .pay-summary__amount { color: var(--text-on-accent); }

.pay-summary .pay-summary__reference {
    color: var(--text-on-accent);
    background: var(--bt-white-16);
    border-color: var(--bt-white-3);
}

.pay-summary__row { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.pay-summary__label { font-size: .875rem; color: var(--ink-700); }

.pay-summary__amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink-900);
    font-variant-numeric: tabular-nums;
}

.pay-summary__reference {
    padding: .15rem .6rem;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--ink-900);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    user-select: all;
}

.pay-summary__hint { margin: 0; font-size: .8125rem; color: var(--ink-700); }

.pay-steps { margin: 0 0 0 var(--space-6); padding: 0; list-style: none; counter-reset: pay-step; }

@media (max-width: 720px) { .pay-steps { margin-left: 0; } }

.pay-step {
    position: relative;
    margin-bottom: var(--space-6);
    padding: var(--space-8);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    counter-increment: pay-step;
}

/* The number is drawn rather than left to the list marker, so it can sit on the
   card's edge instead of outside it. */
.pay-step::before {
    content: counter(pay-step);
    position: absolute;
    top: var(--space-8);
    left: calc(var(--space-8) * -1 + .25rem);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: .875rem;
    font-weight: 700;
    color: var(--text-on-accent);
    background: var(--grad-brand);
    box-shadow: var(--shadow-accent);
}

@media (max-width: 720px) {
    .pay-step { padding: var(--space-6); }
    .pay-step::before { position: static; margin-bottom: var(--space-4); }
}

.pay-step__title { margin: 0 0 var(--space-3); font-size: 1.15rem; color: var(--text); }
.pay-step__lede { margin: 0 0 var(--space-4); font-size: .9375rem; color: var(--text-secondary); }
.pay-step__logo { max-height: 34px; width: auto; margin-bottom: var(--space-4); }
.pay-step__instructions { margin: 0 0 var(--space-4); line-height: 1.7; }

.account-details {
    margin: 0 0 var(--space-4);
    padding: var(--space-4);
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
}

.account-details__title {
    margin: 0 0 var(--space-2);
    font-size: .75rem;
    color: var(--ink-300);
}

.account-details__body {
    margin: 0;
    font-family: var(--font-mono);
    font-size: .875rem;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    user-select: all;
}

.pay-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    font-size: .875rem;
}

/* ----------------------------------------------------------- Outcome page */

.outcome {
    max-width: 640px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-8);
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.outcome--ok { border-top: 4px solid var(--success-fg); }
.outcome--problem { border-top: 4px solid var(--warning-fg); }

/* Result badge above the headline: a large tick or exclamation, drawn from the
   status colours so the page reads before it is read. */
.outcome__mark {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-6);
    border-radius: 50%;
    color: var(--text-secondary);
    background: var(--bg-inset);
}

.outcome__mark svg { width: 32px; height: 32px; }
.outcome--ok .outcome__mark { color: var(--success-fg); background: var(--success-bg); }
.outcome--problem .outcome__mark { color: var(--warning-fg); background: var(--warning-bg); }

.outcome__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }

.outcome__title { margin: 0 0 var(--space-3); font-size: 1.6rem; color: var(--ink-900); }
.outcome__lede { margin: 0 0 var(--space-4); color: var(--ink-700); }
.outcome__note { margin: 0 0 var(--space-4); font-size: .875rem; color: var(--ink-500); }
.outcome__status { margin: 0 0 var(--space-6); }

.outcome__actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------- Order history */

.empty-state {
    padding: var(--space-16) var(--space-6);
    text-align: center;
    background: var(--surface);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
}

.empty-state__title { margin: 0 0 var(--space-2); font-size: 1.15rem; color: var(--text); }
.empty-state__body { margin: 0 auto var(--space-6); color: var(--text-secondary); max-width: 42ch; }

.order-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }

.order-card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) auto auto;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-4) var(--space-6);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.order-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }

@media (max-width: 700px) {
    .order-card { grid-template-columns: minmax(0, 1fr); }
    .order-card__side { text-align: left; }
}

.order-card__number { margin: 0; font-family: var(--font-mono); font-size: .9375rem; }
.order-card__plan { margin: var(--space-1) 0 0; font-weight: 650; color: var(--ink-900); }
.order-card__meta { margin: var(--space-1) 0 0; font-size: .8125rem; color: var(--ink-300); }
.order-card__side { text-align: right; }

.order-card__amount {
    margin: 0 0 var(--space-1);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--ink-900);
}

.order-card__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

.order-status-blurb { margin: 0 0 var(--space-6); color: var(--ink-500); }

.order-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    align-items: center;
    margin-top: var(--space-6);
}

.panel-card {
    margin-bottom: var(--space-6);
    padding: var(--space-6);
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
}

.panel-card__title { margin: 0 0 var(--space-4); font-size: 1.05rem; color: var(--ink-900); }

.detail-grid { margin: 0 0 var(--space-4); display: grid; gap: var(--space-3); }
.detail-grid > div { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.detail-grid dt { font-size: .875rem; color: var(--ink-500); }
.detail-grid dd { margin: 0; font-size: .875rem; text-align: right; }

.proof {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: var(--space-4);
    align-items: start;
    padding: var(--space-4) 0;
    border-top: 1px solid var(--ink-100);
}

.proof:first-of-type { border-top: 0; padding-top: 0; }

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

.proof__meta p { margin: 0 0 var(--space-1); font-size: .875rem; }
.proof__submitted { color: var(--ink-500); }

.proof__thumb { display: block; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--ink-100); }
.proof__thumb img { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------------- Pagination */

.pagination {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    margin-top: var(--space-8);
}

.pagination__link {
    padding: .4rem .75rem;
    font-size: .875rem;
    color: var(--ink-500);
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.pagination__link:hover { border-color: var(--brand-500); color: var(--brand-600); }

.pagination__link.is-current {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-on-accent);
    font-weight: 650;
}

.pagination__gap { padding: .4rem .25rem; color: var(--ink-300); }

/* ==========================================================================
   Licence cards and devices
   ========================================================================== */

.licence-list { display: grid; gap: var(--space-6); }

.licence-card {
    padding: var(--space-6);
    background: var(--paper);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.licence-card--inactive { border-color: var(--warn-600); }

.licence-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-4);
}

.licence-card__plan { margin: 0 0 var(--space-2); font-size: 1.25rem; color: var(--ink-900); }
.licence-card__status { margin: 0; display: flex; gap: var(--space-2); flex-wrap: wrap; }

.licence-card__note {
    margin: 0 0 var(--space-4);
    padding: var(--space-3) var(--space-4);
    font-size: .875rem;
    color: var(--ink-700);
    background: var(--warn-100);
    border-radius: var(--radius-md);
}

/* The key is the reason this page exists: big, monospaced, selectable, and one
   click from the clipboard. */
.licence-key-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    border-radius: var(--radius-md);
}

.licence-key-value {
    flex: 1 1 auto;
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--ink-900);
    word-break: break-all;
    user-select: all;
}

.btn.is-copied {
    background: var(--ok-100);
    border-color: var(--ok-600);
    color: var(--ok-600);
}

.licence-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-4);
    margin: 0 0 var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--ink-100);
}

.licence-facts dt {
    font-size: .6875rem;
    letter-spacing: .07em;
    color: var(--ink-300);
    margin-bottom: 2px;
}

.licence-facts dd { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--ink-900); }
.licence-facts .muted { font-weight: 400; }

.devices__title {
    margin: 0 0 var(--space-3);
    font-size: .75rem;
    letter-spacing: .07em;
    color: var(--ink-300);
}

.devices__empty { margin: 0; font-size: .875rem; color: var(--ink-500); }

.devices__quota {
    margin: var(--space-3) 0 0;
    padding: var(--space-3) var(--space-4);
    font-size: .8125rem;
    color: var(--ink-700);
    background: var(--ink-50);
    border-radius: var(--radius-md);
}

.device-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }

.device {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    padding: var(--space-3) var(--space-4);
    background: var(--ink-50);
    border-radius: var(--radius-md);
}

.device__name { margin: 0; font-weight: 600; color: var(--ink-900); }
.device__meta { margin: 2px 0 0; font-size: .75rem; color: var(--ink-500); }

.device__actions { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.device__rename { display: flex; gap: var(--space-2); align-items: center; }

.field__input--compact {
    padding: .35rem .55rem;
    font-size: .8125rem;
    width: 11rem;
}

/* ==========================================================================
   Public website — Phase 11
   ========================================================================== */

.page-lede {
    max-width: var(--measure);
    margin: -0.75rem 0 var(--space-8);
    font-size: 1.05rem;
    color: var(--ink-500);
}

.btn--large { padding: .85rem 1.6rem; font-size: 1.0625rem; }

/* ---- kept from the original stylesheet: Download meta line (legal pages) ---- */
.download-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-3);
    margin: 0;
    padding: .4rem .9rem;
    font-size: .8125rem;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
}

/* ---- kept from the original stylesheet: Contact and legal pages ---- */
/* -------------------------------------------------------------- Contact */

.contact {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
    gap: var(--space-8);
    align-items: start;
}

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

/* Hidden from people without display:none — some bots skip those, and this one
   is meant to be filled in by them. */
.contact__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact__form {
    padding: var(--space-8);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact__form-title { margin: 0 0 var(--space-2); font-size: 1.25rem; }
.contact__form-lede { margin: 0 0 var(--space-6); font-size: .9375rem; color: var(--text-secondary); }

.contact__aside {
    padding: var(--space-6);
    background: var(--bg-inset);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.contact__aside-title {
    margin: 0 0 var(--space-4);
    font-size: .75rem;
    color: var(--text-secondary);
}

.contact__faq { margin: 0; }
.contact__faq dt { font-weight: 650; font-size: .875rem; color: var(--text); margin-bottom: 2px; }
.contact__faq dd { margin: 0 0 var(--space-4); font-size: .875rem; line-height: 1.55; color: var(--text-secondary); }

.contact__direct {
    margin: 0;
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
    font-size: .875rem;
}

/* Three facts about getting a reply, shown before the form so nobody has to
   guess how long to wait. */
.contact-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.contact-fact {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.contact-fact__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: var(--radius-sm);
    color: var(--accent-text);
    background: var(--accent-soft);
}

.contact-fact__icon svg { width: 17px; height: 17px; }
.contact-fact__title { display: block; font-size: .875rem; font-weight: 650; color: var(--text); }
.contact-fact__body { display: block; font-size: .8125rem; color: var(--text-secondary); }

/* ----------------------------------------------------------- Legal pages */

.legal-head { margin-bottom: var(--space-8); }
.legal-head__meta { margin: -0.75rem 0 0; font-size: .8125rem; color: var(--text-muted); }

.legal-foot {
    margin-top: var(--space-12);
    padding-top: var(--space-6);
    border-top: 1px solid var(--line);
    font-size: .875rem;
    color: var(--text-secondary);
}

.legal-foot p { margin: 0; max-width: none; }

/* Sibling policies, so a visitor who landed on Terms can reach Privacy without
   going back to the footer. */
.legal-nav {
    max-width: 52rem;
    margin: var(--space-8) auto 0;
    text-align: center;
}

.legal-nav__title {
    display: block;
    margin-bottom: var(--space-3);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--text-muted);
}

.legal-nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.legal-nav__list a {
    display: inline-block;
    padding: .45rem .9rem;
    font-size: .875rem;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    transition: border-color .15s var(--ease), color .15s var(--ease);
}

.legal-nav__list a:hover { border-color: var(--accent-line); color: var(--accent-text); }

/* Long-form prose on a panel, so an essay-length page still has an edge and a
   measure rather than floating in the middle of a wide viewport. */
.prose-card {
    max-width: 52rem;
    margin-inline: auto;
    padding: var(--space-12);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.prose-card .prose { max-width: none; }

@media (max-width: 640px) {
    .prose-card { padding: var(--space-6); }
}

/* Long-form prose, used by CMS pages and the about page. */
.prose { max-width: var(--measure); font-size: 1rem; line-height: 1.75; color: var(--ink-700); }

.prose__lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink-900); }

.prose h2 {
    margin: var(--space-8) 0 var(--space-3);
    font-size: 1.3rem;
    line-height: 1.3;
    color: var(--ink-900);
}

.prose h3 { margin: var(--space-6) 0 var(--space-2); font-size: 1.1rem; color: var(--ink-900); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 var(--space-4); }
.prose ul, .prose ol { margin: 0 0 var(--space-4); padding-left: 1.4rem; }
.prose li { margin-bottom: var(--space-2); }
.prose strong { color: var(--ink-900); }

.prose a { color: var(--brand-600); }

.prose blockquote {
    margin: 0 0 var(--space-4);
    padding: var(--space-3) var(--space-4);
    border-left: 3px solid var(--warn-600);
    background: var(--warn-100);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.prose blockquote p { margin: 0; }

.prose code {
    padding: .1rem .3rem;
    font-family: var(--font-mono);
    font-size: .875em;
    background: var(--ink-50);
    border-radius: 3px;
}

.prose hr { margin: var(--space-8) 0; border: 0; border-top: 1px solid var(--ink-100); }

/* ---- kept from the original stylesheet: Page hero, account shell, tiles, action cards, checkout shell ---- */
/* ----------------------------------------------------------- Page heroes

   Every page other than the landing page opens the same way: mesh background,
   kicker, title, one paragraph. Having one block for it is what stops the
   secondary pages from slowly drifting into five different headers.
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: var(--space-16) 0 var(--space-12);
    background: var(--grad-mesh), var(--bg);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: .45;
    mask-image: radial-gradient(70% 70% at 50% 20%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 20%, #000 20%, transparent 75%);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    max-width: 46rem;
    margin-inline: auto;
}

.page-hero__title {
    font-size: clamp(2rem, 4.4vw, 3rem);
    letter-spacing: -.035em;
    margin-bottom: var(--space-4);
}

.page-hero__lede {
    margin: 0 auto;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: var(--text-secondary);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-8);
}

.page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-4);
    margin: var(--space-6) 0 0;
    font-size: .8125rem;
    color: var(--text-muted);
    max-width: none;
}

.page-hero__meta strong { color: var(--text); font-weight: 600; }

/* The hero already carries generous bottom space; a full section rhythm on top
   of it leaves a hole between the title and the first thing you can act on. */
.page-hero + .section { padding-top: var(--space-16); }

/* ==========================================================================
   Account area — dashboard, licences, orders, password

   The signed-in pages share one shell: a tinted band carrying the title and
   the sub-navigation, then plain sections. It is deliberately quieter than the
   marketing pages — this is somewhere people come to do one specific thing.
   ========================================================================== */

.account-shell {
    padding: var(--space-12) 0 0;
    background: var(--grad-spot), var(--bg-subtle);
    border-bottom: 1px solid var(--line);
}

.account-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.account-head__title {
    margin: 0 0 var(--space-2);
    font-size: clamp(1.5rem, 3.2vw, 2.125rem);
    letter-spacing: -.03em;
}

.account-head__lede {
    margin: 0;
    font-size: .9375rem;
    color: var(--text-secondary);
}

.account-head__lede strong { color: var(--text); font-weight: 600; }

.account-head__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Tabs. They sit on the band's bottom edge and overlap the border, which is
   what makes the current one read as connected to the page below it. */
.account-nav {
    display: flex;
    gap: var(--space-1);
    overflow-x: auto;
    margin-bottom: -1px;
    padding-bottom: 1px;
    scrollbar-width: none;
}

.account-nav::-webkit-scrollbar { display: none; }

.account-nav a {
    padding: .65rem 1rem;
    border-bottom: 2px solid transparent;
    font-size: .9375rem;
    font-weight: 550;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s var(--ease), border-color .15s var(--ease);
}

.account-nav a:hover { color: var(--text); }

.account-nav a.is-current {
    color: var(--accent-text);
    border-bottom-color: var(--accent);
}

.account-nav__count {
    display: inline-block;
    margin-left: .4rem;
    padding: 0 .4rem;
    font-size: .6875rem;
    font-weight: 700;
    line-height: 1.5rem;
    color: var(--text-secondary);
    background: var(--bg-inset);
    border-radius: var(--radius-pill);
}

.account-nav a.is-current .account-nav__count {
    color: var(--accent-text);
    background: var(--accent-soft);
}

/* The band carries its own bottom space; a full section rhythm on top of it
   leaves a hole between the tabs and the first tile. */
.account-shell + .section { padding-top: var(--space-8); }

.panel-card .detail-list + .btn { margin-top: var(--space-6); }

/* Headline numbers for the overview. */
.tile-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.tile {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.tile__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: var(--radius-md);
    color: var(--accent-text);
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
}

.tile__icon svg { width: 20px; height: 20px; }

.tile__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--text);
}

.tile__label { display: block; font-size: .8125rem; color: var(--text-secondary); }

/* A card whose whole surface is the link to somewhere else in the account. */
.action-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-6);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
                transform .2s var(--ease);
}

.action-card:hover {
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.action-card__title { margin: 0 0 var(--space-2); font-size: 1.0625rem; }
.action-card__body { margin: 0 0 var(--space-6); font-size: .9375rem; color: var(--text-secondary); }
.action-card .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   Checkout shell

   A three-step purchase deserves to say which step you are on. The band below
   carries that, and the summary column sticks so the total stays in view while
   the payment methods are read.
   ========================================================================== */

.checkout-shell {
    padding: var(--space-12) 0;
    background: var(--grad-spot), var(--bg-subtle);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.checkout-shell__title {
    margin: 0 0 var(--space-6);
    font-size: clamp(1.5rem, 3.2vw, 2.125rem);
    letter-spacing: -.03em;
}

.progress-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.progress-step {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem .4rem .45rem;
    font-size: .875rem;
    font-weight: 550;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
}

.progress-step__num {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: 50%;
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-inset);
}

.progress-step.is-current {
    color: var(--accent-text);
    border-color: var(--accent-line);
    background: var(--accent-soft);
}

.progress-step.is-current .progress-step__num {
    color: var(--text-on-accent);
    background: var(--accent);
}

.progress-step.is-done { color: var(--success-fg); border-color: var(--success-line); background: var(--success-bg); }
.progress-step.is-done .progress-step__num { color: var(--bg); background: var(--success-fg); }

.progress-steps__sep { color: var(--text-muted); }

@media (max-width: 620px) {
    .progress-steps__sep { display: none; }
    .progress-step { font-size: .8125rem; }
}

/* ==========================================================================
   Part 6 — BarqType finish for the older pages

   Overrides that the tokens alone cannot reach: places where the older
   library hard-codes a gradient or glow. Kept last so they win over part 5.
   ========================================================================== */

/* The sign-in and sign-up brand panel: the design's dark band with its dot
   grid and yellow ticks, instead of the old indigo glow. */
.auth-aside {
    background-color: var(--bt-ink);
    background-image: var(--bt-dots);
    background-size: 26px 26px;
}

.auth-aside::after,
.auth-aside::before {
    content: none;
}

.auth-aside__kicker {
    font-size: 13px;
    font-weight: 700;
    color: var(--bt-fog);
}

.auth-aside__title {
    font-family: var(--bt-display);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.auth-aside__lede,
.auth-aside__list li {
    color: var(--bt-fog);
}

.auth-aside__list svg {
    color: var(--bt-yellow);
}

.auth-aside__foot {
    border-top-color: var(--bt-night-line);
    color: var(--bt-fog-2);
}

.auth-aside__foot strong {
    font-family: var(--bt-display);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.03em;
}

/* Error pages: the code in the display face, like the design's big numbers. */
.error-page__code {
    font-family: var(--bt-display);
    font-weight: 800;
    letter-spacing: -0.045em;
}

/* --------------------------------------------------------------------------
   Motion

   Three primitives and no more: the page reveal, the header's stuck state and
   the reading spine. Only transform and opacity animate. The .js class is set
   by an inline script in the layout before first paint, so with scripting off
   nothing here applies and the page renders finished; under reduced motion
   every piece shows its end state at once.
   -------------------------------------------------------------------------- */

/* ---- 1. One reveal, once, staggered ---- */

/*
 * The targets are listed here rather than marked up, so the hiding is in
 * place at parse time and nothing can flash. :where() keeps the list at zero
 * specificity, which is what lets the single .is-in rule below outrank it.
 * site.js observes this same list - change both together.
 */
.js :where(
    .bt-head, .bm-head,
    .bt-feature, .bt-fact, .bt-step, .bt-who, .bt-ruled__item,
    .bt-stat, .bm-stat, .bt-video, .bm-video,
    .bt-price-card, .bt-lang-callout, .bm-lang,
    .bt-words, .bt-app__card, .bt-ai__panel,
    .bt-footer__brand, .bt-footer__col
) {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--bt-dur-long) var(--bt-ease-out),
                transform var(--bt-dur-long) var(--bt-ease-out);
    transition-delay: calc(var(--i, 0) * 45ms);
}

.js .is-in {
    opacity: 1;
    transform: none;
}

/* ---- 2. The header, once the page has moved under it ---- */

.bt-header {
    transition: box-shadow var(--bt-dur-short) var(--bt-ease-out),
                border-color var(--bt-dur-short) linear;
}

.bt-header.is-stuck {
    border-bottom-color: var(--bt-line-2);
    box-shadow: 0 6px 20px var(--bt-ink-12);
}

/* The wordmark settles by a hair when the header lifts, so the change reads
   as one movement rather than a shadow switching on. */
.bt-header__inner {
    transition: transform var(--bt-dur-short) var(--bt-ease-out);
}

.bt-header.is-stuck .bt-header__inner {
    transform: translateY(-1px);
}

/* ---- 3. The reading spine (scroll-choreography.md § 3) ---- */

.bt-spine {
    position: fixed;
    z-index: 60;
    inset-block: 0;
    left: 0;
    width: 2px;
    background: transparent;
    pointer-events: none;
}

.bt-spine::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bt-yellow);
    transform-origin: top center;
    transform: scaleY(0);
}

@media (max-width: 40rem) {
    .bt-spine {
        display: none;
    }
}

@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) and (min-width: 40rem) {
        .bt-spine::after {
            animation: bt-spine-grow linear both;
            animation-timeline: scroll(root);
        }
    }
}

@keyframes bt-spine-grow {
    to { transform: scaleY(1); }
}

/* ---- Reduced motion: every end state, at once ---- */

@media (prefers-reduced-motion: reduce) {
    .js :where(
        .bt-head, .bm-head,
        .bt-feature, .bt-fact, .bt-step, .bt-who, .bt-ruled__item,
        .bt-stat, .bm-stat, .bt-video, .bm-video,
        .bt-price-card, .bt-lang-callout, .bm-lang,
        .bt-words, .bt-app__card, .bt-ai__panel,
        .bt-footer__brand, .bt-footer__col
    ) {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .bt-header__inner,
    .bt-header.is-stuck .bt-header__inner {
        transform: none;
        transition: none;
    }

    .bt-nav__link,
    .bt-nav__link::after {
        transition: none;
        animation: none;
    }

    .bt-spine {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Header motion

   A thread of colour running along the foot of the bar. It is one tile of
   gradient repeated and translated by exactly one tile, so the loop has no
   seam, and it is the only thing in the header that moves on its own.
   -------------------------------------------------------------------------- */

.bt-header__thread {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    /* The clip lives here, so the 200% tile below never reaches the page. */
    overflow: hidden;
    pointer-events: none;
}

.bt-header__thread::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 200%;
    background-image: linear-gradient(
        90deg,
        transparent 0%,
        var(--bt-yellow) 14%,
        var(--bt-mint) 26%,
        transparent 40%,
        transparent 100%
    );
    background-size: 50% 100%;
    background-repeat: repeat-x;
    opacity: 0.85;
}

.js.is-ambient .bt-header__thread::after {
    animation: bt-thread 11s linear infinite;
}

.js.is-ambient.is-ambient-paused .bt-header__thread::after {
    animation-play-state: paused;
}

@keyframes bt-thread {
    to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .bt-header__thread::after {
        animation: none !important;
        opacity: 0.5;
    }
}

/* --------------------------------------------------------------------------
   The icon field

   The drifting background behind the hero and the footer. Every glyph is
   something the product does — microphone, waveform, keyboard, languages,
   the AI wand — so the motion reads as BarqType rather than as decoration.

   Two nested transforms on purpose: the item carries the pointer lean and the
   span inside it carries the drift loop, because one element cannot hold two
   independent transforms. Nothing here is interactive and nothing here is
   read aloud; under reduced motion the whole field simply stops.
   -------------------------------------------------------------------------- */

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

.bt-iconfield__item {
    position: absolute;
    left: var(--x);
    top: var(--y);
    color: var(--bt-ink-3);
    opacity: 0.30;
    /* The lean. One transition for the whole field, so it trails the pointer
       instead of snapping to it. */
    transform: translate3d(
        calc(var(--bt-mx, 0) * 10px),
        calc(var(--bt-my, 0) * 8px),
        0
    );
    transition: transform 900ms var(--bt-ease-out);
}

/* Volt is the spark: a third of the glyphs carry it, the rest stay ink. */
.bt-iconfield__item--volt {
    color: var(--bt-yellow-deep);
    opacity: 0.38;
}

.bt-iconfield__drift {
    display: block;
    transform: rotate(var(--r, 0deg));
}

.js.is-ambient .bt-iconfield__drift {
    animation: bt-float var(--dur, 26s) var(--bt-ease-in-out) var(--delay, 0s) infinite;
}

.js.is-ambient.is-ambient-paused .bt-iconfield__drift {
    animation-play-state: paused;
}

@keyframes bt-float {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(var(--r, 0deg));
    }
    50% {
        transform: translate3d(6px, -22px, 0) rotate(calc(var(--r, 0deg) * -1));
    }
}

/* The sections that carry a field need to contain it, and their own content
   has to sit above it. */
.bt-hero,
.bm-hero,
.bt-page-hero,
.bt-footer {
    position: relative;
}

.bt-hero__inner,
.bm-hero > *:not(.bt-iconfield),
.bt-page-hero__inner,
.bt-footer__inner,
.bt-footer-row,
.bt-footer__bottom {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .bt-iconfield__item {
        transform: none;
        transition: none;
    }

    .bt-iconfield__drift {
        animation: none !important;
    }
}
