/* ===== The Orbital Journey (homepage, design doc v2) =====
   Default = static document: five stops stacked, a CSS orb in the hero.
   journey.js adds .is-pinned (motion allowed): the track becomes five
   viewports, the stage pins, the WebGL scene runs behind it and every
   [data-fly] block is placed by script. No filters, no blur anywhere.
   Purple = brand (labels, links, focus, active dot). Orange = CTAs only. */

.journey-body {
    --bg: #0a0e1a;
    --ink: #f0f2f8;
    --ink-2: #8b93b0;
    --brand: #7b5cff;
    --brand-text: #a594ff;       /* brand purple lifted for small text (AA on the dark bg) */
    --accent: #a259ff;           /* neon purple from the logo gradient; CTAs only */
    --accent-ink: #12081f;
    --card: rgba(20, 26, 46, 0.86);
    --line: #1e2742;
    --line-2: #3a4568;
    --shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 32px rgba(0, 0, 0, 0.35);
    --display: 'Space Grotesk', 'Space Grotesk Fallback', system-ui, sans-serif;
    --body: 'Inter', 'Inter Fallback', system-ui, sans-serif;

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

/* metric-matched stand-ins for the web fonts: text shows in Arial sized like the real font,
   so the swap does not shift the layout (fonts load async; see _JourneyLayout) */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial');
    size-adjust: 107.12%;
    ascent-override: 90.49%;
    descent-override: 22.56%;
    line-gap-override: 0%;
}
@font-face {
    font-family: 'Space Grotesk Fallback';
    src: local('Arial');
    size-adjust: 103.5%;
    ascent-override: 94%;
    descent-override: 28%;
    line-gap-override: 0%;
}

html.journey-snap { scroll-snap-type: y mandatory; }
::selection { background: rgba(123, 92, 255, 0.45); }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; }

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

.skip-link {
    position: absolute; left: 1rem; top: -3rem; z-index: 10;
    padding: 0.5rem 1rem; background: var(--accent); color: var(--accent-ink); border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* ---- shell ------------------------------------------------------ */
.jnav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 6; height: 76px;
    display: flex; align-items: center; justify-content: space-between; padding: 0 5vw;
    background: linear-gradient(rgba(10, 14, 26, 0.9), rgba(10, 14, 26, 0));
}
/* the lockup hangs below the bar; nothing sits under it at the top-left */
.jnav-brand { display: flex; align-self: flex-start; margin-top: 10px; }
.jnav-brand img { height: 120px; width: auto; }
.jfoot-logo { display: block; width: 220px; height: auto; margin-bottom: 0.9rem; }
.jnav-links { display: flex; align-items: center; gap: 1.6rem; }
.jnav-links a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.jnav-links a:hover { color: var(--brand-text); }
.jnav-links .btn { color: var(--accent-ink); }
.jnav-links .btn:hover { color: var(--accent-ink); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

.jfoot {
    position: relative; z-index: 2; scroll-snap-align: start;
    background: var(--bg); border-top: 1px solid var(--line);
    padding: 3rem 5vw 2rem; color: var(--ink-2); font-size: 0.95rem;
}
.jfoot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; max-width: 1100px; }
.jfoot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.jfoot a { color: var(--ink); text-decoration: none; }
.jfoot a:hover { color: var(--brand-text); }
.jfoot p { margin: 0; line-height: 1.6; }
.jfoot-brand { font-family: var(--display); font-weight: 700; color: var(--ink); margin-bottom: 0.5rem !important; }
.jfoot-small { margin-top: 2.5rem !important; font-size: 0.85rem; }

