:root {
    --orange: #ca4c00;
    --orange-dark: #a03d00;
    --blue: #454c71;
    --blue-dark: #2d3347;
    --ink: #212529;
    --muted: #5c636a;
    --line: #dee2e6;
    --panel: #f8f9fa;
    --bg: #ffffff;
    --ok: #1e7e34;
    --err: #b02a37;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }

.brand { padding: 20px 0 8px; display: flex; align-items: baseline; gap: 10px; }
.brand b { font-size: 1.5rem; font-weight: 800; color: var(--orange); letter-spacing: 0.02em; }
.brand span { font-size: 0.8rem; color: var(--blue); font-weight: 600; }

.hero { padding: 16px 0 48px; text-align: center; }
.hero .lede { max-width: 620px; margin-left: auto; margin-right: auto; }
.hero .card, .hero .proof { text-align: left; }

.eyebrow {
    display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--orange); background: #fff1e8;
    padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 14px; color: var(--blue-dark); font-weight: 800; }
h1 em { font-style: normal; color: var(--orange); }
.lede { font-size: 1.1rem; color: var(--muted); margin: 0 0 22px; }

.proof { margin-bottom: 24px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* YouTube Short: portrait, sized so the whole video fits on a phone screen with the form just below. */
.proof.portrait { border: 0; background: none; border-radius: 0; overflow: visible; }
.video.portrait { aspect-ratio: 9 / 16; width: min(100%, 420px, calc(80svh * 9 / 16)); margin: 0 auto; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 32px rgba(45, 51, 71, 0.18); }

/* Before/after illustration shown until the demo video is supplied (synthetic content). */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; padding: 18px; align-items: center; }
.ba-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: 0.78rem; min-height: 190px; }
.ba-card h4 { margin: 0 0 8px; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ba-raw p { margin: 0 0 6px; color: #6c757d; }
.ba-raw .spk { font-weight: 700; color: var(--blue); }
.ba-arrow { font-size: 1.6rem; color: var(--orange); font-weight: 800; }
.ba-doc .f { margin-bottom: 7px; }
.ba-doc .f b { display: block; font-size: 0.68rem; color: var(--blue); text-transform: uppercase; letter-spacing: 0.04em; }
.ba-doc .bar { height: 7px; background: #e9ecef; border-radius: 4px; margin-top: 3px; }

.form-heading { margin: 8px 0 14px; font-size: 1.6rem; font-weight: 800; color: var(--blue-dark); text-align: center; }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 12px 32px rgba(45, 51, 71, 0.12); padding: 24px;
    scroll-margin-top: 12px;
}
.steps { display: flex; gap: 6px; margin-bottom: 16px; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.steps span.on { background: var(--orange); }
.card h2 { margin: 0 0 4px; font-size: 1.35rem; color: var(--blue-dark); }
.card .sub { margin: 0 0 18px; color: var(--muted); font-size: 0.92rem; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
label .opt { font-weight: 400; color: var(--muted); }
.field { margin-bottom: 14px; }
input, select {
    width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px;
    border: 1px solid #ced4da; border-radius: 8px; background: #fff; color: var(--ink);
}
input:focus, select:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
    display: inline-block; width: 100%; border: 0; border-radius: 8px; cursor: pointer;
    background: var(--orange); color: #fff; font: inherit; font-weight: 700; font-size: 1.05rem;
    padding: 14px 18px; text-align: center; text-decoration: none;
}
.btn:hover { background: var(--orange-dark); }
.btn-ghost { background: #fff; color: var(--blue-dark); border: 1px solid #ced4da; margin-top: 10px; }
.btn-ghost:hover { background: var(--panel); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.choice .btn { margin-top: 0; font-size: 1.15rem; padding: 16px; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); background: #eef0f7; border: 1px solid #d5d9ea; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.fine { font-size: 0.78rem; color: var(--muted); margin: 12px 0 0; }
.msg { font-size: 0.88rem; margin: 12px 0 0; color: var(--err); display: none; }
.msg.show { display: block; }

.why { background: var(--panel); border-top: 1px solid var(--line); padding: 40px 0; }
.why h3 { margin: 0 0 6px; color: var(--blue-dark); font-size: 1.05rem; }
.why p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.why .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

footer { padding: 22px 0 32px; font-size: 0.8rem; color: var(--muted); }

/* Thank-you page */
.thanks { padding: 12px 0 40px; text-align: center; }
.thanks .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 1.8rem; font-weight: 800; display: grid; place-items: center; margin: 8px auto 14px; }
.thanks h1 { margin-bottom: 8px; }
.thanks .lede { max-width: 640px; margin: 0 auto 26px; }
.book { max-width: 900px; margin: 0 auto; text-align: left; }
.book iframe { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: 12px; }
.book .btn { max-width: 380px; display: block; margin: 0 auto; }
.next { max-width: 640px; margin: 30px auto 0; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.next h3 { margin: 0 0 8px; font-size: 1rem; color: var(--blue-dark); }
.next ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 0.93rem; }
.next li { margin-bottom: 4px; }

@media (max-width: 860px) {
    .why .cols { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 520px) {
    .row2 { grid-template-columns: 1fr; gap: 0; }
    .ba { grid-template-columns: 1fr; }
    .ba-arrow { transform: rotate(90deg); text-align: center; }
    .ba-card { min-height: 0; }
    .book iframe { height: 640px; }
    /* Phone: tighter chrome so the video and the first question share the screen. */
    .brand { padding: 14px 0 4px; }
    .brand span { font-size: 0.72rem; }
    .hero { padding: 8px 0 32px; }
    .eyebrow { margin-bottom: 10px; }
    h1 { font-size: 1.7rem; margin-bottom: 10px; }
    .lede { font-size: 1rem; margin-bottom: 16px; }
            .proof { margin-bottom: 20px; }
    /* Phone: the video runs edge to edge (landscape or Short). */
    .proof.has-video { margin-left: -16px; margin-right: -16px; border: 0; border-radius: 0; }
    .video.portrait { width: 100%; border-radius: 0; box-shadow: none; }
    .card { padding: 20px 16px; border-radius: 12px; }
    .card h2 { font-size: 1.2rem; }
    .form-heading { font-size: 1.35rem; margin: 4px 0 12px; }
    .why { padding: 28px 0; }
}

/* ---- Founder strip (top of page, scrolls away) ---- */
.topbar { background: #2d3347; color: #fff; font-size: 0.85rem; line-height: 1.3; }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; }
.topbar-link svg { color: #fff; flex: none; }
.topbar-link:hover span { text-decoration: underline; }
.topbar-sep { opacity: 0.6; }
@media (max-width: 520px) {
    .topbar { font-size: 0.8rem; }
    .topbar-inner { flex-direction: column; gap: 2px; }
    .topbar-sep { display: none; }
}

/* ---- Privacy reassurance under the form ---- */
.privacy-strip { margin: 16px auto 0; max-width: 520px; text-align: left; font-size: 0.9rem; color: var(--muted); }
.privacy-strip-title { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-weight: 700; color: var(--blue-dark); }
.privacy-strip-title svg { color: var(--ok); flex: none; }
.privacy-strip ul { list-style: none; margin: 0 0 8px; padding: 0; }
.privacy-strip li { position: relative; padding-left: 22px; margin-bottom: 3px; }
.privacy-strip li::before { content: "\2713"; position: absolute; left: 2px; top: 0; color: var(--ok); font-weight: 800; }
.privacy-strip a { color: var(--orange); font-weight: 600; text-decoration: none; }
.privacy-strip a:hover { text-decoration: underline; }

/* ---- Phone-only pinned CTA (hidden once the form is on screen) ---- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
    .sticky-cta {
        display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 50; padding: 15px 18px; border-radius: 12px; text-align: center; text-decoration: none;
        background: var(--orange); color: #fff; font-weight: 800; font-size: 1.05rem;
        box-shadow: 0 10px 28px rgba(45, 51, 71, 0.35);
        transform: translateY(160%); transition: transform 0.25s ease; pointer-events: none;
    }
    .sticky-cta.show { transform: translateY(0); pointer-events: auto; }
    footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---- Hook above the form, local/real-person note, book-now link ---- */
.form-lede { max-width: 600px; margin: -6px auto 12px; color: var(--muted); font-size: 1rem; }
.local-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 auto 16px; color: var(--blue); font-size: 0.9rem; font-weight: 600; }
.local-note svg { color: var(--orange); flex: none; }
.book-now { text-align: center; margin: 16px auto 0; font-size: 0.95rem; color: var(--muted); }
.book-now p { margin: 0; }
.book-now a { color: var(--orange); font-weight: 700; text-decoration: none; }
.book-now a:hover { text-decoration: underline; }
.book-tz { font-size: 0.8rem; color: #6c757d; margin-top: 4px !important; }
.book .book-tz { text-align: center; margin-top: 10px !important; }
@media (max-width: 520px) {
    .form-lede { font-size: 0.95rem; }
    .local-note { font-size: 0.85rem; text-align: left; }
}

/* ---- Stay-in-touch choices + CASL note ---- */
.optin { border: 0; margin: 2px 0 14px; padding: 0; }
.optin legend { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; padding: 0; }
.optin-row { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; font-size: 0.95rem; font-weight: 400; cursor: pointer; line-height: 1.4; }
.optin-row input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #ca4c00; cursor: pointer; }
.casl-fine { margin: 10px 0 0; font-size: 0.76rem; line-height: 1.45; color: #6c757d; }
.casl-fine a { color: inherit; text-decoration: underline; }

/* ---- Interactive portal demo: wider than the text column on computers, edge to edge on phones ---- */
.proof.demo-embed { position: relative; left: 50%; transform: translateX(-50%); width: min(1100px, calc(100vw - 48px)); height: clamp(560px, 78vh, 760px); margin-bottom: 0; background: #f5f6f8; box-shadow: 0 12px 32px rgba(45, 51, 71, 0.18); }
.proof.demo-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.demo-caption { margin: 10px auto 24px; max-width: 640px; font-size: 0.82rem; color: #6c757d; text-align: center; }
.demo-caption a { color: var(--orange); font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) {
    .proof.demo-embed { width: 100vw; height: 66svh; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
    /* Render the demo at 85% so more of it fits on a phone (still fully clickable). */
    .proof.demo-embed iframe { width: calc(100% / 0.85); height: calc(100% / 0.85); transform: scale(0.85); transform-origin: 0 0; }
}

/* Sub-point under a privacy-strip check (no check mark, slightly smaller) */
.privacy-strip .privacy-sub { list-style: none; margin: 2px 0 2px; padding: 0; }
.privacy-strip .privacy-sub li { padding-left: 14px; font-size: 0.82rem; color: #6c757d; }
.privacy-strip .privacy-sub li::before { content: "\2013"; color: #6c757d; font-weight: 400; left: 0; }
