/* ==========================================================================
   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, button, summary { -webkit-tap-highlight-color: transparent; }
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);
}

/* Choices in one rounded track, like iOS's segmented control: which device
   to show the install steps for, and the story's steps on a phone. */
.segmented {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 2px;
    padding: 3px;
    border-radius: 13px;
    background: rgba(118, 118, 128, 0.12);
}
.segmented > button {
    min-height: 36px;
    padding: 7px 6px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.segmented > [aria-pressed="true"],
.segmented > [aria-current="step"] {
    background: var(--card);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
}
@media (prefers-color-scheme: dark) {
    .segmented { background: rgba(118, 118, 128, 0.24); }
    .segmented > [aria-pressed="true"],
    .segmented > [aria-current="step"] { background: #636366; }
}

/* On a phone, a second button is a tappable line of text rather than
   another big button, as in an app. */
@media (max-width: 640px) {
    .btn-quiet,
    .btn-quiet:hover {
        padding-inline: 4px;
        background: none;
        color: var(--accent);
        box-shadow: none;
    }
}

/* ----------------------------------------------------------------- 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); }

/* Gift ideas and Guides each open a panel of their pages (site.js): with a
   mouse by hovering, and by the arrow beside them; on a phone they unfold
   inside the menu. Without JavaScript, hovering or tabbing in opens them. */
.nav-links { align-self: stretch; }
.nav-item { display: flex; align-items: center; }
.nav-item > a,
.nav-more { display: inline-flex; align-items: center; height: 38px; }
.nav-item > a { padding: 0 3px 0 13px; border-radius: 999px 0 0 999px; }
.nav-more {
    justify-content: center;
    padding: 0 11px 0 3px;
    border: 0;
    border-radius: 0 999px 999px 0;
    background: transparent;
    color: var(--ink-2);
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.nav-chevron {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s var(--ease);
}
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }
.nav-item:is(:hover, .is-open) > :is(a, .nav-more),
.nav-item:has(> a[aria-current="page"]) > .nav-more { background: var(--bg-soft); color: var(--ink); }

.mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.nav-item.is-open > .mega { display: block; animation: mega-in 0.2s var(--ease); }
.nav:has(.nav-item.is-open) { background: var(--bg); border-bottom-color: var(--line); }
@media (min-width: 861px) {
    .nav:not(.is-ready) .nav-item:is(:hover, :focus-within) > .mega { display: block; }
}
.mega-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
    gap: 28px 36px;
    padding-top: 28px;
    padding-bottom: 32px;
}
.mega-title { color: var(--ink); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.mega-intro p + p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.nav-links .mega-all { display: inline-block; margin-top: 14px; padding: 0; background: none; color: var(--accent); font-weight: 600; }
.nav-links .mega-all:hover { background: none; color: var(--accent-hover); }
.mega-heading {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mega ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links .mega li a {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-left: -8px;
    padding: 6px 8px;
    border-radius: 12px;
    color: var(--ink);
    font-size: 0.97rem;
    line-height: 1.3;
}
.mega-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--coral-soft);
    font-size: 1.05rem;
    line-height: 1;
}
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }

.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; }

    /* The panels unfold in the menu, which scrolls if they make it long. */
    .nav-links { max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; }
    .nav-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid var(--line); }
    .nav-item > a { height: auto; padding: 14px 4px; border-bottom: 0; border-radius: 0; }
    .nav-more { width: 44px; height: 44px; padding: 0; border-radius: 999px; }
    .nav-chevron { width: 16px; height: 16px; }
    .nav-item:is(:hover, .is-open) > :is(a, .nav-more),
    .nav-item:has(> a[aria-current="page"]) > .nav-more { background: transparent; }
    .mega { position: static; grid-column: 1 / -1; border: 0; background: none; box-shadow: none; }
    .nav-item.is-open > .mega { animation: none; }
    .mega-inner { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 0 16px; }
    .mega-intro { display: none; }
    .nav-links .mega li a { margin-left: 0; padding: 6px 4px; font-size: 1rem; }
    .mega-icon { width: 30px; height: 30px; font-size: 1rem; }
}

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

/* Phone first: Ollie says hello, then the headline, the pitch and the
   button, left-aligned like the app's own screens and all on the first
   screen, above the cookie question (most people arriving from an ad are on
   a phone, and decide there). Under them a real search fans out, every
   phone whole. From 900px the words and the phones sit side by side, so the
   whole hero fits on one screen. */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 16px 0 48px;
}

.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;
}

.hero-inner {
    display: grid;
    gap: 40px;
}

/* His speech bubble hangs off to his right, whatever he's saying. */
.hero-hello {
    position: relative;
    width: 84px;
}

/* The bob runs on transform; his lean towards the pointer (site.js) uses
   rotate and translate, so the two add up rather than fight. */
.ollie-hero {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 22px rgba(200, 64, 26, 0.18));
    animation: bob 4.5s ease-in-out infinite;
    transition: rotate 0.35s ease-out, translate 0.35s ease-out;
    -webkit-user-select: none;
    user-select: none;
}

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

.hero-title {
    margin: 14px 0;
    font-size: clamp(2.3rem, 10vw, 3.4rem);
    line-height: 1.03;
    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: 34em;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.5;
    text-wrap: pretty;
}

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

/* A phone on the buttons that get you the app. */
.btn-icon { flex: none; margin-left: -4px; }

/* The three steps of a real search, fanned out: the gifts in front, the
   ideas and the shortlist behind. The box is the front phone; the others
   hang off its sides and fan out on load. Sized so all three fit whole,
   even on a small phone. */
