/*
 * SILKSLOVE - Midnight Premium design system
 * Canonical design tokens live in this file.
 */

:root {
    /* Surfaces */
    --ink-950: #04060f;
    --ink-900: #070b1b;
    --ink-850: #0a1026;
    --ink-800: #0e1738;
    --ink-700: #16214f;
    --glass: rgba(14, 22, 56, 0.72);
    --glass-strong: rgba(8, 13, 33, 0.9);

    /* Accents */
    --aqua: #5fe3dc;
    --aqua-deep: #2fc4ce;
    --aqua-dim: rgba(95, 227, 220, 0.4);
    --gold: #f2cd8a;
    --gold-bright: #ffdf9e;
    --gold-dim: rgba(242, 205, 138, 0.42);

    /* Text */
    --text: #eef2ff;
    --text-soft: #c7cfec;
    --text-dim: #a4aed2;

    /* Type */
    --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
    --font-ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* Metrics */
    --shell: 1200px;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --header-bottom: 64px;

    /* Effects */
    --glow-gold: 0 0 26px rgba(242, 205, 138, 0.28);
    --glow-aqua: 0 0 28px rgba(47, 196, 206, 0.28);
}

/* ============================================
   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 {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-ui);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--ink-900);
    background-image:
        radial-gradient(1100px 620px at 12% -8%, rgba(32, 52, 122, 0.55), transparent 65%),
        radial-gradient(900px 540px at 92% 18%, rgba(18, 86, 104, 0.35), transparent 62%),
        radial-gradient(1200px 700px at 50% 108%, rgba(46, 28, 92, 0.42), transparent 70%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    margin: 0 0 0.5em;
    letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.15rem, 7.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.55rem); }

p { margin: 0 0 1rem; }

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

:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

.shell {
    width: min(100% - 2rem, var(--shell));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.section--tight { padding: clamp(2.2rem, 5vw, 3.5rem) 0; }

.kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.65rem;
}

.section-title { margin-bottom: 0.6rem; }

.lede {
    color: var(--text-soft);
    font-size: 1.05rem;
    max-width: 62ch;
    margin: 0;
}

.section-head { margin-bottom: 2rem; }
.section-head--center { text-align: center; }
.section-head--center .lede { margin-inline: auto; }

.prose p { color: var(--text-soft); }
.prose strong { color: var(--text); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--ink-800);
    color: var(--text);
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--gold-dim);
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ============================================
   HEADER + NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    border-bottom: 1px solid rgba(242, 205, 138, 0.18);
    background: rgba(5, 8, 20, 0.86);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: -1;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 60px;
    padding-block: 0.5rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
}

.site-brand__mark {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(95, 227, 220, 0.5));
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(100deg, var(--gold-bright), #fff 45%, var(--aqua));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--gold-dim);
    background: rgba(12, 18, 44, 0.9);
    cursor: pointer;
}

.nav-toggle__bars { display: grid; gap: 5px; }
.nav-toggle__bars span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-bottom);
    bottom: 0;
    height: auto;
    display: none;
    overflow-y: auto;
    background: #060a18;
    border-top: 1px solid rgba(242, 205, 138, 0.2);
    padding: 1rem 1rem 2.5rem;
    z-index: 60;
}

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

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

.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(120, 140, 200, 0.16);
}

.site-nav__list a[aria-current="page"] { color: var(--gold-bright); }
.site-nav__list a:hover { color: var(--aqua); }

.site-nav__cta { padding: 0.25rem 0.5rem; }
.site-nav__cta .btn { width: 100%; }

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

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

    .site-header__inner { min-height: 72px; }

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 1.5rem;
        background: none;
        border: 0;
        padding: 0;
        overflow: visible;
        margin-left: auto;
    }

    .site-nav__list {
        display: flex;
        gap: 1.4rem;
        margin: 0;
    }

    .site-nav__list a {
        min-height: 40px;
        font-size: 0.95rem;
        border: 0;
        padding: 0;
        position: relative;
    }

    .site-nav__list a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 100%;
        bottom: -4px;
        height: 1px;
        background: linear-gradient(90deg, var(--gold), var(--aqua));
        transition: right 0.3s ease;
    }
    .site-nav__list a:hover::after,
    .site-nav__list a[aria-current="page"]::after { right: 0; }

    .site-nav__cta { display: none; }

    .header-actions { margin-left: 1rem; }
    .header-actions .header-cta { display: inline-flex; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: var(--text);
    background: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.3s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn__label { position: relative; z-index: 2; }

.btn--primary {
    color: #fff6e3;
    border-color: rgba(242, 205, 138, 0.9);
    background: linear-gradient(180deg, #1a2866 0%, #0b1133 100%);
    box-shadow: 0 0 0 1px rgba(242, 205, 138, 0.22), var(--glow-gold), inset 0 0 20px rgba(95, 227, 220, 0.2);
    animation: breathe 4.8s ease-in-out infinite;
}

.btn--primary::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -70% -30%;
    background: radial-gradient(closest-side, rgba(242, 205, 138, 0.5), rgba(242, 205, 138, 0) 72%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn__burst {
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    background: repeating-conic-gradient(from 0deg, rgba(255, 224, 160, 0.55) 0deg 1.6deg, rgba(255, 224, 160, 0) 1.6deg 11deg);
    -webkit-mask-image: radial-gradient(closest-side, #000 12%, transparent 70%);
    mask-image: radial-gradient(closest-side, #000 12%, transparent 70%);
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.btn--primary:hover,
.btn--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(255, 223, 158, 0.5), 0 0 42px rgba(242, 205, 138, 0.5), inset 0 0 26px rgba(95, 227, 220, 0.32);
}
.btn--primary:hover .btn__burst { opacity: 0.85; }
.btn--primary:hover::before { opacity: 0.95; }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
    border-color: rgba(95, 227, 220, 0.55);
    color: var(--text);
    background: rgba(10, 18, 44, 0.65);
}
.btn--ghost:hover {
    border-color: var(--aqua);
    box-shadow: var(--glow-aqua);
    color: #fff;
}

.btn--sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.btn--lg { min-height: 58px; padding: 1.05rem 2.4rem; font-size: 1.08rem; }

@keyframes breathe {
    0%, 100% { box-shadow: 0 0 0 1px rgba(242, 205, 138, 0.22), 0 0 22px rgba(242, 205, 138, 0.26), inset 0 0 20px rgba(95, 227, 220, 0.18); }
    50% { box-shadow: 0 0 0 1px rgba(242, 205, 138, 0.4), 0 0 38px rgba(242, 205, 138, 0.45), inset 0 0 26px rgba(95, 227, 220, 0.3); }
}

/* ============================================
   SILK RIBBON CONNECTOR
   ============================================ */

