/* ============================================================
   FitFaber — Landing
   Design system: orange (#FF9900) on light / dark canvas
   ============================================================ */

/* Self-hosted Manrope (variable) — no Google Fonts round-trip */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('assets/fonts/manrope-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('assets/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;
}

:root {
    /* Brand palette (shared) */
    --orange: #FF9900;
    --orange-deep: #FF7A00;
    --orange-soft: #FFB347;
    --amber: #FFC04A;
    --blue: #1E3A8A;
    --ink: #0B0F1A;
    --white: #FFFFFF;

    /* Light theme (default) */
    --bg: #F7F8FC;
    --ink-2: #EEF1F8;
    --ink-3: #E4E9F4;
    --ink-4: #D5DCEC;
    --text: #1A2235;
    --text-secondary: #3D4A66;
    --heading: #0B0F1A;
    --muted: #5C6B85;
    --muted-2: #8A96AD;
    --surface: rgba(11, 15, 26, 0.04);
    --surface-2: rgba(11, 15, 26, 0.06);
    --border: rgba(11, 15, 26, 0.09);
    --border-strong: rgba(11, 15, 26, 0.14);
    --shadow: 0 20px 60px -15px rgba(11, 15, 26, 0.12);
    --shadow-orange: 0 18px 50px -12px rgba(255, 153, 0, 0.35);
    --header-bg: rgba(247, 248, 252, 0.96);
    --header-bg-blur: rgba(247, 248, 252, 0.85);
    --nav-mobile-bg: rgba(247, 248, 252, 0.98);
    --sticky-cta-bg: rgba(247, 248, 252, 0.98);
    --footer-bg: #EEF1F8;
    --input-bg: rgba(11, 15, 26, 0.04);
    --input-bg-strong: rgba(11, 15, 26, 0.06);
    --glow-opacity: 0.14;
    --glow-opacity-desktop: 0.2;
    --notice-border: rgba(180, 50, 70, 0.45);
    --notice-bg: rgba(220, 80, 100, 0.08);
    --notice-text: #7A2E3E;
    --notice-text-strong: #5C1F2E;

    /* Typography */
    --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Effects */
    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --container: 1200px;
    /* `only` is poorly supported on some Safari builds — plain light/dark is enough */
    color-scheme: light;
}

[data-theme="dark"] {
    --bg: #0B0F1A;
    --ink-2: #111726;
    --ink-3: #1A2235;
    --ink-4: #243049;
    --text: #E6ECF7;
    --text-secondary: #D6DEEE;
    --heading: #FFFFFF;
    --muted: #9AA6BF;
    --muted-2: #6B7896;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.6);
    --shadow-orange: 0 18px 50px -12px rgba(255, 153, 0, 0.45);
    --header-bg: rgba(11, 15, 26, 0.96);
    --header-bg-blur: rgba(11, 15, 26, 0.8);
    --nav-mobile-bg: rgba(11, 15, 26, 0.98);
    --sticky-cta-bg: rgba(11, 15, 26, 0.98);
    --footer-bg: #111726;
    --input-bg: rgba(0, 0, 0, 0.25);
    --input-bg-strong: rgba(0, 0, 0, 0.2);
    --glow-opacity: 0.22;
    --glow-opacity-desktop: 0.35;
    --notice-border: rgba(160, 45, 65, 0.75);
    --notice-bg: rgba(100, 20, 38, 0.22);
    --notice-text: #F0D2D8;
    --notice-text-strong: #F8E4E8;
    color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: auto; /* smooth scroll janks hard on iOS Safari */
    color-scheme: light;
    /* Clip decorative overflows (glows) so they don't widen the page on mobile */
    overflow-x: clip;
    max-width: 100%;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    /* overflow-x:hidden on body breaks compositing/scroll paint on iOS Safari —
       use clip on html instead; keep body from expanding past viewport */
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
    html { scroll-behavior: smooth; }
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: min(var(--container), 100%); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* ---------- Background glows ---------- */
/* Fixed on all viewports — absolute + negative offsets expands page width on mobile
   and breaks position:fixed header alignment in Chrome. */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: var(--glow-opacity);
}
.bg-glow--1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.55), transparent 70%);
    top: -160px; right: -120px;
}
.bg-glow--2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.65), transparent 70%);
    top: 55vh; left: -120px;
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
    .bg-glow {
        filter: blur(120px);
        opacity: var(--glow-opacity-desktop);
    }
    .bg-glow--1 {
        width: 600px; height: 600px;
        background: radial-gradient(circle, var(--orange), transparent 70%);
        top: -200px; right: -150px;
        opacity: 0.2;
    }
    .bg-glow--2 {
        width: 500px; height: 500px;
        background: radial-gradient(circle, var(--blue), transparent 70%);
        top: auto; bottom: -150px; left: -100px;
        opacity: 0.25;
    }
}

/* ---------- Helpers ---------- */
.lang-only-hidden {
    display: none !important;
}

.text-gradient {
    color: var(--orange);
}

/* Gradient text only where paint is reliable (not iOS Safari) */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
    .text-gradient {
        background: linear-gradient(135deg, var(--orange-soft), var(--orange), var(--orange-deep));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
    white-space: nowrap;
}
.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn__icon { width: 18px; height: 18px; }