.hero-phones {
    --phone: clamp(140px, 40vw, 230px);
    position: relative;
    isolation: isolate;
    display: grid;
    width: var(--phone);
    margin: 0 auto 4%;
}
.hero-phones .hero-phone { --w: var(--phone); grid-area: 1 / 1; }
.hero-phone-main { animation: rise 0.7s 0.15s var(--ease) both; }
.hero-phone-left,
.hero-phone-right {
    scale: 0.86;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), var(--shadow);
    animation: fan 0.9s 0.55s var(--ease) both;
}
.hero-phone-left { translate: -64% 5%; rotate: -7deg; }
.hero-phone-right { translate: 64% 5%; rotate: 7deg; }

.hero-blob {
    position: absolute;
    inset: 16% -46% 2%;
    z-index: -1;
    border-radius: calc(var(--phone) * 0.2);
    background: var(--coral-soft);
    rotate: -3deg;
}

@media (min-width: 900px) {
    .hero { padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 6vw, 88px); }
    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: clamp(32px, 5vw, 72px);
    }
    .hero-hello { width: 120px; }
    .hello-bubble { top: 8px; padding: 9px 15px; border-radius: 18px 18px 18px 6px; font-size: 0.98rem; }
    .hero-title { margin: 16px 0 20px; font-size: clamp(3rem, 4.1vw, 3.7rem); }
    .hero-lead { margin-bottom: 32px; font-size: clamp(1.1rem, 1.4vw, 1.22rem); }
    .hero-phones { --phone: clamp(190px, 17vw, 245px); }
}

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

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

.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; }

/* A person's initial, as the app shows it. */
.app-avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fdf0c4;
    color: #8a5a00;
    font-size: 1.15rem;
    font-weight: 750;
}