/* dot nav: real buttons, tooltips open to the left */
.onav {
    display: none; position: fixed; right: 1.6vw; top: 50%; transform: translateY(-50%); z-index: 6;
    flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none;
}
.journey-snap .onav { display: flex; }
.onav button {
    position: relative; display: block; width: 22px; height: 22px; padding: 0;
    border: 0; background: none; cursor: pointer;
}
.onav button::before {
    content: ''; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%;
    background: rgba(139, 147, 176, 0.45);
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.onav button span {
    position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
    font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-2); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.onav button:hover span, .onav button:focus-visible span { opacity: 1; }
.onav button.on::before { background: var(--brand); transform: scale(1.4); box-shadow: 0 0 0 5px rgba(123, 92, 255, 0.2); }
.onav button.on span { color: var(--brand-text); }

/* ---- scene ------------------------------------------------------ */
.journey { position: relative; isolation: isolate; }
.scene { display: none; }
.is-pinned .scene, .scene.backdrop { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
/* inner pages: the same scene, still and dimmed behind the text */
.scene.backdrop { opacity: 0.45; }
.scene.backdrop ~ main { position: relative; z-index: 1; }

/* CSS orb for the static page and for browsers without WebGL */
.orb-fallback {
    width: min(52vh, 32vw); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
    background:
        radial-gradient(circle at 36% 32%, rgba(255, 255, 255, 0.35), transparent 28%),
        radial-gradient(circle at 60% 65%, #7b5cff 0%, #4a7dff 45%, #1b1f4a 100%);
    box-shadow: 0 0 60px rgba(74, 125, 255, 0.45), 0 0 140px rgba(123, 92, 255, 0.25), inset -30px -24px 70px rgba(6, 8, 24, 0.7);
}
.is-pinned .orb-fallback { display: none; }
.is-pinned.no-webgl .orb-fallback { display: block; position: fixed; left: 50%; top: 50%; width: 44vmin; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; }

/* ---- track & stage ------------------------------------------------ */
.track { position: relative; z-index: 1; }
.snap, .scrim { display: none; }
.is-pinned .track { height: 500vh; }        /* journey.js replaces vh with the real viewport */
.is-pinned .snap { display: block; position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; }
.is-pinned .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }

/* ---- stops: static document --------------------------------------- */
.stop { position: relative; padding: 6rem 5vw 3rem; }
.stop + .stop { border-top: 1px solid var(--line); }
.stop-1 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem; align-items: center; min-height: 80vh; }
.hero-text, .l2, .l3-head, .l4, .l5-text, .l5-form { display: grid; gap: 1rem; align-content: center; }
.l2, .l4, .l5-text { max-width: 640px; }
.l2-grid, .arc { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.arc { margin-top: 1.5rem; }
.l5-form { max-width: 560px; margin-top: 2rem; }
.quotes { display: grid; gap: 1rem; }

/* ---- stops: pinned stage ------------------------------------------- */
.is-pinned .stop { position: absolute; inset: 0; padding: 0; border: 0; display: block; min-height: 0; }
.is-pinned [data-fly] { opacity: 0; will-change: transform, opacity; }

/* L1: text left, orb right, trust bar along the bottom */
.is-pinned .hero-text { position: absolute; left: 5vw; top: 50%; transform: translateY(-50%); width: min(600px, 44vw); }
.is-pinned .trust-bar { position: absolute; left: 5vw; right: 5vw; bottom: 28px; }
.trust-bar { font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink-2); margin: 0; }
.trust-bar span { display: inline-block; white-space: nowrap; }
.trust-bar span + span::before { content: '·'; margin: 0 0.6em; color: var(--brand-text); }

/* L2: orb left; the 2x2 grid leans with the orbit */
.is-pinned .l2 { position: absolute; right: 5vw; top: 50%; transform: translateY(-50%); width: min(46vw, 640px); }

/* L3: heading top-left; cards placed by journey.js along the ring's lower curve */
.is-pinned .l3-head { position: absolute; left: 5vw; top: 150px; width: min(420px, 40vw); }
.is-pinned .arc { display: block; margin: 0; }
.is-pinned .arc .work { position: absolute; width: 250px; }

/* L4: quiet column left, orb right */
.is-pinned .l4 { position: absolute; left: 5vw; top: 50%; transform: translateY(-50%); width: min(48vw, 600px); }

/* L5: text left, form cradled by the orb's lower curve */
.is-pinned .l5-text { position: absolute; left: 5vw; top: 50%; transform: translateY(-50%); width: min(27vw, 380px); }
.is-pinned .l5-form { position: absolute; left: 50%; top: 42vh; width: min(520px, 40vw); margin: 0; }

/* ---- type ------------------------------------------------------- */
.stop-label { display: block; font-family: var(--display); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand-text); }
.stop h1, .stop h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; color: var(--ink); margin: 0; }
.stop h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); }
.stop h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.stop p { color: var(--ink-2); line-height: 1.65; margin: 0; }
.lead { font-size: 1.08rem; max-width: 46ch; }

