/* ============================================================
   BOLDTALK — MARKETING WEBSITE
   Single stylesheet. No framework, no build step.

   Contents
     1.  Design tokens
     2.  Base + typography
     3.  Layout helpers
     4.  Buttons
     5.  Navigation
     6.  Hero
     7.  Conversation mockup (hero + improvement section)
     8.  The Problem
     9.  What BoldTalk Is
     10. How It Works
     11. One Thing To Improve
     12. Practice Journey
     13. See BoldTalk In Action
     14. Progress
     15. Why Speaking Practice
     16. Who BoldTalk Is For
     17. This Isn't An Exam
     18. 10-Minute Challenge
     19. Final CTA + footer
     20. Modal
     21. Motion + responsive
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   One accent, one secondary accent, warm background.
   Change brand colours here and nowhere else.
   ============================================================ */
:root {
    --bt-bg: #FBFAF7;
    --bt-surface: #FFFFFF;
    --bt-surface-soft: #F4F2ED;
    --bt-surface-sink: #EFEDE6;

    --bt-text: #16151C;
    --bt-text-soft: #55535F;
    --bt-muted: #7C7A87;

    --bt-primary: #4F46E5;
    --bt-primary-dark: #3A32C4;
    --bt-primary-soft: #EEEDFB;

    --bt-accent: #0E9F6E;
    --bt-accent-soft: #E7F5EF;

    --bt-border: #E5E2DA;
    --bt-border-strong: #D6D2C8;

    --bt-ink-deep: #14131A;
    --bt-ink-soft: #23212C;

    --bt-font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

    --bt-radius-xs: 8px;
    --bt-radius-sm: 12px;
    --bt-radius: 18px;
    --bt-radius-lg: 26px;
    --bt-radius-xl: 34px;

    --bt-shadow-xs: 0 1px 2px rgba(22, 21, 28, 0.05);
    --bt-shadow-sm: 0 2px 8px rgba(22, 21, 28, 0.05);
    --bt-shadow: 0 14px 34px -18px rgba(22, 21, 28, 0.28);
    --bt-shadow-lg: 0 34px 70px -30px rgba(22, 21, 28, 0.34);

    --bt-max: 1180px;
    --bt-gutter: 24px;
    --bt-section-y: 104px;

    --bt-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
    --bt-dur: 220ms;
}

/* ============================================================
   2. BASE + TYPOGRAPHY
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--bt-font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--bt-text);
    background: var(--bt-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.bt-noscroll { overflow: hidden; }

img, video, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    margin: 0 0 16px;
    line-height: 1.1;
    letter-spacing: -0.022em;
    font-weight: 800;
    color: var(--bt-text);
    text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.4vw, 4.15rem); }
h2 { font-size: clamp(1.9rem, 4.3vw, 2.95rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.014em; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

a { color: var(--bt-primary); text-decoration: none; }
a:hover { color: var(--bt-primary-dark); }

strong { font-weight: 700; }

ul, ol { margin: 0; padding: 0; }

::selection { background: var(--bt-primary); color: #fff; }

:focus-visible {
    outline: 3px solid var(--bt-primary);
    outline-offset: 3px;
    border-radius: 6px;
}

.bt-skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: var(--bt-text);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 var(--bt-radius-sm) var(--bt-radius-sm);
    transition: top var(--bt-dur) var(--bt-ease);
}
.bt-skip-link:focus { top: 0; color: #fff; }

.bt-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.bt-wrap {
    width: 100%;
    max-width: var(--bt-max);
    margin-inline: auto;
    padding-inline: var(--bt-gutter);
}

.bt-section {
    padding-block: var(--bt-section-y);
    position: relative;
    /* Anchors land below the sticky navigation. */
    scroll-margin-top: 92px;
}

