/* ═══════════════════════════════════════════
   Qpid — site styles
   Warm, editorial, clear. One system for every page.
   ═══════════════════════════════════════════ */

:root {
    /* Brand */
    --ink:         #1f0f33;
    --plum:        #1f0f33;   /* primary buttons are ink */
    --plum-deep:   #3a2358;
    --rose:        #8a2fb3;   /* small bold section labels: a deep purple that passes 4.5:1 on paper */
    --yellow:      #ffcc00;
    --red:         #ff3b30;
    --purple:      #b052de;
    --blush:       #d9b8ff;
    --blush-soft:  #d9b8ff;
    --level-1:     #ffcc00;
    --level-2:     #ff3b30;
    --level-3:     #b052de;

    /* Surfaces */
    --bg:          #f3ebfa;
    --surface:     #fbf7fe;
    --surface-alt: #e9dcf7;
    --night:       #1f0f33;
    --night-deep:  #1f0f33;
    --line:        #1f0f33;

    /* Text */
    --text:        #1f0f33;
    --heading:     #1f0f33;
    --muted:       #4b3a60;
    --on-dark:     #f3ebfa;
    --on-dark-dim: rgba(243, 235, 250, 0.82);

    /* Type */
    --font-body:    'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Fraunces', Georgia, serif;
    --font-accent:  'Fraunces', Georgia, serif;

    /* Shape & motion */
    --radius-sm: 12px;
    --radius-md: 12px;
    --radius-lg: 12px;
    --border: 3px solid var(--ink);
    --shadow-soft: none;
    --shadow-lift: none;
    --offset-shadow: 3px 3px 0 var(--red);
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ═══════════════════════════════════════════
   Base
   ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-variation-settings: 'SOFT' 100, 'opsz' 28; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 900; }

img { max-width: 100%; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 3px;
}

/* Purple is too faint on lavender, so the closing band uses ink. */
.final-cta a:focus-visible, .final-cta button:focus-visible, .final-cta input:focus-visible, .final-cta select:focus-visible { outline-color: var(--ink); }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 10px 14px;
    border: var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

/* ═══════════════════════════════════════════
   Logo and nav
   ═══════════════════════════════════════════ */
.hero-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.persistent-logo {
    position: fixed;
    top: 22px;
    left: max(32px, calc((100% - 1200px) / 2 + 32px));
    z-index: 150;
}

.logo-icon { height: 42px; width: auto; transition: transform 0.3s ease; }
.logo-name { height: 30px; width: auto; will-change: transform, opacity; }
.hero-logo:hover .logo-icon { transform: scale(1.05); }

/* Fixed top-right pill. Dark glass so it reads on the photo and on cream. */
nav.hero-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 160;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 18px 32px;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 1200px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    /* Paper ring inside an ink ring, so the pill stays visible over both paper and ink sections. */
    border: 2px solid var(--on-dark);
    border-radius: 999px;
    background: var(--ink);
    box-shadow: 0 0 0 2px var(--ink);
    pointer-events: auto;
}

.nav-links .nav-link {
    padding: 9px 16px;
    color: var(--on-dark-dim);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease;
}

.nav-links .nav-link:hover, .nav-links .nav-link[aria-current="page"] { color: #fff; }

.nav-links .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 17px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font: 800 0.88rem var(--font-body);
    text-decoration: none;
    transition: transform 280ms var(--ease), box-shadow 180ms ease, background 180ms ease;
}

.nav-links .nav-cta:hover {
    background: var(--yellow);
    box-shadow: 2px 2px 0 var(--purple);
    transform: translateY(-1px);
}

/* On the home page the hero already has the form, so the pill's button waits. */
.nav-links .nav-cta.is-deferred { display: none; }
body.past-hero .nav-links .nav-cta.is-deferred { display: inline-flex; animation: word-in 320ms var(--ease) both; }

.nav-links .nav-cta span { transition: transform 180ms ease; }
.nav-links .nav-cta:hover span { transform: translate(2px, -2px); }