@media (prefers-color-scheme: dark) {
    .app-avatar { background: #3a3013; color: #f3c969; }
}

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

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

.section { padding: clamp(60px, 7.5vw, 104px) 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(30px, 4.5vw, 52px);
    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;
}

/* On a phone the page reads like an app: headings and paragraphs start at
   the left edge, so the eye doesn't hunt for each line, and sections sit
   closer together. Lists of things are grouped into one card of rows, as
   in iOS's own lists (trust, FAQ, steps). */
@media (max-width: 640px) {
    .section { padding: 44px 0; }
    .section-head { margin-bottom: 24px; text-align: left; }
    .section-head h2 { margin-bottom: 12px; }
    h2 { font-size: 1.95rem; line-height: 1.08; }
    .eyebrow { margin-bottom: 8px; font-size: 0.94rem; }
    .lead { font-size: 1.05rem; }

    /* One big button, with anything else as a line of text under it. */
    .hero-actions,
    .page-actions { flex-direction: column; align-items: stretch; gap: 4px; }
}

/* ------------------------------------------- Story: one real search -- */

/* Each step has a colour; on a wide screen the docked stage takes on the
   colour of the step in the middle of the screen (data-active, site.js). */
.story {
    --tone-1: #ffd9c7;
    --tone-2: #cfe9da;
    --tone-3: #ffe6a1;
    --tone-4: #dfd1f6;
    --block: var(--tone-1);
    --block-2: var(--tone-3);
    overflow-x: clip;
}
@media (prefers-color-scheme: dark) {
    .story {
        --tone-1: #4a2a1c;
        --tone-2: #1f3d30;
        --tone-3: #423517;
        --tone-4: #312644;
    }
}
.story[data-active="2"] { --block: var(--tone-2); --block-2: var(--tone-4); }
.story[data-active="3"] { --block: var(--tone-3); --block-2: var(--tone-1); }
.story[data-active="4"] { --block: var(--tone-4); --block-2: var(--tone-2); }

.story-step:nth-child(1) { --tone: var(--tone-1); }
.story-step:nth-child(2) { --tone: var(--tone-2); }
.story-step:nth-child(3) { --tone: var(--tone-3); }
.story-step:nth-child(4) { --tone: var(--tone-4); }

.story-steps {
    display: grid;
    gap: clamp(64px, 12vw, 96px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.story-num {
    display: block;
    width: max-content;
    margin-bottom: 12px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.story-text h3 {
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 2.7vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.028em;
    font-weight: 700;
}

.story-text p {
    max-width: 30em;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.55;
    text-wrap: pretty;
}

/* The app on a phone, on a block of its step's colour that peeks out to
   one side. */
.story-screen {
    position: relative;
    isolation: isolate;
    width: fit-content;
    margin: 34px auto 0;
}
.story-screen .device { --w: clamp(220px, calc(100vw - 130px), 290px); }
.story-screen::before {
    content: "";
    position: absolute;
    inset: 14% -36px -18px 36%;
    z-index: -1;
    border-radius: 40px;
    background: var(--tone);
    transform: rotate(3deg);
}
.story-step:nth-child(even) .story-screen::before {
    inset: 14% 36% -18px -36px;
    transform: rotate(-3deg);
}

.story.is-live:not(.is-docked) .story-screen {
    opacity: 0;
    transform: translateY(36px) rotate(-1.5deg);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.story.is-live:not(.is-docked) .story-screen.is-seen { opacity: 1; transform: none; }

/* The stage only exists docked. */
.story-stage { display: none; }

/* Narrower than 900px the steps come one at a time, side by side, the way
   an app pages through screens: swipe between them, or tap one in the bar
   above (site.js keeps the bar in step). The row runs to the screen's
   edges; each step and its phone are whole. */
.story-tabs { display: none; }

@media (max-width: 899px) {
    .story.is-live .story-tabs { display: grid; margin-bottom: 22px; }
    .story-steps {
        display: flex;
        gap: 0;
        margin-inline: calc(-1 * max(20px, env(safe-area-inset-left)));
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .story-steps::-webkit-scrollbar { display: none; }
    .story-step {
        flex: 0 0 100%;
        padding: 0 max(20px, env(safe-area-inset-left)) 44px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    .story.is-live .story-num { display: none; }
    .story-text h3 { margin-bottom: 8px; font-size: 1.45rem; }
    .story-text p { font-size: 1.02rem; }
    .story-screen { margin-top: 24px; }
    .story-screen .device { --w: min(230px, calc(100vw - 140px)); }
    .story.is-live:not(.is-docked) .story-screen { opacity: 1; transform: none; }
    .story-end { margin-top: 0; }
}
@media (max-width: 640px) {
    .story-end .btn { width: 100%; }
}

.story-end {
    margin-top: clamp(44px, 6vw, 72px);
    text-align: center;
}

@media (max-width: 560px) {
    .story-num { font-size: 2.6rem; }
}

/* Wide screens: the steps scroll past a docked stage. Each step takes most
   of a screen; the one crossing the middle lights up, and its screenshot
   wipes in over the last (upwards going down, downwards coming back). */
.story.is-docked .story-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(56px, 7vw, 112px);
    align-items: start;
}

.story.is-docked .story-steps {
    position: relative;
    gap: 0;
    padding: 6vh 0 14vh 40px;
}

/* A rail beside the steps that fills as the story goes by. */
.story.is-docked .story-steps::before,
.story.is-docked .story-steps::after {
    content: "";
    position: absolute;
    top: 6vh;
    bottom: 14vh;
    left: 0;
    width: 3px;
    border-radius: 3px;
    background: var(--line);
}
.story.is-docked .story-steps::after {
    background: var(--grad);
    transform: scaleY(var(--progress, 0));
    transform-origin: top;
}

.story.is-docked .story-step {
    display: flex;
    align-items: center;
    min-height: 76vh;
    opacity: 0.28;
    transform: translateX(-8px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.story.is-docked .story-step.is-active { opacity: 1; transform: none; }

/* One phone, as big as the screen's height allows, centred on the middle
   of the screen as the steps go by. */
.story.is-docked .story-stage {
    --phone: clamp(230px, calc((100vh - 260px) * 0.44), 300px);
    position: sticky;
    top: max(130px, calc(50vh - var(--phone) * 1.05 + 30px));
    display: block;
    isolation: isolate;
    justify-self: center;
    width: var(--phone);
    margin-top: 6vh;
}

/* Two blocks of colour behind the phone: they change with the step and
   turn a little as the page scrolls (--progress, site.js). */
.story-shape {
    position: absolute;
    z-index: -1;
    transition: background-color 0.8s var(--ease), transform 0.9s var(--ease);
}
.story-shape-a {
    inset: 12% -46% 2% 28%;
    border-radius: 48px;
    background: var(--block);
    transform: rotate(calc(-4deg + var(--progress, 0) * 8deg));
}
.story-shape-b {
    top: 4%;
    left: -48%;
    width: 76%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--block-2);
    transform: translateY(calc(var(--progress, 0) * 90px)) scale(calc(0.85 + var(--progress, 0) * 0.3));
}

/* The steps' screens stack inside the phone, each without a phone of its
   own, and the newest wipes in over the last. */
.story-phone { --w: var(--phone); }
.story-screens {
    position: relative;
    aspect-ratio: 390 / 844;
    border-radius: calc(var(--w) * 0.135);
    background: #f7f5f2;
}

.story.is-docked .story-screen {
    position: absolute;
    inset: 0;
    width: auto;
    margin: 0;
    opacity: 0;
    transform: none;
    transition: opacity 0.2s 0.75s;
}
.story.is-docked .story-screen::before { display: none; }
.story.is-docked .story-screen .device {
    --w: var(--phone);
    width: 100%;
    padding: 0;
    background: none;
    box-shadow: none;
}
.story.is-docked .story-screen.is-active {
    z-index: 1;
    opacity: 1;
    transition: none;
}
.story.is-docked .story-screen.is-active .device-screen { animation: screen-up 0.8s var(--ease) both; }
.story.is-docked .story-screen.is-active .device-screen > img { animation: screen-drift-up 0.8s var(--ease) both; }
.story.is-docked.is-back .story-screen.is-active .device-screen { animation-name: screen-down; }
.story.is-docked.is-back .story-screen.is-active .device-screen > img { animation-name: screen-drift-down; }

/* Ollie peeks over the phone and says something about each step. */
.story-ollie {
    position: absolute;
    top: -64px;
    right: -100px;
    z-index: 2;
    width: 118px;
}
.story-ollie img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 14px 18px rgba(200, 64, 26, 0.2));
    animation: bob 4.5s ease-in-out infinite;
}
.story-ollie .bubble {
    position: absolute;
    top: 4px;
    right: calc(100% - 6px);
    padding: 9px 15px;
    border-radius: 18px 18px 6px 18px;
    background: var(--card);
    box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
    font-size: 0.95rem;
    font-weight: 650;
    white-space: nowrap;
}

@keyframes screen-up {
    from { clip-path: inset(100% 0 0 0); }
    to { clip-path: inset(0); }
}

@keyframes screen-down {
    from { clip-path: inset(0 0 100% 0); }
    to { clip-path: inset(0); }
}

@keyframes screen-drift-up { from { transform: translateY(40px) scale(1.04); } }
@keyframes screen-drift-down { from { transform: translateY(-40px) scale(1.04); } }

/* --------------------------------------------------------- Get the app -- */

/* Ollie on a Home Screen beside the steps to put him there. */
.get-app-body {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
    max-width: 1040px;
    margin: 0 auto;
}

.get-app-art {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 26px;
}

.get-app-shape {
    position: absolute;
    top: 6%;
    width: min(400px, 92vw);
    aspect-ratio: 1;
    border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
    background: linear-gradient(140deg, #ffd9c7 0%, #ffe6a1 100%);
}
@media (prefers-color-scheme: dark) {
    .get-app-shape { background: linear-gradient(140deg, #4a2a1c 0%, #423517 100%); }
}

.phone {
    position: relative;
    width: 250px;
    padding: 9px;
    border-radius: 44px;
    background: #1d1d1f;
    box-shadow: 0 36px 50px -28px rgba(29, 29, 31, 0.55), 0 18px 36px -24px rgba(200, 64, 26, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    rotate: -4deg;
}

.phone-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: 9 / 19;
    overflow: hidden;
    padding: 44px 20px 12px;
    border-radius: 36px;
    background: linear-gradient(165deg, #ffcfb8 0%, #ffe3a3 48%, #d9cdf4 100%);
}
.phone-screen::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 74px;
    height: 22px;
    border-radius: 999px;
    background: #1d1d1f;
    translate: -50% 0;
}

.phone-time {
    position: absolute;
    top: 11px;
    left: 26px;
    color: #1d1d1f;
    font-size: 0.74rem;
    font-weight: 700;
}

.phone-apps,
.phone-dock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 15px;
}

.phone-apps i,
.phone-dock i,
.phone-ollie img {
    display: block;
    aspect-ratio: 1;
    border-radius: 24%;
    background: var(--tile, #fff);
}
.phone-apps i { position: relative; opacity: 0.85; }
/* Where each app's name would be. */
.phone-apps i::after {
    content: "";
    position: absolute;
    top: calc(100% + 6px);
    left: 18%;
    right: 18%;
    height: 4px;
    border-radius: 2px;
    background: rgba(29, 29, 31, 0.16);
}

.tone-sky { --tile: #a9d4f2; }
.tone-sun { --tile: #ffd36b; }
.tone-sage { --tile: #a8dbbf; }
.tone-plum { --tile: #c9b3f0; }
.tone-rose { --tile: #f7b0c0; }
.tone-peach { --tile: #ffb48c; }

.phone-ollie { position: relative; }
.phone-ollie img {
    width: 100%;
    height: auto;
    box-shadow: 0 6px 14px -6px rgba(200, 64, 26, 0.6);
}
.phone-ollie b {
    position: absolute;
    top: calc(100% + 2px);
    left: -8px;
    right: -8px;
    color: #1d1d1f;
    font-size: 0.62rem;
    font-weight: 600;
    text-align: center;
}
/* A ring that pulses round him once he's landed. */
.phone-ollie::after {
    content: "";
    position: absolute;
    inset: -5px;
    bottom: auto;
    aspect-ratio: 1;
    border: 2px solid #ff6a3d;
    border-radius: 28%;
    opacity: 0;
}

.phone-dock {
    margin-top: auto;
    padding: 11px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.45);
}

.get-app-bubble {
    position: absolute;
    top: 21%;
    left: calc(50% + 112px);
    z-index: 1;
    background: var(--card);
    box-shadow: var(--shadow), 0 0 0 1px var(--line);
    font-weight: 650;
    white-space: nowrap;
}

/* He lands on the Home Screen when the phone comes into view. */
.js .get-app-art .phone-ollie img,
.js .get-app-art .phone-ollie b,
.js .get-app-art .get-app-bubble { opacity: 0; }
.js .get-app-art.is-visible .phone-ollie img { animation: app-land 0.7s 0.45s var(--ease) both; }
.js .get-app-art.is-visible .phone-ollie b { animation: pop 0.4s 0.9s var(--ease) both; }
.js .get-app-art.is-visible .phone-ollie::after { animation: ring 1.2s 1s ease-out 2; }
.js .get-app-art.is-visible .get-app-bubble { animation: pop 0.5s 1.15s var(--ease) both; }

.get-app-devices {
    max-width: 420px;
    margin-bottom: 18px;
}

.get-app-panels { display: grid; gap: 30px; }
.get-app-for { margin-bottom: 12px; }

/* With site.js, one device at a time, picked by the buttons above. */
.get-app.is-picking .get-app-panel:not(.is-active) { display: none; }
.get-app.is-picking .get-app-for {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.get-app-steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.get-app-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--card);
    box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
}
.get-app-steps p { padding-top: 3px; color: var(--ink-2); }
.get-app-steps strong { color: var(--ink); }

.get-app-num {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 0.95rem;
    font-weight: 750;
}

.get-app-glyph {
    display: inline-block;
    vertical-align: -3px;
    color: var(--accent);
}

/* On a computer: a code to scan, for anyone who'd rather have him on their phone. */
.get-app-qr {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 12px;
    padding: 14px 18px 14px 14px;
    border: 1.5px dashed var(--line);
    border-radius: 18px;
    color: var(--ink-2);
    font-size: 0.95rem;
}
.get-app-qr strong { display: block; color: var(--ink); }
.get-app-qr-code {
    flex: none;
    width: 104px;
    padding: 9px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}
.get-app-qr-code svg { width: 100%; height: auto; shape-rendering: crispEdges; }

.get-app-cta { margin-top: 26px; }

@media (max-width: 899px) {
    .get-app-body { grid-template-columns: 1fr; max-width: 600px; }
    .get-app-how { order: -1; }
    .get-app-devices { margin-inline: auto; }
    .get-app-cta { text-align: center; }
    .phone { width: 210px; }
    .get-app-shape { width: min(330px, 86vw); }
    .get-app-bubble { left: calc(50% + 90px); }
}

/* On a phone: the steps as one list, and the button. The picture of a Home
   Screen is left out: they're holding the real thing. */
@media (max-width: 640px) {
    .get-app-art,
    .get-app-qr { display: none; }
    .get-app-devices { max-width: none; }
    .get-app-steps {
        gap: 0;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--card);
    }
    .get-app-steps li {
        gap: 12px;
        padding: 14px 16px;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }
    .get-app-steps li + li { border-top: 1px solid var(--line); }
    .get-app-num { width: 28px; height: 28px; font-size: 0.88rem; }
    .get-app-cta .btn { width: 100%; }
}

@keyframes app-land {
    0% { opacity: 0; transform: translateY(-26px) scale(0.4); }
    60% { opacity: 1; transform: translateY(3px) scale(1.12); }
    100% { opacity: 1; transform: none; }
}

@keyframes ring {
    from { opacity: 0.9; transform: scale(0.92); }
    to { opacity: 0; transform: scale(1.35); }
}

/* ---------------------------------------------------------------- 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;
}

.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; }
}

@media (max-width: 640px) {
    .demo {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }
    .demo-people {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 14px;
    }
    .demo-people .chip { padding: 10px 8px; border-radius: 14px; background: var(--card); font-size: 0.92rem; }
    .demo-people .chip[aria-pressed="true"] { background: var(--ink); }
    .demo-brief {
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--card);
    }
    .demo-ollie .bubble { background: var(--bg-soft); }
    .demo-thinking li { background: var(--bg-soft); }
    .demo-cta .btn { width: 100%; }
}

/* ------------------------------------------- Problem: the usual way -- */

/* Finding a present without Ollie: an evening, by the clock, that ends
   in a candle. */
.problem {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 6vw, 96px);
}
.problem-copy h2 { margin-bottom: 18px; }

.evening {
    width: 100%;
    max-width: 520px;
    justify-self: center;
    padding: clamp(24px, 3.4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow);
}
.evening-label {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.evening-steps {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}
.evening-steps li {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    line-height: 1.45;
}
.evening-time {
    flex: none;
    width: 4.6em;
    color: var(--ink-2);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}
/* It's late, and it's a candle. */
.evening-steps li:last-child { color: var(--ink); font-weight: 600; }
.evening-steps li:last-child .evening-time { color: var(--accent); }
.evening-result {
    margin-top: 22px;
    color: var(--ink-2);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

@media (max-width: 860px) {
    .problem { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .problem { gap: 24px; }
    .evening { padding: 20px; }
    .evening-steps li { padding: 12px 0; font-size: 0.97rem; }
    .evening-result { margin-top: 16px; font-size: 1.1rem; }
}

/* --------------------------------------------------------------- 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: 640px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 0;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--card);
    }
    .trust {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 2px 14px;
        padding: 16px;
        border: 0;
        border-radius: 0;
    }
    .trust + .trust { border-top: 1px solid var(--line); }
    .trust-icon {
        grid-row: span 2;
        width: 40px;
        height: 40px;
        margin: 0;
        border-radius: 11px;
        font-size: 1.2rem;
    }
    .trust h3 { margin: 0; font-size: 1.02rem; }
    .trust p { font-size: 0.95rem; line-height: 1.45; }
    .js .trust-grid .reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------- Solution: meet Ollie -- */

.solution {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(40px, 7vw, 104px);
    overflow-x: clip;
}

/* The app on a phone, on a block of colour, with Ollie and what he's
   saying above its shoulder: beside the screen, never over it. */
.solution-art {
    position: relative;
    isolation: isolate;
    justify-self: center;
    width: fit-content;
    margin: 70px 0 0;
}
.solution-art .device { --w: clamp(230px, 24vw, 290px); }
.solution-art::before {
    content: "";
    position: absolute;
    inset: 16% -40px -20px 30%;
    z-index: -1;
    border-radius: 44px;
    background: var(--coral-soft);
    rotate: 4deg;
}

.solution-ollie {
    position: absolute;
    top: -66px;
    right: -112px;
    z-index: 2;
    width: 112px;
}
.solution-ollie img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 14px 18px rgba(200, 64, 26, 0.2));
    animation: bob 4.5s ease-in-out infinite;
}
.solution-ollie .bubble {
    position: absolute;
    top: 0;
    right: calc(100% - 6px);
    padding: 9px 15px;
    border-radius: 18px 18px 6px 18px;
    background: var(--card);
    box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
    font-size: 0.95rem;
    font-weight: 650;
    white-space: nowrap;
}

.solution-copy h2 { margin-bottom: 18px; }

.solution-steps {
    display: grid;
    gap: 22px;
    margin: 32px 0 34px;
    padding: 0;
    list-style: none;
}
.solution-steps li {
    display: flex;
    align-items: baseline;
    gap: 18px;
}
.solution-steps h3 { margin-bottom: 4px; }
.solution-steps p { color: var(--muted); line-height: 1.5; }

.solution-num {
    flex: none;
    width: 1.5em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

/* On a narrow screen the words come first, then the phone, whole, with
   Ollie tucked in at its top corner. */
@media (max-width: 860px) {
    .solution { grid-template-columns: 1fr; }
    .solution-art { order: 2; }
}
@media (max-width: 640px) {
    .solution-art { display: none; }
    .solution-steps {
        gap: 0;
        margin: 24px 0 12px;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--card);
    }
    .solution-steps li { gap: 14px; padding: 16px; }
    .solution-steps li + li { border-top: 1px solid var(--line); }
    .solution-steps h3 { font-size: 1.02rem; }
    .solution-steps p { font-size: 0.95rem; }
    .solution-num { width: 1.3em; font-size: 1.5rem; }
}

/* ----------------------------------------------- Proof: a real search -- */

.proof-picks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.proof-pick {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow);
}
.proof-pick > img {
    width: 100%;
    height: auto;
    aspect-ratio: 494 / 383;
    object-fit: cover;
}
.proof-pick-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 22px;
}
.proof-pick h3 { font-size: 1.08rem; }

/* What Ollie said about it, as he said it in the app. */
.proof-why {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-tint);
    color: var(--ink-2);
    font-size: 0.94rem;
    line-height: 1.45;
}
.proof-why img { flex: none; width: 22px; height: 22px; }

/* On a narrow screen each pick is a row: the photo beside the words. */
@media (max-width: 860px) {
    .proof-picks { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
    .proof-pick { flex-direction: row; }
    .proof-pick > img { flex: none; width: 34%; aspect-ratio: auto; }
    .proof-pick-body { padding: 14px 16px 16px; }
}
/* On a phone each pick is a row, as in the app's lists: a thumbnail beside
   its name, shop and price, and what Ollie said underneath, full width. */
@media (max-width: 640px) {
    .proof-pick {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: center;
        gap: 2px 14px;
        padding: 14px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
    }
    .proof-pick > img {
        grid-row: span 2;
        width: 76px;
        height: 76px;
        border-radius: 12px;
        aspect-ratio: auto;
    }
    .proof-pick-body { display: contents; }
    .proof-pick h3 { align-self: end; font-size: 1rem; }
    .proof-pick .pick-meta { align-self: start; }
    .proof-why { grid-column: 1 / -1; margin-top: 12px; padding: 12px; font-size: 0.95rem; }
}

/* ---------------------------------------------------------------- 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-head > div { min-width: 0; }
.plan-offer {
    font-size: clamp(1.7rem, 2.9vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.plan-sub { margin-top: 4px; color: var(--ink-2); font-size: 1.1rem; }

/* On a phone Ollie sits above the offer, so it keeps the card's width. */
@media (max-width: 480px) {
    .plan-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .plan-head img { width: 44px; height: 44px; }
    .plan-offer { font-size: 2rem; }
}

.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-list strong { color: var(--ink); }

/* The packs, under the plan and the calculator, for anyone who'd rather
   top up than wait. */
.plan-packs {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
    align-items: center;
    gap: 16px 28px;
    max-width: 1080px;
    margin: clamp(18px, 2.6vw, 28px) auto 0;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
}
.plan-packs-title { color: var(--ink); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.plan-packs-title span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.92rem; font-weight: 500; letter-spacing: 0; }
.plan-packs ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.plan-packs li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--ink-2);
}
.plan-packs em {
    display: inline-block;
    margin-left: 6px;
    vertical-align: 0.25em;
    letter-spacing: 0;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--good-soft);
    color: var(--good);
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}
.plan-packs strong { color: var(--ink); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
    .plan-packs { grid-template-columns: 1fr; max-width: 580px; }
}
@media (max-width: 560px) {
    .plan-packs ul { grid-template-columns: 1fr; }
    .plan-packs li { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 10px 14px; }
    .plan-packs strong { display: inline-flex; align-items: center; gap: 8px; font-size: 1.15rem; }
    .plan-packs strong em { order: -1; margin: 0; vertical-align: baseline; }
}

/* The plan beside a calculator of what it comes to per present. */
.pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 28px);
    max-width: 1080px;
    margin: 0 auto;
}
.pricing .plan { max-width: none; margin: 0; }
.pricing .plan-list { margin-bottom: 26px; }

@media (max-width: 900px) {
    .pricing { grid-template-columns: 1fr; max-width: 580px; }
}

.calc {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: clamp(26px, 4.5vw, 40px);
    border-radius: var(--radius-xl);
    background: linear-gradient(155deg, #d24a20 0%, #b63814 55%, #8f2a0b 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.calc::before,
.calc::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}
.calc::before {
    top: -150px;
    right: -130px;
    width: 360px;
    height: 360px;
    background: radial-gradient(closest-side, rgba(255, 201, 77, 0.42), transparent);
}
.calc::after {
    bottom: -170px;
    left: -120px;
    width: 340px;
    height: 340px;
    background: radial-gradient(closest-side, rgba(255, 46, 99, 0.32), transparent);
}

.calc-eyebrow { color: rgba(255, 255, 255, 0.78); font-weight: 650; }
.calc h3 {
    margin-top: -14px;
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 750;
}

.calc-field {
    display: grid;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.calc-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    color: #fff;
    font-weight: 650;
}
.calc-value {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.calc-range {
    width: 100%;
    height: 8px;
    margin: 6px 0;
    border-radius: 8px;
    background: linear-gradient(to right, #fff var(--fill, 23%), rgba(255, 255, 255, 0.25) var(--fill, 23%));
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 16px rgba(60, 12, 0, 0.35);
    -webkit-appearance: none;
    appearance: none;
}
.calc-range::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 16px rgba(60, 12, 0, 0.35);
}
.calc-range:focus-visible { outline: 3px solid #fff; outline-offset: 8px; }

.calc-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.calc-options label { position: relative; cursor: pointer; }
.calc-options input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.calc-options span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 4px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.25s var(--ease);
}
.calc-options strong { font-size: 1.3rem; font-weight: 800; line-height: 1.1; }
.calc-options label:hover span { background: rgba(255, 255, 255, 0.24); }
.calc-options input:checked + span {
    background: #fff;
    color: #b63814;
    transform: translateY(-2px);
}
.calc-options input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }

/* A little box for every present: the year's shopping, at a glance. */
.calc-gifts {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 5px;
    min-height: 37px;
}
.calc-gift {
    --g: #ffd9c7;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background:
        linear-gradient(90deg, transparent 40%, rgba(143, 42, 11, 0.5) 40% 60%, transparent 60%),
        linear-gradient(transparent 40%, rgba(143, 42, 11, 0.5) 40% 60%, transparent 60%),
        var(--g);
    animation: pop 0.35s var(--ease) both;
}
.calc-gift:nth-child(6n + 2) { --g: #cfe9da; }
.calc-gift:nth-child(6n + 3) { --g: #ffe6a1; }
.calc-gift:nth-child(6n + 4) { --g: #dfd1f6; }
.calc-gift:nth-child(6n + 5) { --g: #cbe2fb; }
.calc-gift:nth-child(6n) { --g: #ffd3de; }
.calc-more {
    align-self: center;
    padding: 0 6px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 750;
}

.calc-result {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.calc-total { color: rgba(255, 255, 255, 0.82); font-weight: 600; }
.calc-each {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 10px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 650;
}
.calc-each strong {
    display: inline-block;
    font-size: clamp(3rem, 6vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.calc-quip { color: #fff; font-size: 1.05rem; font-weight: 700; }
.calc-searches { color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; }

@media (max-width: 420px) {
    .calc-options span { font-size: 0.7rem; }
}

/* ----------------------------------------------------------------- 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); }

@media (max-width: 640px) {
    .faq {
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--card);
    }
    .faq details {
        margin: 0;
        padding: 0 16px;
        border: 0;
        border-radius: 0;
        background: none;
    }
    .faq details + details { border-top: 1px solid var(--line); }
    .faq summary { padding: 16px 0; font-size: 1rem; }
    .faq summary::after { width: 26px; height: 26px; font-size: 1.1rem; }
    .faq details p { padding-bottom: 16px; font-size: 0.97rem; }
}

/* ------------------------------------------------------------ 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; }

@media (max-width: 640px) {
    .final-ollie { width: 72px; height: 72px; margin-bottom: 16px; }
    .final h2 { margin-bottom: 12px; }
    .final .lead { margin-bottom: 24px; }
}

/* -------------------------------------------------------------- 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;
}
.footer-cookies {
    margin-left: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

@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;
}

/* A section straight under the page's heading, which has already said
   what it's about. */
.section-after-head { padding-top: clamp(8px, 2vw, 24px); }

.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; }
/* As the app shows it: who they are, then Ollie's ideas. */
.example-person {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
}
.example-person p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.example-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 0;
    color: var(--ink);
    font-weight: 750;
}
.example-head img { flex: none; }
.example-ideas {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    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);
}

.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); }

/* On a phone the comparison fits the screen, rather than scrolling sideways. */
@media (max-width: 560px) {
    .compare { font-size: 0.9rem; line-height: 1.45; }
    .compare th, .compare td { padding: 11px 10px; }
    .compare tbody th { min-width: 0; width: 27%; }
}

.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; }

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

/* ------------------------------------------------- A phone, with the app -- */

/* A real screenshot of the app (390 × 844 points, from
   tools/make-phone-shots.mjs) in an iPhone. --w sets its width and the rest
   scales from it; inside the screen, 1cqw is 1/390 of a point × 3.9. The
   screenshots leave room at the top for the time and the Dynamic Island. */
.device {
    --w: 280px;
    position: relative;
    flex: none;
    width: var(--w);
    padding: calc(var(--w) * 0.03);
    border-radius: calc(var(--w) * 0.165);
    background: #1d1d1f;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), var(--shadow-lg);
}
.device-screen {
    position: relative;
    overflow: hidden;
    aspect-ratio: 390 / 844;
    border-radius: calc(var(--w) * 0.135);
    background: #f7f5f2;
    container-type: inline-size;
}
.device-screen > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.device-screen::before,
.device-screen::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    border-radius: 999px;
    background: #000;
    translate: -50% 0;
}
.device-screen::before { top: 2.8cqw; width: 32cqw; height: 9.2cqw; }
.device-screen::after { bottom: 2cqw; width: 34cqw; height: 1.3cqw; background: #1d1d1f; }
.device-time {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 34cqw;
    height: 12cqw;
    padding-left: 2cqw;
    color: #1d1d1f;
    font-size: 4.4cqw;
    font-weight: 650;
    letter-spacing: -0.01em;
}

/* ----------------------------------------------------------- What's new -- */

.release-auto {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 720px;
    margin-top: 22px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: var(--good-soft);
    color: var(--good);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
}

.releases { padding-bottom: clamp(32px, 5vw, 64px); }

.release { padding: clamp(36px, 5vw, 56px) 0; }
.release + .release { border-top: 1px solid var(--line); }
.release > h2,
.release-lead,
.release-list { max-width: 760px; }

.release-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 14px;
}
.release-version {
    padding: 5px 13px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-size: 0.92rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}
.release.is-latest .release-version { background: var(--accent); color: var(--on-accent); }
.release-latest {
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--good-soft);
    color: var(--good);
    font-size: 0.82rem;
    font-weight: 700;
}
.release-date { color: var(--muted); font-size: 0.95rem; font-weight: 600; }

.release > h2 {
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.release-lead {
    color: var(--muted);
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    line-height: 1.55;
    text-wrap: pretty;
}

/* The release's screens, side by side; on a phone, two by two. */
.release-phones {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2.6vw, 28px);
    margin: clamp(28px, 4vw, 44px) 0 clamp(26px, 4vw, 40px);
    padding: 26px 0 8px;
    border-radius: var(--radius-xl);
    background: radial-gradient(60% 70% at 50% 40%, var(--coral-soft), transparent 75%);
}
.release-phone { margin: 0; }
.release-phone .device { --w: clamp(190px, 21vw, 220px); }
.release-phone figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
}
.release-phone figcaption span {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-size: 0.78rem;
    font-weight: 750;
}

@media (max-width: 900px) {
    .release-phones {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        gap: 26px clamp(14px, 4vw, 28px);
        padding: 22px 0 6px;
    }
    .release-phone .device {
        --w: min(216px, calc((100vw - 54px) / 2));
        box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), var(--shadow);
    }
    .release-phone figcaption { margin-top: 10px; font-size: 0.9rem; }
}

.release-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}
.release-list li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}
.release-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-soft);
    font-size: 1.35rem;
    line-height: 1;
}
.release-list h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 2px 0 4px;
    font-size: 1.08rem;
    letter-spacing: -0.015em;
}
.release-list p { color: var(--ink-2); line-height: 1.55; }
.release-kind {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.release-kind.is-new { background: var(--coral-soft); color: var(--accent); }

@media (max-width: 560px) {
    .release-list li { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 16px; }
    .release-icon { width: 38px; height: 38px; border-radius: 10px; font-size: 1.15rem; }
}

/* ----------------------------------------------------------------- 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; }

.trust-grid .reveal:nth-child(3n + 2),
.problem .reveal:nth-child(2),
.solution .reveal:nth-child(2),
.proof-picks .reveal:nth-child(2) { transition-delay: 0.1s; }
.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; }
}

/* From behind the front phone to wherever the element's own translate,
   rotate and scale put it. */
@keyframes fan {
    from { opacity: 0; translate: 0 6%; rotate: 0deg; scale: 0.8; }
}

@keyframes kept {
    0% { transform: none; box-shadow: 0 0 0 0 rgba(31, 122, 85, 0.45); }
    35% { transform: scale(1.08); }
    100% { transform: none; box-shadow: 0 0 0 14px rgba(31, 122, 85, 0); }
}

@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 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;
    }
}