.bt-section--tight { padding-block: 72px; }
.bt-section--soft { background: var(--bt-surface-soft); }
.bt-section--ink {
    background: var(--bt-ink-deep);
    color: #F5F4F0;
}
.bt-section--ink h2,
.bt-section--ink h3 { color: #FFFFFF; }
.bt-section--ink .bt-eyebrow { color: #B9B4FF; }
.bt-section--ink .bt-lede,
.bt-section--ink p { color: #C9C7CF; }

.bt-section-head {
    max-width: 720px;
    margin-bottom: 56px;
}
.bt-section-head--center {
    margin-inline: auto;
    text-align: center;
}

.bt-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bt-primary);
    margin-bottom: 14px;
}

.bt-lede {
    font-size: clamp(1.03rem, 1.7vw, 1.19rem);
    color: var(--bt-text-soft);
    max-width: 62ch;
}
.bt-section-head--center .bt-lede { margin-inline: auto; }

.bt-divider {
    height: 1px;
    background: var(--bt-border);
    border: 0;
    margin: 0;
}

.bt-note {
    font-size: 0.86rem;
    color: var(--bt-muted);
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.bt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font: inherit;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: -0.005em;
    padding: 15px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: transform var(--bt-dur) var(--bt-ease),
                background-color var(--bt-dur) var(--bt-ease),
                box-shadow var(--bt-dur) var(--bt-ease),
                color var(--bt-dur) var(--bt-ease),
                border-color var(--bt-dur) var(--bt-ease);
}

.bt-btn--primary {
    background: var(--bt-primary);
    color: #fff;
    box-shadow: var(--bt-shadow-sm);
}
.bt-btn--primary:hover {
    background: var(--bt-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--bt-shadow);
}

.bt-btn--ghost {
    background: transparent;
    color: var(--bt-text);
    border-color: var(--bt-border-strong);
}
.bt-btn--ghost:hover {
    background: var(--bt-surface);
    color: var(--bt-text);
    border-color: var(--bt-text);
    transform: translateY(-2px);
}

.bt-btn--onink {
    background: #fff;
    color: var(--bt-ink-deep);
}
.bt-btn--onink:hover { background: #EDEBFF; color: var(--bt-ink-deep); transform: translateY(-2px); }

.bt-btn--sm { padding: 11px 20px; font-size: 0.9rem; }
.bt-btn--block { width: 100%; }

.bt-btn__icon { width: 18px; height: 18px; flex: none; }

.bt-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.bt-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 250, 247, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--bt-dur) var(--bt-ease),
                box-shadow var(--bt-dur) var(--bt-ease);
}
.bt-nav.is-stuck {
    border-bottom-color: var(--bt-border);
    box-shadow: 0 8px 24px -20px rgba(22, 21, 28, 0.5);
}

.bt-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
}

.bt-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--bt-text);
    font-weight: 800;
    font-size: 1.22rem;
    letter-spacing: -0.03em;
}
.bt-logo:hover { color: var(--bt-text); }
/* REPLACE WITH OFFICIAL BOLDTALK LOGO — swap the <svg> for <img src="assets/icons/..."> */
.bt-logo__mark {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 10px;
    background: var(--bt-primary);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px -8px rgba(79, 70, 229, 0.9);
}
.bt-logo__mark svg { width: 19px; height: 19px; }
.bt-logo__word { line-height: 1; }
.bt-logo__word b { font-weight: 800; }
.bt-logo__word span { font-weight: 400; opacity: 0.55; }

.bt-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.bt-nav__link {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--bt-text-soft);
    font-size: 0.95rem;
    font-weight: 600;
    transition: color var(--bt-dur) var(--bt-ease), background-color var(--bt-dur) var(--bt-ease);
}
.bt-nav__link:hover { color: var(--bt-text); background: var(--bt-surface-soft); }
.bt-nav__link.is-active { color: var(--bt-primary); background: var(--bt-primary-soft); }

.bt-nav__cta { flex: none; }

.bt-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--bt-border-strong);
    background: var(--bt-surface);
    color: var(--bt-text);
    cursor: pointer;
    place-items: center;
}
.bt-nav__toggle svg { width: 20px; height: 20px; }

.bt-nav__mobile {
    display: none;
    border-top: 1px solid var(--bt-border);
    background: var(--bt-surface);
    padding: 12px 0 22px;
}
.bt-nav__mobile[hidden] { display: none; }
.bt-nav__mobile ul { list-style: none; }
.bt-nav__mobile a {
    display: block;
    padding: 13px 4px;
    color: var(--bt-text);
    font-weight: 600;
    border-bottom: 1px solid var(--bt-border);
}
.bt-nav__mobile .bt-btn { margin-top: 18px; width: 100%; }

/* ============================================================
   6. HERO
   ============================================================ */
.bt-hero {
    padding-block: 72px 88px;
    position: relative;
    overflow: hidden;
}

/* The hero glow is the only decorative gradient on the page. */
.bt-hero::before {
    content: "";
    position: absolute;
    inset: -30% 40% 40% -20%;
    background: radial-gradient(46% 46% at 30% 30%, rgba(79, 70, 229, 0.10), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bt-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 64px;
    align-items: center;
}

.bt-hero__tagline-track {
    overflow: hidden;
}

.bt-hero h1 { margin-bottom: 22px; }
.bt-hero h1 .bt-hero__line { display: block; }

.bt-hero__lede {
    font-size: clamp(1.06rem, 1.9vw, 1.28rem);
    color: var(--bt-text-soft);
    max-width: 46ch;
    margin-bottom: 22px;
}

.bt-hero__list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 30px;
}
.bt-hero__list li {
    position: relative;
    padding-left: 30px;
    color: var(--bt-text-soft);
    font-size: 1.01rem;
}
.bt-hero__list li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.62em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bt-primary);
    box-shadow: 0 0 0 4px var(--bt-primary-soft);
}

.bt-hero__reassure {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: var(--bt-muted);
    font-size: 0.92rem;
}
.bt-hero__reassure::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bt-accent);
    flex: none;
}

.bt-hero__visual { position: relative; }

