/*
 * MDATES - Night premium design system
 * Near-black navy, blue nebula haze, champagne-gold accent,
 * glass surfaces and gold constellation line art.
 */

:root {
    /* Surfaces */
    --bg-0: #0B1020;
    --bg-1: #0F1529;
    --bg-2: #141A33;
    --bg-3: #1B2343;
    --glass: linear-gradient(160deg, rgba(62, 74, 118, 0.46) 0%, rgba(24, 30, 58, 0.62) 100%);
    --glass-strong: linear-gradient(160deg, rgba(76, 88, 134, 0.6) 0%, rgba(28, 35, 66, 0.78) 100%);
    --glass-solid: #18203D;

    /* Gold accent (single primary CTA color) */
    --gold-50: #FBF0D6;
    --gold-100: #F3DDAE;
    --gold-300: #E9C98B;
    --gold-500: #C9A15E;
    --gold-700: #8E6C35;
    --gold-grad: linear-gradient(135deg, #F7E4B8 0%, #E9C98B 46%, #C9A15E 100%);

    /* Blues */
    --blue-300: #9DB4FF;
    --blue-500: #4D6FD0;
    --blue-700: #22357A;

    /* Text */
    --text: #E6E9F2;
    --text-strong: #F7F8FC;
    --text-muted: #C2C8DA;
    --heading: #EED39C;
    --on-gold: #10142A;
    --slate: #8C97B6;

    /* Lines and glows */
    --line: rgba(233, 201, 139, 0.4);
    --line-strong: rgba(243, 221, 174, 0.75);
    --line-soft: rgba(188, 195, 214, 0.18);
    --glow-gold: 0 0 0 1px rgba(233, 201, 139, 0.22), 0 0 28px rgba(233, 201, 139, 0.16);
    --glow-gold-strong: 0 0 0 1px rgba(243, 221, 174, 0.55), 0 0 36px rgba(233, 201, 139, 0.34), 0 0 90px rgba(201, 161, 94, 0.18);
    --shadow-deep: 0 24px 60px rgba(3, 6, 18, 0.55);

    /* Shape */
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    /* Type */
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
    --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

    /* Layout */
    --container: 1160px;
    --gutter: 20px;
    --space-section: clamp(64px, 9vw, 112px);
    --header-bottom: 76px;

    /* Motion */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */

html {
    background: var(--bg-0);
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-bottom) + 16px);
}

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    background: transparent;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

/* Blue nebula haze behind the whole site */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 40% at 88% 6%, rgba(58, 94, 196, 0.3), transparent 70%),
        radial-gradient(50% 36% at 6% 34%, rgba(40, 72, 168, 0.22), transparent 70%),
        radial-gradient(55% 40% at 92% 72%, rgba(62, 88, 176, 0.2), transparent 70%),
        radial-gradient(42% 30% at 18% 94%, rgba(201, 161, 94, 0.08), transparent 70%),
        linear-gradient(180deg, #0D1226 0%, #0B1020 42%, #10162B 100%);
}

body.menu-open {
    overflow: hidden;
}

main {
    display: block;
    outline: none;
}

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--heading);
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.125rem, 7vw, 3.75rem);
    line-height: 1.06;
}

h2 {
    font-size: clamp(1.75rem, 4.4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
    color: var(--gold-100);
}

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0 0 1em;
    padding-left: 1.25em;
}

a {
    color: var(--gold-100);
    text-decoration-thickness: 1px;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--gold-50);
}

strong {
    color: var(--text-strong);
    font-weight: 600;
}

:focus-visible {
    outline: 2px solid var(--gold-300);
    outline-offset: 3px;
}

::selection {
    background: rgba(233, 201, 139, 0.35);
    color: var(--text-strong);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -120px;
    left: 16px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    background: var(--gold-grad);
    color: var(--on-gold);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
    color: var(--on-gold);
}

/* ============================================
   LAYOUT PRIMITIVES
   ============================================ */

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: var(--space-section);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-head__eyebrow {
    margin: 0 0 12px;
    color: var(--gold-300);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-head__title {
    margin-bottom: 14px;
}

.section-head__intro {
    margin: 0 auto;
    max-width: 60ch;
    color: var(--text-muted);
}

/* Glass surfaces */
.glass {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--glow-gold), var(--shadow-deep);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.callout {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    background: var(--glass-strong);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--glow-gold-strong);
}

.callout > .icon {
    flex: none;
    width: 40px;
    height: 40px;
    color: var(--gold-300);
}

.callout p:last-child {
    margin-bottom: 0;
}

/* Compact framed hero card used by secondary pages */
.hero-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 32px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(201, 161, 94, 0.42) 0%, rgba(84, 72, 70, 0.32) 26%, rgba(22, 30, 62, 0.88) 62%, rgba(11, 16, 32, 0.96) 100%);
    box-shadow: var(--glow-gold), var(--shadow-deep);
}

.hero-card h1 {
    color: var(--gold-50);
}

.hero-card p {
    color: var(--text-strong);
    max-width: 56ch;
}

/* Prose (legal / informational text) */
.prose {
    max-width: 72ch;
}

.prose h2 {
    margin-top: 1.6em;
}

.prose h3 {
    margin-top: 1.4em;
}

.prose p,
.prose li {
    color: var(--text);
}

.list-gold {
    list-style: none;
    padding-left: 0;
}

.list-gold li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
}

.list-gold li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-300);
    box-shadow: 0 0 8px rgba(233, 201, 139, 0.7);
}