.btn--primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: #0B0F1A;
    box-shadow: var(--shadow-orange);
    forced-color-adjust: none;
    -webkit-text-fill-color: #0B0F1A;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -10px rgba(255, 153, 0, 0.6); }

.btn--ghost {
    background: var(--surface-2);
    color: var(--heading);
    border: 1px solid var(--border-strong);
}
.btn--ghost:hover { background: var(--ink-4); transform: translateY(-2px); }

.btn--accent {
    background: linear-gradient(135deg, var(--orange-soft), var(--orange), var(--orange-deep));
    color: #0B0F1A;
    box-shadow:
        0 0 0 1px rgba(255, 179, 71, 0.5),
        0 18px 50px -8px rgba(255, 153, 0, 0.65),
        0 0 32px rgba(255, 153, 0, 0.35);
    animation: btn-accent-pulse 2.8s ease-in-out infinite;
    forced-color-adjust: none;
    -webkit-text-fill-color: #0B0F1A;
}
.btn--accent:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255, 179, 71, 0.75),
        0 24px 60px -10px rgba(255, 153, 0, 0.75),
        0 0 44px rgba(255, 153, 0, 0.5);
}

@keyframes btn-accent-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(255, 179, 71, 0.45),
            0 18px 50px -8px rgba(255, 153, 0, 0.55),
            0 0 24px rgba(255, 153, 0, 0.28);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255, 179, 71, 0.75),
            0 22px 56px -10px rgba(255, 153, 0, 0.8),
            0 0 44px rgba(255, 153, 0, 0.48);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn--accent {
        animation: none;
        box-shadow:
            0 0 0 1px rgba(255, 179, 71, 0.5),
            0 18px 50px -8px rgba(255, 153, 0, 0.65),
            0 0 32px rgba(255, 153, 0, 0.35);
    }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 100;
    padding-top: env(safe-area-inset-top, 0px);
    transition: background 0.3s var(--ease), border-color 0.3s;
    border-bottom: 1px solid transparent;
    box-sizing: border-box;
}
.header.scrolled {
    background: var(--header-bg);
    border-bottom-color: var(--border);
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
    .header.scrolled {
        background: var(--header-bg-blur);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 76px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    min-width: 0;
    flex-shrink: 1;
}
.logo__icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(255, 153, 0, 0.35);
}
.logo__text { color: var(--heading); letter-spacing: -0.02em; }
.logo__accent { color: var(--orange); }

.nav { display: flex; gap: 28px; }
.nav__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: color 0.2s;
    position: relative;
}
.nav__link:hover { color: var(--heading); }
.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width 0.25s var(--ease);
}
.nav__link:hover::after { width: 100%; }

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}

/* Theme + language as one compact control group */
.header__prefs {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    flex-shrink: 0;
}

.header__prefs .theme-toggle {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
}

.header__prefs .theme-toggle:hover {
    color: var(--orange);
    background: var(--surface);
}

.header__prefs .lang-switch {
    padding: 0;
    background: transparent;
    border: none;
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--heading);
    flex-shrink: 0;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.theme-toggle:hover {
    color: var(--orange);
    border-color: var(--border-strong);
}
.theme-toggle svg {
    width: 18px;
    height: 18px;
}
.theme-toggle__icon--moon { display: none; }
[data-theme="dark"] .theme-toggle__icon--sun { display: none; }
[data-theme="dark"] .theme-toggle__icon--moon { display: block; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 10px;
}
.burger span { width: 22px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Language switcher ---------- */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    padding: 3px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.lang-switch::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-35%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--muted);
    pointer-events: none;
}

.lang-switch:hover::after {
    border-top-color: var(--heading);
}

.lang-switch select[data-lang-select] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--muted);
    /* Native select ignores soft widths on iOS/Android — force compact box */
    width: 3.25rem !important;
    min-width: 0 !important;
    max-width: 3.25rem !important;
    padding: 8px 20px 8px 10px;
    border-radius: 100px;
    box-sizing: border-box;
}

.lang-switch select[data-lang-select]:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.14);
}

.lang-switch:hover select[data-lang-select] {
    color: var(--heading);
}
.lang-switch button {
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    border-radius: 100px;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
    letter-spacing: 0.02em;
}
.lang-switch button:hover { color: var(--heading); }
.lang-switch button.is-active {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: var(--ink);
    box-shadow: 0 4px 12px -2px rgba(255,153,0,0.4);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 160px 0 60px; z-index: 1; }
.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}
.hero__content {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 24px;
}
.eyebrow__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.25);
    animation: pulse 2s infinite;
}
.eyebrow--center { margin-inline: auto; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.25); }
    50% { box-shadow: 0 0 0 8px rgba(255, 153, 0, 0.05); }
}

.hero__title {
    font-size: clamp(38px, 5.6vw, 68px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--heading);
    margin-bottom: 24px;
}
.hero__subtitle {
    font-size: 18px;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    max-width: 100%;
    margin-bottom: 48px;
}