.ribbon {
    position: absolute;
    left: -4%;
    width: 108%;
    height: clamp(180px, 26vw, 320px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.ribbon--hero { bottom: -6%; }
.ribbon--rail { top: 32%; height: clamp(220px, 32vw, 380px); opacity: 0.6; }
.ribbon--band { top: 50%; transform: translateY(-50%); opacity: 0.55; }
.ribbon--flow { top: 18%; opacity: 0.45; }

/* ============================================
   HERO (shared across pages)
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(560px, 86vh, 780px);
    padding: clamp(3rem, 10vw, 5rem) 0 clamp(2.5rem, 8vw, 4.5rem);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: 58% 22%;
    background-repeat: no-repeat;
}

.hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(4, 6, 15, 0.55) 0%, rgba(4, 6, 15, 0.2) 32%, rgba(5, 8, 20, 0.86) 72%, #070b1b 100%);
}

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

.hero__copy { max-width: 36rem; }

.hero__sub {
    font-size: clamp(1rem, 2.4vw, 1.18rem);
    color: var(--text-soft);
    margin-bottom: 1.5rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.hero__assure {
    margin: 1.1rem 0 0;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    color: var(--text-dim);
}

.hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    border: 1px solid var(--aqua-dim);
    background: rgba(8, 20, 42, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

@media (min-width: 1024px) {
    .hero { align-items: center; }
    .hero__bg { background-position: 24% 28%; }
    .hero__veil {
        background:
            linear-gradient(95deg, rgba(4, 6, 15, 0) 0%, rgba(4, 6, 15, 0.35) 34%, rgba(6, 9, 24, 0.9) 52%, #070b1b 66%),
            linear-gradient(180deg, rgba(4, 6, 15, 0.4) 0%, rgba(4, 6, 15, 0) 40%, rgba(7, 11, 27, 0.9) 100%);
    }
    .hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 2rem;
    }
    .hero__copy { grid-column: 2; }
}

/* ============================================
   LIVE BAR
   ============================================ */

.live-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(242, 205, 138, 0.3);
    border-bottom: 1px solid rgba(95, 227, 220, 0.25);
    background: linear-gradient(90deg, rgba(8, 14, 36, 0.2), rgba(14, 34, 66, 0.75), rgba(8, 14, 36, 0.2));
}

.live-bar__dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 12px var(--aqua);
    align-self: center;
}
.live-bar__dot::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(95, 227, 220, 0.6);
    animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
    0% { transform: scale(0.55); opacity: 0.9; }
    100% { transform: scale(1.4); opacity: 0; }
}

