/* ─── Marketing site — design tokens mirror the in-app palette ─────────
   BizGo brand palette (Claude Design handoff "BizGo · Logo & Icon Set"):
   Emerald #19C88F → Teal #0AA3C4 accent, Ink #0F1629, Paper #EEF1F5.
   Accent uses the emerald hue (oklch H165); neutrals are cool. */
:root {
    --bg: #eef1f5;
    --surface: #ffffff;
    --surface-2: #e4e8ef;
    --surface-3: #d7dde8;
    --ink: #0f1629;
    --ink-2: #414a60;
    --muted: #737d92;
    --line: #dde2ea;
    --line-strong: #c7cedb;
    --accent: oklch(0.58 0.13 165);
    --accent-soft: oklch(0.95 0.03 165);
    --accent-ink: oklch(0.42 0.13 165);
    --shadow-sm: 0 1px 2px rgba(15, 22, 41, 0.05);
    --shadow: 0 1px 2px rgba(15, 22, 41, 0.05), 0 6px 24px -8px rgba(15, 22, 41, 0.12);
    --shadow-pop: 0 8px 32px -4px rgba(15, 22, 41, 0.20), 0 2px 4px rgba(15, 22, 41, 0.07);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --max-w: 1120px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b0f1c;
        --surface: #141a2c;
        --surface-2: #1b2540;
        --surface-3: #26314f;
        --ink: #eef1f5;
        --ink-2: #c2c8d6;
        --muted: #808aa0;
        --line: #232c44;
        --line-strong: #36405c;
        --accent: oklch(0.72 0.13 165);
        --accent-soft: oklch(0.30 0.05 165);
        --accent-ink: oklch(0.85 0.10 165);
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 6px 24px -8px rgba(0, 0, 0, 0.55);
        --shadow-pop: 0 8px 32px -4px rgba(0, 0, 0, 0.65), 0 2px 4px rgba(0, 0, 0, 0.45);
    }
    body { color-scheme: dark; }
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--accent-ink);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover { color: var(--ink); }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Nav ───────────────────────────────────────────────────────────── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(238, 241, 245, 0.85);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) {
    .site-nav { background: rgba(11, 15, 28, 0.85); }
}
.site-nav .container {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--ink);
    font-size: 15px;
    letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
/* BizGo app mark — emerald→teal tile + white double-chevron. The inline SVG
   (in _Layout.cshtml) carries its own gradient; this box just sizes it. */
.brand-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