/* ============================================================
   7. CONVERSATION MOCKUP
   Simulated product UI — not labelled as a screenshot.
   ============================================================ */
.bt-mock {
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius-lg);
    box-shadow: var(--bt-shadow-lg);
    padding: 24px;
    display: grid;
    gap: 18px;
}

.bt-mock__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bt-border);
}
.bt-mock__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--bt-muted);
    text-transform: uppercase;
}
.bt-mock__dots { display: flex; gap: 5px; }
.bt-mock__dots span {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--bt-border-strong);
}

.bt-mock__stage {
    background: var(--bt-surface-soft);
    border-radius: var(--bt-radius);
    padding: 24px 20px;
    display: grid;
    place-items: center;
    gap: 18px;
    min-height: 232px;
    text-align: center;
}

/* Character -------------------------------------------------- */
.bt-character {
    width: 104px;
    height: 104px;
    position: relative;
    display: grid;
    place-items: center;
}
.bt-character__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--bt-primary-soft);
    transition: transform 420ms var(--bt-ease), background-color 420ms var(--bt-ease);
}
.bt-character__face {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--bt-primary);
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 12px 24px -14px rgba(79, 70, 229, 0.95);
}
.bt-character__face svg { width: 40px; height: 40px; }

.bt-character[data-state="speaking"] .bt-character__ring { animation: bt-pulse 1.5s var(--bt-ease) infinite; }
.bt-character[data-state="listening"] .bt-character__ring { background: var(--bt-accent-soft); }
.bt-character[data-state="listening"] .bt-character__face { background: var(--bt-accent); box-shadow: 0 12px 24px -14px rgba(14, 159, 110, 0.95); }

/* Waveform --------------------------------------------------- */
.bt-wave {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
}
.bt-wave span {
    width: 4px;
    height: 8px;
    border-radius: 3px;
    background: var(--bt-border-strong);
    transition: background-color var(--bt-dur) var(--bt-ease);
}
.bt-wave.is-live span {
    background: var(--bt-accent);
    animation: bt-wave 900ms var(--bt-ease) infinite;
}
.bt-wave.is-live span:nth-child(2) { animation-delay: 90ms; }
.bt-wave.is-live span:nth-child(3) { animation-delay: 180ms; }
.bt-wave.is-live span:nth-child(4) { animation-delay: 270ms; }
.bt-wave.is-live span:nth-child(5) { animation-delay: 360ms; }
.bt-wave.is-live span:nth-child(6) { animation-delay: 450ms; }
.bt-wave.is-live span:nth-child(7) { animation-delay: 540ms; }

/* Speech bubbles -------------------------------------------- */
.bt-say {
    max-width: 34ch;
    font-size: 1.09rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--bt-text);
    margin: 0;
    min-height: 3.1em;
}
.bt-say--soft { font-weight: 500; color: var(--bt-text-soft); font-size: 1rem; }

.bt-thread {
    display: grid;
    gap: 12px;
    margin: 0;
    list-style: none;
}
.bt-thread__item {
    display: grid;
    gap: 4px;
    animation: bt-rise 420ms var(--bt-ease) both;
}
.bt-thread__who {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bt-muted);
}
.bt-thread__bubble {
    background: var(--bt-surface-soft);
    border-radius: 14px;
    padding: 11px 14px;
    font-size: 0.98rem;
    color: var(--bt-text);
}
.bt-thread__item--me .bt-thread__bubble {
    background: var(--bt-primary-soft);
    border-top-left-radius: 4px;
}
.bt-thread__item--bt .bt-thread__bubble {
    background: var(--bt-surface-soft);
    border-top-left-radius: 14px;
}

/* Mic control ----------------------------------------------- */
.bt-mic {
    display: grid;
    justify-items: center;
    gap: 10px;
}
.bt-mic__btn {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 0;
    background: var(--bt-primary);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 16px 30px -16px rgba(79, 70, 229, 1);
    transition: transform var(--bt-dur) var(--bt-ease), background-color var(--bt-dur) var(--bt-ease);
}
.bt-mic__btn:hover { transform: scale(1.04); }
.bt-mic__btn svg { width: 30px; height: 30px; }
.bt-mic__btn[data-state="listening"] {
    background: var(--bt-accent);
    box-shadow: 0 16px 30px -16px rgba(14, 159, 110, 1);
    animation: bt-pulse-soft 1.6s var(--bt-ease) infinite;
}
.bt-mic__label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bt-muted);
}

/* Feedback card --------------------------------------------- */
.bt-feedback {
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius);
    background: var(--bt-surface);
    padding: 18px;
    display: grid;
    gap: 12px;
}
.bt-feedback__step {
    display: grid;
    gap: 6px;
}
.bt-feedback__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--bt-muted);
}
.bt-feedback__value { font-size: 1rem; color: var(--bt-text-soft); }
.bt-feedback__fixed {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--bt-text);
}
.bt-feedback__chip {
    justify-self: start;
    background: var(--bt-primary-soft);
    color: var(--bt-primary-dark);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 6px 12px;
    border-radius: 999px;
}
.bt-feedback__ok {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bt-accent);
    font-weight: 700;
    font-size: 0.95rem;
}
.bt-feedback__ok svg { width: 18px; height: 18px; }