.btn {
    position: relative; display: inline-block; font-family: var(--display); font-weight: 600; font-size: 1rem;
    padding: 0.9rem 1.8rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
    text-decoration: none; white-space: nowrap;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s, border-color 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #b878ff; color: var(--accent-ink); transform: translateY(-2px); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: rgba(20, 26, 46, 0.6); }
.btn-ghost:hover { color: var(--ink); border-color: var(--brand-text); background: rgba(123, 92, 255, 0.08); transform: translateY(-2px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

/* heartbeat on the two conversion buttons */
.btn-pulse::after {
    content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
    box-shadow: 0 0 0 6px rgba(162, 89, 255, 0.22), 0 0 28px rgba(162, 89, 255, 0.55);
    opacity: 0; animation: heartbeat 2.5s ease-in-out infinite;
}
@keyframes heartbeat { 50% { opacity: 1; } }

/* ---- cards ------------------------------------------------------ */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem 1.3rem; box-shadow: var(--shadow); }
.card h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 600; margin: 0 0 0.35rem; color: var(--ink); }
.card p { font-size: 0.92rem; }
.card .more { display: inline-block; margin-top: 0.6rem; color: var(--brand-text); font-size: 0.88rem; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.card-cta { border-color: rgba(123, 92, 255, 0.55); background: linear-gradient(135deg, rgba(123, 92, 255, 0.18), rgba(123, 92, 255, 0.04)), var(--card); }
.card-cta .btn { margin-top: 0.9rem; }

.work { display: block; overflow: hidden; padding: 0; color: inherit; text-decoration: none; transition: border-color 0.3s; }
a.work:hover { border-color: var(--brand-text); color: inherit; }
.work img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }   /* height:auto beats the height attribute */
.work-body { padding: 0.75rem 1rem 0.9rem; }
.work-body h3 { font-size: 0.98rem; margin-bottom: 0.15rem; }
.work-body p { font-size: 0.82rem; line-height: 1.45; }
.work-body .more { margin-top: 0.3rem; }

.quote { margin: 0; padding: 1.3rem 1.4rem; }
.quote-logo { display: block; width: auto; height: 42px; margin: 0 0 0.9rem; object-fit: contain; }
.quote blockquote { margin: 0 0 0.8rem; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.quote cite { display: block; font-style: normal; font-size: 0.85rem; color: var(--ink-2); }
.quote cite strong { color: var(--ink); font-weight: 600; }

/* ---- L5 ---------------------------------------------------------- */
.price { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.price strong { color: var(--brand-text); }
.alt { font-size: 0.95rem; }
.alt a { color: var(--ink); }

.qform { display: grid; gap: 0.75rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; box-shadow: var(--shadow); }
.qform label { display: grid; gap: 0.3rem; font-size: 0.82rem; color: var(--ink-2); }
.qform input, .qform select, .qform textarea {
    width: 100%; box-sizing: border-box; font: inherit; font-size: 0.95rem; color: var(--ink); background: #0a0e1a;
    border: 1px solid var(--line-2); border-radius: 8px; padding: 0.6rem 0.8rem;
}
.qform input::placeholder, .qform textarea::placeholder { color: #6b7390; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: 2px solid var(--brand-text); outline-offset: 0; border-color: var(--brand-text); }
.qform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.qform .btn { width: 100%; }
.qform .hp { position: absolute; left: -9999px; }
#tsInline:empty { display: none; }
#tsInline iframe { display: block; }
.form-error { color: #ff8a8a; font-size: 0.85rem; }
.form-error:empty { display: none; }

/* ---- short desktop viewports ------------------------------------ */
@media (max-height: 800px) and (min-width: 1024px) {
    .card { padding: 1rem 1.1rem; }
    .is-pinned .arc .work { width: 220px; }
    .is-pinned .l5-form { top: 36vh; }
    .qform { gap: 0.55rem; padding: 1rem; }
}

/* ---- mobile: orb up top behind a scrim, content beneath ------------ */
@media (max-width: 1023px) {
    .jnav { padding: 0 1rem; }
    .jnav-brand { margin-top: 8px; }
    .jnav-brand img { height: 72px; }
    .jnav .btn-sm { padding: 0.5rem 0.85rem; font-size: 0.85rem; }
    .jnav-links { gap: 1rem; }
    .jnav-links a:not(.btn) { display: none; }
    .jfoot-grid { grid-template-columns: 1fr; }
    .journey-snap .onav { display: none; }

    .stop { padding: 5rem 1rem 2rem; }
    .stop-1 { grid-template-columns: 1fr; min-height: 0; }
    .stop-1 .orb-fallback { width: 56vw; margin-top: 1rem; }
    .l2-grid, .arc { grid-template-columns: 1fr 1fr; gap: 0.7rem; }

    .is-pinned .scrim {
        display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none;
        background: linear-gradient(to bottom, transparent 24%, rgba(10, 14, 26, 0.92) 46%);
    }
    .is-pinned .stop { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.7rem; padding: 40vh 1rem 1.2rem; z-index: 1; overflow-y: auto; }
    .is-pinned .hero-text, .is-pinned .l2, .is-pinned .l3-head, .is-pinned .l4, .is-pinned .l5-text, .is-pinned .l5-form, .is-pinned .trust-bar {
        position: static; transform: none; width: 100%; max-width: none; gap: 0.7rem;
    }
    .is-pinned .arc { display: flex; gap: 0.7rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.4rem; margin: 0 -1rem; padding-left: 1rem; }
    .is-pinned .arc .work { position: static; flex: 0 0 84%; scroll-snap-align: start; }
    .is-pinned .stop-3 { padding-bottom: 4rem; }   /* content is bottom-anchored: bottom padding lifts the card row */
    .is-pinned .l5-form { margin: 0; }
    .is-pinned .stop-5 { padding-top: 28vh; }
    .stop-5 h2 { font-size: 1.45rem; }
    .price { font-size: 0.95rem; }
    .trust-bar { font-size: 0.72rem; line-height: 1.8; }

    .stop h1 { font-size: clamp(1.9rem, 7.8vw, 2.4rem); }
    .stop h2 { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }
    .lead { font-size: 1rem; }
    .card { padding: 0.85rem 0.9rem; border-radius: 12px; }
    .card h3 { font-size: 0.9rem; }
    .card p { font-size: 0.78rem; line-height: 1.45; }
    .l2-grid .card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .card .more { font-size: 0.78rem; margin-top: 0.35rem; }
    .card-cta .btn { margin-top: 0.5rem; padding: 0.55rem 0.9rem; font-size: 0.82rem; white-space: normal; }
    .work-body { padding: 0.6rem 0.75rem 0.7rem; }
    .quote { padding: 1rem; }
    .quote blockquote { font-size: 0.88rem; line-height: 1.5; }
    .is-pinned .stop-5 .lead, .is-pinned .stop-5 .alt { display: none; }
    .qform { padding: 1rem; gap: 0.5rem; }
    .qform input, .qform select, .qform textarea { padding: 0.5rem 0.7rem; }
    .qform textarea { min-height: 60px; }
}

@media (max-width: 1023px) and (max-height: 700px) {
    .is-pinned .stop { padding-top: 36vh; }
    .stop h1 { font-size: 1.75rem; }
    .lead { font-size: 0.92rem; line-height: 1.5; }
    .cta-row { margin-top: 0; }
    .is-pinned .stop-1 .trust-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .btn, .work, .onav button::before, .jnav-links a { transition: none; }
    .btn-pulse::after { animation: none; }
}

/* ===== Inner pages (privacy, terms, accessibility, compliance, thank-you, error) =====
   Loaded by _JourneyLayout on every page. The compliance/accessibility rules below were
   moved from the retired site.css; the old variable names they use are aliased to the
   journey palette here so they stay unchanged. */

.journey-body {
    --star-white: var(--ink);
    --muted-gray: var(--ink-2);
    --text-muted-color: var(--ink-2);
    --electric-blue: var(--brand-text);
    --nebula-purple: var(--brand);
    --focus-color: var(--brand-text);
    --card-bg: var(--card);
    --card-border: var(--line);
    --card-hover-border: var(--brand);
    --gradient-glow: linear-gradient(135deg, var(--brand), var(--accent));
    --gradient-primary: linear-gradient(135deg, var(--brand), var(--accent));
}

/* ---- generic article page ---- */
.page { max-width: 860px; margin: 0 auto; padding: 150px 5vw 4rem; }
.page h1 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 0.6rem; color: var(--ink); }
.page .lede { color: var(--ink-2); font-size: 1.1rem; line-height: 1.6; margin: 0 0 2.5rem; }
.page h2 { font-family: var(--display); font-size: 1.4rem; margin: 2.2rem 0 0.6rem; color: var(--ink); }
.page h3 { font-family: var(--display); font-size: 1.1rem; margin: 1.6rem 0 0.5rem; color: var(--ink); }
.page p, .page li { color: var(--ink-2); line-height: 1.7; }
.page p { margin: 0 0 0.9rem; }
.page ul, .page ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.page li { margin-bottom: 0.4rem; }
.page a { color: var(--brand-text); }
.page a:hover { text-decoration: underline; }
.page [id] { scroll-margin-top: 110px; }
.page .card { margin-bottom: 1rem; }
.page .card h3 { margin-top: 0; }
.page .card p:last-child { margin-bottom: 0; }
.page .text-center { text-align: center; }
.page .muted { color: var(--ink-2); font-size: 0.9rem; }
.page .btn { margin-top: 0.5rem; }
.page-center { text-align: center; }
.page-center .lede { margin-left: auto; margin-right: auto; max-width: 48ch; }
.page-mark { width: 96px; height: 96px; margin: 0 auto 1.5rem; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; color: var(--accent-ink); background: var(--accent); box-shadow: 0 0 0 10px rgba(162, 89, 255, 0.16), 0 0 48px rgba(162, 89, 255, 0.5); }

@media (max-width: 1023px) {
    .page { padding-top: 120px; }
}

/* ---- moved from site.css: accessibility statement + compliance report ---- */
.accessibility-page {
    padding: 120px 1.5rem 80px;
    max-width: 800px;
    margin: 0 auto;
}

.accessibility-page h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accessibility-page section {
    margin-bottom: 2.5rem;
}

.accessibility-page h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--star-white);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.accessibility-page p {
    color: var(--muted-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.accessibility-page ul {
    color: var(--muted-gray);
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.accessibility-page li {
    margin-bottom: 0.5rem;
}

.accessibility-page a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.accessibility-page a:hover {
    color: #a855f7;
}

.accessibility-page time {
    color: var(--star-white);
}

@media (max-width: 768px) {
    .accessibility-page {
        padding: 100px 1rem 100px;
    }
}

/* ===== ACCESSIBILITY COMPLIANCE PAGE =====
   This page is the proof of the claim it makes, so contrast, focus and hit targets here are
   held tighter than the marketing pages: body text sits on --star-white rather than the muted
   grey used elsewhere, and every control clears 44px. */
.compliance-page {
    padding: 120px 1.5rem 80px;
    max-width: 760px;
    margin: 0 auto;
}

.compliance-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.compliance-page h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--star-white);
    margin-bottom: 1.25rem;
}

.compliance-lede {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--star-white);
    margin-bottom: 1rem;
}

.compliance-meta {
    font-size: 0.9rem;
    color: var(--text-muted-color);
    margin-bottom: 2.5rem;
}

.compliance-meta time { color: var(--muted-gray); }

/* --- the three equal contact doors --- */
.compliance-doors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.compliance-doors .door {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    min-height: 44px;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    background: var(--card-bg);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.compliance-doors .door:hover,
.compliance-doors .door:focus-visible {
    border-color: var(--card-hover-border);
    background: rgba(59, 130, 246, 0.08);
}

.compliance-doors .door-primary {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.12);
}

.door-label {
    color: var(--star-white);
    font-weight: 600;
    font-size: 0.98rem;
    word-break: break-word;
}

.door-sub {
    color: var(--muted-gray);
    font-size: 0.82rem;
}

/* --- table of contents --- */
.compliance-toc {
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 3rem;
    background: var(--card-bg);
}

.compliance-toc .toc-title {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-gray);
    margin: 0 0 0.85rem;
    font-weight: 600;
    border: 0;
    padding: 0;
}

.compliance-toc ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--muted-gray);
}