/* Fine gold star dust along section edges */
.has-stardust {
    position: relative;
    isolation: isolate;
}

.has-stardust::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(1.4px 1.4px at 18px 26px, rgba(243, 221, 174, 0.95), transparent 70%),
        radial-gradient(1px 1px at 92px 118px, rgba(243, 221, 174, 0.8), transparent 70%),
        radial-gradient(1.2px 1.2px at 150px 54px, rgba(233, 201, 139, 0.85), transparent 70%),
        radial-gradient(0.9px 0.9px at 46px 160px, rgba(255, 255, 255, 0.7), transparent 70%),
        radial-gradient(1.6px 1.6px at 128px 170px, rgba(243, 221, 174, 0.9), transparent 70%),
        radial-gradient(1px 1px at 70px 72px, rgba(233, 201, 139, 0.75), transparent 70%);
    background-size: 190px 190px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 26%, transparent 74%, #000 100%);
    mask-image: linear-gradient(90deg, #000 0%, transparent 26%, transparent 74%, #000 100%);
}

/* ============================================
   BUTTONS & CHIPS
   ============================================ */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border: 0;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.005em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background-color 0.25s var(--ease), color 0.2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.btn__icon {
    width: 20px;
    height: 20px;
    flex: none;
    transition: transform 0.25s var(--ease);
}

.btn:hover .btn__icon {
    transform: translateX(3px);
}

.btn--primary {
    background: var(--gold-grad);
    color: var(--on-gold);
    box-shadow: 0 8px 24px rgba(201, 161, 94, 0.34), 0 0 0 1px rgba(251, 240, 214, 0.5) inset, 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.btn--primary:hover {
    color: var(--on-gold);
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(201, 161, 94, 0.48), 0 0 42px rgba(233, 201, 139, 0.42), 0 0 0 1px rgba(251, 240, 214, 0.7) inset;
}

.btn--primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 14px rgba(201, 161, 94, 0.4), 0 0 24px rgba(233, 201, 139, 0.5);
}

.btn--outline {
    background: rgba(15, 21, 41, 0.62);
    color: var(--gold-100);
    box-shadow: 0 0 0 1.5px var(--gold-300) inset, 0 0 16px rgba(233, 201, 139, 0.22) inset, 0 0 18px rgba(233, 201, 139, 0.14);
}

.btn--outline:hover {
    color: var(--gold-50);
    background: rgba(30, 36, 64, 0.8);
    box-shadow: 0 0 0 1.5px var(--gold-100) inset, 0 0 20px rgba(233, 201, 139, 0.34) inset, 0 0 28px rgba(233, 201, 139, 0.3);
}

.btn--outline:active {
    transform: scale(0.98);
}

.btn--text {
    min-height: 44px;
    padding: 0 6px;
    background: none;
    color: var(--gold-100);
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.btn--text:hover {
    color: var(--gold-50);
}

.btn--sm {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.9375rem;
}

.btn--lg {
    min-height: 60px;
    padding: 0 38px;
    font-size: 1.125rem;
}

.btn--block {
    width: 100%;
}

.btn--breathe {
    animation: btn-breathe 3.6s ease-in-out infinite;
}

@keyframes btn-breathe {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(201, 161, 94, 0.34), 0 0 22px rgba(233, 201, 139, 0.22), 0 0 0 1px rgba(251, 240, 214, 0.5) inset;
    }
    50% {
        box-shadow: 0 10px 30px rgba(201, 161, 94, 0.46), 0 0 52px rgba(233, 201, 139, 0.46), 0 0 0 1px rgba(251, 240, 214, 0.7) inset;
    }
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 5px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: rgba(12, 17, 34, 0.72);
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.chip__icon {
    width: 16px;
    height: 16px;
    flex: none;
}

/* ============================================
   ICONS & ART PRIMITIVES
   ============================================ */

.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex: none;
    vertical-align: middle;
}

.star-row {
    display: block;
    width: 170px;
    height: 30px;
    fill: none;
    stroke: var(--gold-300);
    stroke-width: 1.4;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(233, 201, 139, 0.45));
}

.constellation {
    display: block;
    overflow: visible;
    pointer-events: none;
}

.constellation__lines > * {
    stroke: rgba(233, 201, 139, 0.62);
    stroke-width: 1;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.constellation__lines {
    filter: drop-shadow(0 0 3px rgba(233, 201, 139, 0.55));
}

.constellation__dots circle {
    fill: rgba(243, 221, 174, 0.75);
}

.constellation__stars {
    filter: drop-shadow(0 0 4px rgba(243, 221, 174, 0.85));
}

.constellation__star {
    fill: var(--gold-50);
    transform-box: fill-box;
    transform-origin: center;
}

.constellation__halo {
    fill: rgba(243, 221, 174, 0.16);
}

.constellation .is-twinkle {
    animation: twinkle 4.2s ease-in-out infinite;
    animation-play-state: paused;
}

.constellation.is-inview .is-twinkle {
    animation-play-state: running;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.68); }
}

.shield-art {
    display: block;
    width: 120px;
    height: auto;
    filter: drop-shadow(0 10px 26px rgba(42, 74, 180, 0.45)) drop-shadow(0 0 14px rgba(233, 201, 139, 0.25));
}

.shield-art--sm {
    width: 56px;
}

.shield-art--full {
    width: min(100%, 300px);
}

/* Check / cross marks - always paired with text */
.mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    line-height: 1.35;
}

.mark__icon {
    width: 22px;
    height: 22px;
    flex: none;
}