/* BizGo wordmark — Sora 800, "Go" carries the fixed brand accent gradient. */
.brand-wm {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
}
.brand-wm .go {
    background: linear-gradient(118deg, #19c88f, #0aa3c4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 24px;
    margin-left: 8px;
    flex: 1;
}
.nav-links a {
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
/* Owner sign-in, staff sign-in and the trial CTA sit side by side; nothing may
   wrap mid-label — if the row runs out of room the whole group drops to the next
   nav line instead (the container wraps below 720px). */
.nav-actions .btn { white-space: nowrap; }
/* The staff door is quieter than the owner's "Sign in" so two ghost buttons
   don't read as equally weighted. */
.nav-staff { color: var(--ink-2); border-color: var(--line); }
.nav-staff:hover { color: var(--ink); border-color: var(--line-strong); }
/* Long/short label pair — the short one only appears on phones, where three
   buttons plus the brand no longer fit on one line. Each button carries an
   aria-label so the shortened form never reaches a screen reader. */
.nav-label-short { display: none; }

/* On small screens the links wrap onto a second nav row instead of
   disappearing — Features/Pricing/Contact stay one tap away on mobile. */
@media (max-width: 720px) {
    .site-nav .container {
        flex-wrap: wrap;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        row-gap: 4px;
        gap: 16px;
    }
    .nav-links {
        order: 3;
        flex: 1 1 100%;
        gap: 18px;
        margin-left: 0;
    }
    .site-nav .container { gap: 12px; }
    .nav-actions { margin-left: auto; gap: 8px; }
    /* Three buttons don't fit beside the brand on a phone: tighten them and
       swap in the short labels. If a device is still too narrow the whole
       action group wraps to its own nav row rather than squashing. */
    .nav-actions .btn { padding: 9px 11px; font-size: 13px; }
    .nav-label-long { display: none; }
    .nav-label-short { display: inline; }
}

/* ─── Accessibility ─────────────────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: var(--bg);
    padding: 10px 16px;
    border-radius: 0 0 var(--radius) 0;
    font-size: 14px;
    font-weight: 600;
}
.skip-link:focus {
    left: 0;
    color: var(--bg);
}

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.06s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary CTA carries the BizGo brand gradient — the deep emerald→teal
   (brand hues 165→219), not the bright logo gradient, so white text stays
   legible. Matches the in-app --primary surface (brand.css). Fixed in both
   themes; the teal-tinted lift mirrors the logo's drop-shadow. */
.btn-primary {
    background: linear-gradient(118deg, oklch(0.58 0.13 165), oklch(0.56 0.12 219));
    color: #fff;
    box-shadow: var(--shadow-sm), 0 6px 18px -8px rgba(10, 163, 196, 0.5);
}
.btn-primary:hover { background: linear-gradient(118deg, oklch(0.52 0.13 165), oklch(0.50 0.12 219)); color: #fff; }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}
.btn-ghost-on-white {
    background: transparent;
    color: var(--line-strong);
    border-color: var(--line-strong);
}

.btn-ghost-on-white:hover { color: var(--accent-ink); background: var(--surface-2); border-color: var(--accent-ink); }

.btn-ghost:hover { color: var(--ink); background: transparent; border-color: var(--line-strong); }

.btn-lg {
    padding: 14px 24px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

/* ─── Sections ──────────────────────────────────────────────────────── */
section {
    padding: 88px 0;
    border-top: 1px solid var(--line);
}
section:first-of-type { border-top: 0; }

/* First section of a subpage (Features, Pricing, Contact, …) — sits tighter
   under the sticky nav than the default section rhythm. */
.page-intro { padding-top: 64px; }

.eyebrow {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 14px;
}

h1, h2, h3, h4 {
    margin: 0 0 16px 0;
    color: var(--ink);
    letter-spacing: -0.025em;
}
/* Display headings use Sora — the wordmark's face — so pages carry the brand
   voice; body text stays on the system stack for readability. */
h1, h2 {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; line-height: 1.18; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 16px 0; color: var(--ink-2); }
.lead {
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 680px;
}

/* ─── Hero ──────────────────────────────────────────────────────────── */
.hero {
    padding: 112px 0 88px;
    /* Brand wash — emerald glow top-right, teal glow bottom-left (brand hues
       165 / 219). Fixed mid-tone colours with alpha so the BizGo emerald→teal
       reads clearly on both the light paper and dark backgrounds, rather than
       the near-grey --accent-soft used before. */
    background:
        radial-gradient(ellipse at 85% -10%, oklch(0.58 0.16 165 / 0.22) 0%, transparent 55%),
        radial-gradient(ellipse at -10% 110%, oklch(0.56 0.13 219 / 0.20) 0%, transparent 50%);
    border-top: 0;
}
.hero h1 { max-width: 18ch; }
.hero p.lead { max-width: 52ch; font-size: 19px; }
.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.hero-meta {
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
}

/* ─── Feature grid ──────────────────────────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 36px;
}
.feature {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.feature:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.feature .icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-radius: 10px;
    margin-bottom: 18px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; font-size: 14.5px; line-height: 1.55; }

/* ─── Steps ─────────────────────────────────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 48px;
    counter-reset: step;
}
.step {
    position: relative;
    padding-top: 56px;
}
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.02em;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; }

/* ─── Modules ───────────────────────────────────────────────────────── */
.module-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 36px;
}
.module-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.module-card.is-soon {
    background: var(--surface-2);
    border-style: dashed;
}
.module-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    margin-bottom: 14px;
}
.module-status.is-soon {
    background: var(--surface-3);
    color: var(--muted);
}
.module-card h3 { margin-bottom: 6px; }
.module-card p { margin: 0; font-size: 14.5px; }

/* ─── Pricing ───────────────────────────────────────────────────────── */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 44px;
    align-items: stretch;
}
.price-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}
.price-card.is-featured {
    border-color: var(--ink);
    box-shadow: var(--shadow-pop);
    position: relative;
}
.price-card.is-featured::before {
    content: "Most popular";
    position: absolute;
    top: -12px;
    left: 28px;
    background: var(--ink);
    color: var(--bg);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 999px;
}
/* ── Solo plan ──
   One paid plan on sale, so there is nothing to compare against. The card stops
   being a column in a grid and becomes the page's centrepiece: centred, capped
   width, and — from 760px up — a two-column split with the price and CTA on the
   left and the limits alongside rather than stacked underneath. The DOM order is
   unchanged from the multi-card layout; grid areas do the rearranging. */