.bt-arrow-down {
    display: grid;
    place-items: center;
    color: var(--bt-border-strong);
}
.bt-arrow-down svg { width: 16px; height: 16px; }

/* Hero side note ------------------------------------------- */
.bt-hero__caption {
    margin-top: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--bt-muted);
}

/* ============================================================
   8. THE PROBLEM
   ============================================================ */
.bt-problem__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: center;
}

.bt-ladder {
    list-style: none;
    display: grid;
    justify-items: center;
    gap: 0;
}
.bt-ladder__step {
    width: 100%;
    max-width: 420px;
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius);
    padding: 16px 20px;
    text-align: center;
    font-weight: 600;
    color: var(--bt-text-soft);
    box-shadow: var(--bt-shadow-xs);
}
.bt-ladder__step--pause {
    background: var(--bt-ink-deep);
    border-color: var(--bt-ink-deep);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.bt-ladder__step--pause em { font-style: normal; color: #B9B4FF; }
.bt-ladder__link {
    display: grid;
    place-items: center;
    color: var(--bt-border-strong);
    padding: 9px 0;
}
.bt-ladder__link svg { width: 18px; height: 18px; }

.bt-callout {
    border-left: 4px solid var(--bt-primary);
    background: var(--bt-surface);
    border-radius: 0 var(--bt-radius) var(--bt-radius) 0;
    padding: 20px 24px;
    margin-top: 26px;
    box-shadow: var(--bt-shadow-xs);
}
.bt-callout p { color: var(--bt-text-soft); }

/* ============================================================
   9. WHAT BOLD TALK IS
   ============================================================ */
.bt-cards {
    display: grid;
    gap: 20px;
}
.bt-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bt-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bt-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bt-card {
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius);
    padding: 26px;
    box-shadow: var(--bt-shadow-xs);
    transition: transform var(--bt-dur) var(--bt-ease), box-shadow var(--bt-dur) var(--bt-ease);
}
.bt-card:hover { transform: translateY(-4px); box-shadow: var(--bt-shadow); }
.bt-card h3 { margin-bottom: 8px; }
.bt-card p { color: var(--bt-text-soft); font-size: 0.99rem; margin: 0; }
.bt-card--flat { background: var(--bt-surface-soft); box-shadow: none; }
.bt-card--flat:hover { transform: none; box-shadow: var(--bt-shadow-xs); }

.bt-card__index {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--bt-primary-soft);
    color: var(--bt-primary-dark);
    margin-bottom: 16px;
}
.bt-card__index svg { width: 22px; height: 22px; }

/* The loop: SPEAK → HELP → IMPROVE → TRY AGAIN → SPEAK */
.bt-loop {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    margin-top: 34px;
}
.bt-loop__node {
    position: relative;
    background: var(--bt-surface-soft);
    border: 1px dashed var(--bt-border-strong);
    border-radius: var(--bt-radius);
    padding: 22px 20px;
    text-align: center;
}
.bt-loop__node strong {
    display: block;
    font-size: 1.02rem;
    letter-spacing: 0.02em;
    color: var(--bt-text);
}
.bt-loop__node span {
    display: block;
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--bt-muted);
}
.bt-loop__node.is-active {
    border-style: solid;
    border-color: var(--bt-primary);
    background: var(--bt-primary-soft);
}
.bt-loop__node::after {
    content: "→";
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bt-border-strong);
    font-size: 1.1rem;
    z-index: 1;
}
.bt-loop__node:last-child::after { content: "↺"; right: -16px; color: var(--bt-primary); }

/* ============================================================
   10. HOW IT WORKS
   ============================================================ */
.bt-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.bt-steps__item {
    position: relative;
    padding-top: 26px;
    border-top: 2px solid var(--bt-border);
    transition: border-color var(--bt-dur) var(--bt-ease);
}
.bt-steps__item:hover { border-top-color: var(--bt-primary); }
.bt-steps__num {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--bt-primary);
    margin-bottom: 12px;
}
.bt-steps__item h3 { font-size: 1.16rem; margin-bottom: 8px; }
.bt-steps__item p { color: var(--bt-text-soft); font-size: 0.96rem; margin: 0; }

/* ============================================================
   11. ONE THING TO IMPROVE
   ============================================================ */
.bt-improve__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}