.mark--yes .mark__icon circle {
    fill: rgba(233, 201, 139, 0.16);
    stroke: var(--gold-300);
    stroke-width: 1.5;
}

.mark--yes .mark__icon path {
    fill: none;
    stroke: var(--gold-100);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mark--yes .mark__text {
    color: var(--text-strong);
}

.mark--no .mark__icon path {
    fill: none;
    stroke: var(--slate);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.mark--no .mark__text {
    color: var(--text-muted);
}

/* ============================================
   TABLES
   ============================================ */

.table-wrap {
    position: relative;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--glass);
    box-shadow: var(--glow-gold), var(--shadow-deep);
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    min-width: 540px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.data-table caption {
    padding: 18px 20px 12px;
    caption-side: top;
    text-align: left;
    color: var(--heading);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
}

.data-table thead th {
    padding: 14px 18px;
    background: rgba(233, 201, 139, 0.1);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line);
    color: var(--gold-100);
    font-family: var(--font-display);
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.data-table thead th.is-highlight {
    background: linear-gradient(180deg, rgba(233, 201, 139, 0.3), rgba(201, 161, 94, 0.16));
    color: var(--gold-50);
}

.data-table tbody th,
.data-table tbody td {
    padding: 14px 18px;
    border-top: 1px solid var(--line-soft);
    vertical-align: top;
    text-align: left;
}

.data-table tbody tr:first-child th,
.data-table tbody tr:first-child td {
    border-top: 0;
}

.data-table tbody th {
    color: var(--text-strong);
    font-weight: 600;
}

.data-table tbody td {
    color: var(--text);
}

.data-table tbody td.is-highlight {
    background: rgba(233, 201, 139, 0.05);
}

.data-table a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.table-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 4px 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    overflow: visible;
}

.table-hint__icon {
    width: 16px;
    height: 16px;
    color: var(--gold-300);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

.faq__item {
    border: 1px solid rgba(188, 195, 214, 0.26);
    border-radius: 16px;
    background: var(--glass);
    box-shadow: 0 10px 30px rgba(3, 6, 18, 0.35);
    transition: border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}

.faq__item.is-open {
    border-color: var(--gold-300);
    box-shadow: var(--glow-gold-strong);
}

.faq__heading {
    margin: 0;
    font-size: 1rem;
}

.faq__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    border: 0;
    border-radius: 16px;
    background: none;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}

.faq__trigger:hover .faq__question {
    color: var(--gold-50);
}

.faq__trigger:focus-visible {
    outline: 2px solid var(--gold-300);
    outline-offset: 2px;
}

.faq__icon {
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    margin: -1px 0 0 -8px;
    border-radius: 2px;
    background: var(--gold-300);
    transition: transform 0.3s var(--ease);
}

.faq__icon::after {
    transform: rotate(90deg);
}

.faq__item.is-open .faq__icon::after {
    transform: rotate(0deg);
}

.faq__panel {
    padding: 0 18px 18px;
}

.faq__panel[hidden] {
    display: none;
}

.faq__answer {
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
    color: var(--text-muted);
}

.faq__answer p:last-child {
    margin-bottom: 0;
}

.faq__answer a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 12px 0;
}

.site-header__bar {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: var(--container);
    min-height: 60px;
    margin: 0 auto;
    padding: 8px 8px 8px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(3, 6, 18, 0.45), 0 0 24px rgba(233, 201, 139, 0.08);
}

/* Blur lives on a pseudo-element so the mobile drawer has no filtered ancestor */
.site-header__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(54, 65, 106, 0.82) 0%, rgba(20, 26, 51, 0.88) 100%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
}

.site-header__bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-right: auto;
    text-decoration: none;
}

.site-brand__text {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--gold-300);
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions .header-cta {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    flex: none;
    padding: 0;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-strong);
    cursor: pointer;
}

.menu-toggle__line {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 99;
    display: none;
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg-0);
    border-top: 1px solid var(--line-soft);
}

.site-nav.is-open {
    display: block;
}

.site-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
    color: var(--gold-100);
}

