/* ==========================================================================
   Ollie · ollie.chat
   ========================================================================== */

:root {
    --bg: #ffffff;
    --bg-soft: #f7f5f2;
    --bg-tint: #fff5ef;
    --card: #ffffff;
    --ink: #1d1d1f;
    --ink-2: #424245;
    --muted: #6e6e73;
    --line: rgba(29, 29, 31, 0.1);

    --coral: #ff6a3d;
    --coral-soft: #ffe9df;
    --accent: #c8401a;          /* links and buttons: 5:1 on white */
    --accent-hover: #a9340f;
    --on-accent: #ffffff;
    --good: #1f7a55;
    --good-soft: #e2f4ea;

    --grad: linear-gradient(95deg, #ff7a3d 0%, #ee4f2b 45%, #c8401a 100%);
    --shadow-sm: 0 1px 2px rgba(29, 29, 31, 0.05), 0 6px 16px -8px rgba(29, 29, 31, 0.12);
    --shadow: 0 24px 48px -28px rgba(29, 29, 31, 0.28), 0 8px 20px -12px rgba(29, 29, 31, 0.1);
    --shadow-lg: 0 60px 120px -50px rgba(29, 29, 31, 0.35), 0 30px 60px -36px rgba(200, 64, 26, 0.28);
    --nav-bg: rgba(255, 255, 255, 0.72);

    --radius-xl: 32px;
    --radius-lg: 28px;
    --radius: 20px;
    --radius-sm: 14px;

    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", "Helvetica Neue",
        Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b0b0c;
        --bg-soft: #151516;
        --bg-tint: #1a1310;
        --card: #1c1c1e;
        --ink: #f5f5f7;
        --ink-2: #d2d2d7;
        --muted: #a1a1a6;
        --line: rgba(255, 255, 255, 0.12);

        --coral-soft: #3a2118;
        --accent: #ff7a4d;
        --accent-hover: #ff9670;
        --on-accent: #1d1d1f;
        --good: #6fd3a3;
        --good-soft: #17301f;

        --grad: linear-gradient(95deg, #ffb48c 0%, #ff8a5c 45%, #ff6a3d 100%);
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
        --shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.7);
        --shadow-lg: 0 60px 120px -50px rgba(0, 0, 0, 0.8), 0 30px 60px -36px rgba(255, 106, 61, 0.18);
        --nav-bg: rgba(11, 11, 12, 0.72);

        color-scheme: dark;
    }
}

/* ---------------------------------------------------------------- Base -- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.55 var(--font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }

h2 {
    font-size: clamp(2.1rem, 4.8vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -0.032em;
    font-weight: 700;
}

h3 {
    font-size: 1.22rem;
    line-height: 1.3;
    letter-spacing: -0.012em;
    font-weight: 650;
}

p { margin: 0; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
    border-radius: 10px;
}

.wrap {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 max(20px, env(safe-area-inset-left));
}

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--bg); }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px -12px rgba(200, 64, 26, 0.65);
    transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
    background: var(--accent-hover);
    color: var(--on-accent);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -12px rgba(200, 64, 26, 0.7);
}
.btn:active { transform: translateY(0) scale(0.98); }

.btn-large { padding: 16px 30px; font-size: 1.08rem; }
.btn-small { padding: 9px 16px; font-size: 0.93rem; }
.btn-block { width: 100%; }

.btn-quiet {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
}
.btn-quiet:hover {
    background: var(--bg-soft);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
}

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

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.is-scrolled,
.nav.is-open {
    background: var(--nav-bg);
    border-bottom-color: var(--line);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
}
.brand:hover { color: var(--ink); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.nav-links a {
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.btn, .nav-toggle, .chip, .mini-btn { -webkit-tap-highlight-color: transparent; }
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav.is-open .nav-toggle-bar { background: transparent; }
.nav.is-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
    .nav-inner { gap: 12px; }
    .nav-actions { margin-left: auto; }
    .nav-toggle { display: grid; place-items: center; }
    .nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 20px 20px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .nav.is-open .nav-links { display: flex; }
    .nav-links a {
        padding: 14px 4px;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.1rem;
        color: var(--ink);
    }
    .nav-links a:hover { background: transparent; }
    .nav-links a:last-child { border-bottom: 0; }
}

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

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(32px, 5vw, 64px) 0 clamp(72px, 10vw, 128px);
    text-align: center;
}

.hero-glow {
    position: absolute;
    inset: -160px 0 auto;
    z-index: -1;
    height: 820px;
    background:
        radial-gradient(38% 46% at 50% 34%, rgba(255, 138, 94, 0.3), transparent 72%),
        radial-gradient(26% 36% at 18% 22%, rgba(255, 201, 77, 0.24), transparent 72%),
        radial-gradient(26% 36% at 84% 26%, rgba(255, 46, 99, 0.13), transparent 72%);
    pointer-events: none;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    box-shadow: var(--shadow-sm);
    color: var(--ink-2);
    font-size: 0.92rem;
    font-weight: 600;
}

/* Ollie stays centred; his speech bubble hangs off to the right, whatever
   he's saying. */