.bt-flowchart {
    display: grid;
    gap: 0;
    justify-items: center;
}
.bt-flowchart__box {
    width: 100%;
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius);
    padding: 18px 22px;
    text-align: center;
    box-shadow: var(--bt-shadow-xs);
}
.bt-flowchart__box--dark {
    background: var(--bt-ink-deep);
    border-color: var(--bt-ink-deep);
    color: #fff;
}
.bt-flowchart__box--accent {
    background: var(--bt-accent-soft);
    border-color: rgba(14, 159, 110, 0.35);
}
.bt-flowchart__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bt-muted);
    margin-bottom: 8px;
}
.bt-flowchart__box--dark .bt-flowchart__label { color: #A9A5FF; }
.bt-flowchart__box--accent .bt-flowchart__label { color: #0B7A55; }
.bt-flowchart__quote {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}
.bt-flowchart__value { font-size: 1.24rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; }

.bt-improve__counter {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}
.bt-improve__counter div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bt-text-soft);
    font-size: 0.96rem;
}
.bt-improve__counter svg { width: 17px; height: 17px; flex: none; color: var(--bt-accent); }

/* ============================================================
   12. PRACTICE JOURNEY
   ============================================================ */
.bt-journey {
    display: grid;
    gap: 26px;
}
.bt-journey__stage {
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius-lg);
    padding: 28px;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    box-shadow: var(--bt-shadow-xs);
    transition: border-color var(--bt-dur) var(--bt-ease), box-shadow var(--bt-dur) var(--bt-ease);
}
.bt-journey__stage.is-current {
    border-color: var(--bt-primary);
    box-shadow: var(--bt-shadow);
}
.bt-journey__stage-head { display: grid; gap: 8px; }
.bt-journey__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bt-primary);
}
.bt-journey__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bt-primary);
    box-shadow: 0 0 0 4px var(--bt-primary-soft);
}
.bt-journey__stage h3 { margin: 0; font-size: 1.34rem; }
.bt-journey__stage-head p { color: var(--bt-muted); font-size: 0.93rem; margin: 0; }

.bt-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.bt-chips li {
    background: var(--bt-surface-soft);
    border: 1px solid var(--bt-border);
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--bt-text-soft);
}
.bt-chips li.is-milestone {
    background: var(--bt-primary-soft);
    border-color: rgba(79, 70, 229, 0.32);
    color: var(--bt-primary-dark);
}

/* ============================================================
   13. SEE BOLDTALK IN ACTION
   ============================================================ */
.bt-demos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.bt-demo {
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius-lg);
    overflow: hidden;
    display: grid;
    box-shadow: var(--bt-shadow-xs);
    transition: box-shadow var(--bt-dur) var(--bt-ease), transform var(--bt-dur) var(--bt-ease);
}
.bt-demo:hover { box-shadow: var(--bt-shadow); transform: translateY(-3px); }

.bt-demo__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--bt-ink-deep);
    overflow: hidden;
}
.bt-demo__media video,
.bt-demo__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Designed poster: shown until a real video/image URL is configured. */
.bt-demo__poster {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(150deg, #1D1B29 0%, #16151C 55%, #221F35 100%);
    text-align: center;
}
.bt-demo__poster-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.02rem;
    max-width: 26ch;
    margin: 0;
}
.bt-demo__poster .bt-wave span { background: #4A4763; height: 10px; }
.bt-demo.is-playing .bt-demo__poster { opacity: 0.4; }
.bt-demo__poster { transition: opacity var(--bt-dur) var(--bt-ease); }

/* Real poster image / video inside a demo card ------------------ */
.bt-demo__posterwrap,
.bt-demo__media .bt-media-slot,
.bt-demo__media .bt-media-slot.has-media {
    position: absolute;
    inset: 0;
    margin: 0;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    background: #16151C;
}
.bt-demo__posterwrap.has-media .bt-demo__poster { display: none; }

.bt-demo__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.94);
    color: var(--bt-ink-deep);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform var(--bt-dur) var(--bt-ease), background-color var(--bt-dur) var(--bt-ease);
}
.bt-demo__play:hover { transform: translate(-50%, -50%) scale(1.08); }
.bt-demo__play svg { width: 22px; height: 22px; }
.bt-demo__play .bt-icon-pause { display: none; }
.bt-demo.is-playing .bt-demo__play .bt-icon-play { display: none; }
.bt-demo.is-playing .bt-demo__play .bt-icon-pause { display: block; }
.bt-demo.is-playing .bt-demo__play {
    opacity: 0;
    pointer-events: none;
}
.bt-demo__media:hover .bt-demo__play { opacity: 1; pointer-events: auto; }

/* Touch devices have no hover, so the pause control must stay reachable. */
@media (hover: none) {
    .bt-demo.is-playing .bt-demo__play {
        opacity: 1;
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.75);
    }
}