.compliance-toc li { margin-bottom: 0.4rem; }

.compliance-toc a {
    color: var(--electric-blue);
    text-decoration: none;
}

.compliance-toc a:hover,
.compliance-toc a:focus-visible { text-decoration: underline; }

/* --- sections --- */
.compliance-page section { margin-bottom: 3rem; }

.compliance-page h2 {
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--star-white);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.25);
}

.compliance-page h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--star-white);
    margin: 2rem 0 1rem;
}

.compliance-page p {
    color: var(--star-white);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.compliance-page ul,
.compliance-page ol {
    color: var(--star-white);
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.compliance-page li { margin-bottom: 0.5rem; }

.compliance-page a {
    color: var(--electric-blue);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.compliance-page a:hover { color: #a855f7; }

.compliance-note {
    border-left: 3px solid var(--electric-blue);
    padding: 0.9rem 1.1rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
}

.compliance-external {
    color: var(--text-muted-color);
    font-size: 0.85rem;
}

.compliance-contact { list-style: none; padding-left: 0; }
.compliance-contact strong { color: var(--muted-gray); font-weight: 500; margin-right: 0.4rem; }

.compliance-code {
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.compliance-code code {
    color: var(--electric-blue);
    font-family: Consolas, Menlo, monospace;
    font-size: 0.9rem;
    white-space: pre;
}

/* --- numbered response timeline --- */
.compliance-steps {
    list-style: none;
    padding-left: 0;
    counter-reset: step;
}

.compliance-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 2.75rem;
    margin-bottom: 1.5rem;
}

.compliance-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.45);
    background: rgba(139, 92, 246, 0.15);
    color: var(--star-white);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-when {
    display: block;
    color: var(--electric-blue);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.step-what { display: block; color: var(--star-white); line-height: 1.75; }

/* ===== REPORT FORM ===== */
.a11y-field { margin-bottom: 1.5rem; }

.a11y-field label,
.a11y-fieldset legend {
    display: block;
    color: var(--star-white);
    font-weight: 600;
    font-size: 0.98rem;
    margin-bottom: 0.45rem;
}

.a11y-field .req {
    color: var(--muted-gray);
    font-weight: 400;
    font-size: 0.85rem;
    margin-left: 0.35rem;
}

.a11y-field input[type="text"],
.a11y-field input[type="email"],
.a11y-field input[type="tel"],
.a11y-field select,
.a11y-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 0.9rem;
    background: rgba(10, 10, 15, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--star-white);
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.6;
}

.a11y-field textarea { resize: vertical; }

.a11y-field input:focus-visible,
.a11y-field select:focus-visible,
.a11y-field textarea:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: 2px;
    border-color: var(--focus-color);
}

/* :user-invalid, not :invalid â€” the latter would paint every empty required field red
   before the visitor has typed anything. */
.a11y-field input:user-invalid,
.a11y-field textarea:user-invalid { border-color: #f87171; }

.a11y-hint {
    color: var(--muted-gray);
    font-size: 0.87rem;
    line-height: 1.6;
    margin: 0.4rem 0 0;
}

.a11y-subhead {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 1.75rem;
}

.a11y-fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 1.5rem;
}

.a11y-radios { display: grid; gap: 0.5rem; }

.a11y-radio {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 44px;
}

.a11y-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--electric-blue);
    flex: none;
    margin: 0;
}