/* ═══════════════════════════════════════════
   Home hero
   The photo stays bright. A soft warm scrim sits behind the text only,
   and the edges of the picture are left alone.
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: max(720px, min(880px, 100svh));
    overflow: hidden;
    background: var(--ink) url('../images/backgrounds/main-sm.webp') center 55% / cover no-repeat;
}

@media (min-width: 900px) {
    .hero { background-image: url('../images/backgrounds/main.webp'); }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 62% 52% at 50% 52%, rgba(31, 15, 51, 0.66) 0%, rgba(31, 15, 51, 0.4) 48%, rgba(31, 15, 51, 0) 78%),
        linear-gradient(180deg, rgba(31, 15, 51, 0.4) 0%, rgba(31, 15, 51, 0) 22%),
        linear-gradient(0deg, rgba(31, 15, 51, 0.38) 0%, rgba(31, 15, 51, 0) 26%);
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 150px 32px 120px;
    text-align: center;
}

.hero-tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--on-dark);
    font-size: clamp(2.9rem, 9.5vw, 5.6rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 0.98;
    text-shadow: 0 2px 28px rgba(24, 10, 46, 0.35);
}

.hero-tagline-word {
    display: block;
    min-height: 1.1em;
    padding-bottom: 0.06em;
    color: var(--purple);
    font-family: var(--font-accent);
    font-style: normal;
    font-weight: 900;
    letter-spacing: -0.035em;
    transition: opacity 180ms ease, transform 180ms ease;
}

.hero-tagline-word.is-leaving { opacity: 0; transform: translateY(-6px); }
.hero-tagline-word.is-entering { animation: word-in 440ms var(--ease) both; }

@keyframes word-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    max-width: 580px;
    color: var(--on-dark);
    font-size: clamp(1.02rem, 1.7vw, 1.2rem);
    font-weight: 500;
    line-height: 1.65;
    text-shadow: 0 1px 14px rgba(24, 10, 46, 0.45);
    text-wrap: balance;
}

.hero-scroll {
    position: absolute;
    bottom: 29px;
    left: max(32px, calc((100% - 1200px) / 2 + 32px));
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--on-dark-dim);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.hero-scroll span { width: 29px; height: 1px; background: var(--blush-soft); }
.hero-scroll:hover { color: #fff; }

/* ═══════════════════════════════════════════
   Waitlist form
   One bar for the email, a quiet pill for the city.
   ═══════════════════════════════════════════ */
.waitlist-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 540px;
    margin-inline: auto;
}

.waitlist-bar {
    display: flex;
    gap: 6px;
    padding: 6px;
    border: var(--border);
    border-radius: 999px;
    background: var(--surface);
}

.waitlist-bar input {
    flex: 1;
    min-width: 0;
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: 500 1rem var(--font-body);
}

.waitlist-bar input::placeholder { color: var(--muted); }
.waitlist-bar input:focus-visible { outline-offset: 0; }

.waitlist-bar button {
    min-height: 50px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-dark);
    font: 800 0.95rem var(--font-body);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms var(--ease);
}

.waitlist-bar button:hover { background: var(--plum-deep); box-shadow: 2px 2px 0 var(--purple); transform: translateY(-1px); }
.waitlist-bar button:disabled { opacity: 0.7; cursor: wait; transform: none; }