.hero-hello {
    position: relative;
    width: 118px;
    margin: 0 auto 10px;
}

.ollie-hero {
    width: 118px;
    height: 118px;
    overflow: visible;
    animation: bob 4.5s ease-in-out infinite;
}

.ollie-look { transition: transform 0.25s ease-out; }

.ollie-blink {
    transform-box: fill-box;
    transform-origin: center;
    animation: blink 5.5s infinite;
}

.hello-bubble {
    position: absolute;
    top: 6px;
    left: calc(100% + 2px);
    padding: 9px 15px;
    border-radius: 18px 18px 18px 6px;
    background: var(--card);
    box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 650;
    white-space: nowrap;
    animation: pop 0.6s 0.5s var(--ease) both;
}

.hero-title {
    max-width: 1000px;
    margin: 18px auto 22px;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.042em;
    font-weight: 700;
}

.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-title .grad { display: inline-block; }

.hero-lead {
    max-width: 660px;
    margin: 0 auto 34px;
    color: var(--muted);
    font-size: clamp(1.1rem, 1.7vw, 1.3rem);
    line-height: 1.5;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 560px) {
    .hero-hello { width: 92px; transform: translateX(-44px); }
    .ollie-hero { width: 92px; height: 92px; }
    .hello-bubble { max-width: calc(50vw - 16px); font-size: 0.9rem; white-space: normal; width: max-content; }
}

/* --------------------------------------------- The app window in the hero -- */

.window {
    max-width: 1000px;
    margin: clamp(44px, 5vw, 64px) auto 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--card);
    box-shadow: var(--shadow-lg);
    text-align: left;
}