.a11y-radio label {
    margin: 0;
    font-weight: 400;
    color: var(--star-white);
    cursor: pointer;
}

.a11y-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 1rem;
}

.a11y-turnstile:not(:empty) { margin-bottom: 1.25rem; }

/* Honeypot: off-screen rather than display:none, so bots that skip hidden inputs still fill it. */
.a11y-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.a11y-status:not(:empty),
.a11y-errors.is-shown {
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.a11y-status:not(:empty) {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: var(--star-white);
}

.a11y-status.is-success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.45);
}

.a11y-errors.is-shown {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: var(--star-white);
}

.a11y-errors ul { margin: 0; padding-left: 1.25rem; color: var(--star-white); }

.a11y-submit {
    min-height: 48px;
    padding: 0.85rem 2rem;
    border: 0;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: var(--star-white);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.a11y-submit:hover:not(:disabled) { opacity: 0.9; }

.a11y-submit:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: 3px;
}

.a11y-submit:disabled { opacity: 0.55; cursor: not-allowed; }

.a11y-foot { margin-top: 1.25rem; }

@media (max-width: 768px) {
    .compliance-page { padding: 100px 1rem 80px; }
    .compliance-doors { grid-template-columns: 1fr; }
    .a11y-grid { grid-template-columns: 1fr; }
}