.live-bar__value {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 700;
    color: var(--gold-bright);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 18px rgba(242, 205, 138, 0.45);
}

.live-bar__label { font-weight: 600; color: var(--text); }
.live-bar__note { color: var(--text-soft); font-size: 0.92rem; }

/* ============================================
   RAIL / CAROUSEL
   ============================================ */

.rail { position: relative; }

.rail__track,
.carousel__track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1.4rem 0.25rem 1.8rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(242, 205, 138, 0.5) transparent;
    position: relative;
    z-index: 1;
    cursor: grab;
}

.rail__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.rail__track::-webkit-scrollbar,
.carousel__track::-webkit-scrollbar { height: 6px; }
.rail__track::-webkit-scrollbar-thumb,
.carousel__track::-webkit-scrollbar-thumb { background: rgba(242, 205, 138, 0.45); border-radius: 99px; }

.rail__hint {
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

/* ============================================
   PROFILE CARD
   ============================================ */

.profile-card {
    position: relative;
    flex: 0 0 clamp(210px, 64vw, 250px);
    scroll-snap-align: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--glass-strong);
    border: 1px solid rgba(95, 227, 220, 0.5);
    box-shadow: inset 0 0 0 1px rgba(242, 205, 138, 0.18), 0 0 26px rgba(47, 196, 206, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover,
.profile-card--featured {
    transform: translateY(-6px);
    box-shadow: inset 0 0 0 1px rgba(242, 205, 138, 0.35), 0 0 44px rgba(95, 227, 220, 0.45);
}

.profile-card__media {
    position: relative;
    aspect-ratio: 8 / 11;
    background: var(--ink-800);
}

.profile-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 28%;
    display: block;
}

.profile-card__online {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(5, 10, 24, 0.88);
    border: 1px solid var(--aqua-dim);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--aqua);
}
.profile-card__online span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 8px var(--aqua);
}

.profile-card__body { padding: 0.8rem 0.9rem 1rem; }

.profile-card__name {
    margin: 0 0 0.25rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}
.profile-card__name span { color: var(--gold); font-size: 1rem; }

.profile-card__line {
    margin: 0 0 0.6rem;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.profile-card__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    font-size: 0.76rem;
    color: var(--text-dim);
}
.profile-card__meta li { display: inline-flex; align-items: center; gap: 0.3rem; }

.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--aqua { background: var(--aqua); box-shadow: 0 0 8px var(--aqua); }
.dot--gold { background: var(--gold); box-shadow: 0 0 8px rgba(242, 205, 138, 0.8); }
.dot--soft { background: #8fa0d4; }

/* ============================================
   BADGES + STAT PANEL
   ============================================ */

.badge-row {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    position: relative;
    z-index: 1;
}

.badge { text-align: center; }

.badge__seal {
    display: inline-block;
    width: clamp(66px, 16vw, 86px);
    color: var(--gold);
    filter: drop-shadow(0 0 14px rgba(242, 205, 138, 0.5));
}
.badge__seal svg { width: 100%; height: auto; display: block; }

.badge__title {
    margin: 0.7rem 0 0.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}

.badge__text {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-soft);
}