/* Simulated captions, revealed while a demo "plays". */
.bt-demo__captions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px;
    background: linear-gradient(to top, rgba(10, 9, 15, 0.92), rgba(10, 9, 15, 0));
    display: grid;
    gap: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--bt-dur) var(--bt-ease), transform var(--bt-dur) var(--bt-ease);
}
.bt-demo.is-playing .bt-demo__captions { opacity: 1; transform: none; }
.bt-demo__caption {
    color: #EDECF2;
    font-size: 0.92rem;
    margin: 0;
    opacity: 0;
    animation: bt-rise 420ms var(--bt-ease) forwards;
}
.bt-demo__caption b { color: #fff; font-weight: 700; }
.bt-demo__caption--me b { color: #C9C5FF; }
.bt-demo__caption--bt b { color: #8FE3C4; }

.bt-demo__body { padding: 20px 24px 26px; display: grid; gap: 8px; }
.bt-demo__body h3 { margin: 0; font-size: 1.12rem; }
.bt-demo__body p { color: var(--bt-text-soft); font-size: 0.95rem; margin: 0; }
.bt-demo__status {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bt-muted);
}

/* ============================================================
   14. PROGRESS
   Illustrative example — labelled as such in the markup.
   ============================================================ */
.bt-progress {
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius-lg);
    box-shadow: var(--bt-shadow);
    overflow: hidden;
}
.bt-progress__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 28px;
    border-bottom: 1px solid var(--bt-border);
    background: var(--bt-surface-soft);
}
.bt-progress__head h3 { margin: 0; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }
.bt-progress__head .bt-note { margin: 0; }

.bt-progress__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bt-progress__col { padding: 28px; display: grid; gap: 22px; }
.bt-progress__col + .bt-progress__col { border-left: 1px solid var(--bt-border); }
.bt-progress__col > h3,
.bt-progress__coltitle {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bt-muted);
    margin: 0;
}

.bt-metric { display: grid; gap: 8px; }
.bt-metric__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bt-muted);
}
.bt-metric__values {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.bt-metric__from { color: var(--bt-muted); font-size: 1.16rem; font-weight: 600; }
.bt-metric__to {
    color: var(--bt-text);
    font-size: 1.72rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.bt-metric__delta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bt-accent-soft);
    color: #0B7A55;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.bt-metric__track {
    height: 8px;
    border-radius: 999px;
    background: var(--bt-surface-sink);
    overflow: hidden;
}
.bt-metric__fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--bt-primary);
    transition: width 1.1s var(--bt-ease);
}
.bt-metric__fill--accent { background: var(--bt-accent); }

.bt-bars { display: grid; gap: 16px; }
.bt-bar { display: grid; gap: 7px; }
.bt-bar__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.94rem;
    color: var(--bt-text-soft);
    font-weight: 600;
}
.bt-bar__track {
    height: 9px;
    border-radius: 999px;
    background: var(--bt-surface-sink);
    overflow: hidden;
}
.bt-bar__fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--bt-primary);
    transition: width 1.1s var(--bt-ease);
}

/* ============================================================
   15. WHY SPEAKING PRACTICE
   ============================================================ */
.bt-situations {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}
.bt-situation {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bt-surface);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius);
    padding: 18px 20px;
    font-weight: 600;
    color: var(--bt-text);
    box-shadow: var(--bt-shadow-xs);
    transition: transform var(--bt-dur) var(--bt-ease), box-shadow var(--bt-dur) var(--bt-ease);
}
.bt-situation:hover { transform: translateY(-3px); box-shadow: var(--bt-shadow-sm); }
.bt-situation__icon {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 12px;
    background: var(--bt-primary-soft);
    color: var(--bt-primary-dark);
    display: grid;
    place-items: center;
}
.bt-situation__icon svg { width: 20px; height: 20px; }

.bt-quote {
    margin: 34px 0 0;
    padding: 26px 30px;
    border-radius: var(--bt-radius);
    background: var(--bt-surface-soft);
    border: 1px solid var(--bt-border);
    font-size: clamp(1.06rem, 2vw, 1.28rem);
    font-weight: 600;
    color: var(--bt-text);
}
.bt-quote span { color: var(--bt-muted); font-weight: 500; }

/* ============================================================
   16. WHO BOLDTALK IS FOR
   ============================================================ */