.hero-subscribe-notice {
    max-width: min(560px, 100%);
    min-width: 0;
    margin: -32px 0 32px;
    padding: 16px 18px;
    border: 1px solid var(--notice-border);
    border-radius: var(--radius-sm);
    background: var(--notice-bg);
    box-shadow: inset 0 0 0 1px rgba(200, 70, 90, 0.08);
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.hero-subscribe-notice__list {
    margin: 0 0 12px;
    padding-left: 1.15em;
    display: grid;
    gap: 8px;
}
.hero-subscribe-notice__list li {
    color: var(--notice-text);
}
.hero-subscribe-notice__lead {
    margin: 0;
    color: var(--notice-text-strong);
    font-weight: 500;
}
.hero-subscribe-notice a {
    color: var(--orange-soft);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.hero-subscribe-notice a:hover {
    color: var(--orange);
}

.hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero__stat-num {
    font-size: 34px;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.02em;
    line-height: 1;
}
.hero__stat-label { font-size: 13px; color: var(--muted-2); margin-top: 6px; }

/* ---- Hero visual ---- */
.hero__visual { position: relative; }

/* ============================================================
   PHONE MOCKUP (shared)
   ============================================================ */
.phone {
    position: relative;
    width: 290px;
    border-radius: 42px;
    background: linear-gradient(160deg, #2a3550, #131a2c);
    padding: 12px;
    box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.06) inset;
    /* App mockup always uses dark UI tokens */
    --heading: #FFFFFF;
    --text: #E6ECF7;
    --text-secondary: #D6DEEE;
    --muted: #9AA6BF;
    --muted-2: #6B7896;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
}
.phone__notch {
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 24px;
    background: var(--ink);
    border-radius: 0 0 16px 16px;
    z-index: 3;
}
.phone__screen {
    width: 100%;
    height: 580px;
    border-radius: 32px;
    background: #0F1424;
    overflow: hidden;
    position: relative;
}
.phone--side { margin: 0 auto; }
.phone--hero { width: 310px; }
.phone--hero .phone__screen { height: 620px; }

/* UI screens (mockups inside phones) */
.ui-screen {
    height: 100%;
    padding: 40px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text);
    overflow: hidden;
}
.ui-statusbar {
    display: flex; justify-content: space-between;
    font-size: 12px; font-weight: 700;
    color: var(--heading);
    padding-bottom: 6px;
}
.ui-statusbar__icons {
    width: 38px; height: 12px;
    background: linear-gradient(90deg, #fff5, #fff2);
    border-radius: 3px;
}
.ui-label { font-size: 11px; color: var(--orange-soft); font-weight: 600; }
.ui-title { font-size: 20px; font-weight: 800; color: var(--heading); }
.ui-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
}
.ui-header { display: flex; justify-content: space-between; align-items: center; }

.ui-progress { margin-top: 4px; }
.ui-progress__bar { height: 8px; background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden; }
.ui-progress__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--amber)); border-radius: 100px; }
.ui-progress__text { font-size: 11px; color: var(--muted-2); margin-top: 6px; }

.ui-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
}
.ui-card--active {
    background: linear-gradient(135deg, rgba(255,153,0,0.16), rgba(255,153,0,0.04));
    border-color: rgba(255,153,0,0.35);
}
.ui-card--muted { opacity: 0.55; }
.ui-card__top { display: flex; justify-content: space-between; align-items: center; }
.ui-ex-name { font-weight: 700; font-size: 14px; }
.ui-pill {
    font-size: 11px; font-weight: 700;
    color: var(--orange);
    background: rgba(255,153,0,0.15);
    padding: 3px 9px; border-radius: 100px;
}
.ui-sets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.ui-set {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 2px;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    font-size: 10px;
}
.ui-set b { font-size: 11px; }
.ui-set--done { background: rgba(255,153,0,0.12); color: var(--orange-soft); }
.ui-set--done b { color: var(--heading); }
.ui-set--active {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: var(--ink);
}
.ui-set--active b { color: var(--ink); }

/* Set screen */
.ui-back { align-self: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.ui-set-title { font-size: 13px; color: var(--orange-soft); font-weight: 600; }
.ui-set-weight { font-size: 28px; font-weight: 800; color: var(--heading); letter-spacing: -0.02em; }
.ui-meter { margin-top: 6px; }
.ui-meter__label { font-size: 12px; color: var(--muted-2); margin-bottom: 8px; }
.ui-meter__dots { display: flex; gap: 6px; }
.ui-meter__dots span { width: 28px; height: 8px; border-radius: 100px; background: rgba(255,255,255,0.1); }
.ui-meter__dots .is-active { background: linear-gradient(90deg, var(--orange), var(--amber)); }

.ui-timer {
    margin: auto;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: conic-gradient(var(--orange) 0 65%, rgba(255,255,255,0.06) 65% 100%);
    display: grid; place-items: center;
    position: relative;
}
.ui-timer::before {
    content: ''; position: absolute; inset: 10px;
    background: #0F1424; border-radius: 50%;
}
.ui-timer__text { position: relative; font-size: 26px; font-weight: 800; color: var(--heading); }
.ui-timer__sub { position: relative; font-size: 11px; color: var(--muted-2); margin-top: -4px; }

.ui-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: var(--ink);
    font-weight: 800;
    padding: 14px;
    border-radius: 14px;
    font-size: 14px;
}