.stat-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-dim);
    background: var(--glass);
    box-shadow: inset 0 0 34px rgba(47, 196, 206, 0.16), var(--glow-gold);
    overflow: hidden;
    z-index: 1;
}

.stat-panel::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(242, 205, 138, 0.3);
    border-radius: calc(var(--radius-lg) - 6px);
    pointer-events: none;
}

.stat-panel__item {
    padding: 1.2rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(242, 205, 138, 0.18);
}
.stat-panel__item:last-child { border-bottom: 0; }

.stat-panel__figure {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--gold-bright);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 20px rgba(242, 205, 138, 0.4);
}

.stat-panel__label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--text-soft);
}

@media (min-width: 640px) {
    .stat-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stat-panel__item {
        border-bottom: 0;
        border-right: 1px solid rgba(242, 205, 138, 0.18);
    }
    .stat-panel__item:last-child { border-right: 0; }
}

/* ============================================
   STEP CARDS
   ============================================ */

.step-grid {
    display: grid;
    gap: 2.4rem 1.5rem;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 1;
}

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

.step-card {
    position: relative;
    padding: 2.4rem 1.3rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--glass-strong);
    border: 1px solid var(--gold-dim);
    box-shadow: 0 0 30px rgba(10, 20, 50, 0.6), inset 0 0 24px rgba(47, 196, 206, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 44px rgba(242, 205, 138, 0.28), inset 0 0 28px rgba(47, 196, 206, 0.18);
}

.step-card__icon {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink-850);
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    box-shadow: 0 0 22px rgba(242, 205, 138, 0.45);
}
.step-card__icon svg { width: 28px; height: 28px; }

.step-card__num {
    display: block;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--aqua);
    text-align: center;
    margin-bottom: 0.4rem;
}

.step-card__title { text-align: center; margin-bottom: 0.5rem; }
.step-card__text { color: var(--text-soft); margin-bottom: 0.9rem; }

.step-card__link {
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border-bottom: 1px solid var(--gold-dim);
}
.step-card__link:hover { border-color: var(--gold-bright); }

/* ============================================
   ORNATE TABLE
   ============================================ */

.ornate {
    position: relative;
    padding: 16px;
    border: 1px solid rgba(242, 205, 138, 0.45);
    border-radius: var(--radius);
    background: rgba(7, 12, 30, 0.72);
    box-shadow: inset 0 0 0 4px rgba(242, 205, 138, 0.1), 0 0 30px rgba(10, 18, 44, 0.8);
}

.ornate__corner {
    position: absolute;
    width: 34px;
    height: 34px;
    color: var(--gold);
    pointer-events: none;
}
.ornate__corner svg { width: 100%; height: 100%; display: block; }
.ornate__corner--tl { top: -2px; left: -2px; }
.ornate__corner--tr { top: -2px; right: -2px; transform: scaleX(-1); }
.ornate__corner--bl { bottom: -2px; left: -2px; transform: scaleY(-1); }
.ornate__corner--br { bottom: -2px; right: -2px; transform: scale(-1, -1); }

.table-scroll { overflow-x: auto; border-radius: var(--radius-sm); }
.table-scroll:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

.data-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.data-table caption {
    caption-side: top;
    text-align: left;
    padding-bottom: 0.75rem;
    color: var(--text-dim);
    font-size: 0.88rem;
}

.data-table thead th {
    background: rgba(5, 9, 24, 0.95);
    color: var(--gold);
    font-family: var(--font-ui);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    padding: 0.85rem 0.8rem;
    border-bottom: 1px solid rgba(242, 205, 138, 0.45);
}

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

.data-table th,
.data-table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(120, 140, 200, 0.18);
    color: var(--text-soft);
    vertical-align: top;
}

