:root {
    --bg: #ffffff;
    --ink: #0b0b0c;
    --ink-2: #3b3b41;
    --muted: #6f6f77;
    --line: #e6e6ea;
    --soft: #f4f4f6;
    --accent: #ffd60a;
    --accent-edge: #e5bd00;
    --danger: #c42b1c;
    --focus: #0b57d0;
    --radius: 12px;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, dl, dd, ul, figure, fieldset { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }

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

.shell { width: min(100% - 40px, 1120px); margin-inline: auto; }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 150ms, transform 150ms var(--ease);
}

.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2a2f; }
.btn-ghost { background: var(--soft); color: var(--ink); }
.btn-ghost:hover { background: #eaeaee; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(1.6) blur(12px);
    -webkit-backdrop-filter: saturate(1.6) blur(12px);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.logo-mark {
    display: grid;
    flex: none;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 8px;
    background: var(--accent);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--accent-edge);
}

.logo-mark svg { width: 17px; height: 17px; overflow: visible; }

.megaphone-wave { animation: megaphoneWave 2.4s ease-in-out infinite; }
.megaphone-wave + .megaphone-wave { animation-delay: 0.25s; }

@keyframes megaphoneWave {
    0%, 100% { opacity: 0.5; }
    35% { opacity: 1; }
}

.topbar-link {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.topbar-link:hover { border-color: var(--ink); }

/* ---------- Layout ---------- */

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'hero' 'preview' 'content';
}

/* min-width: 0 stops long links from stretching the page past the screen edge. */
.hero { grid-area: hero; min-width: 0; }
.preview { grid-area: preview; min-width: 0; }
.content { grid-area: content; min-width: 0; }


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

.hero { padding-top: 28px; }