/* the nav lockup hangs to ~132px; every inner page starts below it */
.page, .accessibility-page, .compliance-page { padding-top: 175px; }
@media (max-width: 1023px) {
    .page, .accessibility-page, .compliance-page { padding-top: 130px; }
}


/* ---- location landing pages (/puerto-rico, /miami) ---- */
.page.location { max-width: 900px; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1.2rem; }
.loc-grid .card { margin: 0; }
.loc-grid .work { display: block; text-decoration: none; padding: 0; overflow: hidden; }
.loc-grid .work img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.loc-grid .work h3 { margin: 0.9rem 1.2rem 0.2rem; }
.loc-grid .work p { margin: 0 1.2rem 1rem; }
.loc-grid .work .muted { font-weight: 400; }
.loc-grid .work:hover { border-color: var(--brand-text); text-decoration: none; }
.page .quote { margin: 0 0 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 1.5rem; list-style: none; }
.chips li { margin: 0; padding: 0.35rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; background: var(--card); color: var(--ink); }
.faq { margin: 0 0 2rem; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); padding: 0.9rem 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--display); font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-text); flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0.6rem 0 0; }
.loc-cta { text-align: center; padding: 2rem 1.5rem; }
.loc-cta p { max-width: 48ch; margin: 0 auto 0.5rem; }
@media (max-width: 700px) { .loc-grid { grid-template-columns: 1fr; } }