.price-grid.is-solo {
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
    margin-top: 40px;
}
.price-card.is-solo {
    position: relative;
    padding: 40px 36px 36px;
    border-color: var(--accent);
    box-shadow: var(--shadow-pop);
}
.price-card.is-solo::before {
    content: "Everything included";
    position: absolute;
    top: -12px;
    left: 36px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 999px;
}
.price-card.is-solo .price-amount .price { font-size: 52px; }
.price-card.is-solo .price-tagline { font-size: 15px; }

@media (min-width: 760px) {
    .price-card.is-solo {
        display: grid;
        column-gap: 40px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "badge    features"
            "name     features"
            "amount   features"
            "tagline  features"
            "note     features"
            "cta      features"
            "link     features";
        align-content: start;
    }
    /* The features column spans the whole card, so a divider reads as a real
       split rather than a border that stops halfway down. */
    .price-card.is-solo > .price-features {
        grid-area: features;
        margin: 0;
        padding-left: 40px;
        border-left: 1px solid var(--line);
        align-self: stretch;
    }
    .price-card.is-solo > .price-name { grid-area: name; }
    .price-card.is-solo > .price-amount { grid-area: amount; }
    .price-card.is-solo > .price-tagline { grid-area: tagline; }
    .price-card.is-solo > .btn { grid-area: cta; align-self: start; }
    .price-card.is-solo > .price-limits-link { grid-area: link; }
    /* No promo exists today, but the markup still supports one — give it a track
       rather than hiding it, so a future promo lands somewhere sensible. */
    .price-card.is-solo > .price-promo-badge { grid-area: badge; }
    .price-card.is-solo > .price-promo-note { grid-area: note; }
}

/* Limited-time launch promo (Dev_Docs/Go_Max_Launch_Promo_Plan.md §6). */
.price-card.has-promo {
    border-color: var(--accent);
    box-shadow: var(--shadow-pop);
    position: relative;
}
.price-promo-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.price-promo-note {
    color: var(--ink-2);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 8px;
}
.price-promo-note .price-was {
    text-decoration: line-through;
    color: var(--muted);
    font-weight: 600;
    margin-right: 2px;
}
.price-name {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.price-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 12px 0 4px;
}
.price-amount .price {
    font-size: 40px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1;
}
.price-amount .period {
    font-size: 14px;
    color: var(--muted);
}
.price-tagline {
    color: var(--ink-2);
    font-size: 14px;
    margin: 0 0 24px;
}
.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}
.price-features li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.5;
}
.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-ink);
    font-weight: 700;
}

/* ─── FAQ ───────────────────────────────────────────────────────────── */
.faq-list {
    margin-top: 32px;
    max-width: 760px;
}
.faq-item {
    border-top: 1px solid var(--line);
    padding: 20px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 24px;
    line-height: 1;
    color: var(--muted);
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
    padding-top: 12px;
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.6;
}
.faq-answer a { text-decoration: underline; }

/* ─── Compliance ────────────────────────────────────────────────────── */
.compliance-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 36px;
}
.compliance-tag {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
    font-weight: 600;
    color: var(--ink);
    font-size: 14px;
}
.compliance-tag span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ─── CTA section ───────────────────────────────────────────────────── */
.cta {
    background: var(--ink);
    color: var(--bg);
    padding: 72px 0;
    border-top: 0;
    text-align: center;
}
.cta h2 { color: var(--bg); }
/* Inherit the inverted band colour and soften with opacity — a hardcoded
   light rgba here broke contrast in dark mode, where the band is light. */
.cta p {
    color: var(--bg);
    opacity: 0.72;
    max-width: 560px;
    margin: 0 auto 28px;
    font-size: 16px;
}
/* Primary CTA keeps its emerald→teal brand fill on the dark CTA band —
   the gradient reads clearly against --ink, so no inversion needed. */