.waitlist-city {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.waitlist-city select,
.waitlist-city input {
    min-width: 0;
    min-height: 42px;
    padding: 0 18px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background-color: var(--surface);
    color: var(--ink);
    font: 700 0.92rem var(--font-body);
}

.waitlist-city select {
    appearance: none;
    -webkit-appearance: none;
    min-width: 200px;
    padding-right: 38px;
    background-image: linear-gradient(45deg, transparent 50%, #1f0f33 50%), linear-gradient(135deg, #1f0f33 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px;
    cursor: pointer;
}

.waitlist-city select option { color: var(--text); background: var(--surface); }
.waitlist-city input::placeholder { color: var(--muted); }
.waitlist-city .city-other-input[hidden] { display: none; }

.waitlist-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.waitlist-status {
    min-height: 1.2rem;
    margin-top: -8px;
    color: var(--on-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.waitlist-status.is-error { color: var(--yellow); }
.waitlist-status.is-success { color: var(--on-dark); }

.waitlist-note {
    margin-top: -6px;
    color: var(--on-dark);
    font-size: 0.88rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   How it works
   ═══════════════════════════════════════════ */
.feature-section {
    padding: 120px 32px 130px;
    background: var(--bg);
}

.section-intro {
    max-width: 740px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--rose);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.section-header {
    margin: 14px auto 0;
    color: var(--heading);
    font-size: clamp(2.1rem, 4.4vw, 3.3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-wrap: balance;
}

.feature-section .section-header,
.about-story .section-header { text-shadow: 3px 3px 0 var(--red); }

.section-header em,
.final-cta h2 em {
    color: var(--heading);
    font: 900 1em var(--font-accent);
    font-style: italic;
    letter-spacing: -0.02em;
    padding-right: 0.08em;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 96px;
    max-width: 1060px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 72px;
}

.step:nth-child(even) .step-text { order: 2; }

.step-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--rose);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.step-title {
    margin-bottom: 16px;
    color: var(--heading);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-wrap: balance;
}

.step-description {
    max-width: 440px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.step-description em { color: var(--ink); font-style: normal; font-weight: 800; }

.step-visual {
    position: relative;
    height: 400px;
    overflow: hidden;
    border: var(--border);
    border-radius: var(--radius-lg);
    background: var(--blush);
}

.step-visual--questions { height: auto; background: var(--blush); }
.step-visual--wide { aspect-ratio: 4 / 3; }
.step-visual--profiler { height: 400px; background: var(--blush); }

/* A level-colored stripe on each step card, as on the question cards. */
.step-visual::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    height: 16px;
    border-bottom: 3px solid var(--ink);
    background: var(--yellow);
}

.step:nth-child(2) .step-visual::before { background: var(--red); }
.step:nth-child(3) .step-visual::before { background: var(--purple); }

.step-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}




/* Type Profiler photo reel (driven by the script on the home page) */
.step-visual--profiler { container-type: inline-size; }

.gallery {
    --gap: 6px;
    --gallery-item-size: calc((100cqw - 60px) / 6);
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    gap: var(--gap);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.reel {
    position: relative;
    width: var(--gallery-item-size);
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.reel:active { cursor: grabbing; }

.reel-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    will-change: transform;
}

.reel-track img {
    display: block;
    width: var(--gallery-item-size);
    height: var(--gallery-item-size);
    border: 2px solid var(--ink);
    border-radius: 8px;
    object-fit: cover;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   Closing band
   ═══════════════════════════════════════════ */
.final-cta {
    position: relative;
    padding: 110px 32px 116px;
    overflow: hidden;
    background: var(--blush);
    color: var(--ink);
    text-align: center;
}

.final-cta-inner { position: relative; max-width: 760px; margin: 0 auto; }
.final-cta .section-kicker { color: var(--ink); }

.final-cta h2 {
    margin: 16px auto 14px;
    color: var(--ink);
    font-size: clamp(2.4rem, 5.6vw, 4rem);
    font-weight: 900;
    text-shadow: none;
    letter-spacing: -0.03em;
    line-height: 1.04;
    text-wrap: balance;
}

.final-cta h2 em { color: var(--ink); }

.final-cta-lede {
    margin-bottom: 30px;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 600;
}

.final-cta .waitlist-status, .final-cta .waitlist-note { color: var(--ink); }
.final-cta .waitlist-bar button:hover { box-shadow: none; background: var(--plum-deep); }
.final-cta .button-pill { background: var(--ink); color: var(--on-dark); }
.final-cta .button-pill:hover { background: var(--plum-deep); }

/* ═══════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════ */
.footer {
    padding: 64px 32px 24px;
    background: var(--night-deep);
    color: var(--on-dark-dim);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1136px;
    margin: 0 auto;
}

.footer-left { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo img.logo-icon { height: 30px; }
.footer-logo img.logo-name { height: 19px; }
.footer-tagline { margin-top: 3px; color: var(--on-dark-dim); font-size: 0.9rem; }

.footer-socials { display: flex; gap: 10px; margin-top: 6px; }

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 9px;
    border: 1px solid rgba(255, 250, 246, 0.22);
    border-radius: 50%;
    color: var(--on-dark-dim);
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}

.social-icon svg { width: 100%; height: 100%; fill: currentColor; }

.social-icon:hover {
    border-color: var(--blush);
    background: rgba(217, 184, 255, 0.14);
    color: #fff;
    transform: translateY(-2px);
}

.footer-right { display: flex; gap: 72px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links h4 {
    margin-bottom: 4px;
    color: var(--on-dark);
    font: 800 0.82rem var(--font-body);
    letter-spacing: 0.04em;
}

.footer-links a {
    color: var(--on-dark-dim);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 180ms ease;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    max-width: 1136px;
    margin: 44px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 250, 246, 0.12);
    color: rgba(243, 235, 250, 0.72);
    font-size: 0.8rem;
}

/* ═══════════════════════════════════════════
   Inner pages: About, Privacy, Terms, Thank you
   ═══════════════════════════════════════════ */
.page-hero, .thankyou-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 360px;
    overflow: hidden;
    background: var(--ink);
}

.page-hero--legal {
    min-height: 320px;
    background: var(--ink);
}

/* About and Thank you reuse the home photo, with the same text-only scrim. */
.page-hero--photo, .thankyou-hero {
    min-height: 480px;
    background: var(--ink) url('../images/backgrounds/main-sm.webp') center 72% / cover no-repeat;
}

@media (min-width: 900px) {
    .page-hero--photo, .thankyou-hero { background-image: url('../images/backgrounds/main.webp'); }
}

.page-hero--photo::before, .thankyou-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 70% at 50% 55%, rgba(31, 15, 51, 0.66) 0%, rgba(31, 15, 51, 0.38) 50%, rgba(31, 15, 51, 0) 80%),
        linear-gradient(180deg, rgba(31, 15, 51, 0.4) 0%, rgba(31, 15, 51, 0) 30%);
}

.thankyou-hero { min-height: min(760px, 92svh); }

.page-hero .hero-content, .thankyou-hero .hero-content { padding: 140px 24px 64px; }
.thankyou-hero .hero-content { gap: 18px; padding-bottom: 80px; }

.page-hero .hero-tagline, .thankyou-hero .hero-tagline {
    display: block;
    max-width: 850px;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.04;
}

.hero-tagline em {
    color: var(--purple);
    font: 900 1.05em var(--font-accent);
    letter-spacing: -0.02em;
}

.page-hero .hero-subtitle, .thankyou-hero .hero-subtitle { max-width: 600px; line-height: 1.7; }

.checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: var(--yellow);
    border: 3px solid var(--ink);
    animation: pop-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.checkmark svg { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

@keyframes pop-in {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.back-link, .button-pill {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    border: 3px solid var(--ink);
    background: var(--surface);
    color: var(--ink);
    font: 800 0.95rem var(--font-body);
    text-decoration: none;
    transition: background 180ms ease, transform 180ms ease;
}

.back-link { margin-top: 0.8rem; }
.back-link:hover, .button-pill:hover { background: var(--blush); transform: translateY(-1px); }

.confetti-canvas { position: fixed; inset: 0; z-index: 10; pointer-events: none; }

/* ── About ───────────────────────────────── */
.about-section { max-width: 1104px; margin: 0 auto; padding: 96px 32px 24px; }
.about-section .section-intro { max-width: none; margin: 0 0 40px; text-align: left; }
.about-section .section-kicker { justify-content: flex-start; }
.about-section .section-header { margin: 14px 0 0; text-wrap: balance; }

.about-statement {
    margin-bottom: 56px;
    padding: 56px 48px;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: var(--on-dark);
    font: 900 clamp(1.8rem, 3.8vw, 2.9rem)/1.15 var(--font-display);
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.about-statement em {
    display: block;
    margin-top: 8px;
    color: var(--yellow);
    font: 900 1em var(--font-accent);
    font-style: italic;
}

.about-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 56px;
    margin-bottom: 56px;
}

.about-col > * + * { margin-top: 1.1rem; }

.about-row-label {
    margin-bottom: 18px;
    color: var(--rose);
    font: 800 0.95rem var(--font-body);
    letter-spacing: 0.04em;
}

.about-col p { color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.about-col em { color: var(--ink); }

.pillar-stack { display: grid; gap: 20px; margin-top: 20px; }

/* One card style for the About page: ink border all round, a level-colored
   stripe across the top, a paper-colored body. Each stripe color is used once. */
.pillar-card, .pull-quote {
    position: relative;
    overflow: hidden;
    border: var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.pillar-card::before, .pull-quote::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 16px;
    border-bottom: 3px solid var(--ink);
    background: var(--yellow);
}

.pillar-card { padding: 40px 30px 32px; }
.pillar-card--alt::before { background: var(--red); }
.pillar-card h3 { margin-bottom: 8px; color: var(--ink); font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.2; }
.pillar-card p { color: var(--ink); font-size: 1.05rem; line-height: 1.65; }

.pull-quote {
    max-width: 820px;
    margin: 104px auto 0;
    padding: 60px 48px 44px;
    color: var(--ink);
    font: 900 clamp(1.5rem, 2.8vw, 2.1rem)/1.3 var(--font-accent);
    letter-spacing: -0.015em;
    text-align: center;
    text-wrap: balance;
}

.pull-quote::before { background: var(--purple); }

.name-band { margin-top: 72px; padding: 96px 32px; background: var(--ink); color: var(--on-dark); }

.name-band-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 56px;
    max-width: 1040px;
    margin: 0 auto;
}

.name-band-q { color: var(--purple); font: 900 clamp(12rem, 26vw, 20rem)/0.8 var(--font-accent); text-align: center; }
.name-band .section-kicker { justify-content: flex-start; color: var(--on-dark-dim); }
.name-band .section-header { margin: 14px 0 24px; color: var(--on-dark); text-align: left; text-shadow: none; }
.name-band-sub { margin-bottom: 14px; color: var(--purple); font-size: 1.25rem; letter-spacing: -0.02em; }
.name-band p:not(.section-kicker) { max-width: 640px; margin-bottom: 1rem; color: var(--on-dark-dim); font-size: 1.05rem; line-height: 1.75; }

.about-team { padding-bottom: 112px; }
.team-section { max-width: 720px; }

.team-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 36px;
    border: var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: left;
}

.team-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; width: 100%; margin-bottom: 1.5rem; }

.nametag {
    display: inline-flex;
    background-color: var(--yellow);
    color: var(--ink);
    align-items: center;
    flex-shrink: 0;
    padding: 0.6rem;
    border: 3px solid var(--ink);
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 800;
}

.nametag-emoji { margin: 0 0.6rem 0 0.3rem; font-size: 1.5rem; line-height: 1; }
.nametag-words { margin-right: 0.7rem; letter-spacing: -0.01em; white-space: nowrap; }

.team-title-group { display: flex; flex-direction: column; }
.team-title-group h3 { margin-bottom: 0.2rem; color: var(--heading); font-size: 1.5rem; letter-spacing: -0.03em; }
.team-role { color: var(--rose); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.04em; }

.team-info p { margin-bottom: 1rem; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.team-social { padding-top: 6px; }
.team-link { display: inline-flex; color: var(--ink); transition: color 180ms ease, transform 180ms ease; }
.team-link:hover { color: var(--rose); transform: translateY(-1px); }

/* ── Legal pages ─────────────────────────── */
.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 760px);
    justify-content: center;
    gap: 72px;
    padding: 72px 32px 110px;
}

.legal-toc {
    position: sticky;
    top: 96px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: calc(100svh - 120px);
    overflow-y: auto;
    padding-left: 18px;
    border-left: 3px solid var(--ink);
}

.legal-toc-title {
    margin-bottom: 10px;
    color: var(--rose);
    font: 800 0.95rem var(--font-body);
    letter-spacing: 0.04em;
}

.legal-toc a {
    position: relative;
    padding: 6px 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color 180ms ease;
}

.legal-toc a:hover { color: var(--heading); }
.legal-toc a.is-active { color: var(--ink); font-weight: 800; }
.legal-toc a.is-active::before { content: ''; position: absolute; left: -21px; top: 6px; bottom: 6px; width: 3px; background: var(--red); }

.legal-content section { margin-bottom: 3.2rem; scroll-margin-top: 90px; }

.legal-content h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 3px solid var(--ink);
    color: var(--heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.legal-content h3 { margin: 1.6rem 0 0.6rem; color: var(--ink); font-size: 1.1rem; font-weight: 900; letter-spacing: -0.02em; }
.legal-content p { margin-bottom: 0.95rem; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.legal-content ul, .legal-content ol { margin: 0.6rem 0 1rem 1.3rem; }
.legal-content li { margin-bottom: 0.45rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.legal-content li::marker { color: var(--red); }
.legal-content a { color: var(--ink); font-weight: 700; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--rose); }
.legal-content strong { color: var(--heading); }

.legal-callout {
    margin: 1.2rem 0;
    padding: 1.1rem 1.3rem;
    border: var(--border);
    border-radius: var(--radius-sm);
    background: var(--blush);
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-table {
    display: block;
    width: 100%;
    margin: 1.2rem 0;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.legal-table th, .legal-table td {
    min-width: 140px;
    padding: 0.8rem 1rem;
    border: var(--border);
    color: var(--muted);
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
}

.legal-table th { background: var(--surface-alt); color: var(--heading); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.legal-table td { background: var(--surface); }

.caps-block {
    margin: 1.2rem 0;
    padding: 1.3rem;
    border: var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   Reveal on scroll
   ═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

@media (scripting: none) {
    .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 860px) {
    nav.hero-nav { padding: 18px 22px; }
    .persistent-logo { top: 18px; left: 22px; }
    .hero { background-position: 57% center; }
    .hero-content { padding: 140px 24px 110px; }
    .feature-section { padding: 88px 24px 98px; }
    .step { grid-template-columns: 1fr; gap: 32px; }
    .step:nth-child(even) .step-text { order: 0; }
    .step-list { gap: 72px; }
    .step-description { max-width: none; }
    .step-visual--profiler { height: 340px; }
    .final-cta { padding: 88px 24px; }
    .about-section { padding: 72px 24px 24px; }
    .about-split { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
    .about-statement { padding: 36px 28px; }
    .pull-quote { margin-top: 72px; padding: 52px 24px 36px; }
    .name-band { padding: 80px 24px; }
    .name-band-inner { grid-template-columns: 1fr; gap: 20px; }
    .name-band-q { font-size: 9rem; text-align: left; }
    .legal-layout { grid-template-columns: minmax(0, 1fr); padding: 48px 24px 80px; }
    .legal-toc { display: none; }
}

@media (max-width: 600px) {
    .feature-section .section-header, .about-story .section-header { text-shadow: 2px 2px 0 var(--red); }
    nav.hero-nav { padding: 16px 19px; }
    .persistent-logo { top: 16px; left: 19px; }
    .logo-icon { height: 36px; }
    .logo-name { height: 25px; }
    .nav-links .nav-cta { padding: 9px 13px; font-size: 0.79rem; }
    nav.hero-nav { pointer-events: none; }
    .hero { background-position: 59% center; }
    .hero-content { padding: 128px 20px 100px; gap: 18px; }
    .hero-scroll { left: 22px; bottom: 23px; }
    .feature-section { padding: 72px 20px 80px; }
    .section-intro { margin-bottom: 44px; }
    .step-visual--profiler { height: 300px; }
    .final-cta { padding: 76px 20px; }
    .footer { padding: 48px 22px 20px; }
    .footer-content, .footer-right { flex-direction: column; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 6px; margin-top: 30px; }
    .page-hero .hero-content { padding: 120px 22px 40px; }
    .about-section { padding: 56px 20px 20px; }
    .about-team { padding-bottom: 80px; }
    .team-card { padding: 26px 22px; }
    .legal-layout { padding: 36px 20px 64px; }
    .nav-links .nav-link { display: none; }
    .thankyou-hero { min-height: 650px; }
}

@media (max-width: 480px) {
    .waitlist-bar { flex-direction: column; border-radius: 22px; }
    .waitlist-bar input { min-height: 48px; text-align: center; }
    .waitlist-bar button { min-height: 48px; }
    .waitlist-city { flex-direction: column; align-items: stretch; }
    .waitlist-city select { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