/* Builder screen */
.ui-add {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: var(--orange);
    color: var(--ink);
    font-size: 22px; font-weight: 800;
    display: grid; place-items: center;
}
.ui-day {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
}
.ui-day__head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.ui-day__head span { font-weight: 800; font-size: 13px; }
.ui-day__head b { font-size: 11px; color: var(--orange-soft); font-weight: 600; }
.ui-day__row {
    display: flex; justify-content: space-between;
    font-size: 12px;
    padding: 6px 0;
    border-top: 1px solid var(--border);
}
.ui-day__row b { color: var(--orange); font-weight: 700; }
.ui-day--add {
    border: 1px dashed var(--border-strong);
    text-align: center;
    color: var(--muted-2);
    font-size: 13px;
    font-weight: 600;
}

/* Chat screen */
.ui-chat-head {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 4px 12px;
    border-bottom: 1px solid var(--border);
}
.ui-chat-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), #3b5bd9);
}
.ui-chat-name { font-weight: 800; font-size: 14px; }
.ui-chat-status { font-size: 11px; color: #4ade80; }
.ui-chat { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ui-msg { max-width: 78%; font-size: 12px; padding: 9px 12px; border-radius: 14px; }
.ui-msg--in {
    background: rgba(255,255,255,0.06);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}
.ui-msg--out {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: var(--ink);
    font-weight: 600;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}
.ui-chat-input {
    margin-top: auto;
    padding: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    color: var(--muted-2);
    text-align: center;
}

/* Floating cards */
.float-card {
    position: absolute;
    display: flex; align-items: center; gap: 12px;
    background: rgba(17, 23, 38, 0.96);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: var(--shadow);
    z-index: 4;
}
.float-card__icon { font-size: 24px; }
.float-card__value { font-size: 18px; font-weight: 800; color: var(--heading); line-height: 1.1; }
.float-card__label { font-size: 11px; color: var(--muted-2); }
.float-card--calories { top: 14%; left: -30px; animation: float 5s ease-in-out infinite; }
.float-card--progress { bottom: 16%; right: -30px; animation: float 5s ease-in-out infinite 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Trust row */
.hero__trust { margin-top: 90px; }
.trust-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 600;
    color: var(--muted);
}
.trust-item__icon { font-size: 20px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { position: relative; padding: 120px 0; z-index: 1; }
.section--compact { padding: 48px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,153,0,0.02), transparent); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    margin-bottom: 16px;
}
.section__eyebrow--light { color: var(--orange-soft); }
.section__title {
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}
.section__lead {
    font-size: 17px;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.55;
}
.section__lead--light { color: var(--muted); }

/* ---------- Feature grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,153,0,0.35);
    background: linear-gradient(160deg, rgba(255,153,0,0.05), var(--surface));
}
.feature-card__icon {
    width: 54px; height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,153,0,0.2), rgba(255,153,0,0.05));
    border: 1px solid rgba(255,153,0,0.25);
    display: grid; place-items: center;
    color: var(--orange);
    margin-bottom: 20px;
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 19px; color: var(--heading); margin-bottom: 10px; font-weight: 800; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Split section ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.split--reverse .split__content { order: 2; }
.split__content .section__eyebrow { display: block; }
.split__content .section__title { text-align: left; }
.split__content .section__lead { margin-left: 0; text-align: left; }

/* ---------- Check list ---------- */
.check-list { margin: 28px 0 36px; display: grid; gap: 14px; }
.check-list li {
    display: flex; align-items: center; gap: 14px;
    font-size: 15.5px; color: var(--text-secondary);
}
.check-list--tight { margin: 18px 0 0; gap: 10px; }
.check-list--tight li { font-size: 14.5px; }
.check-list__mark {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: var(--ink);
    font-weight: 800;
    font-size: 13px;
    display: grid; place-items: center;
}

/* Hero micro conversion helpers */
.hero-points {
    margin-top: 18px;
    display: grid;
    gap: 8px;
}
.hero-points li {
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}
.hero-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 800;
}

.micro-trust {
    padding: 14px 0 22px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}
.micro-trust__text {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

/* ---------- Mini grid (builder) ---------- */
.mini-grid { display: grid; gap: 14px; margin-bottom: 36px; }
.mini-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex; flex-direction: column; gap: 6px;
}
.mini-card__num {
    font-size: 12px; font-weight: 800; color: var(--orange);
    letter-spacing: 0.1em;
}
.mini-card h4 { font-size: 16px; color: var(--heading); font-weight: 800; }
.mini-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats-band {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255,153,0,0.1), rgba(30,58,138,0.1));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 60px;
}
.stats-band__item { flex: 1; text-align: center; }
.stats-band__value {
    font-size: 42px; font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.02em;
    line-height: 1;
}
.stats-band__value span { font-size: 22px; color: var(--orange); }
.stats-band__unit { font-size: 13px; color: var(--orange-soft); font-weight: 700; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.1em; }
.stats-band__desc { font-size: 12.5px; color: var(--muted-2); margin-top: 8px; max-width: 180px; margin-inline: auto; }
.stats-band__divider { width: 1px; background: var(--border); }

