:root {
    --theme-bg-primary: #FDFBF7;
    --theme-bg-secondary: #F7F4ED;
    --theme-bg-card: #FFFFFF;
    --theme-bg-dark: #1a1a2e;
    --theme-text-primary: #1a1a2e;
    --theme-text-secondary: #5a5a6e;
    --theme-text-muted: #8a8a9a;
    --theme-accent-primary: #7c3aed;
    --theme-accent-secondary: #a78bfa;
    --theme-accent-warm: #f59e0b;
    --theme-accent-green: #10b981;
    --theme-accent-rose: #e11d48;
    --theme-gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #c4b5fd 100%);
    --theme-gradient-warm: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --theme-gradient-hero: linear-gradient(180deg, #FDFBF7 0%, #F7F4ED 100%);
    --theme-border-subtle: rgba(26, 26, 46, 0.08);
    --theme-border-medium: rgba(26, 26, 46, 0.12);
    --theme-shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --theme-shadow-md: 0 8px 24px rgba(26, 26, 46, 0.08);
    --theme-shadow-lg: 0 24px 48px rgba(26, 26, 46, 0.12);
    --theme-shadow-glow: 0 8px 32px rgba(124, 58, 237, 0.2);
    --theme-font-display: 'Crimson Pro', Georgia, serif;
    --theme-font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --theme-font-mono: 'JetBrains Mono', monospace;
    --theme-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --theme-ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--theme-font-body);
    background: var(--theme-bg-primary);
    color: var(--theme-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
}

.layout-frame {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

/* Use the landing page foundation and paper texture for consistent branding. */
:root {
    color-scheme: light;
    --funnel-focus: var(--theme-accent-primary);
    --funnel-selected: #f3edff;
    --funnel-success: #047857;
}

body {
    min-height: 100svh;
    background: radial-gradient(ellipse at center top, rgba(124, 58, 237, 0.06), transparent 50%), var(--theme-gradient-hero);
}
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
svg { flex: 0 0 auto; vertical-align: middle; }
h1, p { margin: 0; }
h1 { font-family: var(--theme-font-display); font-size: clamp(2.1rem, 3.8vw, 3rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
h1 em { color: var(--theme-accent-primary); font-weight: inherit; }
h1:focus { outline: none; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--funnel-focus); outline-offset: 5px; }

.funnel-header { width: min(100% - 48px, 920px); margin: 0 auto; padding: 24px 0 0; }
.funnel-brand { display: flex; width: fit-content; align-items: center; gap: 12px; margin: 0 auto; color: var(--theme-text-primary); text-decoration: none; }
.funnel-brand__text { font-family: var(--theme-font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.funnel-brand__text span { background: var(--theme-gradient-primary); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.funnel-brand__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: var(--theme-gradient-primary); box-shadow: var(--theme-shadow-glow); }
.funnel-progress { height: 6px; overflow: hidden; margin-top: 22px; border-radius: 6px; background: rgba(124, 58, 237, 0.10); }
.funnel-progress span { display: block; height: 100%; border-radius: inherit; background: var(--theme-gradient-primary); transition: width 250ms ease; }
.funnel-main { min-height: calc(100svh - 96px); display: grid; align-items: center; padding: 48px 24px 72px; }
.funnel-intro, .funnel-result { width: min(100%, 840px); margin: 0 auto; text-align: center; padding: 36px 0; }
.funnel-intro h1 { font-size: clamp(2.75rem, 5.2vw, 4.25rem); letter-spacing: -0.035em; }
.funnel-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; margin-bottom: 28px; border: 1px solid rgba(124, 58, 237, 0.16); border-radius: 100px; background: rgba(124, 58, 237, 0.06); color: var(--theme-accent-primary); font-size: 0.875rem; }
.funnel-intro__description { max-width: 650px; margin: 24px auto 0; color: var(--theme-text-secondary); font-size: 1.125rem; line-height: 1.65; }
.funnel-intro__audience { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--theme-text-secondary); font-size: 0.9rem; margin: 32px auto; }
.funnel-intro__audience svg { color: var(--theme-accent-primary); }
.funnel-intro__audience { margin-bottom: 16px; flex-wrap: wrap; gap: 6px; }
.funnel-intro__audience strong { color: var(--theme-text-primary); }
.funnel-availability { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; max-width: 100%; margin: 0 auto 32px; padding: 8px 16px; border: 1px solid rgba(225, 29, 72, 0.18); border-radius: 100px; color: #be123c; background: #fff1f2; font-size: 0.875rem; font-weight: 500; }
.funnel-availability span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.funnel-button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 58px; padding: 16px 32px; border: 1px solid transparent; border-radius: 100px; background: linear-gradient(135deg, var(--theme-accent-primary), #6d28d9); color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.4; text-decoration: none; box-shadow: var(--theme-shadow-glow); transition: background 160ms ease, box-shadow 160ms ease; }
.funnel-button:hover { background: #6d28d9; box-shadow: 0 12px 32px rgba(124, 58, 237, 0.25); }
.funnel-button:disabled { background: #e9e3f1; color: #71677e; cursor: not-allowed; box-shadow: none; }
.funnel-button--wide { display: flex; width: 100%; margin-top: 32px; }
.funnel-note { color: var(--theme-text-secondary); font-size: 0.85rem; margin-top: 20px; }
.funnel-form { width: min(100%, 768px); margin: 0 auto; }
.funnel-back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 26px; padding: 8px 4px 8px 0; min-height: 40px; border: 0; background: transparent; color: var(--theme-text-secondary); font-size: 0.875rem; }
.funnel-back:hover { color: var(--theme-accent-primary); }
.funnel-step__number { margin-bottom: 18px; color: var(--theme-accent-primary); font-size: 0.875rem; font-weight: 700; }
.funnel-step__description { margin-top: 16px; color: var(--theme-text-secondary); font-size: 1rem; }
.funnel-options { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; border: 0; min-width: 0; }
.funnel-options--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.funnel-choice { position: relative; display: flex; align-items: center; gap: 18px; min-height: 86px; padding: 18px 22px; border: 1px solid var(--theme-border-medium); border-radius: 16px; background: var(--theme-bg-card); box-shadow: var(--theme-shadow-sm); cursor: pointer; transition: border-color 160ms ease, background 160ms ease; }
.funnel-choice:hover { background: #fcfaff; border-color: var(--theme-accent-secondary); }
.funnel-choice:has(input:checked) { background: var(--funnel-selected); border-color: var(--theme-accent-primary); }
.funnel-choice:has(input:focus-visible) { outline: 3px solid var(--funnel-focus); outline-offset: 3px; }
.funnel-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.funnel-choice__icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid rgba(124, 58, 237, 0.14); border-radius: 13px; background: rgba(124, 58, 237, 0.06); color: var(--theme-accent-primary); }
.funnel-choice__label { flex: 1; min-width: 0; font-size: 1rem; font-weight: 500; line-height: 1.45; }
.funnel-choice__indicator { position: relative; flex: 0 0 24px; height: 24px; border: 2px solid #93909f; border-radius: 50%; }
.funnel-choice input:checked ~ .funnel-choice__indicator { background: var(--theme-accent-primary); border-color: var(--theme-accent-primary); }
.funnel-choice input:checked ~ .funnel-choice__indicator::after { content: ''; position: absolute; width: 6px; height: 10px; border: solid white; border-width: 0 2px 2px 0; top: 3px; left: 7px; transform: rotate(45deg); }
.funnel-choice input[type="checkbox"] ~ .funnel-choice__indicator { border-radius: 7px; }
.funnel-error { margin-top: 16px; color: #be123c; }
.funnel-spinner { display: block; width: 64px; height: 64px; margin: 0 auto 36px; border: 3px solid #e5dcf6; border-left-color: var(--theme-accent-primary); border-radius: 50%; animation: funnel-spin 800ms linear infinite; }
.funnel-result__description { max-width: 630px; margin: 22px auto 32px; color: var(--theme-text-secondary); font-size: 1.125rem; line-height: 1.7; }
.funnel-review { display: grid; gap: 18px; width: fit-content; max-width: 100%; padding: 0; margin: 32px auto 0; list-style: none; text-align: left; }
.funnel-review li { display: flex; align-items: center; gap: 14px; }
.funnel-review li > span:first-child { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #ecfdf5; color: var(--funnel-success); font-weight: 800; }
.funnel-success { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 32px; color: var(--funnel-success); background: #ecfdf5; border: 1px solid rgba(16, 185, 129, 0.25); box-shadow: var(--theme-shadow-sm); }
@keyframes funnel-spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
    .funnel-header { width: calc(100% - 40px); padding-top: 18px; }
    .funnel-main { padding: 32px 20px 48px; }
    .funnel-intro, .funnel-result { padding: 24px 0; }
    .funnel-intro__description, .funnel-result__description { font-size: 1rem; }
    .funnel-intro__audience { font-size: 0.82rem; gap: 8px; }
    .funnel-form { align-self: start; }
    .funnel-options--columns { grid-template-columns: 1fr; }
    .funnel-choice { min-height: 78px; padding: 14px; gap: 12px; border-radius: 14px; }
    .funnel-choice__icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 11px; }
    .funnel-choice__label { font-size: 0.93rem; }
    .funnel-choice__indicator { flex-basis: 22px; height: 22px; }
    .funnel-choice input:checked ~ .funnel-choice__indicator::after { top: 2px; left: 6px; }
    .funnel-options { margin-top: 26px; gap: 12px; }
    .funnel-button { padding: 15px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* A short response to each action, with no continuous decorative movement. */
.funnel-progress span {
    transition: width 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

.funnel-button {
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.funnel-button svg, .funnel-back svg {
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.funnel-choice {
    transition: border-color 180ms ease, background 180ms ease,
        box-shadow 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.funnel-choice__indicator {
    transition: background 180ms ease, border-color 180ms ease;
}

.funnel-choice input:checked ~ .funnel-choice__indicator {
    animation: funnel-confirm 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.funnel-button:not(:disabled):active, .funnel-choice:active {
    transform: scale(0.985);
}

.funnel-result:not([hidden]) .funnel-success {
    animation: funnel-success-arrive 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.funnel-result:not([hidden]) .funnel-success path {
    stroke-dasharray: 1;
    animation: funnel-check-draw 440ms 200ms ease-out both;
}

@media (hover: hover) and (pointer: fine) {
    .funnel-choice:hover { transform: translateY(-2px); box-shadow: var(--theme-shadow-md); }
    .funnel-choice:active { transform: scale(0.985); }
    .funnel-button:not(:disabled):hover { transform: translateY(-2px); }
    .funnel-button:not(:disabled):active { transform: scale(0.985); }
    .funnel-button:not(:disabled):hover svg { transform: translateX(3px); }
    .funnel-back:hover svg { transform: translateX(-3px); }
}

@keyframes funnel-confirm {
    0% { transform: scale(0.75); }
    65% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes funnel-success-arrive {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes funnel-check-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .funnel-choice, .funnel-button, .funnel-button svg, .funnel-back svg { transform: none !important; }
}

.access-window {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 14px 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 16px;
    background: #f3edff;
    color: #5b21b6;
    font-family: var(--theme-font-body);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

.access-window svg { flex-shrink: 0; }
.access-window__time { font-variant-numeric: tabular-nums; font-size: 1.125rem; font-weight: 700; color: var(--theme-text-primary); }
.funnel-reservation { margin: 0 0 28px; }
.pricing-reservation { padding: 8px 20px 0; }
.funnel-reservation[hidden], .pricing-reservation[hidden], [data-access-time][hidden] { display: none; }

@media (max-width: 480px) {
    .access-window { gap: 8px; padding: 12px 14px; font-size: 0.8rem; }
}