.kicker {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.hero h1 {
    margin: 10px 0 14px;
    font-size: clamp(2.125rem, 8.4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.04;
    text-wrap: balance;
}

.lede {
    max-width: 36ch;
    color: var(--ink-2);
    font-size: 17px;
    line-height: 1.5;
}

.kicker-domain {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    color: var(--ink);
    font-weight: 600;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

.hero-cta { margin-top: 24px; }

.microcopy {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.microcopy b { color: var(--ink); }

/* ---------- Preview ---------- */

.preview { padding: 36px 0 8px; }

.device {
    width: 272px;
    margin-inline: auto;
}

.screen {
    position: relative;
    overflow: hidden;
    padding: 8px;
    border-radius: 40px;
    background: #1c1c21;
    box-shadow: 0 0 0 1px #2c2c33 inset, 0 40px 60px -36px rgba(11, 11, 12, 0.55);
}

/* A scaled copy of the live QR page (dark theme) so advertisers see the real placement. */
.qr-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    min-height: 470px;
    padding: 34px 10px 14px;
    border-radius: 32px;
    background: radial-gradient(90% 40% at 50% -5%, rgba(139, 92, 246, 0.22), transparent 70%), #0b0b0e;
    color: #f5f5f7;
}

.m-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.m-brand { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; }

.m-mark {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.m-mark::after {
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: #fff;
    content: '';
}

.m-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px 3px 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    background: #151519;
    color: rgba(245, 245, 247, 0.74);
    font-size: 8.5px;
    font-weight: 500;
}

.m-chip i { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; }

.m-card {
    align-self: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: #151519;
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
}

.m-head { display: grid; justify-items: center; gap: 3px; padding: 18px 14px 0; text-align: center; }

.m-icon {
    display: grid;
    width: 36px;
    height: 36px;
    margin-bottom: 5px;
    place-items: center;
    border-radius: 11px;
    background: rgba(139, 92, 246, 0.16);
    color: #a78bfa;
}

.m-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.qr-domain {
    max-width: 100%;
    overflow: hidden;
    color: #f5f5f7;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qr-url {
    max-width: 100%;
    overflow: hidden;
    color: rgba(245, 245, 247, 0.5);
    font-size: 9.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 14px 10px; }

.qr-visit,
.qr-copy {
    display: grid;
    place-items: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.qr-visit { background: #7c3aed; color: #fff; box-shadow: 0 6px 14px -8px rgba(124, 58, 237, 0.8); }
.qr-copy { background: #1d1d22; color: #f5f5f7; font-weight: 500; }

.m-foot { color: rgba(245, 245, 247, 0.5); font-size: 8.5px; text-align: center; }
.m-foot b { color: rgba(245, 245, 247, 0.74); }

/* The ad row: same shape in the phone and in the booking form. */

.ad {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 11px 10px;
    color: #f5f5f7;
}

.ad-phone {
    margin: 0 8px 8px;
    padding: 12px 10px 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #26231a, #1b1b20 70%);
    box-shadow: 0 0 0 1px rgba(255, 214, 10, 0.6), 0 10px 24px -12px rgba(255, 214, 10, 0.55);
}

/* A small label pinned to the ad so advertisers instantly see which part they are buying. */
.ad-tag {
    position: absolute;
    top: -7px;
    left: 10px;
    padding: 1px 6px;
    border-radius: 99px;
    background: var(--accent);
    color: var(--ink);
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.6;
    text-transform: uppercase;
}

.ad-logo {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #fb923c, #e11d48);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.25);
}

.ad-text { display: grid; min-width: 0; }

.ad-brand {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    color: rgba(245, 245, 247, 0.6);
    font-size: 8.5px;
    font-weight: 500;
}

.ad-brand > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ad-label {
    flex: none;
    padding: 0 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    font-size: 7px;
    font-weight: 600;
    line-height: 1.35;
}

.ad-headline {
    display: -webkit-box;
    overflow: hidden;
    color: #f5f5f7;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ad-cta {
    max-width: 78px;
    overflow: hidden;
    padding: 6px 9px;
    border-radius: 99px;
    background: #f5f5f7;
    color: #0b0b0e;
    font-size: 9.5px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.summary { display: none; }

/* ---------- Facts ---------- */

.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
    border-block: 1px solid var(--line);
}

.facts > div { padding: 14px 0; }
.facts > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 12.5px; }
.facts dd { margin-top: 2px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }

/* ---------- Why ---------- */

.why { margin-top: 44px; }

h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.why-grid { display: grid; gap: 10px; margin-top: 14px; }

.why-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 16px;
    padding: 10px 14px 10px 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.why-card .why-visual { grid-row: 1 / span 2; }
.why-card h3 { align-self: end; font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.why-card p { align-self: start; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.4; }

/* ---------- Pricing (tap a plan to pay) ---------- */

.book { margin-top: 48px; }
.book h2 { font-size: 28px; letter-spacing: -0.03em; }
.section-sub { margin: 6px 0 24px; color: var(--muted); }
.book .section-sub { margin-bottom: 18px; }

.noscript { padding: 14px; border-radius: var(--radius); background: var(--soft); }

/* Where the ad shows */

.seg {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: var(--soft);
}

.seg-opt {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 1px;
    min-width: 0;
    padding: 9px 6px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: background 150ms, box-shadow 150ms;
}

.seg-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seg-title { max-width: 100%; overflow: hidden; font-size: 15px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.seg-from { color: var(--muted); font-size: 12px; font-weight: 500; }
.seg-opt:has(input:checked) { background: #fff; box-shadow: 0 1px 2px rgba(11, 11, 12, 0.08), 0 0 0 1px var(--line); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 1px; }
.seg-note { margin: 8px 2px 14px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }

/* Plan length */

.terms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border-radius: 14px;
    background: var(--soft);
}

.term {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 1px;
    padding: 8px 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 150ms, box-shadow 150ms;
}

.term input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.term-length { font-size: 14.5px; font-weight: 600; }
.term-save { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.term:has(input:checked) { background: #fff; box-shadow: 0 1px 2px rgba(11, 11, 12, 0.08), 0 0 0 1px var(--line); }
.term:has(input:checked) .term-save { color: var(--ink); }
.term:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 1px; }

/* Plan cards: each one is its own buy button. */

.plans { display: grid; gap: 12px; }

.plan {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 16px;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.plan.is-featured {
    border-color: var(--ink);
    box-shadow: 0 18px 40px -28px rgba(11, 11, 12, 0.45);
}

.plan-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.plan-main { display: grid; gap: 2px; min-width: 0; }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.plan-name { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

.plan-badge {
    padding: 2px 8px;
    border-radius: 99px;
    background: var(--accent);
    color: var(--ink);
    font-size: 11.5px;
    font-weight: 700;
}

.plan-audience { color: var(--ink-2); font-size: 14px; line-height: 1.35; }
.plan-features { color: var(--muted); font-size: 13.5px; line-height: 1.4; }

.plan-unit {
    justify-self: start;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--soft);
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.plan-price { display: grid; justify-items: end; white-space: nowrap; }
.plan-was { color: var(--muted); font-size: 13px; line-height: 1.2; }
.plan-now b { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-now small { color: var(--muted); font-size: 13px; font-weight: 500; }

.plan-buy { min-height: 50px; margin-top: 12px; font-size: 16px; }
.plan-buy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; transition: transform 150ms var(--ease); }
.plan-buy:hover svg { transform: translateX(3px); }

.btn-outline { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--soft); }

.plan-billed { margin-top: 6px; color: var(--muted); font-size: 12.5px; text-align: center; font-variant-numeric: tabular-nums; }

/* What happens after paying */

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

.next-steps li { display: grid; justify-items: center; gap: 2px; text-align: center; }
.next-steps b { font-size: 13.5px; }
.next-steps li > span:last-child { color: var(--muted); font-size: 12px; line-height: 1.35; }

.next-n {
    display: grid;
    width: 26px;
    height: 26px;
    margin-bottom: 4px;
    place-items: center;
    border-radius: 50%;
    background: var(--soft);
    font-size: 12.5px;
    font-weight: 700;
}

/* ---------- After payment ---------- */

.booked { max-width: 520px; padding: 48px 0 64px; }
.booked:focus { outline: none; }
.booked h1 { font-size: clamp(2rem, 8vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.05; }
.booked-plan { margin-top: 10px; color: var(--ink-2); font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }

.booked-steps {
    display: grid;
    gap: 14px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.booked-steps li {
    position: relative;
    padding-left: 40px;
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.45;
    counter-increment: step;
}

.booked-steps li::before {
    position: absolute;
    top: -1px;
    left: 0;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: var(--soft);
    color: var(--ink);
    content: counter(step);
    font-size: 12.5px;
    font-weight: 700;
}

.booked-steps b { color: var(--ink); }
.booked-note { margin-top: 10px; color: var(--muted); font-size: 13.5px; text-align: center; }
.is-booked .topbar-link { visibility: hidden; }

.done-mark {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--accent);
}

.done-mark::after {
    position: absolute;
    top: 14px;
    left: 18px;
    width: 10px;
    height: 17px;
    border: solid var(--ink);
    border-width: 0 2.5px 2.5px 0;
    content: '';
    transform: rotate(45deg);
}
/* ---------- Comparison ---------- */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.compare { margin-top: 48px; }
.compare .section-sub { margin-bottom: 18px; }

.vs {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.vs-head,
.vs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.vs-row { border-top: 1px solid var(--line); }
.vs-head .vs-label { display: none; }

.vs-row .vs-label {
    grid-column: 1 / -1;
    padding: 12px 14px 4px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 650;
}

.vs-us,
.vs-them {
    padding: 6px 14px 14px;
    font-size: 14px;
    line-height: 1.4;
}

.vs-us { color: var(--ink); font-weight: 600; }
.vs-them { color: var(--muted); }
.vs-row .vs-us { position: relative; }

.vs-row .vs-us::before {
    position: absolute;
    top: 4px;
    bottom: 10px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--accent);
    content: '';
}

.vs-head .vs-us,
.vs-head .vs-them {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    background: var(--soft);
}

.vs-head .vs-us { font-weight: 700; }
.vs-head .logo-mark { width: 20px; height: 20px; border-radius: 6px; }
.vs-head .logo-mark svg { width: 13px; height: 13px; }

.vs-us b { display: block; font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.vs-us small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }

.brand-row { display: flex; align-items: center; gap: 10px; }
.brand { flex: none; width: 18px; height: 18px; fill: currentColor; }
.brand-meta { color: #0467df; }
.brand-tiktok { color: #000; }
.brand-google { color: #4285f4; }

.bench {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    padding: 3px 0;
    font-size: 13px;
}

.bench .brand { width: 16px; height: 16px; }
.bench b { color: var(--ink-2); font-weight: 650; font-variant-numeric: tabular-nums; }

.vs-cards { display: grid; gap: 10px; margin-top: 14px; }

.vs-card {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.vs-card-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 650;
}

.vs-card-kicker::before {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-edge);
    content: '';
}

.vs-card h3 { font-size: 18px; letter-spacing: -0.02em; line-height: 1.25; }
.vs-card p:not(.vs-card-kicker) { color: var(--ink-2); font-size: 14.5px; }

.compare-note { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.compare-note a { color: inherit; }

/* ---------- Ad formats ---------- */

.formats { margin-top: 48px; }
.formats .section-sub { margin-bottom: 14px; }

.fmt-tabs {
    position: relative;
    display: flex;
    gap: 6px;
    margin: 0 -20px 12px;
    padding: 2px 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.fmt-tabs::-webkit-scrollbar { display: none; }

.fmt-tab {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 5px;
    min-height: 38px;
    padding: 0 14px;
    border: 1.5px solid var(--line);
    border-radius: 99px;
    background: #fff;
    color: var(--ink-2);
    font: inherit;
    font-size: 14px;
    font-weight: 550;
    cursor: pointer;
    transition: border-color 150ms, background 150ms, color 150ms;
}

.fmt-tab:hover { border-color: #cfcfd5; }
.fmt-tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.fmt-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.fmt-tab-star { color: #b38f00; font-size: 12px; }
.fmt-tab[aria-selected="true"] .fmt-tab-star { color: var(--accent); }

.fmt-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
}

/* The stage keeps one height for every format so switching never shifts the page. */
.fmt-stage {
    display: grid;
    min-height: 372px;
    padding: 22px 12px;
    place-items: center;
    background: radial-gradient(120% 70% at 50% 0%, #1d1d24, #0b0b0e 70%);
    color: #f5f5f7;
}

.fmt-info { display: grid; gap: 10px; padding: 18px 18px 20px; }

.fmt-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 19px; letter-spacing: -0.015em; }

.fmt-badge {
    padding: 3px 9px;
    border-radius: 99px;
    background: var(--soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
}

.fmt-badge.is-premium { background: var(--ink); color: var(--accent); }
.fmt-desc { color: var(--ink-2); font-size: 15px; line-height: 1.5; }

.fmt-meta { display: grid; gap: 8px; margin: 2px 0 0; }
.fmt-meta div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.45; }
.fmt-meta dt { color: var(--muted); font-weight: 500; }
.fmt-meta dd { margin: 0; color: var(--ink); }

.fmt-premium {
    padding: 12px 14px;
    border-left: 3px solid var(--accent);
    border-radius: 4px 12px 12px 4px;
    background: #fffbea;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.5;
}

.fmt-choose { justify-self: start; min-height: 44px; margin-top: 4px; padding: 0 18px; }

/* Compact copy of the QR page used by the format preview */

.qp { width: 100%; max-width: 330px; }

.qp-card {
    display: grid;
    gap: 12px;
    padding: 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: #16161a;
}

.qp-head { display: grid; justify-items: center; gap: 2px; min-width: 0; text-align: center; }

.qp-icon {
    display: grid;
    width: 34px;
    height: 34px;
    margin-bottom: 6px;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.qp-icon svg { width: 17px; height: 17px; fill: none; stroke: #f5f5f7; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.qp-domain { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.qp-url { max-width: 100%; overflow: hidden; color: rgba(245, 245, 247, 0.5); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.qp-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

.qp-actions span {
    display: grid;
    min-height: 38px;
    padding: 0 14px;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 600;
}

.qp-actions span:first-child { background: #f5f5f7; color: #0b0b0e; }

.fa-tag {
    justify-self: start;
    margin: 4px 0 -6px;
    padding: 2px 7px;
    border-radius: 5px;
    background: var(--accent);
    color: #0b0b0c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Ad formats as they render on the QR page */

.fa {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    border-radius: 14px;
    background: #222228;
    box-shadow: 0 0 0 1px rgba(255, 214, 10, 0.45);
    color: #f5f5f7;
    text-align: left;
    transition: box-shadow 300ms var(--ease);
}


.fa-row,
.fa-app { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }

.fa-logo {
    display: grid;
    flex: none;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(140deg, #ffb347, #e8590c);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.fa-logo-app { width: 46px; height: 46px; border-radius: 12px; font-size: 21px; }

.fa-text { display: grid; gap: 1px; min-width: 0; }
.fa-brand { display: flex; align-items: center; gap: 6px; min-width: 0; color: rgba(245, 245, 247, 0.65); font-size: 11.5px; font-weight: 550; }
.fa-brand > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fa-brand i {
    flex: none;
    padding: 0 4px;
    border: 1px solid rgba(245, 245, 247, 0.35);
    border-radius: 4px;
    font-size: 9px;
    font-style: normal;
    line-height: 1.5;
}

.fa-near { flex: none; color: #6ee7a1; }
.fa-head { overflow: hidden; font-size: 13.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.fa-cta {
    display: inline-grid;
    flex: none;
    max-width: 110px;
    min-height: 32px;
    padding: 0 12px;
    place-items: center;
    overflow: hidden;
    border-radius: 99px;
    background: #f5f5f7;
    color: #0b0b0e;
    font-size: 12.5px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fa-cta-dark { background: rgba(255, 255, 255, 0.1); color: #f5f5f7; }

.fa-banner { gap: 0; padding: 0; overflow: hidden; }
.fa-img { display: block; aspect-ratio: 2 / 1; background: url("promo-cafe.jpg") 50% 55% / cover, #2b2b31; }
.fa-banner .fa-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px 12px; }

.fa-offer { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }

.fa-code {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1.5px dashed rgba(255, 214, 10, 0.7);
    border-radius: 10px;
}

.fa-code b { color: var(--accent); font-size: 14px; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.fa-code .fa-cta { min-height: 26px; padding: 0 10px; font-size: 11px; }

.fa-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
.fa-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fa-actions .fa-cta { max-width: none; }

.fa-rating { color: var(--accent); font-size: 10.5px; letter-spacing: 0.04em; }
.fa-rating span { color: rgba(245, 245, 247, 0.6); letter-spacing: 0; }

/* Full-screen: a 9:16 phone screen shown before the QR page */

.fs {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: minmax(0, 1fr);
    width: 190px;
    aspect-ratio: 9 / 16;
    padding: 12px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 28%, transparent 48%, rgba(0, 0, 0, 0.85)), url("promo-cafe.jpg") 50% 50% / cover, #2b2b31;
    box-shadow: 0 0 0 1px rgba(255, 214, 10, 0.45), 0 24px 48px -24px rgba(0, 0, 0, 0.9);
    color: #fff;
    transition: box-shadow 300ms var(--ease);
}

.fs-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.fs-brand { display: flex; flex: 1 1 auto; align-items: center; gap: 6px; min-width: 0; font-size: 11px; font-weight: 600; }
.fs-brand .fa-logo { width: 22px; height: 22px; border-radius: 6px; font-size: 11px; }
.fs-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-brand i { padding: 0 3px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 3px; font-size: 8px; font-style: normal; }
.fs-skip { flex: none; padding: 3px 8px; border-radius: 99px; background: rgba(0, 0, 0, 0.5); font-size: 10px; font-weight: 600; }
.fs-bottom { display: grid; grid-row: 3; gap: 10px; }
.fs-bottom b { font-size: 16px; line-height: 1.25; letter-spacing: -0.01em; }
.fs-bottom .fa-cta { width: 100%; max-width: none; min-height: 36px; }
.fs-caption { max-width: 250px; margin-top: 14px; color: rgba(245, 245, 247, 0.6); font-size: 12px; line-height: 1.45; text-align: center; }

.fmt-stage:has(.fs) { align-content: center; }

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

.faq { margin-top: 56px; }
.faq h2 { margin-bottom: 6px; }
.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 12px 0;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    flex: none;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border: solid var(--muted);
    border-width: 0 1.75px 1.75px 0;
    content: '';
    transform: translateY(-2px) rotate(45deg);
    transition: transform 200ms var(--ease);
}

.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding-bottom: 16px; color: var(--ink-2); font-size: 15.5px; }

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

.footer {
    display: grid;
    gap: 4px;
    margin-top: 48px;
    padding: 20px 0 calc(120px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

/* ---------- Sticky booking bar (mobile) ---------- */

.bar {
    position: fixed;
    z-index: 30;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(1.6) blur(12px);
    -webkit-backdrop-filter: saturate(1.6) blur(12px);
    transform: translateY(110%);
    transition: transform 250ms var(--ease);
}

.bar.is-visible { transform: none; }
.bar-info { min-width: 0; }
.bar-price { color: var(--muted); font-size: 14px; line-height: 1.2; }
.bar-price b { color: var(--ink); font-size: 20px; letter-spacing: -0.02em; }
.bar-plan { overflow: hidden; color: var(--muted); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.bar .btn { flex: none; min-height: 48px; }

/* ==========================================================
   Motion
   ========================================================== */

/* ---------- Hero scan story ---------- */

.viewfinder {
    position: absolute;
    z-index: 2;
    inset: 8px;
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(90% 60% at 50% 75%, #8a7259, transparent 70%),
        radial-gradient(120% 90% at 50% 30%, #4a3c30, #1d1814 75%);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity 400ms var(--ease), transform 600ms var(--ease), visibility 0s 400ms;
}

.device[data-stage='scan'] .viewfinder {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 300ms var(--ease), transform 600ms var(--ease);
}

.vf-tent {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 6px;
    width: 124px;
    padding: 12px 12px 10px;
    border-radius: 10px;
    background: #fbfaf6;
    box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.6);
    transform: translate(-50%, -54%) rotate(-5deg);
}

.vf-tent .qr-svg { width: 100%; }
.vf-tent span { color: #3b3026; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.vf-corners {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -56%) scale(1.3);
    opacity: 0.6;
}

.device[data-stage='scan'] .vf-corners { animation: vfLock 900ms 250ms var(--ease) forwards; }

@keyframes vfLock {
    to { opacity: 1; transform: translate(-50%, -56%) scale(1); }
}

.vf-corners i,
.focus i {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid var(--accent);
}

.vf-corners i:nth-child(1), .focus i:nth-child(1) { top: 0; left: 0; border-width: 3px 0 0 3px; border-top-left-radius: 8px; }
.vf-corners i:nth-child(2), .focus i:nth-child(2) { top: 0; right: 0; border-width: 3px 3px 0 0; border-top-right-radius: 8px; }
.vf-corners i:nth-child(3), .focus i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: 8px; }
.vf-corners i:nth-child(4), .focus i:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: 8px; }

.vf-line {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 128px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 0 12px 2px rgba(255, 214, 10, 0.7);
    opacity: 0;
    transform: translateX(-50%);
}

.device[data-stage='scan'] .vf-line { animation: vfSweep 1100ms 300ms ease-in-out 1 both; }

@keyframes vfSweep {
    0% { top: 26%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 66%; opacity: 0; }
}

.vf-detected {
    position: absolute;
    bottom: 34px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 86%;
    padding: 7px 12px;
    border-radius: 99px;
    background: var(--accent);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 12px) scale(0.9);
}

.vf-detected span:last-child { overflow: hidden; text-overflow: ellipsis; }
.vf-detected-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.device[data-stage='scan'] .vf-detected { animation: vfDetect 400ms 1350ms var(--ease) forwards; }

@keyframes vfDetect {
    to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.qr-card { transition: opacity 450ms var(--ease), transform 600ms var(--ease); }
.device[data-stage='scan'] .qr-card { opacity: 0; transform: translateY(28px) scale(0.98); }

.ad-phone {
    position: relative;
    transition: opacity 450ms var(--ease), transform 600ms cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 300ms var(--ease);
}

.device:is([data-stage='scan'], [data-stage='page']) .ad-phone { opacity: 0; transform: translateY(14px); }
.device[data-stage='ad'] .ad-phone { animation: adGlow 1600ms 300ms ease-out 1; }

@keyframes adGlow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(255, 214, 10, 0.6), 0 10px 24px -12px rgba(255, 214, 10, 0.55); }
    30% { box-shadow: 0 0 0 1.5px var(--accent), 0 0 0 6px rgba(255, 214, 10, 0.22), 0 10px 30px -6px rgba(255, 214, 10, 0.6); }
}

.tap {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: scale(1.6);
}

.device[data-stage='visit'] .tap { animation: tapPress 700ms var(--ease) forwards; }
.device[data-stage='visit'] .ad-phone .ad-cta { animation: ctaPress 700ms var(--ease); }

@keyframes tapPress {
    0% { opacity: 0; transform: scale(1.6); }
    35% { opacity: 1; transform: scale(1); }
    60% { opacity: 1; transform: scale(0.85); }
    100% { opacity: 0; transform: scale(1.4); }
}

@keyframes ctaPress {
    40%, 60% { transform: scale(0.92); background: #d4d4da; }
}

.visit-toast {
    position: absolute;
    z-index: 3;
    top: 22px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 88%;
    padding: 8px 12px 8px 8px;
    border-radius: 99px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translate(-50%, -160%);
    transition: opacity 300ms var(--ease), transform 500ms var(--ease);
}

.visit-toast b { overflow: hidden; color: var(--accent); text-overflow: ellipsis; }
.device[data-stage='visit'] .visit-toast { opacity: 1; transform: translate(-50%, 0); transition-delay: 450ms; }

.visit-check {
    position: relative;
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
}

.visit-check::after {
    position: absolute;
    top: 4px;
    left: 6px;
    width: 4px;
    height: 7px;
    border: solid var(--ink);
    border-width: 0 2px 2px 0;
    content: '';
    transform: rotate(45deg);
}

/* Story captions with progress bars */

.story { display: grid; gap: 10px; width: 236px; margin: 18px auto 0; }
.story-bars { display: flex; gap: 4px; }

.story-bars i {
    position: relative;
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--line);
}

.story-bars i::after {
    position: absolute;
    inset: 0;
    background: var(--ink);
    content: '';
    transform: scaleX(0);
    transform-origin: left;
}

.story-bars i.is-done::after { transform: scaleX(1); }
.story-bars i.is-active::after { animation: barFill var(--dur, 2s) linear forwards; }
.device.is-held .story-bars i.is-active::after { animation: none; transform: scaleX(1); }

@keyframes barFill {
    to { transform: scaleX(1); }
}

.story-captions { display: grid; text-align: center; }

.story-captions span {
    grid-area: 1 / 1;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 300ms var(--ease), transform 400ms var(--ease);
}

.story-captions span.is-active { opacity: 1; transform: none; }

/* ---------- Why visuals ---------- */

.why-visual {
    position: relative;
    display: grid;
    height: 112px;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: var(--soft);
}

.qr-svg { display: block; fill: var(--ink); shape-rendering: crispEdges; }

.mini-phone {
    position: relative;
    z-index: 1;
    display: grid;
    width: 56px;
    height: 92px;
    place-items: center;
    border: 3px solid var(--ink);
    border-radius: 13px;
    background: #fff;
}

.mini-phone .qr-svg { width: 30px; }

.focus {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    transform: translate(-50%, -50%);
    animation: focusPulse 2.4s var(--ease) infinite;
}

.focus i { width: 11px; height: 11px; border-width: 2px; }
.focus i:nth-child(1) { border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.focus i:nth-child(2) { border-width: 2px 2px 0 0; border-top-right-radius: 4px; }
.focus i:nth-child(3) { border-width: 0 0 2px 2px; border-bottom-left-radius: 4px; }
.focus i:nth-child(4) { border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }

@keyframes focusPulse {
    0% { transform: translate(-50%, -50%) scale(1.35); opacity: 0; }
    30%, 80% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.eye-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: ringOut 2.4s 0.6s ease-out infinite;
}

@keyframes ringOut {
    0% { opacity: 0.9; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.7); }
}

.place-window { width: 100%; height: 112px; overflow: hidden; }
.place-track { animation: placeCycle 10s var(--ease) infinite; }

.place {
    display: grid;
    height: 112px;
    place-content: center;
    justify-items: center;
    gap: 5px;
}

.place-icon { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.place b { font-size: 11.5px; font-weight: 650; }
.place .qr-svg { width: 30px; padding: 3px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px var(--line); }

@keyframes placeCycle {
    0%, 20% { transform: translateY(0); }
    25%, 45% { transform: translateY(-112px); }
    50%, 70% { transform: translateY(-224px); }
    75%, 95% { transform: translateY(-336px); }
    100% { transform: translateY(-448px); }
}

.v-alone { grid-template-columns: 38px auto 38px; justify-content: center; gap: 10px; align-content: center; }

.feed,
.solo {
    position: relative;
    width: 38px;
    height: 74px;
    border: 2px solid #cfcfd5;
    border-radius: 8px;
    background: #fff;
}

.feed-window { height: 100%; overflow: hidden; border-radius: 6px; }
.feed-track { display: grid; gap: 3px; padding: 3px; animation: feedScroll 5s linear infinite; }
.feed-track i { height: 12px; border-radius: 2px; background: #e6e6ea; }
.feed-track i.f-ad { background: #c9c3f5; }
.feed-track i.f-ad:nth-child(3n) { background: #f6c6c0; }
.feed-track i.f-ad:nth-child(4n) { background: #bfe6cf; }

@keyframes feedScroll {
    to { transform: translateY(-50%); }
}

.solo { display: grid; align-content: start; gap: 3px; padding: 4px 3px; border-color: var(--ink); }
.solo i { display: block; border-radius: 2px; }
.solo-head { height: 8px; margin: 0 8px; background: #e6e6ea; }
.solo-line { height: 5px; background: #eeeef1; }
.solo-btn { height: 7px; background: #7c3aed; }
.solo-ad { height: 20px; margin-top: 2px; background: var(--accent); box-shadow: 0 0 0 1.5px var(--accent-edge); animation: soloPulse 2.4s ease-in-out infinite; }

@keyframes soloPulse {
    50% { box-shadow: 0 0 0 4px rgba(255, 214, 10, 0.35); }
}

.vs-mark { color: var(--muted); font-size: 10px; font-weight: 700; }

.v-tag {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    color: var(--muted);
    font-size: 8.5px;
    font-weight: 600;
    white-space: nowrap;
    transform: translateX(-50%);
}

.v-alone .feed,
.v-alone .solo { margin-bottom: 12px; }

/* ---------- Comparison visuals ---------- */

.vs-visual {
    position: relative;
    height: 150px;
    margin: -4px -4px 8px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--soft);
}

.map { position: absolute; inset: 0; }

.street { position: absolute; background: #fff; }
.street.s1 { top: 38%; right: -10%; left: -10%; height: 10px; transform: rotate(-8deg); }
.street.s2 { top: -10%; bottom: -10%; left: 30%; width: 9px; transform: rotate(12deg); }
.street.s3 { top: -10%; bottom: -10%; left: 78%; width: 7px; transform: rotate(-6deg); }

.radius {
    position: absolute;
    top: 42%;
    left: 62%;
    width: 230px;
    height: 230px;
    border: 1.5px solid rgba(4, 103, 223, 0.5);
    border-radius: 50%;
    background: rgba(4, 103, 223, 0.1);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
    animation: radiusCycle 7s var(--ease) infinite;
}

@keyframes radiusCycle {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
    8%, 44% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    54%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
}

.dot {
    position: absolute;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: #c4c4cb;
}

.dot.in-radius { animation: dotRadius 7s var(--ease) infinite; }
.dot.scanner { background: var(--accent); box-shadow: 0 0 0 1.5px var(--accent-edge); transform: scale(1.35); animation: dotScanner 7s var(--ease) infinite; }

@keyframes dotRadius {
    0% { background: #c4c4cb; }
    10%, 44% { background: #3b7ddd; }
    54%, 100% { background: #c4c4cb; }
}

@keyframes dotScanner {
    0% { background: #c4c4cb; box-shadow: none; transform: none; }
    10%, 44% { background: #3b7ddd; box-shadow: none; transform: none; }
    56%, 94% { background: var(--accent); box-shadow: 0 0 0 1.5px var(--accent-edge), 0 0 0 5px rgba(255, 214, 10, 0.3); transform: scale(1.35); }
    100% { background: #c4c4cb; box-shadow: none; transform: none; }
}

.pin {
    position: absolute;
    top: 42%;
    left: 62%;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 6px 12px -4px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
}

.pin .qr-svg { width: 16px; }

.legend { position: absolute; bottom: 8px; left: 8px; display: grid; }

.legend > span {
    display: inline-flex;
    grid-area: 1 / 1;
    align-items: center;
    gap: 6px;
    padding: 4px 9px 4px 7px;
    border-radius: 99px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.legend i { width: 8px; height: 8px; border-radius: 50%; }
.lg-them i { background: #3b7ddd; }
.lg-us i { background: var(--accent); box-shadow: 0 0 0 1px var(--accent-edge); }
.lg-them { opacity: 0; animation: legendThem 7s infinite; }
.lg-us { animation: legendUs 7s infinite; }

@keyframes legendThem {
    0%, 5% { opacity: 0; }
    10%, 44% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes legendUs {
    0%, 50% { opacity: 0; }
    56%, 94% { opacity: 1; }
    100% { opacity: 0; }
}

.price-chart { position: absolute; inset: 30px 14px 30px; width: calc(100% - 28px); height: calc(100% - 60px); overflow: visible; }
.price-chart path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.grid-line { stroke: #e2e2e6; stroke-width: 1; }
.line-auction { stroke: #9a9aa3; stroke-width: 2.5; stroke-dasharray: 1; animation: drawLine 6s var(--ease) infinite; }
.line-fixed { stroke: var(--accent-edge); stroke-width: 3.5; stroke-dasharray: 1; animation: drawLine 6s 0.2s var(--ease) infinite; }

@keyframes drawLine {
    0% { stroke-dashoffset: 1; opacity: 1; }
    40%, 88% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

.chart-tag {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px 3px 7px;
    border-radius: 99px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-size: 11px;
    font-weight: 600;
}

.chart-tag::before { width: 8px; height: 8px; border-radius: 50%; content: ''; }
.tag-auction { top: 8px; right: 10px; }
.tag-auction::before { background: #9a9aa3; }
.tag-fixed { bottom: 8px; left: 10px; }
.tag-fixed::before { background: var(--accent); box-shadow: 0 0 0 1px var(--accent-edge); }

/* ---------- Reveal on scroll & paused loops ---------- */

.motion-ready .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms var(--ease), transform 700ms var(--ease);
    transition-delay: calc(var(--i, 0) * 70ms);
}

.motion-ready .reveal.is-in { opacity: 1; transform: none; }
.motion-ready [data-loop]:not(.is-playing) *,
.motion-ready [data-loop]:not(.is-playing) { animation-play-state: paused !important; }

.booked:not([hidden]) .done-mark { animation: donePop 600ms cubic-bezier(0.3, 1.6, 0.5, 1); }

@keyframes donePop {
    0% { transform: scale(0.4); opacity: 0; }
    100% { transform: none; opacity: 1; }
}

/* Phones: headline, then the live phone demo, then the button. The sticky bar keeps "Book" in reach meanwhile. */
@media (max-width: 959px) {
    .hero { display: contents; }
    .layout { grid-template-areas: 'copy' 'preview' 'cta' 'content'; }
    .hero > [data-hero] { grid-area: copy; min-width: 0; padding-top: 22px; }
    .hero-cta { grid-area: cta; min-width: 0; margin-top: 22px; }
    .preview { padding: 20px 0 0; }
    .qr-card { min-height: 390px; }
}

/* ---------- Larger screens ---------- */

@media (min-width: 600px) {
    .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fmt-tabs { flex-wrap: wrap; margin: 0 0 12px; padding: 2px 0; }
    .fmt-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
    .fmt-info { align-content: center; }
    .facts dd { font-size: 18px; }
    .vs-head,
    .vs-row { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); }
    .vs-head .vs-label { display: block; background: var(--soft); }
    .vs-row .vs-label { grid-column: auto; padding: 14px; }
    .vs-us,
    .vs-them { padding: 14px; }
    .vs-row .vs-us::before { top: 10px; bottom: 10px; }
    .vs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .why-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; align-content: start; padding: 10px 10px 14px; }
    .why-card .why-visual { grid-row: auto; margin-bottom: 10px; }
    .why-card h3,
    .why-card p { align-self: start; padding-inline: 4px; }
}

@media (min-width: 960px) {
    .layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        grid-template-areas: 'hero preview' 'content preview';
        column-gap: 80px;
    }

    .hero,
    .content { max-width: 620px; }

    .hero { padding-top: 72px; }
    .hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
    .hero-cta .btn-block { width: auto; }
    .microcopy { margin-top: 0; text-align: left; }

    .preview { padding-top: 48px; }
    .preview-sticky { position: sticky; top: 80px; }
    .device { width: 300px; }
    .qr-card { min-height: 500px; }

    .summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 24px;
        padding: 14px 14px 14px 18px;
        border: 1px solid var(--line);
        border-radius: 16px;
    }

    .summary-price { color: var(--muted); font-size: 14px; }
    .summary-price b { color: var(--ink); font-size: 22px; letter-spacing: -0.02em; }
    .summary-plan { color: var(--muted); font-size: 13px; }
    .summary .btn { min-height: 46px; padding: 0 18px; }

    .book { margin-top: 64px; }
    .book h2 { font-size: 34px; }
    .footer { padding-bottom: 40px; }
    .bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    :root { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .motion-ready .reveal { opacity: 1; transform: none; }
}