/* ---------- Accordion ---------- */
.accordion { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.accordion__item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
}
.accordion__item.open { border-color: rgba(255,153,0,0.35); background: rgba(255,153,0,0.05); }
.accordion__head {
    width: 100%;
    display: flex; align-items: center; gap: 16px;
    padding: 22px 24px;
    text-align: left;
}
.accordion__icon { font-size: 22px; }
.accordion__title { flex: 1; font-size: 17px; font-weight: 700; color: var(--heading); }
.accordion__chevron {
    font-size: 24px; font-weight: 300; color: var(--orange);
    transition: transform 0.3s var(--ease);
}
.accordion__item.open .accordion__chevron { transform: rotate(45deg); }
.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}
.accordion__body p {
    padding: 0 24px 22px 62px;
    font-size: 14.5px;
    color: var(--muted);
}

/* ---------- Exercise library ---------- */
.muscle-tags {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin-bottom: 50px;
}
.muscle-tag {
    padding: 9px 18px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13.5px; font-weight: 600;
    color: var(--muted);
    transition: all 0.25s var(--ease);
    cursor: default;
}
.muscle-tag:hover {
    border-color: var(--orange);
    color: var(--heading);
    transform: translateY(-2px);
}

.ex-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.ex-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.ex-card:hover { transform: translateY(-6px); border-color: rgba(255,153,0,0.35); }
.ex-card__media {
    height: 150px;
    display: grid; place-items: center;
    font-size: 38px;
    position: relative;
}
.ex-card__media--1 { background: linear-gradient(135deg, #FF9900, #FF7A00); }
.ex-card__media--2 { background: linear-gradient(135deg, #1E3A8A, #3b5bd9); }
.ex-card__media--3 { background: linear-gradient(135deg, #243049, #111726); }
.ex-card__media--4 { background: linear-gradient(135deg, #FFB347, #FF9900); }
.ex-card__body { padding: 18px 20px 22px; }
.ex-card__tag {
    font-size: 11px; font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.ex-card__body h4 { font-size: 16px; color: var(--heading); font-weight: 700; }

/* ---------- CTA ---------- */
.cta { padding-bottom: 130px; }
.cta__box {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    border-radius: 36px;
    background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
    border: 1px solid var(--border-strong);
    overflow: hidden;
}
.cta__glow {
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 500px;
    background: radial-gradient(circle, rgba(255,153,0,0.25), transparent 60%);
    pointer-events: none;
}
.cta__title {
    position: relative;
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 20px auto 16px;
    max-width: 700px;
}
.cta__lead {
    position: relative;
    font-size: 17px;
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 36px;
}
.cta__buttons { position: relative; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.store-btn {
    display: inline-flex;
    align-items: center; gap: 12px;
    padding: 14px 26px;
    background: var(--white);
    color: var(--ink);
    border-radius: 14px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-orange); }
.store-btn svg { width: 28px; height: 28px; }
.store-btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.store-btn small { font-size: 11px; color: var(--muted-2); }
.store-btn b { font-size: 17px; font-weight: 800; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border);
    padding: 64px 0 30px;
    position: relative; z-index: 1;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}
.footer__brand p { color: var(--muted-2); font-size: 14px; margin-top: 16px; max-width: 280px; }
    .footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer__col h5 { font-size: 13px; color: var(--heading); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer__col a { display: block; font-size: 14px; color: var(--muted-2); padding: 5px 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--orange); }
.footer__requisites {
    grid-column: 1 / -1;
    font-size: 13px;
    color: var(--muted-2);
    line-height: 1.65;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}
.footer__requisites a { color: var(--orange-soft); }
.footer__bottom {
    display: flex; justify-content: space-between;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    font-size: 13px; color: var(--muted-2);
}

/* ============================================================
   NEW LANDING COMPONENTS
   ============================================================ */

/* What is FitFaber */
.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.what-card {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.what-card--accent {
    background: linear-gradient(160deg, rgba(255,153,0,0.08), var(--surface));
    border-color: rgba(255,153,0,0.3);
}
.what-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 20px;
}
.what-list {
    display: grid;
    gap: 12px;
}
.what-list li {
    font-size: 15px;
    color: var(--muted);
    padding-left: 20px;
    position: relative;
    line-height: 1.45;
}
.what-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}
.what-value {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Adapt tags */
.adapt-block {
    margin-top: 48px;
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
}
.adapt-block__label {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.adapt-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.adapt-tag {
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: border-color 0.25s, background 0.25s;
}
.adapt-tag:hover {
    border-color: rgba(255,153,0,0.35);
    background: rgba(255,153,0,0.06);
}

/* Pain grid (for users) */
.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0;
}
.pain-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--muted);
    line-height: 1.45;
}
.pain-item__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,80,80,0.15);
    color: #FF6B6B;
    font-size: 14px;
    font-weight: 700;
    display: grid;
    place-items: center;
    line-height: 1;
}

/* Progression chain (examples) */
.progression-chain {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
}
.progression-step {
    flex: 1;
    min-width: 0;
    padding: 24px 16px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.25s, transform 0.25s;
}
.progression-step:last-of-type {
    background: linear-gradient(160deg, rgba(255,153,0,0.1), var(--surface));
    border-color: rgba(255,153,0,0.35);
}
.progression-step__label {
    font-size: 11px;
    font-weight: 800;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.progression-step__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.35;
}
.progression-arrow {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    padding: 0 8px;
    font-size: 20px;
    color: var(--orange);
    opacity: 0.5;
}
.progression-note {
    max-width: 640px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Pull-up narrative progression */
.progression-narrative {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.progression-narrative__step {
    text-align: center;
    padding: 28px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.progression-narrative__step--highlight {
    background: linear-gradient(160deg, rgba(255,153,0,0.1), var(--surface));
    border-color: rgba(255,153,0,0.35);
}
.progression-narrative__context {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.progression-narrative__arrow {
    font-size: 20px;
    color: var(--orange);
    opacity: 0.5;
    margin: 8px 0;
}
.progression-narrative__result {
    font-size: 17px;
    font-weight: 800;
    color: var(--heading);
    line-height: 1.35;
}

/* Pricing funnel */
.pricing-funnel {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.pricing-funnel__step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.pricing-funnel__step--accent {
    background: linear-gradient(135deg, rgba(255,153,0,0.12), rgba(255,153,0,0.04));
    border-color: rgba(255,153,0,0.35);
    color: var(--heading);
}
.pricing-funnel__num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ink-4);
    border: 1px solid var(--border-strong);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--orange);
}
.pricing-funnel__step--accent .pricing-funnel__num {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: var(--ink);
    border-color: transparent;
}
.pricing-funnel__arrow {
    font-size: 18px;
    color: var(--muted-2);
    opacity: 0.6;
}

/* Adaptive engine pipeline (6 steps) */
.engine-pipeline {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.engine-pipeline__step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.engine-pipeline__step--highlight {
    background: linear-gradient(135deg, rgba(255,153,0,0.1), rgba(255,153,0,0.03));
    border-color: rgba(255,153,0,0.35);
}
.engine-pipeline__num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink-4);
    border: 1px solid var(--border-strong);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--orange);
}
.engine-pipeline__step--highlight .engine-pipeline__num {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: var(--ink);
    border-color: transparent;
}
.engine-pipeline__label {
    font-size: 15px;
    font-weight: 700;
    color: var(--heading);
}
.engine-pipeline__arrow {
    text-align: center;
    font-size: 16px;
    color: var(--orange);
    opacity: 0.45;
    padding: 2px 0;
    line-height: 1;
}

@media (min-width: 900px) {
    .engine-pipeline {
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0;
    }
    .engine-pipeline__step {
        flex: 0 0 auto;
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 20px 14px;
        width: 130px;
    }
    .engine-pipeline__arrow {
        flex: 0 0 auto;
        padding: 0 4px;
        font-size: 0;
    }
    .engine-pipeline__arrow::after { content: '→'; font-size: 18px; }
}

/* Adaptation demo (bench press) */
.adapt-demo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: stretch;
    max-width: 880px;
    margin: 0 auto 48px;
}
.adapt-demo__card {
    padding: 28px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}
.adapt-demo__card--after {
    background: linear-gradient(160deg, rgba(255,153,0,0.1), var(--surface));
    border-color: rgba(255,153,0,0.35);
}
.adapt-demo__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-2);
    margin-bottom: 16px;
}
.adapt-demo__tag--accent { color: var(--orange); }
.adapt-demo__exercise {
    font-size: 18px;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 10px;
}
.adapt-demo__prescription {
    font-size: 16px;
    font-weight: 600;
    color: var(--orange-soft);
}
.adapt-demo__difficulty {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #FF8A8A;
}
.adapt-demo__goal {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    line-height: 1.4;
}
.adapt-demo__middle {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    min-width: 220px;
}
.adapt-demo__middle-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    text-align: center;
}
.adapt-demo__checks {
    display: grid;
    gap: 10px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,153,0,0.35);
    border-radius: var(--radius);
}
.adapt-demo__checks li {
    font-size: 13px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}