.data-table tbody tr:nth-child(even) { background: rgba(18, 28, 68, 0.45); }
.data-table tbody tr:hover { background: rgba(28, 54, 102, 0.45); }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table .is-highlight {
    background: rgba(47, 196, 206, 0.12);
    color: var(--text);
    box-shadow: inset 0 0 22px rgba(47, 196, 206, 0.16);
}
.data-table thead .is-highlight { color: var(--aqua); }

/* ============================================
   BENEFIT LIST
   ============================================ */

.benefit-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.benefit-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    color: var(--text-soft);
    background: linear-gradient(90deg, rgba(47, 196, 206, 0.12), rgba(10, 16, 38, 0));
    border-left: 2px solid rgba(242, 205, 138, 0.45);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.benefit-list__item:hover {
    background: linear-gradient(90deg, rgba(242, 205, 138, 0.18), rgba(10, 16, 38, 0));
    border-left-color: var(--gold-bright);
    transform: translateX(3px);
}

.benefit-list__mark {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: 0.45rem;
    background: var(--gold);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(242, 205, 138, 0.8);
}

/* ============================================
   QUOTES
   ============================================ */

.quote-card {
    position: relative;
    flex: 0 0 min(88vw, 420px);
    scroll-snap-align: center;
    margin: 2.2rem 0 0;
    padding: 2.4rem 1.4rem 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--glass-strong);
    border: 1px solid rgba(95, 227, 220, 0.35);
    box-shadow: inset 0 0 26px rgba(47, 196, 206, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.quote-card:hover,
.quote-card.is-active {
    border-color: var(--gold);
    box-shadow: 0 0 38px rgba(242, 205, 138, 0.32), inset 0 0 26px rgba(47, 196, 206, 0.18);
    transform: translateY(-4px);
}

.quote-card__photo {
    position: absolute;
    top: -34px;
    left: 1.4rem;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(242, 205, 138, 0.45);
}

.quote-card__mark {
    position: absolute;
    top: 0.3rem;
    right: 1rem;
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: rgba(242, 205, 138, 0.35);
}

.quote-card__text { margin: 0; }
.quote-card__text p {
    margin: 0;
    font-size: 1.02rem;
    color: var(--text);
}

.quote-card__meta {
    margin-top: 0.9rem;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: var(--text-dim);
}

.carousel { position: relative; }

.carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.carousel__btn {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--gold-dim);
    background: rgba(10, 16, 40, 0.85);
    color: var(--gold);
    cursor: pointer;
    transition: box-shadow 0.25s ease, color 0.25s ease;
}
.carousel__btn:hover { color: var(--gold-bright); box-shadow: var(--glow-gold); }
.carousel__btn svg { width: 20px; height: 20px; }

.carousel__dots { display: flex; gap: 0.45rem; }

.carousel__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--gold-dim);
    background: transparent;
    cursor: pointer;
}
.carousel__dot.is-active { background: var(--gold); box-shadow: 0 0 10px rgba(242, 205, 138, 0.8); }

/* ============================================
   FAQ DISCLOSURE
   ============================================ */

.faq-list {
    display: grid;
    gap: 0.75rem;
    align-items: start;
}

.faq-item {
    align-self: start;
    border-radius: var(--radius);
    border: 1px solid rgba(120, 140, 200, 0.22);
    border-left: 3px solid var(--gold-dim);
    background: var(--glass);
    overflow: hidden;
}

.faq-item[open] { border-left-color: var(--gold); }

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.9rem 1rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text);
    list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--gold-bright); }

.faq-item__chev {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: var(--gold);
    transition: transform 0.25s ease;
}
.faq-item[open] .faq-item__chev { transform: rotate(180deg); }