/* ─── Contact ───────────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}
@media (max-width: 700px) {
    .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { font-size: 14.5px; margin-bottom: 20px; }
.contact-card .eyebrow { margin-bottom: 8px; }

/* ─── Footer ────────────────────────────────────────────────────────── */
.site-footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: end;
}
.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-links a { color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-meta { color: var(--muted); font-size: 13px; }
.footer-brand { margin-bottom: 12px; }
.footer-tagline { margin-top: 8px; }
.footer-bottom {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

@media (max-width: 600px) {
    section { padding: 64px 0; }
    .hero { padding: 72px 0 64px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Long-form article (e.g. the WhatsApp explainer) ───────────────── */
.prose { max-width: 720px; }
.prose h2 { margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 15.5px; line-height: 1.6; }
.prose ul {
    padding-left: 22px;
    color: var(--ink-2);
    margin: 0 0 16px;
}
.prose li {
    margin-bottom: 10px;
    font-size: 15.5px;
    line-height: 1.6;
}
.prose .actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
}

/* ─── Feature tour (Features page) ──────────────────────────────────────
   Screenshot showcase. The app itself is dark-themed, so every shot sits
   in a fixed dark "product window" frame — it pops off the light paper
   and melts into the dark background, in both themes. */
.shot {
    margin: 0;
    background: #0b0f1c;
    border: 1px solid rgba(120, 132, 158, 0.32);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-pop);
}
.shot-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    background: #121a2e;
    border-bottom: 1px solid rgba(120, 132, 158, 0.18);
}
.shot-chrome i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2c3854;
    display: block;
}
.shot img { width: 100%; height: auto; display: block; }
.shot-caption {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

/* Hero shot — brand glow bleeding out from behind the product window. */
.tour-hero {
    position: relative;
    margin: 56px auto 0;
}
.tour-hero::before {
    content: "";
    position: absolute;
    inset: -6% -4%;
    background:
        radial-gradient(ellipse at 18% 12%, oklch(0.58 0.16 165 / 0.30) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 90%, oklch(0.56 0.13 219 / 0.28) 0%, transparent 55%);
    filter: blur(28px);
    z-index: 0;
    pointer-events: none;
}
.tour-hero figure { position: relative; z-index: 1; }

/* Alternating copy + screenshot rows. Markup order is copy → media;
   .is-flip pulls the media to the left visually. */
.tour-row {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6.5fr);
    gap: 56px;
    align-items: center;
    margin-top: 48px;
}
.tour-row.is-flip { grid-template-columns: minmax(0, 6.5fr) minmax(0, 5fr); }
.tour-row.is-flip .tour-media { order: -1; }
.tour-media.is-narrow {
    max-width: 400px;
    justify-self: center;
    width: 100%;
}
.tour-copy h2 { margin-bottom: 12px; }
.tour-copy > p { font-size: 15.5px; line-height: 1.6; }

.tour-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}
.tour-points li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 11px;
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.55;
}
.tour-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-ink);
    font-weight: 700;
}
.tour-points li strong { color: var(--ink); font-weight: 600; }

/* Full-width shots. The onboarding ribbon is very wide, so it scrolls
   sideways on small screens instead of shrinking into illegibility. */
.tour-wide { margin-top: 40px; }
.tour-strip { margin-top: 40px; }
.tour-strip .shot { overflow-x: auto; }
.tour-strip .shot img { min-width: 1180px; }

/* Two shots side by side. */
.shot-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 44px;
}
/* Portrait (phone-shaped) pair — capped width, centered, so two tall
   screenshots read as a pair of phone screens rather than two towers. */
.shot-duo.is-phones {
    grid-template-columns: repeat(2, minmax(0, 400px));
    justify-content: center;
    gap: 40px;
}

/* Constrained intro block above a full-width visual. */
.tour-intro { margin-top: 64px; }
.tour-intro h3 { font-size: 24px; }
.tour-intro p { font-size: 15.5px; line-height: 1.6; max-width: 640px; }

/* App flow chips under the intro — mirrors the journey through the app. */
.flow-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 8px;
    margin-top: 30px;
}
.flow-chips .chip {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 15px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}
.flow-chips .arrow {
    color: var(--muted);
    font-size: 13px;
    user-select: none;
}