.adapt-demo__checks li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: var(--orange);
}

/* AI objection handling */
.ai-compare {
    max-width: 820px;
    margin: 0 auto;
    padding: 30px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.ai-compare__lead {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
}

.examples-divider {
    text-align: center;
    margin: 48px 0 32px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Coaches feature grid */
.fc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}
.fc-grid__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}
.fc-grid__item--wide {
    grid-column: 1 / -1;
    justify-content: center;
}
.fc-grid__mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.fc-note {
    text-align: center;
    margin-top: 36px;
    font-size: 15px;
    color: var(--muted);
    font-weight: 600;
}

/* Coach why block */
.coach-why {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    max-width: 820px;
    margin: 48px auto 0;
    padding: 32px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.coach-why__label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-2);
    margin-bottom: 10px;
}
.coach-why__label--accent { color: var(--orange); }
.coach-why__list {
    display: grid;
    gap: 10px;
}
.coach-why__list li {
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-secondary);
    position: relative;
    padding-left: 18px;
}
.coach-why__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--orange);
}
.coach-why__arrow {
    font-size: 24px;
    color: var(--orange);
    opacity: 0.6;
}

/* Capabilities strip */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.cap-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.cap-item__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,153,0,0.15), rgba(255,153,0,0.05));
    border: 1px solid rgba(255,153,0,0.25);
    display: grid;
    place-items: center;
    font-size: 20px;
    color: var(--orange);
    font-weight: 800;
}
.cap-item p {
    font-size: 15px;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.4;
}