@media (max-width: 359px) {
    .header-actions .header-cta {
        display: none;
    }

    .site-brand__text {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: block;
        padding: 0;
        overflow: visible;
        background: none;
        border: 0;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .site-nav__link {
        min-height: 44px;
        padding: 0 14px;
        border: 0;
        border-radius: var(--radius-pill);
        color: var(--text-muted);
        font-size: 0.9375rem;
    }

    .site-nav__link:hover {
        color: var(--gold-50);
        background: rgba(233, 201, 139, 0.08);
    }

    .site-nav__link[aria-current="page"] {
        color: var(--gold-100);
        text-decoration: underline;
        text-underline-offset: 0.4em;
        text-decoration-color: var(--gold-500);
    }

    .site-header__bar {
        gap: 12px;
        padding: 8px 10px 8px 22px;
    }

    .header-actions .header-cta {
        padding: 0 22px;
    }
}

@media (min-width: 1024px) {
    :root {
        --gutter: 32px;
    }

    .site-header {
        padding: 16px 16px 0;
    }

    .site-header__bar {
        min-height: 66px;
    }

    .site-brand__text {
        font-size: 2rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    position: relative;
    margin-top: 24px;
    padding: 56px 0 24px;
    background: linear-gradient(180deg, #151C37 0%, #10162B 100%);
    border-top: 1px solid var(--line-soft);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
    box-shadow: 0 0 12px rgba(233, 201, 139, 0.5);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.site-footer__title {
    margin: 0 0 10px;
    color: var(--gold-300);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-footer__text {
    margin: 12px 0 0;
    max-width: 38ch;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.site-footer__col .site-footer__title + .site-footer__text {
    margin-top: 0;
}

.site-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text);
    font-size: 0.9375rem;
    text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a[aria-current="page"] {
    color: var(--gold-100);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer__links .site-footer__quiz {
    color: var(--gold-100);
    font-weight: 600;
}

.site-brand--footer {
    margin-right: 0;
}

.site-footer__stars {
    display: block;
    width: 152px;
    height: 28px;
    margin-top: 16px;
    fill: none;
    stroke: var(--gold-300);
    stroke-width: 1.4;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(233, 201, 139, 0.45));
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
}

.site-footer__copy {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.site-footer__wordmark {
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 600;
    color: var(--gold-300);
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 40px;
    }

    .table-hint {
        display: none;
    }

    .hero-card {
        padding: 48px 44px;
    }

    .callout {
        padding: 28px 32px;
    }
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
    }

    .hero-card {
        padding: 56px 56px;
    }
}

/* ============================================
   HOMEPAGE - HERO
   ============================================ */

.hero {
    padding-block: 16px 24px;
}

.hero__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #151C38 0%, #0F1529 100%);
    box-shadow: var(--glow-gold), var(--shadow-deep);
}

.hero__media {
    position: relative;
    height: clamp(300px, 84vw, 460px);
    background-color: #1B2343;
    background-image: url("/assets/d4987d63fc52b2681fd65eaa9b85fce1.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 80% 25%;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 21, 41, 0) 50%, rgba(15, 21, 41, 0.84) 86%, #0F1529 100%);
}

.hero__constellation {
    position: absolute;
    z-index: 1;
    top: 4%;
    right: 1%;
    width: 64%;
    height: 86%;
}

.hero__content {
    position: relative;
    z-index: 2;
    margin-top: -48px;
    padding: 0 22px 30px;
}

.hero__chip {
    margin-bottom: 16px;
}

.hero__title {
    margin-bottom: 16px;
    color: var(--gold-50);
    text-shadow: 0 2px 18px rgba(11, 16, 32, 0.6);
}

.hero__lead {
    max-width: 46ch;
    margin-bottom: 24px;
    color: var(--text-strong);
}

.hero__cta {
    width: 100%;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-strong);
    font-size: 0.9375rem;
}

.hero__trust .icon {
    width: 20px;
    height: 20px;
    color: var(--gold-300);
}

@media (min-width: 768px) {
    .hero {
        padding-top: 24px;
    }

    .hero__card {
        display: flex;
        align-items: center;
        min-height: 540px;
    }

    .hero__media {
        position: absolute;
        inset: 0;
        height: auto;
        background-position: 100% 30%;
    }

    .hero__media::after {
        background:
            linear-gradient(90deg, rgba(11, 16, 32, 0.88) 0%, rgba(13, 18, 36, 0.78) 32%, rgba(70, 54, 34, 0.4) 52%, rgba(40, 32, 24, 0) 68%),
            linear-gradient(0deg, rgba(11, 16, 32, 0.45) 0%, rgba(11, 16, 32, 0) 28%);
    }

    .hero__constellation {
        top: 3%;
        right: 1%;
        width: 48%;
        height: 94%;
    }

    .hero__content {
        max-width: 54%;
        margin: 0;
        padding: 56px 0 56px 44px;
    }

    .hero__title {
        font-size: clamp(2.25rem, 4.8vw, 3.5rem);
    }

    .hero__cta {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .hero__card {
        min-height: 600px;
    }

    .hero__content {
        max-width: 50%;
        padding-left: 64px;
    }
}

/* ============================================
   HOMEPAGE - TRUST STRIP
   ============================================ */

.trust {
    padding-block: 48px 56px;
}

.trust .section-head {
    margin-bottom: 24px;
}

.trust__meter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 20px;
    margin: 0 auto 36px;
}

.trust__stars {
    width: 150px;
    height: 27px;
}

.trust__progress {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: min(100%, 300px);
    margin: 0;
    padding: 8px 10px 8px 16px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-pill);
    background: rgba(27, 35, 67, 0.75);
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
}

.trust__track {
    flex: 1;
    min-width: 120px;
    height: 8px;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: rgba(188, 195, 214, 0.16);
}

.trust__fill {
    display: block;
    width: 34%;
    height: 100%;
    border-radius: inherit;
    background: var(--gold-grad);
    box-shadow: 0 0 12px rgba(233, 201, 139, 0.6);
}

.trust__items {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.trust__item > .icon {
    width: 36px;
    height: 36px;
    color: var(--gold-300);
    filter: drop-shadow(0 0 6px rgba(233, 201, 139, 0.4));
}

.trust__item h3 {
    margin-bottom: 4px;
    font-size: 1.0625rem;
}

.trust__item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .trust__items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }
}

/* ============================================
   HOMEPAGE - HOW IT WORKS
   ============================================ */

.steps {
    position: relative;
    isolation: isolate;
}

.steps__art {
    display: none;
}

.steps__list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 64px;
    max-width: 440px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.step {
    position: relative;
    padding: 28px 24px 26px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    background: var(--glass);
    box-shadow: var(--glow-gold-strong);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.step:hover {
    transform: translateY(-4px);
}

.step__art {
    display: block;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    color: var(--gold-300);
    filter: drop-shadow(0 0 6px rgba(233, 201, 139, 0.5));
}

.step__num {
    margin: 0 0 6px;
    color: var(--gold-300);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.step p:last-child {
    margin: 0;
    color: var(--text);
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -58px;
    width: 40px;
    height: 48px;
    transform: translateX(-50%);
    pointer-events: none;
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--gold-300);
    border-bottom: 2px solid var(--gold-300);
    transform: translateX(-50%) rotate(45deg);
    filter: drop-shadow(0 0 5px rgba(233, 201, 139, 0.7));
}

.how__more {
    margin: 40px 0 0;
    text-align: center;
}

@media (min-width: 768px) {
    .steps__art {
        position: absolute;
        inset: -30px -20px;
        z-index: 0;
        display: block;
        width: calc(100% + 40px);
        height: calc(100% + 60px);
    }

    .steps__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
        max-width: none;
        padding-bottom: 8px;
    }

    .step:nth-child(2) {
        margin-top: 72px;
    }

    .step:nth-child(3) {
        margin-top: 144px;
    }

    .step:nth-child(1)::after {
        left: calc(100% - 26px);
        top: 4px;
        bottom: auto;
        width: 120px;
        height: 62px;
        transform: none;
        border: 0;
        border-top: 2px solid var(--gold-300);
        border-right: 2px solid var(--gold-300);
        border-radius: 0 60px 0 0;
    }

    .step:nth-child(2)::after {
        left: auto;
        right: -24px;
        bottom: -62px;
        width: 110px;
        height: 66px;
        transform: none;
        border: 0;
        border-left: 2px solid var(--gold-300);
        border-bottom: 2px solid var(--gold-300);
        border-radius: 0 0 0 60px;
    }
}

/* ============================================
   HOMEPAGE - PROFILE DECK
   ============================================ */

.deck {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
}

.deck__stage {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 12px 4px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.pcard {
    position: relative;
    flex: 0 0 min(280px, 78vw);
    overflow: hidden;
    scroll-snap-align: center;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(170deg, #252E55 0%, #161D3A 100%);
    box-shadow: var(--glow-gold), var(--shadow-deep);
}

.pcard__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-3);
}

.pcard__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 28%;
    -webkit-user-drag: none;
    user-select: none;
}