.faq-item__a {
    padding: 0 1rem 1.1rem;
    color: var(--text-soft);
    animation: fadeIn 0.3s ease both;
}
.faq-item__a p:last-child { margin-bottom: 0; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* ============================================
   COUNTDOWN + CTA BAND
   ============================================ */

.countdown {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.countdown__tile {
    display: grid;
    justify-items: center;
    gap: 0.25rem;
    min-width: clamp(64px, 18vw, 86px);
    padding: 0.6rem 0.5rem 0.45rem;
    border-radius: 12px;
    border: 1px solid var(--gold);
    background: rgba(6, 10, 26, 0.85);
    box-shadow: inset 0 0 18px rgba(47, 196, 206, 0.18), 0 0 22px rgba(242, 205, 138, 0.25);
}

.countdown__num {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5.5vw, 2.3rem);
    font-weight: 700;
    line-height: 1;
    color: var(--gold-bright);
    font-variant-numeric: tabular-nums;
}

.countdown__lbl {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.countdown__sep {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4.5vw, 2rem);
    color: var(--gold);
    padding-bottom: 1.1rem;
}

.cta-band {
    position: relative;
    isolation: isolate;
    padding: clamp(3rem, 9vw, 5.5rem) 0;
    text-align: center;
}

.cta-band__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.cta-band__veil {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(70% 70% at 50% 50%, rgba(5, 8, 20, 0.86) 0%, rgba(5, 8, 20, 0.6) 55%, rgba(5, 8, 20, 0.75) 100%);
}

.cta-band__inner { position: relative; z-index: 1; }

.cta-band__title { margin-bottom: 0.6rem; }

.cta-band__text {
    max-width: 48ch;
    margin: 0 auto 1.6rem;
    color: var(--text-soft);
    font-size: 1.05rem;
}

.cta-band__fine {
    margin: 1.1rem 0 0;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--text-dim);
}

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

.site-footer {
    position: relative;
    margin-top: clamp(2rem, 6vw, 4rem);
    border-top: 1px solid rgba(242, 205, 138, 0.25);
    background: rgba(4, 6, 16, 0.9);
    padding: clamp(2.5rem, 6vw, 3.5rem) 0 1.5rem;
}

.site-footer__inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .site-footer__inner { grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
}

.site-footer__brand {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-bright);
    display: block;
    margin-bottom: 0.5rem;
}

.site-footer__tagline {
    color: var(--text-soft);
    font-size: 0.95rem;
    max-width: 38ch;
}

.site-footer__title {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.2rem;
}

.site-footer__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.95rem;
}
.site-footer__list a:hover { color: var(--gold-bright); }

.site-footer__legal {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(120, 140, 200, 0.18);
    text-align: center;
}
.site-footer__legal p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */

.live-strip { position: relative; }
.live-strip__h { margin: 0; line-height: 1.2; }
.live-bar__note { max-width: 52ch; }

.rail-section__intro { margin-bottom: 0; }

.rail__note {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-dim);
    position: relative;
    z-index: 1;
}

.trust-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .trust-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        align-items: center;
        gap: 3rem;
    }
}

.how-section { position: relative; isolation: isolate; }

.how-section__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.how-section__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 8, 20, 0.92) 0%, rgba(5, 8, 20, 0.66) 45%, rgba(5, 8, 20, 0.94) 100%);
}

.split-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .split-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
        gap: 3rem;
    }
}

.split-grid__note {
    margin: 1.1rem 0 0;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.quote-card--plain {
    margin-top: 1.2rem;
    padding-top: 1.4rem;
}

.quote-card__tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--aqua);
    margin-bottom: 0.5rem;
}

.quote-card__body { margin: 0; }

.quote-card__body p {
    margin: 0;
    font-size: 1.02rem;
    color: var(--text);
}

.section-foot {
    margin: 1.6rem 0 0;
    text-align: center;
}

.section-foot a {
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--gold-dim);
}

.section-foot a:hover { border-color: var(--gold-bright); }

/* ============================================
   SINGLES-NEAR-ME: HERO RINGS + GEOHASH GRID
   ============================================ */

.hero__rings {
    position: absolute;
    right: clamp(0.5rem, 4vw, 2.5rem);
    bottom: clamp(0.5rem, 5vw, 2rem);
    width: clamp(110px, 28vw, 190px);
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}
.hero__rings svg { width: 100%; height: auto; display: block; }