/* ---- L2: the grid is one CTA-styled card holding five <details> rows (name=svc: one open at a time) and the CTA ---- */
.l2-grid {
    grid-template-columns: 1fr; gap: 0; padding: 0 1rem 1rem; border-radius: 14px; box-shadow: var(--shadow);
    border: 1px solid rgba(123, 92, 255, 0.55);
    background: linear-gradient(135deg, rgba(123, 92, 255, 0.18), rgba(123, 92, 255, 0.04)), var(--card);
    transition: opacity 0.25s;
}
/* the grid is not a fly piece: hide its chrome with the stop (journey.js sets inert on hidden stops) */
.stop[inert] .l2-grid { opacity: 0; visibility: hidden; }
.l2-grid .svc { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 0.85rem 0; box-shadow: none; }
.l2-grid .svc:first-child { border-top: 0; }
.svc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary::after { content: "+"; color: var(--brand-text); font-size: 1.2rem; flex: none; }
.svc[open] summary::after { content: "\2013"; }
.l2-grid .svc h3 { margin: 0; font-size: 1rem; }
.l2-grid .svc p { display: block; -webkit-line-clamp: unset; font-size: 0.92rem; line-height: 1.5; margin: 0.5rem 0 0; }
/* open/close slide. shortcut: needs ::details-content + interpolate-size (Chrome 131+, Safari 18.4+); elsewhere rows just snap */
@media (prefers-reduced-motion: no-preference) {
    .l2-grid { interpolate-size: allow-keywords; }
    .svc::details-content { height: 0; opacity: 0; overflow: clip; transition: height 0.3s ease, opacity 0.25s ease, content-visibility 0.3s allow-discrete; }
    .svc[open]::details-content { height: auto; opacity: 1; }
}