.pcard__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: rgba(11, 16, 32, 0.86);
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.pcard__body {
    padding: 14px 16px 18px;
}

.pcard__title {
    margin: 0 0 10px;
    color: var(--text-strong);
    font-size: 1.0625rem;
}

.pcard__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.pcard__chips li {
    padding: 3px 10px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 0.8125rem;
}

.pcard__actions {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.pcard__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1.5px solid var(--gold-300);
    border-radius: 50%;
    background: rgba(27, 35, 67, 0.8);
    color: var(--gold-100);
    box-shadow: 0 0 16px rgba(233, 201, 139, 0.25), inset 0 0 12px rgba(233, 201, 139, 0.15);
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.pcard__btn:hover {
    color: var(--gold-50);
    transform: scale(1.06);
    box-shadow: 0 0 26px rgba(233, 201, 139, 0.5), inset 0 0 14px rgba(233, 201, 139, 0.25);
}

.pcard__btn:active {
    transform: scale(0.94);
}

.pcard__btn .icon {
    width: 26px;
    height: 26px;
}

.pcard__btn--pass {
    display: none;
}

.deck__nav {
    display: none;
    position: absolute;
    top: 38%;
    z-index: 5;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(11, 16, 32, 0.7);
    color: var(--gold-300);
    cursor: pointer;
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.deck__nav:hover {
    color: var(--gold-50);
    background: rgba(27, 35, 67, 0.9);
}

.deck__nav .icon {
    width: 28px;
    height: 28px;
}

.deck__nav--prev {
    left: 0;
}

.deck__nav--next {
    right: 0;
}

.deck__note {
    margin: 8px auto 4px;
    max-width: 48ch;
    color: var(--text);
    text-align: center;
}

.deck__help {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
}

/* Enhanced swipe deck once JS is ready */
.js .deck__stage {
    display: grid;
    justify-items: center;
    overflow: visible;
    padding: 16px 0 24px;
    touch-action: pan-y;
    user-select: none;
}

.js .pcard {
    grid-area: 1 / 1;
    width: min(290px, 64vw);
    transition: transform 0.55s var(--ease-spring), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.js .pcard.is-active {
    z-index: 3;
    border-color: var(--gold-100);
    box-shadow: var(--glow-gold-strong), var(--shadow-deep);
    transform: translateX(var(--drag, 0px)) rotate(var(--rot, 0deg));
    cursor: grab;
}

.js .pcard.is-dragging {
    transition: none;
    cursor: grabbing;
}

.js .pcard.is-next {
    z-index: 2;
    transform: translateX(44%) scale(0.88) rotate(5deg);
}

.js .pcard.is-prev {
    z-index: 2;
    transform: translateX(-44%) scale(0.88) rotate(-5deg);
}

.js .pcard.is-back {
    z-index: 1;
    visibility: hidden;
    transform: scale(0.8);
}

.js .pcard:not(.is-active)::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(11, 16, 32, 0.58);
    pointer-events: none;
}

.js .pcard__btn--pass,
.js .deck__nav {
    display: inline-flex;
}

@media (min-width: 1024px) {
    .deck {
        max-width: 700px;
    }

    .js .pcard {
        width: 300px;
    }
}

/* ============================================
   HOMEPAGE - ONLINE NOW
   ============================================ */

.online__art {
    position: absolute;
    top: 50%;
    z-index: -1;
    width: min(300px, 38%);
    height: 360px;
    transform: translateY(-50%);
    opacity: 0.8;
}

.online__art--left {
    left: 0;
}

.online__art--right {
    right: 0;
}

.online .section-head {
    margin-bottom: 28px;
}

.online__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.online__text {
    max-width: 40ch;
}

.online__lead {
    margin-bottom: 8px;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.online__text p:last-child {
    margin: 0;
    color: var(--text-muted);
}

.online__orb-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.orb {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 58%, #121A3A 0%, #17224E 52%, #2A3C86 74%, #5B6FB8 100%);
    box-shadow:
        inset -12px -16px 24px rgba(243, 221, 174, 0.55),
        inset 6px 8px 18px rgba(11, 16, 32, 0.6),
        0 0 0 1px rgba(243, 221, 174, 0.5),
        0 0 40px rgba(233, 201, 139, 0.35),
        0 0 100px rgba(77, 111, 208, 0.35);
}

.orb__num {
    color: var(--gold-50);
    font-family: var(--font-display);
    font-size: 3.25rem;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 18px rgba(233, 201, 139, 0.55);
}

.orb__tag {
    margin-top: 4px;
    color: var(--gold-100);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.online__caption {
    max-width: 28ch;
    color: var(--text);
    font-size: 0.875rem;
}

.online__bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--glass);
    box-shadow: var(--glow-gold);
}

@media (min-width: 1024px) {
    .online__row {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 36px;
    }

    .online__text {
        flex: 0 1 320px;
        text-align: right;
    }

    .online__bar {
        position: relative;
        padding-left: 48px;
    }

    .online__bar::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 50%;
        width: 26px;
        height: 2px;
        border-radius: 2px;
        background: var(--gold-300);
        box-shadow: 0 0 10px rgba(233, 201, 139, 0.7);
    }
}

/* ============================================
   HOMEPAGE - COMPARISON
   ============================================ */

.compare__wrap {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.compare__wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    bottom: 30px;
    z-index: 1;
    width: 2px;
    transform: translateX(-50%);
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(243, 221, 174, 0.95) 50%, transparent 100%);
    box-shadow: 0 0 14px rgba(233, 201, 139, 0.7), 0 0 40px rgba(233, 201, 139, 0.35);
}