.journey-strip {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 6px 0 26px;
}
.journey-strip span {
    font-size: 12px;
    color: var(--muted-2);
    font-weight: 700;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,0.02);
}

/* Engine featured section */
.section--engine {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--ink-2) 0%, var(--bg) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section__title--lg {
    font-size: clamp(32px, 5vw, 48px);
}
.engine-pipeline--featured .engine-pipeline__step {
    padding: 22px 18px;
    border-color: rgba(255,255,255,0.12);
}
.engine-pipeline--featured .engine-pipeline__label {
    font-size: 14px;
}
@media (min-width: 900px) {
    .engine-pipeline--featured .engine-pipeline__step {
        width: 140px;
        padding: 24px 14px;
    }
    .engine-pipeline--featured .engine-pipeline__num {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}

.trust-band--4 .trust-band__value {
    font-size: 18px;
}
.trust .section__head {
    margin-bottom: 28px;
}

.cta__btn {
    margin-top: 24px;
    min-width: 200px;
    justify-content: center;
}
.store-btn--primary {
    border-color: rgba(255,153,0,0.4);
}

.origin-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.origin-block p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
}
.origin-block p + p { margin-top: 16px; }

/* Trust band */
.trust { padding: 60px 0; }
.trust-band {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
}
.trust-band__item { flex: 1; text-align: center; }
.trust-band__value {
    font-size: 22px;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.trust-band__label {
    font-size: 13px;
    color: var(--muted-2);
    line-height: 1.4;
}
.trust-band__divider {
    width: 1px;
    background: var(--border);
    margin: 0 8px;
}

/* Problem contrast */
.contrast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
}
.contrast-card {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.contrast-card--muted {
    background: var(--surface);
}
.contrast-card--accent {
    background: linear-gradient(160deg, rgba(255,153,0,0.08), var(--surface));
    border-color: rgba(255,153,0,0.3);
}
.contrast-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 20px;
}
.contrast-list {
    display: grid;
    gap: 12px;
}
.contrast-list li {
    font-size: 15px;
    color: var(--muted);
    padding-left: 20px;
    position: relative;
    line-height: 1.45;
}
.contrast-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted-2);
}
.contrast-card--accent .contrast-list li::before {
    content: '✓';
    color: var(--orange);
    font-weight: 700;
}
.contrast-note {
    margin: 28px auto 0;
    max-width: 760px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Adaptive engine cycle */
.engine-cycle {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.engine-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.25s;
}
.engine-step--highlight {
    background: linear-gradient(135deg, rgba(255,153,0,0.1), rgba(255,153,0,0.03));
    border-color: rgba(255,153,0,0.35);
}
.engine-step__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ink-4);
    border: 1px solid var(--border-strong);
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--orange);
}
.engine-step--highlight .engine-step__num {
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: var(--ink);
    border-color: transparent;
}
.engine-step__content h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 4px;
}
.engine-step__content p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.45;
}
.engine-arrow {
    text-align: center;
    font-size: 18px;
    color: var(--orange);
    opacity: 0.5;
    padding: 4px 0;
    line-height: 1;
}

@media (min-width: 900px) {
    .engine-cycle {
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0;
    }
    .engine-cycle--4 .engine-step {
        width: 180px;
    }
    .engine-step {
        flex: 0 0 auto;
        width: 160px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding: 24px 16px;
    }
    .engine-arrow {
        flex: 0 0 auto;
        padding: 0 6px;
        font-size: 20px;
    }
    .engine-arrow::after { content: '→'; }
    .engine-arrow { font-size: 0; }
}

/* Dark section */
.section--dark {
    background: linear-gradient(180deg, var(--ink-2), var(--ink-3));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.coach-benefits {
    margin-top: 48px;
    max-width: 560px;
    margin-inline: auto;
}
.check-list--center { justify-items: center; }

/* Screenshots */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}
.screenshot-item { text-align: center; }
.screenshot-item__label {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}
.phone--screenshot {
    width: 240px;
    margin: 0 auto;
}
.phone--screenshot .phone__screen { height: 480px; }

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.testimonial-card__text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: var(--ink);
    font-weight: 800;
    font-size: 15px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.testimonial-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading);
}
.testimonial-card__role {
    font-size: 12px;
    color: var(--muted-2);
    margin-top: 2px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 960px;
    margin: 0 auto;
}
.pricing-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pricing-card--featured {
    border-color: rgba(255,153,0,0.4);
    background: linear-gradient(160deg, rgba(255,153,0,0.07), var(--surface));
}
.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    border-radius: 100px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.pricing-card__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.pricing-card__price {
    font-size: 32px;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.pricing-card__desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 8px;
}
.pricing-card__cta { width: 100%; margin-top: auto; }
.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--muted-2);
    margin-top: 28px;
    max-width: 520px;
    margin-inline: auto;
}

/* FAQ accordion without icons */
#faq .accordion__head { gap: 20px; }
#faq .accordion__body p { padding-left: 24px; }