.window-bar {
    position: relative;
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.window-dots { display: flex; gap: 8px; }
.window-dots i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}
.window-dots i:nth-child(2) { background: #febc2e; }
.window-dots i:nth-child(3) { background: #28c840; }

.window-title {
    position: absolute;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateX(-50%);
    color: var(--ink-2);
    font-size: 0.9rem;
    font-weight: 600;
}

.window-body {
    display: grid;
    gap: 22px;
    padding: clamp(18px, 3.4vw, 34px);
}

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

.bubble {
    max-width: 560px;
    padding: 12px 17px;
    border-radius: 22px;
    font-size: 1rem;
    line-height: 1.45;
}

.bubble-you {
    align-self: flex-end;
    border-bottom-right-radius: 7px;
    background: var(--accent);
    color: var(--on-accent);
}

.bubble-ollie {
    border-bottom-left-radius: 7px;
    background: var(--bg-soft);
    color: var(--ink);
}

.bubble-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.bubble-avatar { flex: none; width: 36px; height: 36px; }

/* The "typing" and the reply share one slot, so nothing jumps when one
   replaces the other. */
.reply-slot { display: grid; }
.reply-slot > * { grid-area: 1 / 1; }

.typing {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    padding: 16px 18px;
}
.typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
    animation: dot 1.1s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

.picks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pick {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    font-size: 2.9rem;
    line-height: 1;
    background: linear-gradient(145deg, #fff1e8, #ffd9c7);
}
.thumb-sage { background: linear-gradient(145deg, #eaf6ef, #cfe9da); }
.thumb-plum { background: linear-gradient(145deg, #f3ecfc, #dfd1f6); }
.thumb-sun  { background: linear-gradient(145deg, #fff7dc, #ffe6a1); }
.thumb-sky  { background: linear-gradient(145deg, #e8f3fe, #cbe2fb); }
.thumb-rose { background: linear-gradient(145deg, #ffeef2, #ffd3de); }
.thumb-peach { background: linear-gradient(145deg, #fff1e8, #ffd9c7); }

@media (prefers-color-scheme: dark) {
    .thumb       { background: linear-gradient(145deg, #3a2419, #4a2a1c); }
    .thumb-sage  { background: linear-gradient(145deg, #183026, #1f3d30); }
    .thumb-plum  { background: linear-gradient(145deg, #272036, #312644); }
    .thumb-sun   { background: linear-gradient(145deg, #332a14, #423517); }
    .thumb-sky   { background: linear-gradient(145deg, #172636, #1c3147); }
    .thumb-rose  { background: linear-gradient(145deg, #361c23, #45222c); }
    .thumb-peach { background: linear-gradient(145deg, #3a2419, #4a2a1c); }
}

.pick-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 18px;
}
.pick-body h3 { font-size: 1rem; }

.pick-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 0.87rem;
}
.pick-meta strong { color: var(--ink); }

.pick-why { color: var(--ink-2); font-size: 0.92rem; line-height: 1.45; }

/* Choreography for the hero conversation. */
.step-1 { animation: rise 0.55s 0.3s var(--ease) both; }
.step-typing { animation: typing-life 1.5s 0.95s ease both; }
.step-reply { animation: rise 0.5s 2.35s var(--ease) both; }
.step-4 { animation: rise 0.6s 2.75s var(--ease) both; }
.step-5 { animation: rise 0.6s 2.95s var(--ease) both; }
.step-6 { animation: rise 0.6s 3.15s var(--ease) both; }

@media (max-width: 760px) {
    .picks { grid-template-columns: 1fr; }
    .pick { flex-direction: row; }
    .pick .thumb { flex: none; width: 96px; aspect-ratio: auto; font-size: 2.2rem; }
}

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

.section { padding: clamp(84px, 11vw, 144px) 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%); }

.section-head {
    max-width: 780px;
    margin: 0 auto clamp(40px, 6vw, 68px);
    text-align: center;
}
.section-head h2 { margin-bottom: 18px; }

.eyebrow {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -0.005em;
}

.lead {
    color: var(--muted);
    font-size: clamp(1.08rem, 1.6vw, 1.26rem);
    line-height: 1.5;
    text-wrap: pretty;
}

/* --------------------------------------------------------------- Steps -- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    position: relative;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); }

.step-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
    border-radius: 20px;
    background: var(--coral-soft);
    font-size: 1.9rem;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 28px;
    color: var(--coral);
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    opacity: 0.16;
}

@media (max-width: 820px) {
    .steps { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Demo -- */

.demo {
    padding: clamp(18px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--card);
    box-shadow: var(--shadow-lg);
}

.demo-people {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.chip {
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink);
    font: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}
.chip:hover { transform: translateY(-1px); }
.chip[aria-pressed="true"] {
    border-color: transparent;
    background: var(--ink);
    color: var(--bg);
}

.demo-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.5fr);
    gap: 22px;
    min-height: 430px;
}

.demo-brief {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border-radius: 24px;
    background: var(--bg-soft);
}

.demo-label {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.demo-about {
    margin: 6px 0 10px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.demo-budget {
    align-self: flex-start;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--card);
    color: var(--ink-2);
    font-size: 0.85rem;
    font-weight: 600;
}

.demo-ollie {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin: 20px 0 14px;
}
.demo-ollie img { flex: none; width: 44px; height: 44px; }
.demo-ollie .bubble { background: var(--card); }

.demo-thinking {
    display: grid;
    gap: 8px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.demo-thinking li {
    display: flex;
    gap: 10px;
    padding: 10px 13px;
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--ink-2);
    font-size: 0.93rem;
    line-height: 1.4;
    animation: rise 0.45s var(--ease) both;
}
.demo-thinking li::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    margin-top: 0.45em;
    border-radius: 50%;
    background: var(--coral);
}

.demo-checking {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.9rem;
}
.demo-checking .bar {
    position: relative;
    flex: none;
    width: 90px;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--line);
}
.demo-checking .bar span {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--coral);
    animation: load 1s var(--ease) both;
}

.demo-picks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 14px;
}

.demo-picks.is-empty { align-content: stretch; }

.demo-empty {
    grid-column: 1 / -1;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 18px;
    padding: 40px 24px;
    border: 2px dashed var(--line);
    border-radius: 24px;
    color: var(--muted);
    text-align: center;
}
.demo-empty p { max-width: 340px; }

/* Under the demo: the same thing, for someone real. */
.demo-cta {
    margin-top: 28px;
    text-align: center;
}
.demo-cta .hero-note { margin-top: 12px; }

.pick-ghost {
    min-height: 330px;
    border-radius: var(--radius);
    background: linear-gradient(100deg, var(--bg-soft) 30%, var(--card) 50%, var(--bg-soft) 70%) 0 0 / 300% 100%;
    box-shadow: inset 0 0 0 1px var(--line);
    animation: shimmer 1.4s linear infinite;
}

.demo-picks .pick { animation: rise 0.55s var(--ease) both; }
.demo-picks .pick:nth-child(2) { animation-delay: 0.12s; }
.demo-picks .pick:nth-child(3) { animation-delay: 0.24s; }
.demo-picks .pick-body { flex: 1; }

.pick-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.mini-btn {
    flex: 1;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s var(--ease);
}
.mini-btn:hover { background: var(--bg-soft); }
.mini-btn-keep { border-color: transparent; background: var(--good-soft); color: var(--good); }
.mini-btn-keep:hover { background: var(--good-soft); transform: translateY(-1px); }

.pick.is-kept { border-color: var(--good); box-shadow: 0 0 0 1px var(--good), var(--shadow-sm); }
.pick-kept-note {
    margin-top: auto;
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--good-soft);
    color: var(--good);
    font-size: 0.9rem;
    font-weight: 650;
    text-align: center;
}
.pick-kept-note:focus-visible { outline-offset: 2px; }

.demo-picks .pick.is-leaving { animation: leave 0.3s ease both; }

@media (max-width: 980px) {
    .demo-stage { grid-template-columns: 1fr; min-height: 0; }
    .pick-ghost { min-height: 300px; }
}

@media (max-width: 760px) {
    .demo-picks { grid-template-columns: 1fr; }
    .demo-picks .pick .thumb { width: 84px; }
    .pick-ghost { min-height: 170px; }
}

/* -------------------------------------------------------------- Versus -- */

.versus {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.versus-card {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3.4vw, 38px);
    border-radius: var(--radius-lg);
}

.versus-card ul {
    flex: 1;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.versus-card li {
    display: flex;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    line-height: 1.45;
}

.versus-card li::before {
    flex: none;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
}

.versus-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.versus-result {
    margin-top: 22px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.versus-old { background: var(--bg-soft); color: var(--muted); }
.versus-old .versus-label { color: var(--ink-2); }
.versus-old li::before { content: "✕"; background: var(--line); color: var(--muted); }
.versus-old .versus-result { color: var(--ink-2); }

.versus-new {
    border: 1px solid rgba(200, 64, 26, 0.2);
    background: linear-gradient(160deg, #fff6f1 0%, #ffe5d9 100%);
    box-shadow: var(--shadow);
}
.versus-new li { border-bottom-color: rgba(200, 64, 26, 0.14); }
.versus-new li::before { content: "✓"; background: var(--accent); color: var(--on-accent); }
.versus-new .versus-result { color: var(--accent); }

@media (prefers-color-scheme: dark) {
    .versus-new {
        border-color: rgba(255, 122, 77, 0.3);
        background: linear-gradient(160deg, #2a1811 0%, #1d130f 100%);
    }
    .versus-new li { border-bottom-color: rgba(255, 122, 77, 0.18); }
}

@media (max-width: 780px) {
    .versus { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- Trust -- */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.trust {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--card);
}
.trust h3 { margin-bottom: 8px; }
.trust p { color: var(--muted); }

.trust-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: var(--bg-soft);
    font-size: 1.7rem;
}

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

/* ----------------------------------------------------------- Meet Ollie -- */

.meet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 88px);
}

.meet-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 400px;
}

.meet-halo {
    position: absolute;
    width: min(420px, 90vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 94, 0.34) 0%, rgba(255, 201, 77, 0.16) 45%, transparent 70%);
}

.meet-ollie {
    position: relative;
    width: min(260px, 62vw);
    height: auto;
    animation: bob 5s ease-in-out infinite;
}

.meet-bubble {
    position: absolute;
    top: 9%;
    right: 2%;
    background: var(--card);
    box-shadow: var(--shadow), 0 0 0 1px var(--line);
    font-weight: 650;
}

.meet-copy h2 { margin-bottom: 18px; }
.meet-copy .lead { margin-bottom: 26px; }

.quirks {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.quirks li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    background: var(--bg-soft);
    color: var(--ink-2);
    font-weight: 500;
}
.quirks span { font-size: 1.35rem; }

@media (max-width: 860px) {
    .meet { grid-template-columns: 1fr; }
    .meet-art { min-height: 320px; }
}

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

.plan {
    max-width: 580px;
    margin: 0 auto;
    padding: clamp(26px, 4.5vw, 44px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--card);
    box-shadow: var(--shadow-lg);
}

.plan-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}
.plan-head img { flex: none; }

.plan-name { color: var(--muted); font-weight: 600; }

.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price strong {
    font-size: 3.6rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.05;
}
.plan-price span { color: var(--muted); font-size: 1.15rem; font-weight: 600; }

.plan-sub { color: var(--ink-2); }

.plan-list {
    display: grid;
    gap: 13px;
    margin: 0 0 30px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}
.plan-list li {
    display: flex;
    gap: 12px;
    color: var(--ink-2);
}
.plan-list li::before {
    content: "✓";
    flex: none;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--coral-soft);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
}

.plan-small {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: center;
}

/* ---------------------------------------------------------------- Next -- */

.next {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.next h2 { margin-bottom: 20px; }

.next-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}
.next-chips li {
    padding: 10px 18px;
    border: 1px dashed var(--line);
    border-radius: 999px;
    color: var(--ink-2);
    font-weight: 600;
}

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

.faq-wrap { max-width: 860px; }

.faq details {
    margin-bottom: 12px;
    padding: 0 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--card);
}

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 21px 0;
    font-size: 1.08rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    list-style: none;
    cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--ink-2);
    font-size: 1.3rem;
    font-weight: 400;
    transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* ------------------------------------------------------------ Final CTA -- */

.final {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
}
.final::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(50% 60% at 50% 55%, rgba(255, 138, 94, 0.22), transparent 70%);
}

.final-inner { max-width: 760px; }
.final-ollie { margin: 0 auto 20px; animation: bob 4.5s ease-in-out infinite; }
.final h2 { margin-bottom: 16px; }
.final .lead { margin-bottom: 32px; }

/* -------------------------------------------------------------- Footer -- */

.footer {
    padding: 56px 0 calc(40px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.93rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr);
    align-items: start;
    gap: 36px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
}
.footer-heading {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
}
.footer-col ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-col a { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }

.footer-legal {
    grid-column: 1 / -1;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 0.86rem;
}

@media (max-width: 960px) {
    .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------- Inner pages -- */

.nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }

.page-head {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(28px, 5vw, 60px) 0 clamp(32px, 4.5vw, 52px);
}
.page-head::before {
    content: "";
    position: absolute;
    inset: -220px 0 auto;
    z-index: -1;
    height: 600px;
    background:
        radial-gradient(34% 50% at 78% 38%, rgba(255, 138, 94, 0.24), transparent 72%),
        radial-gradient(26% 40% at 12% 22%, rgba(255, 201, 77, 0.18), transparent 72%);
    pointer-events: none;
}
.page-head-inner { max-width: 860px; }

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.9rem;
}
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.page-title {
    margin-bottom: 18px;
    font-size: clamp(2.3rem, 5.6vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.page-dek {
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(1.1rem, 1.7vw, 1.3rem);
    line-height: 1.5;
    text-wrap: pretty;
}

.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: clamp(40px, 6vw, 88px);
    padding-bottom: clamp(64px, 9vw, 112px);
}
.article { max-width: 740px; min-width: 0; }

.article-aside {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 16px;
}

.toc {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}
.toc-title { color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.toc-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    cursor: pointer;
}
.toc-details > summary::-webkit-details-marker { display: none; }
.toc-details > summary::after {
    content: "+";
    color: var(--ink-2);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s var(--ease);
}
.toc-details[open] > summary { margin-bottom: 6px; }
.toc-details[open] > summary::after { transform: rotate(45deg); }
@media (min-width: 1081px) {
    .toc-details > summary { cursor: default; pointer-events: none; }
    .toc-details > summary::after { display: none; }
}
.toc ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.toc a {
    display: block;
    padding: 6px 0;
    color: var(--ink-2);
    font-size: 0.94rem;
    line-height: 1.35;
    text-decoration: none;
}
.toc a:hover { color: var(--accent); }

.aside-cta {
    padding: 22px 20px;
    border: 1px solid rgba(200, 64, 26, 0.18);
    border-radius: var(--radius);
    background: var(--bg-tint);
    text-align: center;
}
.aside-cta img { margin: 0 auto 10px; }
.aside-cta p { margin-bottom: 14px; color: var(--ink); font-size: 0.95rem; font-weight: 600; line-height: 1.45; }

@media (max-width: 1080px) {
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .article { max-width: 760px; }
    .article-aside { position: static; order: -1; max-width: 760px; }
    .aside-cta { display: none; }
}

.answer {
    margin-bottom: 36px;
    padding: 22px 24px;
    border: 1px solid rgba(200, 64, 26, 0.2);
    border-radius: var(--radius-lg);
    background: var(--bg-tint);
}
.answer-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 700;
}
.answer-text { color: var(--ink); font-size: 1.12rem; line-height: 1.6; }

/* Long-form text */
.prose { color: var(--ink-2); font-size: 1.08rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.15em; }
.prose > h2 {
    margin-top: 2.3em;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.028em;
    scroll-margin-top: 90px;
}
.prose > h3 { margin-top: 1.7em; font-size: 1.28rem; }
.prose > h2 + *, .prose > h3 + * { margin-top: 0.7em; }
.prose > ul:not([class]), .prose > ol:not([class]) { padding-left: 1.3em; }
.prose > ul:not([class]) > li + li, .prose > ol:not([class]) > li + li { margin-top: 0.45em; }
.prose > ul:not([class]) > li::marker, .prose > ol:not([class]) > li::marker { color: var(--coral); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; }

.idea-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    list-style: none;
}
.idea {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}
.idea-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--bg-soft);
    font-size: 1.5rem;
    line-height: 1;
}
.idea h3 { margin-bottom: 6px; font-size: 1.06rem; line-height: 1.3; }
.idea p { font-size: 0.97rem; line-height: 1.55; }
.idea-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
}
.idea-meta span {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.5;
}
.idea-meta .idea-price { background: var(--coral-soft); color: var(--accent); }

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

.tip {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--bg-soft);
}
.tip img { flex: none; width: 44px; height: 44px; }
.tip p { color: var(--ink); font-size: 1rem; line-height: 1.55; }
.tip strong { display: block; color: var(--accent); font-size: 0.9rem; }

.cta-inline {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 26px;
    border: 1px solid rgba(200, 64, 26, 0.2);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, #fff6f1 0%, #ffe5d9 100%);
}
.cta-inline img { flex: none; width: 68px; height: 68px; }
.cta-inline p { margin-bottom: 14px; color: var(--ink); font-size: 1.06rem; font-weight: 600; line-height: 1.45; }

@media (prefers-color-scheme: dark) {
    .cta-inline {
        border-color: rgba(255, 122, 77, 0.3);
        background: linear-gradient(160deg, #2a1811 0%, #1d130f 100%);
    }
}
@media (max-width: 560px) {
    .cta-inline { flex-direction: column; align-items: flex-start; }
}

.example {
    display: grid;
    gap: 12px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}
.example-label { color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.example .bubble { font-size: 1rem; }
.example .bubble-you { justify-self: end; max-width: 88%; }
.example .bubble-ollie { max-width: none; }
.example-ollie { display: flex; align-items: flex-end; gap: 10px; }
.example-ollie img { flex: none; }
.example-ideas {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0 0 0 46px;
    list-style: none;
}
.example-ideas li {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.45;
}
.example-ideas li::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    margin-top: 0.5em;
    border-radius: 50%;
    background: var(--coral);
}
@media (max-width: 560px) { .example-ideas { padding-left: 0; } }

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}
.bands, .compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
    line-height: 1.5;
}
.bands th, .bands td, .compare th, .compare td {
    padding: 13px 16px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
.bands thead th, .compare thead th {
    border-top: 0;
    background: var(--bg-soft);
    color: var(--ink);
    font-size: 0.88rem;
}
.bands tbody th { color: var(--ink); white-space: nowrap; }
.compare tbody th { color: var(--ink); min-width: 130px; }
.compare td:last-child { color: var(--ink); }

.prompt-box {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}
.prompt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 8px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}
.prompt-copy {
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.prompt-copy:hover { background: var(--bg-tint); }
.prompt-box pre {
    margin: 0;
    padding: 18px;
    overflow-x: auto;
    color: var(--ink);
    font: 0.95rem/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    white-space: pre-wrap;
}

@media (max-width: 560px) {
    .prompt-box pre { padding: 14px; font-size: 0.84rem; }
}

.article-faq { margin-top: clamp(56px, 7vw, 80px); }
.article-faq h2 {
    margin-bottom: 22px;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.028em;
    scroll-margin-top: 90px;
}

.related-title {
    margin-bottom: 28px;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    letter-spacing: -0.03em;
}
.section-tight { padding: clamp(56px, 8vw, 96px) 0; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.guide-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow-sm);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease;
}
.guide-card:hover {
    border-color: rgba(200, 64, 26, 0.3);
    box-shadow: var(--shadow);
    color: inherit;
    transform: translateY(-2px);
}
.guide-card-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
    border-radius: 16px;
    background: var(--coral-soft);
    font-size: 1.6rem;
    line-height: 1;
}
.guide-card h3 { font-size: 1.14rem; }
.guide-card p { color: var(--muted); font-size: 0.97rem; line-height: 1.5; }
.guide-card-more { margin-top: auto; padding-top: 8px; color: var(--accent); font-size: 0.95rem; font-weight: 600; }

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

.hub-group + .hub-group { margin-top: clamp(48px, 6vw, 72px); }
.hub-group-head { margin-bottom: 22px; }
.hub-group-head h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); letter-spacing: -0.028em; }
.hub-group-head p { margin-top: 6px; color: var(--muted); }

.hub-note {
    max-width: 760px;
    margin-top: clamp(48px, 6vw, 72px);
    padding: 24px 26px;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
}
.hub-note h2 { margin-bottom: 10px; font-size: 1.3rem; letter-spacing: -0.02em; }
.hub-note p { color: var(--ink-2); }
.hub-note p + p { margin-top: 10px; }

.stuck-more { margin-top: 28px; text-align: center; }

.hub { padding-bottom: clamp(24px, 4vw, 48px); }

/* ----------------------------------------------------------------- 404 -- */

.notfound {
    display: grid;
    place-items: center;
    min-height: min(760px, calc(100vh - 64px));
    min-height: min(760px, calc(100svh - 64px));
    padding: 40px 0 80px;
    text-align: center;
}
.notfound-inner { max-width: 640px; }
.notfound-ollie { margin: 0 auto 26px; animation: bob 4.5s ease-in-out infinite; }
.notfound h1 {
    margin-bottom: 16px;
    font-size: clamp(2.3rem, 6vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}
.notfound .lead { margin-bottom: 32px; }

/* ------------------------------------------------ Scroll reveal & motion -- */

.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.steps .reveal:nth-child(2),
.trust-grid .reveal:nth-child(3n + 2),
.versus .reveal:nth-child(2) { transition-delay: 0.1s; }
.steps .reveal:nth-child(3),
.trust-grid .reveal:nth-child(3n) { transition-delay: 0.2s; }

@keyframes rise {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@keyframes pop {
    from { opacity: 0; transform: translateY(6px) scale(0.9); }
    to { opacity: 1; transform: none; }
}

@keyframes typing-life {
    0% { opacity: 0; transform: translateY(8px); }
    12% { opacity: 1; transform: none; }
    82% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes dot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
    40% { transform: translateY(-4px); opacity: 1; }
}

@keyframes bob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-7px) rotate(2deg); }
}

@keyframes blink {
    0%, 93%, 100% { transform: scaleY(1); }
    96% { transform: scaleY(0.1); }
}

@keyframes load {
    from { transform: translateX(-100%); }
    to { transform: none; }
}

@keyframes leave {
    to { opacity: 0; transform: scale(0.94); }
}

@keyframes shimmer {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}

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

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        transition-delay: 0s !important;
    }
}