.compare {
    width: calc(100% + 20px);
    margin: 0 -10px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 10px 0;
}

.compare__caption {
    caption-side: bottom;
    padding-top: 14px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.compare__head {
    padding: 12px 10px 10px;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: rgba(48, 58, 98, 0.6);
}

.compare__head--blue {
    border-color: rgba(157, 180, 255, 0.32);
    background: rgba(32, 40, 72, 0.66);
}

.compare__pill {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

.compare__pill--gold {
    background: var(--gold-grad);
    color: var(--on-gold);
    box-shadow: 0 6px 18px rgba(201, 161, 94, 0.35), 0 0 0 1px rgba(251, 240, 214, 0.5) inset;
}

.compare__pill--blue {
    border: 1px solid rgba(157, 180, 255, 0.35);
    background: linear-gradient(180deg, rgba(77, 111, 208, 0.45), rgba(34, 53, 122, 0.6));
    color: var(--text-strong);
}

.compare__cell {
    padding: 12px;
    vertical-align: top;
}

.compare__cell--gold {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    background: rgba(48, 58, 98, 0.6);
}

.compare__cell--blue {
    border-left: 1px solid rgba(157, 180, 255, 0.32);
    border-right: 1px solid rgba(157, 180, 255, 0.32);
    background: rgba(32, 40, 72, 0.66);
}

.compare tbody tr:last-child .compare__cell {
    padding-bottom: 22px;
    border-radius: 0 0 22px 22px;
}

.compare tbody tr:last-child .compare__cell--gold {
    border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child .compare__cell--blue {
    border-bottom: 1px solid rgba(157, 180, 255, 0.32);
}

.compare .mark {
    align-items: flex-start;
    font-size: 0.875rem;
}

.compare__cta {
    margin-top: 36px;
    text-align: center;
}

.compare__cta p {
    color: var(--text);
}

@media (min-width: 768px) {
    .compare {
        width: calc(100% + 72px);
        margin: 0 -36px;
        border-spacing: 36px 0;
    }

    .compare__cell {
        padding: 14px 20px;
    }

    .compare .mark {
        font-size: 0.9375rem;
    }

    .compare__pill {
        font-size: 1.0625rem;
    }
}

/* ============================================
   HOMEPAGE - BENEFITS
   ============================================ */

.benefits__grid {
    display: grid;
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit__badge {
    position: relative;
    flex: none;
    width: 84px;
    height: 84px;
}

.benefit__star {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(233, 201, 139, 0.35));
}

.benefit__sparks path {
    fill: var(--gold-50);
}

.benefit .benefit__glyph {
    position: absolute;
    top: 53%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    color: var(--gold-100);
}

.benefit__body h3 {
    margin-bottom: 10px;
}

.benefit__body .list-gold {
    margin: 0;
}

.benefit__body .list-gold li {
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 40px;
    }
}

/* ============================================
   HOMEPAGE - SAFETY
   ============================================ */

.safety__grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.safety__art {
    display: flex;
    justify-content: center;
}

.safety__text h3 {
    margin-top: 1.2em;
}

.safety__text .btn {
    margin-top: 8px;
}

@media (min-width: 768px) {
    .safety__grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 48px;
    }
}

/* ============================================
   HOMEPAGE - MEMBER SCENARIOS
   ============================================ */

.scenarios {
    isolation: isolate;
}

.scenarios__art {
    position: absolute;
    z-index: -1;
}

.scenarios__art--tr {
    top: 0;
    right: 0;
    width: min(300px, 50%);
    height: 300px;
}

.scenarios__art--bl {
    bottom: 12px;
    left: 0;
    width: min(320px, 70%);
    height: 128px;
}

.scenarios__label {
    margin: -16px 0 20px;
    text-align: center;
}

.scenarios__row {
    display: flex;
    gap: 16px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 20px var(--gutter) 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    list-style: none;
}

.scenario {
    flex: 0 0 min(82%, 320px);
    padding: 26px 22px 22px;
    scroll-snap-align: center;
    border: 1px solid rgba(188, 195, 214, 0.3);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(56, 66, 104, 0.7) 0%, rgba(26, 32, 60, 0.85) 100%);
    box-shadow: 0 16px 40px rgba(3, 6, 18, 0.45);
    text-align: center;
}