/* Inverted brand band — the staff portal spotlight. Same inversion rule
   as .cta: --ink surface, --bg text, brand glows on top. */
.tour-band {
    background:
        radial-gradient(ellipse at 88% -20%, oklch(0.58 0.16 165 / 0.20) 0%, transparent 55%),
        radial-gradient(ellipse at -5% 120%, oklch(0.56 0.13 219 / 0.18) 0%, transparent 50%),
        var(--ink);
    color: var(--bg);
    border-top: 0;
}
.tour-band .eyebrow { color: var(--bg); opacity: 0.55; }
.tour-band h2 { color: var(--bg); }
.tour-band .lead { color: var(--bg); opacity: 0.75; }
.band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.band-item {
    background: color-mix(in oklab, var(--bg) 7%, transparent);
    border: 1px solid color-mix(in oklab, var(--bg) 16%, transparent);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.band-item h3 { color: var(--bg); margin-bottom: 8px; font-size: 16px; }
.band-item p { color: var(--bg); opacity: 0.72; margin: 0; font-size: 14px; line-height: 1.55; }

/* Public page cards — booking + quote request "direct line" pair. */
.pubpage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 44px;
}
.pubpage-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.pubpage-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-pop);
    transform: translateY(-2px);
}
.link-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--accent-ink);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 7px 15px;
    margin-bottom: 20px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pubpage-card h3 { font-size: 20px; }
.pubpage-card > p { font-size: 14.5px; }

@media (max-width: 940px) {
    .tour-row, .tour-row.is-flip { grid-template-columns: 1fr; gap: 28px; }
    .tour-row.is-flip .tour-media { order: 0; }
    .tour-media.is-narrow { justify-self: start; }
    .shot-duo { grid-template-columns: 1fr; }
    .shot-duo.is-phones { grid-template-columns: minmax(0, 400px); }
    .pubpage-grid { grid-template-columns: 1fr; }
}

/* ─── Legal pages ───────────────────────────────────────────────────── */
.legal-content {
    max-width: 720px;
    padding: 64px 24px 80px;
}
.legal-content h1 {
    font-size: 36px;
    margin-bottom: 8px;
}
.legal-content .updated {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 32px;
}
.legal-content h2 {
    font-size: 20px;
    margin-top: 36px;
    margin-bottom: 12px;
}
.legal-content p { font-size: 15px; }
.legal-content ul {
    padding-left: 22px;
    color: var(--ink-2);
}
.legal-content li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.55;
}

/* ─── Plan limits comparison (Dev_Docs/Plan_Limits_Comparison_Page_Plan.md) ─── */
/* Per-card link to the comparison page. */
.price-limits-link {
    display: inline-block;
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-ink);
    text-decoration: none;
}
.price-limits-link:hover { text-decoration: underline; }

.limits-empty {
    margin-top: 32px;
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    max-width: 560px;
}
.limits-empty p { color: var(--muted); margin: 0 0 16px; }

/* Wrap so many columns scroll horizontally on narrow screens instead of
   breaking the page. */
.limits-scroll {
    margin-top: 36px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.limits-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    background: var(--surface);
    font-size: 14px;
}
.limits-table th,
.limits-table td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid var(--line);
}
.limits-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--surface);
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
    border-bottom: 2px solid var(--line-strong);
}
/* Row-label column: left-aligned, sticky so labels stay visible while the
   plan columns scroll. */
.limits-rowhead {
    text-align: left !important;
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--surface);
    color: var(--ink);
    font-weight: 600;
}
.limits-table thead .limits-rowhead { z-index: 3; }

/* Featured plan column echoes the featured price-card. */
.limits-table thead th.is-featured {
    color: var(--accent-ink);
    background: var(--accent-soft);
}

.limits-group th {
    text-align: left;
    background: var(--bg);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: sticky;
    left: 0;
}

.limits-per {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
}
.limits-legend {
    margin-top: 14px;
    font-size: 13px;
    color: var(--muted);
}
.limits-legend .limits-per { margin-left: 0; }

/* Cell kinds. */
.limits-table td.lim-num { color: var(--ink); font-weight: 600; }
.limits-table td.lim-unlimited { color: var(--accent-ink); font-weight: 600; }
.limits-table td.lim-none { color: var(--muted); }