.hero__ring {
    transform-origin: 100px 100px;
    animation: ring-pulse 3.6s ease-out infinite;
}
.hero__ring--2 { animation-delay: 0.6s; }
.hero__ring--3 { animation-delay: 1.2s; }

@keyframes ring-pulse {
    0% { opacity: 0.9; transform: scale(0.85); }
    70% { opacity: 0; transform: scale(1.18); }
    100% { opacity: 0; transform: scale(1.18); }
}

@media (max-width: 767px) {
    .hero__rings { opacity: 0.5; }
}

.geohash-grid {
    max-width: 420px;
    margin: 0.5rem auto 1.4rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}
.geohash-grid svg { width: 100%; height: auto; display: block; }

/* ============================================
   SCROLL REVEAL
   ============================================ */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* ============================================
   FAQ PAGE: HERO, JUMP LINKS, Q&A BLOCKS
   ============================================ */

.faq-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(3.2rem, 10vw, 5.5rem) 0;
    text-align: center;
}

.faq-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: 50% 38%;
    background-repeat: no-repeat;
}

.faq-hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(70% 70% at 50% 45%, rgba(5, 8, 20, 0.72) 0%, rgba(5, 8, 20, 0.55) 45%, rgba(5, 8, 20, 0.92) 100%);
}

.faq-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 44rem;
    margin-inline: auto;
}

.faq-hero__inner .hero__chip { margin-inline: auto; }

.faq-hero__intro {
    font-size: clamp(1rem, 2.4vw, 1.14rem);
    color: var(--text-soft);
    margin: 0 auto 1.6rem;
    max-width: 40ch;
}

.jump-links { position: relative; margin-top: 0.5rem; }

.jump-links__list {
    list-style: none;
    margin: 0 0 0.6rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.jump-links__item {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--gold-dim);
    background: rgba(10, 16, 40, 0.65);
    backdrop-filter: blur(6px);
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.jump-links__item:hover,
.jump-links__item:focus-visible {
    color: var(--gold-bright);
    border-color: var(--gold);
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

.jump-links__ribbon {
    display: block;
    width: min(100%, 420px);
    height: 20px;
    margin: 0 auto;
    opacity: 0.8;
}

.qa-group { display: grid; gap: 1.8rem; }

.qa-block h3 { margin-bottom: 0.45rem; }
.qa-block p { color: var(--text-soft); margin-bottom: 0; }

.safety-head { text-align: center; margin-bottom: 2rem; }

.safety-emblem {
    display: inline-flex;
    width: 54px;
    height: 54px;
    color: var(--gold);
    filter: drop-shadow(0 0 16px rgba(242, 205, 138, 0.55));
    margin-bottom: 0.5rem;
}
.safety-emblem svg { width: 100%; height: 100%; display: block; }

.safety-grid {
    display: grid;
    gap: 2.4rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .safety-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 3rem;
    }
}

.safety-portrait {
    position: relative;
    max-width: 360px;
    margin-inline: auto;
}

.safety-portrait img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.flag-list {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0.2rem 0 0.2rem 1.3rem;
    display: grid;
    gap: 0.65rem;
}

.flag-list::before {
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 0.2rem;
    bottom: 0.2rem;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-bright), rgba(242, 205, 138, 0.05));
}

.flag-list__item {
    position: relative;
    padding-left: 0.7rem;
    color: var(--text-soft);
}

.flag-list__mark {
    position: absolute;
    left: -1.1rem;
    top: 0.45rem;
    width: 9px;
    height: 9px;
    background: var(--gold);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(242, 205, 138, 0.75);
}

/* ============================================
   SUCCESS STORIES: TESTIMONIAL GRID + FINAL CTA
   ============================================ */

.story-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.6rem 1.5rem;
    grid-template-columns: 1fr;
    align-items: start;
}

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

.story-grid__item { position: relative; z-index: 1; }

.ribbon--stories { top: 38%; opacity: 0.45; }

.align-center-cta {
    display: flex;
    justify-content: center;
}

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

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

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

    .js [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}