.scenario--featured {
    border-color: var(--gold-300);
    background: linear-gradient(160deg, rgba(76, 88, 134, 0.75) 0%, rgba(30, 38, 70, 0.9) 100%);
    box-shadow: var(--glow-gold-strong), var(--shadow-deep);
}

.scenario__avatar {
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    filter: drop-shadow(0 0 8px rgba(233, 201, 139, 0.35));
}

.scenario--featured .scenario__avatar {
    width: 84px;
    height: 84px;
}

.scenario p {
    color: var(--text);
    font-size: 0.9375rem;
}

.scenario__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin: 16px 0 0;
}

.scenario__fields dt {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scenario__fields dd {
    margin: 2px 0 0;
    color: var(--text-strong);
    font-size: 0.875rem;
}

.scenario__fields dd::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin: 8px auto 0;
    border-radius: 3px;
    background: var(--gold-grad);
}

@media (min-width: 1024px) {
    .scenarios__row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
        align-items: center;
        gap: 0;
        margin: 0 auto;
        padding: 24px 0 40px;
        max-width: 940px;
        overflow: visible;
    }

    .scenario {
        position: relative;
        z-index: 1;
    }

    .scenario--featured {
        z-index: 2;
        margin-inline: -8px;
        padding: 34px 28px 28px;
        transform: translateY(-14px);
    }
}

/* ============================================
   HOMEPAGE - FREE VS PAID
   ============================================ */

.pricing__table {
    max-width: 820px;
    margin: 0 auto;
}

.pricing .data-table th.is-highlight,
.pricing .data-table td.is-highlight {
    box-shadow: inset 2px 0 0 rgba(233, 201, 139, 0.4);
}

.pricing .data-table tbody tr:nth-child(2) td.is-highlight,
.pricing .data-table tbody tr:nth-child(3) td.is-highlight,
.pricing .data-table tbody tr:nth-child(4) td.is-highlight {
    box-shadow: inset 2px 0 0 rgba(243, 221, 174, 0.9), inset 14px 0 18px -14px rgba(233, 201, 139, 0.55);
}

.pricing__note {
    max-width: 820px;
    margin: 20px auto 0;
    color: var(--text);
    text-align: center;
}

/* ============================================
   HOMEPAGE - FINAL CTA
   ============================================ */

.final {
    isolation: isolate;
    padding-block: clamp(80px, 12vw, 140px);
    text-align: center;
}

.final__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.final__inner {
    position: relative;
}

.final__line {
    max-width: 52ch;
    margin: 0 auto 32px;
    color: var(--text);
}

.final__glow {
    position: relative;
    display: inline-block;
}

.final__glow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: 520px;
    max-width: 120vw;
    height: 220px;
    transform: translate(-50%, -40%);
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(233, 201, 139, 0.32), rgba(201, 161, 94, 0.12) 55%, transparent 100%);
}

.final__micro {
    margin: 22px 0 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ============================================
   SCROLL REVEAL (transform-only, content always visible)
   ============================================ */

.js .reveal {
    transform: translateY(28px) scale(0.985);
    transition: transform 0.8s var(--ease);
}

.js .reveal.is-visible {
    transform: none;
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */

.section.policy-hero {
    padding-block: 16px 24px;
}

.hero-card.policy-hero__card {
    display: grid;
    gap: 24px;
    align-items: center;
}

.policy-hero__chip {
    margin-bottom: 16px;
}

.policy-hero__text h1 {
    margin-bottom: 16px;
}

.policy-hero__text p {
    margin-bottom: 0;
}

.policy-hero__art {
    width: min(180px, 52%);
    height: auto;
    margin: 0 auto;
    opacity: 0.7;
}

.policy {
    display: grid;
    gap: 24px;
    padding-bottom: 48px;
}

.policy__aside {
    min-width: 0;
}

.toc {
    padding: 0;
    overflow: hidden;
}

.toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 8px 20px;
    cursor: pointer;
    list-style: none;
}

.toc__summary::-webkit-details-marker {
    display: none;
}

.toc__summary:focus-visible {
    outline: 2px solid var(--gold-300);
    outline-offset: -4px;
    border-radius: var(--radius-lg);
}

.toc__title {
    margin: 0;
    font-size: 1.125rem;
    color: var(--gold-100);
}

.toc__icon {
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
}

.toc__icon::before,
.toc__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    margin: -1px 0 0 -8px;
    border-radius: 2px;
    background: var(--gold-300);
    transition: transform 0.3s var(--ease);
}