/* Sticky mobile CTA */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 90;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--sticky-cta-bg);
    border-top: 1px solid var(--border);
    transform: translateY(100%);
    transition: transform 0.3s var(--ease);
    box-sizing: border-box;
}
.sticky-cta.is-visible {
    transform: translateY(0);
}
.sticky-cta__btn {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
}

/* ============================================================
   SCROLL REVEAL
   Visible by default — critical for iOS Safari / touch / "Request Desktop Website"
   Animate only on real desktop pointers.
   ============================================================ */
.reveal {
    opacity: 1;
    transform: none;
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
    .reveal {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .hero .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .nav { display: none; }
    .burger { display: flex; }
    .nav.open {
        display: flex;
        position: fixed;
        top: calc(76px + env(safe-area-inset-top, 0px));
        left: 0; right: 0;
        flex-direction: column;
        background: var(--nav-mobile-bg);
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
    }
    .nav.open .nav__link { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--border); }

    /* Hide CTA as soon as burger appears — otherwise header overflows */
    .header__actions .btn--sm { display: none; }
    .header__actions { gap: 6px; }
    .header__inner { gap: 8px; height: 64px; }
    .logo { gap: 8px; font-size: 17px; }
    .logo__icon { width: 32px; height: 32px; border-radius: 8px; }
    .burger { width: 36px; height: 36px; }
    .header__prefs .theme-toggle {
        width: 32px;
        height: 32px;
    }
    .header__prefs .theme-toggle svg {
        width: 16px;
        height: 16px;
    }
    .lang-switch select[data-lang-select] {
        width: 2.85rem !important;
        max-width: 2.85rem !important;
        padding: 6px 16px 6px 8px;
        font-size: 11px;
    }
    .lang-switch::after {
        right: 7px;
        border-left-width: 3px;
        border-right-width: 3px;
        border-top-width: 4px;
    }

    .hero__inner { grid-template-columns: 1fr; gap: 50px; }
    .hero { padding-top: calc(108px + env(safe-area-inset-top, 0px)); overflow-x: clip; }
    .hero__visual {
        display: flex;
        justify-content: center;
        max-width: 100%;
        overflow: hidden;
    }
    .phone--hero {
        width: min(290px, 100%);
    }

    .feature-grid, .feature-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .what-grid { grid-template-columns: 1fr; }
    .adapt-demo { grid-template-columns: 1fr; gap: 16px; }
    .adapt-demo__middle { flex-direction: row; flex-wrap: wrap; justify-content: center; min-width: 0; }
    .fc-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-band { flex-direction: column; gap: 24px; padding: 28px 24px; }
    .trust-band__divider { width: 100%; height: 1px; margin: 0; }
    .pain-grid { grid-template-columns: 1fr; }
    .progression-chain { flex-direction: column; align-items: stretch; }
    .progression-arrow { padding: 4px 0; transform: rotate(90deg); }
    .contrast-grid { grid-template-columns: 1fr; }
    .screenshot-grid { grid-template-columns: 1fr; gap: 48px; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .engine-cycle { max-width: 100%; }
    .split, .split--reverse { grid-template-columns: 1fr; gap: 50px; }
    .split--reverse .split__content { order: -1; }
    .split__content .section__title,
    .split__content .section__lead { text-align: center; }
    .split__content .section__lead { margin-inline: auto; }
    .check-list { max-width: 480px; margin-inline: auto; }

    .eyebrow__dot,
    .float-card--calories,
    .float-card--progress {
        animation: none;
    }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .section { padding: 70px 0; }
    .hero { padding: calc(100px + env(safe-area-inset-top, 0px)) 0 50px; }
    .header__inner { height: 60px; }
    .nav.open { top: calc(60px + env(safe-area-inset-top, 0px)); }
    .hero__cta {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 28px;
    }
    .hero__cta .btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        white-space: normal;
    }
    .hero__cta .btn--accent {
        animation: none;
        box-shadow:
            0 0 0 1px rgba(255, 179, 71, 0.5),
            var(--shadow-orange);
    }
    .hero-subscribe-notice {
        margin-top: -12px;
    }
    .hero__stats { gap: 24px; flex-wrap: wrap; }
    .hero__stat-num { font-size: 28px; }

    .feature-grid, .feature-grid--3 { grid-template-columns: 1fr; }
    .fc-grid { grid-template-columns: 1fr; }
    .progression-narrative { grid-template-columns: 1fr; }
    .coach-why { grid-template-columns: 1fr; text-align: center; }
    .coach-why__arrow { transform: rotate(90deg); }
    .cap-grid { grid-template-columns: 1fr; }
    .pricing-funnel { flex-direction: column; align-items: stretch; }
    .pricing-funnel__arrow { display: none; }

    .footer__inner { grid-template-columns: 1fr; gap: 36px; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
    .footer__cols { grid-template-columns: 1fr 1fr; }

    .cta__box { padding: 50px 22px; }
    .btn { padding: 14px 22px; }

    .sticky-cta { display: block; }
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

    .sticky-cta__btn {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 380px) {
    /* Ultra-narrow: icon-only brand to keep controls fully visible */
    .logo__text { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