/* ------------------------------------------- Ad cookies (assets/ads.js) -- */

.ad-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    z-index: 300;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    max-width: 640px;
    margin: 0 auto;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--card);
    color: var(--ink-2);
    box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
    font-size: 0.93rem;
    line-height: 1.45;
}
.ad-consent p { flex: 1 1 280px; margin: 0; }
.ad-consent-buttons { display: flex; gap: 8px; margin-left: auto; }
@media (max-width: 560px) {
    .ad-consent { gap: 10px; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); padding: 12px 14px; font-size: 0.85rem; line-height: 1.4; }
    .ad-consent p { flex-basis: 100%; }
}

/* --------------------------- Inside Instagram's browser and the like (site.js) -- */

.in-app {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 32px);
    max-width: 680px;
    margin: 12px auto 0;
    padding: 12px 12px 12px 14px;
    border: 1px solid var(--coral-soft);
    border-radius: var(--radius-sm);
    background: var(--card);
    box-shadow: var(--shadow-sm);
    color: var(--ink-2);
    font-size: 0.88rem;
    line-height: 1.4;
    text-align: left;
}
.in-app p { flex: 1; min-width: 0; margin: 0; }
.in-app strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 0.95rem; }
.in-app-icon { flex: none; font-size: 1.5rem; line-height: 1; }
.in-app-copy {
    flex: none;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}