.bt-audience {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.bt-audience__hero {
    grid-column: 1 / -1;
    background: var(--bt-ink-deep);
    border-radius: var(--bt-radius-lg);
    padding: 40px;
    text-align: center;
    color: #fff;
}
.bt-audience__hero p {
    margin: 0;
    font-size: clamp(1.25rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.25;
}
.bt-audience__hero span {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #A9A5FF;
}

/* ============================================================
   17. THIS ISN'T AN EXAM
   ============================================================ */
.bt-exam {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.bt-exam__panel {
    border-radius: var(--bt-radius-lg);
    padding: 30px;
    border: 1px solid var(--bt-border);
    background: var(--bt-surface);
}
.bt-exam__panel--no { background: var(--bt-surface-soft); }
.bt-exam__panel--yes { border-color: rgba(14, 159, 110, 0.35); }
.bt-exam__label {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: var(--bt-muted);
}
.bt-exam__panel--yes .bt-exam__label { color: #0B7A55; }
.bt-exam__panel ul { list-style: none; display: grid; gap: 12px; }
.bt-exam__panel li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.02rem;
    color: var(--bt-text-soft);
}
.bt-exam__panel--yes li { color: var(--bt-text); font-weight: 600; }
.bt-exam__panel li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; }
.bt-exam__panel--no li svg { color: var(--bt-muted); }
.bt-exam__panel--yes li svg { color: var(--bt-accent); }

/* ============================================================
   18. 10-MINUTE CHALLENGE
   ============================================================ */
.bt-challenge__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
.bt-timeline { list-style: none; display: grid; gap: 0; }
.bt-timeline__item {
    position: relative;
    padding: 0 0 26px 46px;
    border-left: 2px solid rgba(255, 255, 255, 0.16);
    margin-left: 9px;
}
.bt-timeline__item:last-child { border-left-color: transparent; padding-bottom: 0; }
.bt-timeline__item::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bt-ink-deep);
    border: 3px solid var(--bt-primary);
}
.bt-timeline__time {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}
.bt-timeline__text { color: #C9C7CF; margin: 4px 0 0; font-size: 1rem; }
.bt-challenge__cta { margin-top: 26px; }

/* ============================================================
   19. FINAL CTA + FOOTER
   ============================================================ */
.bt-final {
    text-align: center;
    padding-block: 112px;
}
.bt-final h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 18px; }
.bt-final__lines {
    display: grid;
    gap: 4px;
    margin-bottom: 30px;
    color: var(--bt-text-soft);
    font-size: clamp(1.02rem, 1.9vw, 1.18rem);
}
.bt-final .bt-cta-row { justify-content: center; }
.bt-final .bt-hero__reassure { justify-content: center; }
.bt-final__sign {
    margin-top: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.32rem;
}
.bt-final__sign span {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bt-muted);
    margin-top: 8px;
}

.bt-footer {
    background: var(--bt-ink-deep);
    color: #C9C7CF;
    padding-block: 56px 34px;
}
.bt-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.bt-footer .bt-logo { color: #fff; }
.bt-footer .bt-logo:hover { color: #fff; }
.bt-footer .bt-logo__word span { opacity: 0.5; }
.bt-footer__tagline {
    margin: 14px 0 0;
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: -0.015em;
}
.bt-footer__about { margin-top: 10px; max-width: 40ch; font-size: 0.94rem; }
.bt-footer h3 {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}
.bt-footer ul { list-style: none; display: grid; gap: 10px; }
.bt-footer a { color: #C9C7CF; font-size: 0.96rem; }
.bt-footer a:hover { color: #fff; }
.bt-footer__base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 26px;
    font-size: 0.88rem;
    color: #8E8C99;
}
.bt-footer__cloud84 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8E8C99;
}
.bt-footer__cloud84 b { color: #C9C7CF; font-weight: 600; }

/* ============================================================
   19b. OPTIONAL MEDIA SLOTS
   An empty slot renders nothing at all — no broken image frames.
   Fill the URL in js/boldtalk.js → BT_MEDIA and it appears.
   ============================================================ */
.bt-media-slot {
    position: relative;
    overflow: hidden;
    border-radius: var(--bt-radius-lg);
    background: var(--bt-surface-soft);
    border: 1px solid var(--bt-border);
}

/* No URL configured → the slot stays out of the layout entirely. */
.bt-media-slot:not(.has-media) { display: none; }

.bt-media-slot img,
.bt-media-slot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bt-media-slot.has-media {
    margin-top: 34px;
    aspect-ratio: 21 / 9;
}

/* Hero backdrop — sits behind the conversation mockup, barely there. */
.bt-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.bt-hero__bg .bt-media-slot {
    border: 0;
    border-radius: 0;
    background: transparent;
    aspect-ratio: auto;
    height: 100%;
    margin: 0;
    opacity: 0.16;
}
.bt-hero__bg .bt-media-slot.has-media { display: block; }
.bt-hero__bg img,
.bt-hero__bg video { filter: saturate(0.6); }

/* ============================================================
   20. MODAL — "Start speaking" destination
   ============================================================ */
.bt-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 24px;
}
.bt-modal[hidden] { display: none; }
.bt-modal__scrim {
    position: absolute;
    inset: 0;
    background: rgba(18, 17, 24, 0.55);
    backdrop-filter: blur(3px);
    animation: bt-fade 200ms var(--bt-ease) both;
}
.bt-modal__panel {
    position: relative;
    width: min(500px, 100%);
    background: var(--bt-surface);
    border-radius: var(--bt-radius-lg);
    padding: 34px;
    box-shadow: var(--bt-shadow-lg);
    text-align: center;
    animation: bt-pop 260ms var(--bt-ease) both;
}
.bt-modal__panel h2 { font-size: 1.5rem; margin-bottom: 12px; }
.bt-modal__panel p { color: var(--bt-text-soft); }
.bt-modal__close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: var(--bt-surface-soft);
    color: var(--bt-text);
    cursor: pointer;
    display: grid;
    place-items: center;
}
.bt-modal__close:hover { background: var(--bt-surface-sink); }
.bt-modal__close svg { width: 17px; height: 17px; }
.bt-modal__actions { margin-top: 24px; display: grid; gap: 10px; }
.bt-modal__code {
    display: block;
    margin-top: 20px;
    background: var(--bt-surface-soft);
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius-sm);
    padding: 12px 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    color: var(--bt-text-soft);
    text-align: left;
    overflow-x: auto;
}