.toc__icon::after {
    transform: rotate(90deg);
}

.toc[open] .toc__icon::after {
    transform: rotate(0deg);
}

.toc__nav {
    padding: 0 20px 14px;
    border-top: 1px solid var(--line-soft);
}

.toc__list {
    margin: 0;
    padding: 6px 0 0;
    list-style: none;
}

.toc__list a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0 4px 22px;
    color: var(--text);
    font-size: 0.9375rem;
    text-decoration: none;
}

.toc__list a::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: var(--gold-300);
    box-shadow: 0 0 8px rgba(233, 201, 139, 0.7);
}

.toc__list a:hover,
.toc__list a:focus-visible {
    color: var(--gold-50);
    text-decoration: underline;
    text-decoration-color: var(--gold-300);
    text-underline-offset: 0.25em;
    text-decoration-thickness: 2px;
}

.policy__content {
    min-width: 0;
    max-width: 780px;
}

.policy__section {
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid var(--line-soft);
}

.policy__section:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}

.policy__section h2 {
    margin-top: 0;
}

.policy__section .table-wrap {
    margin-top: 20px;
}

.policy__note {
    margin-top: 18px;
}

.policy__heading-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0.5em;
}

.policy__heading-row h2 {
    margin: 0;
}

.shield-art.policy__shield {
    width: 48px;
    flex: none;
}

.policy__callout .btn {
    margin-top: 6px;
}

.policy__callout h2 {
    margin-top: 0;
}

@media (min-width: 768px) {
    .hero-card.policy-hero__card {
        grid-template-columns: minmax(0, 1fr) 30%;
        gap: 32px;
    }

    .policy-hero__art {
        width: 100%;
        max-width: 220px;
        opacity: 1;
    }
}

@media (min-width: 1024px) {
    .policy {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 56px;
        align-items: start;
        padding-bottom: 72px;
    }

    .policy__aside {
        position: sticky;
        top: calc(var(--header-bottom) + 16px);
        max-height: calc(100vh - var(--header-bottom) - 32px);
        overflow-y: auto;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.section.contact-hero {
    padding-block: 16px 24px;
}

.section.contact-section {
    padding-block: clamp(32px, 5vw, 56px);
}

.hero-card.contact-hero__card {
    display: grid;
    gap: 20px;
    align-items: center;
}

.contact-hero__art {
    width: min(210px, 58%);
    height: auto;
    margin: 0 auto;
}

.contact-hero__chip {
    margin-bottom: 16px;
}

.contact-hero__text h1 {
    margin-bottom: 16px;
}

.contact-hero__text p {
    margin-bottom: 22px;
}

.contact-hero__btn.btn--lg {
    width: 100%;
    padding: 0 18px;
    gap: 8px;
    font-size: 1rem;
}

.contact-grid {
    display: grid;
    gap: 20px;
}

.contact-card {
    padding: 26px 22px;
}

.contact-card h2 {
    font-size: clamp(1.375rem, 3.4vw, 1.75rem);
}

.contact-card__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.contact-card__row .icon {
    width: 30px;
    height: 30px;
    color: var(--gold-300);
    filter: drop-shadow(0 0 6px rgba(233, 201, 139, 0.4));
}

.contact-card__row p {
    margin: 0;
    padding-top: 3px;
    overflow-wrap: anywhere;
}

.contact-card__tip {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.contact-card .list-gold {
    margin-bottom: 0;
}

.contact-table {
    max-width: 920px;
    margin: 0 auto;
}

.topic {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.topic .icon {
    width: 22px;
    height: 22px;
    color: var(--gold-300);
}

.contact-table .data-table {
    min-width: 660px;
}

.contact-safety {
    max-width: 820px;
    margin: 0 auto;
    padding: 26px 22px;
}

.steps-ol {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps-ol li {
    position: relative;
    min-height: 36px;
    margin-bottom: 16px;
    padding: 4px 0 0 52px;
    counter-increment: step;
}

.steps-ol li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-grad);
    box-shadow: 0 0 14px rgba(233, 201, 139, 0.45);
    color: var(--on-gold);
    font-family: var(--font-display);
    font-weight: 600;
}

.contact-safety__alert {
    margin: 0;
    padding: 12px 16px;
    border-left: 3px solid var(--gold-300);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(233, 201, 139, 0.08);
}

.contact-final {
    padding-block: clamp(56px, 9vw, 100px);
}

.contact-final__art {
    width: min(360px, 90%);
    height: auto;
    margin: 0 auto 8px;
}

@media (min-width: 768px) {
    .hero-card.contact-hero__card {
        grid-template-columns: minmax(0, 1fr) 30%;
        gap: 32px;
    }

    .contact-hero__art {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        max-width: 250px;
    }

    .contact-hero__text {
        grid-column: 1;
        grid-row: 1;
    }

    .contact-hero__btn.btn--lg {
        width: auto;
        padding: 0 32px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .contact-card,
    .contact-safety {
        padding: 34px 32px;
    }
}

/* Pause decorative motion while the tab is hidden */
.doc-hidden *,
.doc-hidden *::before,
.doc-hidden *::after {
    animation-play-state: paused !important;
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal,
    .js .reveal.is-visible {
        transform: none;
    }

    .constellation .is-twinkle,
    .btn--breathe {
        animation: none !important;
    }

    .btn--primary:hover,
    .btn--primary:active,
    .btn--outline:active {
        transform: none;
    }
}