.get-app-how > .in-app { width: auto; margin: 0 0 18px; }
@media (max-width: 560px) {
    .in-app { gap: 10px; }
    .in-app-icon { display: none; }
}

/* ---------------------------------------- Sticky button on a phone (site.js) -- */

.sticky-cta { display: none; }

@media (max-width: 760px) {
    .sticky-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
        z-index: 60;
        display: flex;
        align-items: center;
        gap: 10px;
        max-width: 480px;
        margin: 0 auto;
        padding: 8px 8px 8px 10px;
        border-radius: 999px;
        background: var(--nav-bg);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
        transform: translateY(calc(100% + 24px));
        visibility: hidden;
        transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
    }
    .sticky-cta.is-shown {
        transform: none;
        visibility: visible;
        transition: transform 0.35s var(--ease), visibility 0s;
    }
    /* The cookie question sits in the same place: it goes first. */
    body:has(.ad-consent) .sticky-cta.is-shown {
        transform: translateY(calc(100% + 24px));
        visibility: hidden;
    }
    .sticky-cta img { flex: none; }
    .sticky-cta p {
        flex: 1;
        min-width: 0;
        color: var(--muted);
        font-size: 0.8rem;
        line-height: 1.25;
    }
    .sticky-cta strong { display: block; color: var(--ink); font-size: 0.98rem; }
    .sticky-cta span { white-space: nowrap; }
}