/* ============================================================
   21. MOTION + RESPONSIVE
   ============================================================ */
@keyframes bt-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}
@keyframes bt-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes bt-pop {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
@keyframes bt-pulse {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(1.22); opacity: 0.35; }
    100% { transform: scale(1.22); opacity: 0; }
}
@keyframes bt-pulse-soft {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0.42); }
    70% { box-shadow: 0 0 0 16px rgba(14, 159, 110, 0); }
}
@keyframes bt-wave {
    0%, 100% { height: 8px; }
    50% { height: 26px; }
}

/* Scroll reveal — opt in with data-reveal, JS adds .is-in.
   Scoped to html.bt-js (set by an inline script in the head) so the page is
   fully readable when JavaScript is unavailable. */
html.bt-js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 640ms var(--bt-ease), transform 640ms var(--bt-ease);
}
html.bt-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}
html.bt-js [data-reveal][data-reveal-delay="1"] { transition-delay: 90ms; }
html.bt-js [data-reveal][data-reveal-delay="2"] { transition-delay: 180ms; }
html.bt-js [data-reveal][data-reveal-delay="3"] { transition-delay: 270ms; }
html.bt-js [data-reveal][data-reveal-delay="4"] { transition-delay: 360ms; }

@media (max-width: 1080px) {
    :root { --bt-section-y: 88px; }

    .bt-hero__grid { gap: 46px; }
    .bt-problem__grid,
    .bt-improve__grid,
    .bt-challenge__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .bt-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bt-loop__node:nth-child(2n)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -20px; transform: translateX(-50%); }
    .bt-loop__node:last-child::after { content: "↺"; right: auto; left: 50%; top: auto; bottom: -20px; transform: translateX(-50%); }
    .bt-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
    .bt-situations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bt-journey__stage { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 900px) {
    .bt-nav__links,
    .bt-nav__cta { display: none; }
    .bt-nav__toggle { display: grid; }
    .bt-nav__mobile { display: block; }

    .bt-hero { padding-block: 48px 64px; }
    .bt-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .bt-hero__list { margin-bottom: 26px; }

    .bt-cards--3,
    .bt-audience { grid-template-columns: minmax(0, 1fr); }
    .bt-progress__body { grid-template-columns: minmax(0, 1fr); }
    .bt-progress__col + .bt-progress__col {
        border-left: 0;
        border-top: 1px solid var(--bt-border);
    }
    .bt-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 720px) {
    :root {
        --bt-section-y: 68px;
        --bt-gutter: 18px;
    }

    body { font-size: 16px; }

    .bt-section-head { margin-bottom: 36px; }

    .bt-demos,
    .bt-cards--2,
    .bt-cards--4,
    .bt-exam,
    .bt-steps,
    .bt-situations,
    .bt-loop { grid-template-columns: minmax(0, 1fr); }

    /* Demos become a horizontal carousel rather than a long stack. */
    .bt-demos {
        grid-auto-flow: column;
        grid-auto-columns: 84%;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
        margin-inline: calc(var(--bt-gutter) * -1);
        padding-inline: var(--bt-gutter);
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .bt-demo { scroll-snap-align: center; }
    .bt-demos__hint { display: block; }
    .bt-demos__hint--after { margin-top: 8px; }

    .bt-loop__node::after { display: none; }
    .bt-loop { gap: 12px; }

    .bt-audience__hero { padding: 28px 22px; }

    .bt-final { padding-block: 80px; }
    .bt-final .bt-cta-row .bt-btn { width: 100%; }

    .bt-mock { padding: 18px; border-radius: var(--bt-radius); }
    .bt-mock__stage { min-height: 210px; padding: 20px 16px; }
    .bt-say { font-size: 1rem; }

    .bt-modal__panel { padding: 26px 22px; }

    .bt-hero__caption { font-size: 0.8rem; }
}

.bt-demos__hint {
    display: none;
    font-size: 0.84rem;
    color: var(--bt-muted);
    margin: 0 0 14px;
}

@media (max-width: 420px) {
    .bt-demos { grid-auto-columns: 90%; }
    .bt-btn { padding: 14px 22px; }
    .bt-hero__list li { font-size: 0.96rem; }
    .bt-thread__bubble { font-size: 0.92rem; }
}

/* ============================================================
   REDUCED MOTION — respects the OS setting
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] { opacity: 1; transform: none; }

    /* Bars and counters are set to their final values by JS when motion is reduced. */    .bt-metric__fill,
    .bt-bar__fill { transition: none; }
}

@media print {
    .bt-nav__toggle,
    .bt-modal,
    .bt-demo__play { display: none !important; }
    .bt-section { padding-block: 24px; }
}

