/*
 * MatureSearch - design system
 * Dark midnight-navy canvas, antique-gold accent, emerald reserved for
 * verification badges and live online indicators.
 */

:root {
    /* Type */
    --font-head: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

    /* Surfaces */
    --c-bg: #070D1B;
    --c-bg-deep: #040914;
    --c-navy-900: #0A1223;
    --c-navy-800: #0E1930;
    --c-panel: #13203C;
    --c-panel-2: #182747;
    --c-slate: #273045;

    /* Accents */
    --c-gold: #E8C46A;
    --c-gold-soft: #F6E4B0;
    --c-gold-deep: #C79A3C;
    --c-emerald: #10B981;
    --c-emerald-deep: #059669;
    --c-danger: #F05252;

    /* Text */
    --c-text: #F4F7FC;
    --c-muted: #C2CDE1;
    --c-muted-2: #9FAEC8;
    --c-ink: #2A1C04;

    /* Lines & shadows */
    --c-line: rgba(232, 196, 106, 0.22);
    --c-line-soft: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 18px 38px rgba(2, 6, 16, 0.45);
    --shadow-gold: 0 12px 30px rgba(201, 155, 62, 0.26);

    /* Layout */
    --container: 1200px;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --header-bottom: 64px;
    --section-pad: clamp(3.25rem, 7vw, 6rem);
}

/* ============================================
   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;
}

[hidden] {
    display: none !important;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--c-text);
    background-color: var(--c-bg);
    background-image:
        radial-gradient(900px 540px at 50% -8%, rgba(201, 155, 62, 0.14), transparent 62%),
        linear-gradient(180deg, #070D1B 0%, #060B17 55%, #040914 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.18;
    margin: 0 0 0.6em;
    color: var(--c-text);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.3rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--c-gold-soft);
    text-decoration-thickness: 1px;
}

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

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

.sr-only {
    position: absolute;
    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;
    left: 1rem;
    top: -64px;
    z-index: 200;
    background: var(--c-gold);
    color: var(--c-ink);
    padding: 0.75rem 1.1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus { top: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0 1.7rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease,
                box-shadow 0.18s ease, transform 0.12s ease;
}

.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: 0.9rem; }
.btn--md { min-height: 48px; padding: 0 1.4rem; font-size: 0.95rem; }
.btn--full { width: 100%; }

.btn__icon { display: inline-flex; align-items: center; }
.btn__icon .keyhole { display: block; }

.btn--gold {
    background-image: linear-gradient(180deg, #F6E4B0 0%, #D9AE54 100%);
    color: var(--c-ink);
    box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
    background-image: linear-gradient(180deg, #FBEFCB 0%, #E3BB65 100%);
    color: var(--c-ink);
}

.btn--gold:active {
    background-image: none;
    background-color: var(--c-ink);
    color: var(--c-gold-soft);
    transform: translateY(1px);
}

.btn--ghost {
    background-color: rgba(232, 196, 106, 0.07);
    border-color: rgba(232, 196, 106, 0.55);
    color: var(--c-gold-soft);
}

.btn--ghost:hover {
    background-color: rgba(232, 196, 106, 0.16);
    color: var(--c-gold-soft);
}

.btn--ghost:active {
    background-color: var(--c-gold);
    color: var(--c-ink);
    transform: translateY(1px);
}

.btn--emerald {
    background-color: var(--c-emerald-deep);
    color: #FFFFFF;
}

.btn--emerald:active {
    background-color: #03301F;
    color: #A7F3D0;
}

.btn[disabled],
.btn[aria-disabled="true"] {
    cursor: not-allowed;
    filter: grayscale(0.35);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 13, 27, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(232, 196, 106, 0.18);
    z-index: -1;
}

.site-header__inner {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 0.65rem clamp(1rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
}

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

.site-brand__mark {
    display: inline-flex;
    width: 30px;
    height: 30px;
    color: var(--c-gold);
}

.site-brand__mark svg { width: 100%; height: 100%; }

.site-brand__text {
    font-family: var(--font-head);
    font-size: clamp(1.08rem, 2.4vw, 1.32rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--c-muted);
    white-space: nowrap;
}

.site-brand__text strong {
    color: var(--c-text);
    font-weight: 700;
}

.primary-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.primary-nav__list a {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    color: var(--c-muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.primary-nav__list a:hover,
.primary-nav__list a[aria-current="page"] {
    color: var(--c-gold-soft);
    background-color: rgba(232, 196, 106, 0.1);
}

.primary-nav__cta { display: none; }

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

.nav-toggle {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 196, 106, 0.08);
    border: 1px solid rgba(232, 196, 106, 0.4);
    border-radius: 12px;
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--c-gold-soft);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars { position: relative; }

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

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

    .primary-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--header-bottom, 64px);
        bottom: 0;
        height: auto;
        z-index: 55;
        padding: 1.1rem clamp(1rem, 5vw, 1.75rem) 2.5rem;
        background: var(--c-navy-900);
        border-top: 1px solid var(--c-line);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
    }

    .primary-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .primary-nav__list a {
        min-height: 48px;
        padding-inline: 1rem;
        font-size: 1.02rem;
        border-radius: var(--radius-sm);
    }

    .primary-nav__cta {
        display: block;
        margin-top: 1.25rem;
    }
}

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

body.nav-lock { overflow: hidden; }

/* ============================================
   SECTION HEADINGS
   ============================================ */

.section-head {
    max-width: 760px;
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head__eyebrow {
    margin: 0 0 0.6rem;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.section-head__title { margin-bottom: 0.5rem; }

.section-head__lead {
    color: var(--c-muted);
    font-size: 1.03rem;
    margin: 0;
}

/* ============================================
   SHARED MOTIF: KEYHOLE
   ============================================ */

.keyhole { color: var(--c-gold); }

.keyhole--outline {
    filter: drop-shadow(0 0 8px rgba(232, 196, 106, 0.35));
}

/* ============================================
   ONLINE PULSE + VERIFIED BADGE
   ============================================ */

.online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: var(--c-emerald);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
    animation: ms-pulse 2s ease-out infinite;
}

@keyframes ms-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ============================================
   PROFILE CARDS
   ============================================ */

.profile-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.75rem 0.25rem 1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.profile-rail > * {
    flex: 0 0 min(76vw, 232px);
    scroll-snap-align: center;
}

.profile-card {
    display: flex;
    flex-direction: column;
    background: var(--c-navy-800);
    border: 1px solid rgba(232, 196, 106, 0.2);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.profile-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--c-panel);
}

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

.profile-card__verified {
    position: absolute;
    left: 0.6rem;
    bottom: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: #03301F;
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.profile-card__body {
    padding: 0.85rem 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.profile-card__name {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
}

.profile-card__meta {
    margin: 0 0 0.55rem;
    font-size: 0.86rem;
    color: var(--c-muted-2);
}

.profile-card__label {
    color: var(--c-gold);
    font-weight: 600;
}

.profile-card__actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.profile-card__btn {
    flex: 1 1 0;
    padding-inline: 0.6rem;
}

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

.step-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: minmax(0, 1fr);
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem;
    background: linear-gradient(180deg, rgba(39, 48, 69, 0.95), rgba(26, 33, 50, 0.95));
    border: 1px solid var(--c-line-soft);
    border-top: 1px solid rgba(232, 196, 106, 0.45);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.step-card__icon { flex: 0 0 auto; display: inline-flex; }

.step-card__step {
    margin: 0 0 0.3rem;
    font-family: var(--font-head);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.step-card__title { margin-bottom: 0.35rem; }

.step-card__text {
    margin: 0;
    color: var(--c-muted);
    font-size: 0.96rem;
}

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

.faq-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.faq-item {
    align-self: start;
    background: var(--c-navy-800);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item[open] { border-color: rgba(232, 196, 106, 0.4); }

.faq-item__q {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 56px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    color: var(--c-text);
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__bullet { display: inline-flex; flex: 0 0 auto; }

.faq-item__text { flex: 1 1 auto; }

.faq-item__chevron {
    display: inline-flex;
    flex: 0 0 auto;
    color: var(--c-gold);
    transition: transform 0.22s ease;
}

.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }

.faq-item__a {
    padding: 0 1rem 1.1rem 2.45rem;
    color: var(--c-muted);
    font-size: 0.96rem;
}

.faq-item__a p { margin-bottom: 0.8rem; }

/* ============================================
   INFO CARDS / KEYHOLE LISTS
   ============================================ */

.card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}

.info-card {
    padding: 1.3rem;
    background: var(--c-panel);
    border: 1px solid var(--c-line-soft);
    border-top: 1px solid rgba(232, 196, 106, 0.42);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow-card);
}

.info-card__icon { display: inline-flex; margin-bottom: 0.6rem; }

.info-card__title { margin-bottom: 0.4rem; }

.info-card__text {
    margin: 0;
    color: var(--c-muted);
    font-size: 0.95rem;
}

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

.keyhole-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--c-muted);
}

.keyhole-list__marker {
    display: inline-flex;
    flex: 0 0 auto;
    margin-top: 0.22em;
}

.keyhole-list--steps {
    position: relative;
    padding-left: 0.35rem;
    border-left: 1px solid rgba(232, 196, 106, 0.3);
    gap: 1rem;
}

.keyhole-list--steps li { padding-left: 0.6rem; }

/* ============================================
   LEGAL PAGE LAYOUT + PROSE
   ============================================ */

.page-header {
    position: relative;
    padding-block: clamp(2.5rem, 6vw, 4.25rem);
    background-image: linear-gradient(180deg, #0C1527 0%, #060B17 100%);
    border-bottom: 1px solid var(--c-line-soft);
}

.page-header__keyhole {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(232, 196, 106, 0.08);
    pointer-events: none;
}

.page-header__keyhole svg { width: clamp(180px, 26vw, 330px); height: auto; }

.page-header__inner { position: relative; z-index: 1; max-width: 760px; }

.page-header__kicker {
    margin: 0 0 0.7rem;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.page-header__meta {
    margin: 0.8rem 0 0;
    color: var(--c-muted-2);
    font-size: 0.9rem;
}

.legal-layout {
    display: grid;
    gap: 2.25rem;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.toc-rail {
    padding: 1.1rem 1.2rem;
    background: var(--c-navy-800);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius);
}

.toc-rail__title {
    margin: 0 0 0.6rem;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.toc-rail__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.1rem;
}

.toc-rail__list a {
    display: block;
    padding: 0.5rem 0.4rem;
    color: var(--c-muted);
    font-size: 0.92rem;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.toc-rail__list a:hover {
    color: var(--c-gold-soft);
    border-left-color: var(--c-gold);
}

.prose { max-width: 72ch; }

.prose h2 {
    margin-top: 2.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(232, 196, 106, 0.22);
}

.prose > section:first-of-type h2,
.prose > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.prose h3 {
    margin-top: 1.6rem;
    color: var(--c-gold-soft);
}

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

.prose ul, .prose ol { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: 0.45rem; }

.prose a { color: var(--c-gold-soft); }

.callout {
    margin: 1.4rem 0;
    padding: 1.1rem 1.25rem;
    background: rgba(232, 196, 106, 0.07);
    border-left: 3px solid var(--c-gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--c-muted);
}

.rule-tapered {
    display: block;
    width: 100%;
    height: 10px;
    margin: 2rem 0;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(232, 196, 106, 0.6), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.callout--badge {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.callout--badge .badge-18 {
    margin-bottom: 0;
    flex: 0 0 auto;
}

.callout--badge p { margin: 0; }

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

.site-footer {
    margin-top: clamp(2.5rem, 6vw, 4rem);
    background: var(--c-bg-deep);
    border-top: 1px solid var(--c-line-soft);
    padding-block: clamp(2.25rem, 5vw, 3.25rem);
}

.site-footer__inner {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
}

.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(232, 196, 106, 0.6);
    border-radius: 12px;
    box-shadow: inset 0 0 18px rgba(232, 196, 106, 0.14);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--c-gold-soft);
}

.site-footer__heading {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.site-footer__disclaimer {
    color: var(--c-muted-2);
    font-size: 0.9rem;
    max-width: 46ch;
}

.site-footer__copyright {
    margin-top: 1.1rem;
    color: var(--c-muted-2);
    font-size: 0.85rem;
}

.site-footer__links {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

.footer-col h3 {
    font-size: 0.98rem;
    margin-bottom: 0.55rem;
}

.footer-col h3 a {
    color: var(--c-gold-soft);
    text-decoration: none;
}

.footer-col h3 a:hover { text-decoration: underline; }

.footer-col p {
    margin: 0 0 0.4rem;
    color: var(--c-muted-2);
    font-size: 0.86rem;
    line-height: 1.5;
}

/* ============================================
   MOBILE ACTION BAR
   ============================================ */

.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: none;
    padding: 0.7rem clamp(0.75rem, 4vw, 1.25rem) calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(7, 13, 27, 0.95);
    border-top: 1px solid var(--c-line);
}

.mobile-cta-bar__note {
    margin: 0 0 0.45rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--c-muted-2);
}

@media (max-width: 767.98px) {
    .mobile-cta-bar { display: block; }
    body:has(.mobile-cta-bar) .site-footer { padding-bottom: 7.5rem; }
}

/* ============================================
   COOKIE CONSENT
   ============================================ */

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 0.9rem clamp(1rem, 4vw, 2.5rem) calc(0.9rem + env(safe-area-inset-bottom));
    background: rgba(10, 18, 35, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--c-gold);
    box-shadow: 0 -16px 40px rgba(2, 6, 16, 0.5);
}

.cookie-consent__inner {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
}

.cookie-consent__copy { flex: 1 1 260px; }

.cookie-consent__title {
    margin: 0 0 0.2rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
}

.cookie-consent__text {
    margin: 0;
    color: var(--c-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-consent__dismiss {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 50%;
    color: var(--c-muted);
    cursor: pointer;
}

.cookie-consent__dismiss:hover {
    color: var(--c-gold-soft);
    border-color: rgba(232, 196, 106, 0.4);
}

.cookie-consent__prefs {
    width: 100%;
    max-width: var(--container);
    margin: 0.85rem auto 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--c-line-soft);
}

.cookie-consent__list {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.cookie-consent__list label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--c-muted);
    font-size: 0.87rem;
    cursor: pointer;
}

.cookie-consent__list input {
    width: 20px;
    height: 20px;
    margin-top: 0.15em;
    accent-color: var(--c-emerald-deep);
    flex: 0 0 auto;
}

.cookie-consent__list strong { color: var(--c-text); }

@media (max-width: 767.98px) {
    body:has(.mobile-cta-bar) .cookie-consent { bottom: 86px; }
}

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

.hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-block: clamp(2.5rem, 7vw, 5rem);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("/assets/545f587bead79b21c702cd67c33fb725.webp");
    background-size: cover;
    background-position: 62% 45%;
    background-repeat: no-repeat;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(4, 9, 20, 0.86) 0%, rgba(4, 9, 20, 0.6) 35%, rgba(4, 9, 20, 0.94) 100%);
}

.hero__grid {
    position: relative;
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.75rem);
    align-items: center;
}

.hero__kicker {
    margin: 0 0 0.7rem;
    font-family: var(--font-head);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.hero__sub {
    margin: 0 0 1rem;
    font-family: var(--font-head);
    font-size: clamp(1.15rem, 2.6vw, 1.6rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--c-gold-soft);
}

.hero__lead {
    max-width: 56ch;
    color: var(--c-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 1.25rem;
}

.search-pill {
    width: 100%;
    max-width: 460px;
    justify-content: flex-start;
    gap: 0.85rem;
    padding-left: 0.4rem;
    text-align: left;
}

.search-pill__cap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: rgba(42, 28, 4, 0.16);
    color: var(--c-ink);
}

.online-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 480px;
    margin: 0;
    padding: 0.65rem 1.05rem;
    border-radius: 999px;
    background: rgba(8, 14, 28, 0.82);
    border: 1px solid var(--c-line);
    color: var(--c-text);
    font-size: 0.9rem;
    line-height: 1.45;
}

.hero__portrait {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 300px;
}

.hero__bloom {
    position: absolute;
    bottom: 8%;
    left: 50%;
    width: min(118%, 520px);
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 196, 106, 0.34) 0%, rgba(232, 196, 106, 0.12) 45%, rgba(232, 196, 106, 0) 72%);
    filter: blur(6px);
    pointer-events: none;
}

.hero__ring {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(92%, 400px);
    height: auto;
    transform: translateX(-50%);
    color: var(--c-gold);
    filter: drop-shadow(0 0 20px rgba(232, 196, 106, 0.45));
    pointer-events: none;
}

.hero__portrait img {
    position: relative;
    z-index: 1;
    width: min(100%, 400px);
    height: auto;
    object-fit: contain;
}

/* ============================================
   HOMEPAGE - PROFILE SHOWCASE
   ============================================ */

.showcase { position: relative; }

.showcase__ribbon {
    position: absolute;
    left: 0;
    right: 0;
    top: 52%;
    height: 120px;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.showcase .container { position: relative; z-index: 1; }

.showcase__intro {
    max-width: 68ch;
    margin: 0 auto clamp(1.5rem, 4vw, 2.25rem);
    color: var(--c-muted);
}

.profile-tray {
    position: relative;
    padding: 0.9rem 0.75rem 0.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(232, 196, 106, 0.45);
    background: linear-gradient(180deg, #8A6A45 0%, #6B4F31 60%, #513A23 100%);
    box-shadow: 0 28px 60px rgba(2, 6, 16, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.rail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--c-gold);
    background: rgba(8, 14, 28, 0.88);
    color: var(--c-gold-soft);
    cursor: pointer;
}

.rail-nav:hover { background: var(--c-gold); color: var(--c-ink); }
.rail-nav--prev { left: -12px; }
.rail-nav--next { right: -12px; }

.showcase__note {
    margin: 0.9rem 0 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--c-muted-2);
}

/* ============================================
   HOMEPAGE - STEPS HOVER GLOW
   ============================================ */

.step-card__icon .keyhole { transition: filter 0.2s ease; }

.step-card:hover .step-card__icon .keyhole {
    filter: drop-shadow(0 0 12px rgba(232, 196, 106, 0.6));
}

/* ============================================
   HOMEPAGE - COMPARISON + QUIZ
   ============================================ */

.compare-quiz {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

.compare-wrap,
.quiz {
    padding: clamp(1.1rem, 3vw, 1.9rem);
    background: var(--c-panel);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.compare-wrap__title,
.quiz__title {
    font-size: clamp(1.25rem, 2.6vw, 1.65rem);
    text-align: center;
}

.compare-wrap__lead,
.quiz__lead {
    color: var(--c-muted);
    font-size: 0.95rem;
}

.compare-table {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
    padding: 0.85rem 0.7rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--c-line-soft);
    color: var(--c-muted);
}

.compare-table thead th {
    font-family: var(--font-head);
    font-size: 0.86rem;
    letter-spacing: 0.03em;
    color: var(--c-muted);
    border-bottom: 1px solid var(--c-line);
}

.compare-table tbody th {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--c-text);
    white-space: nowrap;
}

.compare-table .col-ms {
    background: rgba(232, 196, 106, 0.09);
    border-left: 1px solid rgba(232, 196, 106, 0.4);
    border-right: 1px solid rgba(232, 196, 106, 0.4);
    color: var(--c-gold-soft);
}

.compare-table thead .col-ms {
    color: var(--c-gold);
    font-weight: 700;
    border-top: 1px solid rgba(232, 196, 106, 0.6);
    box-shadow: 0 -10px 26px rgba(232, 196, 106, 0.12);
}

.compare-table tbody tr:last-child .col-ms {
    border-bottom: 1px solid rgba(232, 196, 106, 0.5);
    box-shadow: 0 14px 26px rgba(232, 196, 106, 0.08);
}

.mark {
    display: block;
    margin-bottom: 0.3rem;
}

.mark--yes { color: var(--c-gold); }
.mark--no { color: var(--c-danger); }

.quiz__q {
    margin: 0 0 0.8rem;
    padding: 0.9rem 1rem;
    background: var(--c-navy-800);
    border: 1px solid var(--c-line-soft);
    border-radius: var(--radius);
}

.quiz__legend {
    padding: 0;
    margin-bottom: 0.55rem;
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--c-text);
}

.quiz__opt {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 44px;
    color: var(--c-muted);
    font-size: 0.94rem;
    cursor: pointer;
}

.quiz__opt input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid var(--c-gold);
    border-radius: 50%;
    background: transparent;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
}

.quiz__opt input[type="radio"]::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-gold);
    transform: scale(0);
    transition: transform 0.15s ease;
}

.quiz__opt input[type="radio"]:checked::before { transform: scale(1); }

.quiz__progress {
    height: 8px;
    margin-top: 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    overflow: hidden;
}

.quiz__progress span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #C79A3C, #F6E4B0);
    transition: width 0.3s ease;
}

.quiz__status {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: var(--c-gold-soft);
}

.quiz__note {
    margin: 0.4rem 0 0;
    font-size: 0.83rem;
    color: var(--c-muted-2);
}

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

.final-cta__panel {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    background: linear-gradient(180deg, rgba(19, 32, 60, 0.95), rgba(8, 14, 28, 0.95));
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.final-cta__mark {
    display: inline-flex;
    margin-bottom: 0.5rem;
}

.final-cta__panel p {
    max-width: 60ch;
    margin-inline: auto;
    margin-bottom: 1.5rem;
    color: var(--c-muted);
}

@media (min-width: 768px) {
    .rail-nav { display: inline-flex; }
    .search-pill { max-width: 420px; }
}

@media (min-width: 1024px) {
    .hero { padding-block: clamp(3.5rem, 6vw, 6rem); }

    .hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }

    .hero__portrait { order: -1; min-height: 520px; }

    .hero__portrait img { width: min(100%, 460px); }

    .hero__scrim {
        background:
            linear-gradient(90deg, rgba(4, 9, 20, 0.7) 0%, rgba(4, 9, 20, 0.35) 30%, rgba(4, 9, 20, 0.86) 58%, rgba(4, 9, 20, 0.95) 100%),
            linear-gradient(180deg, rgba(4, 9, 20, 0.55) 0%, rgba(4, 9, 20, 0.2) 45%, rgba(4, 9, 20, 0.85) 100%);
    }

    .compare-quiz { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
}

/* ============================================
   RESPONSIVE: TABLET
   ============================================ */

@media (min-width: 768px) {
    .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); }
    .site-footer__links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .profile-rail > * { flex-basis: 236px; }
}

/* ============================================
   RESPONSIVE: DESKTOP
   ============================================ */

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

    .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; }

    .toc-rail {
        position: sticky;
        top: 96px;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
    }
}

/* ============================================
   COOKIE POLICY - TABLE / PREVIEW
   ============================================ */

.cookie-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.93rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.9rem 0.9rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(232, 196, 106, 0.25);
    color: var(--c-muted);
}

.cookie-table thead th {
    font-family: var(--font-head);
    color: var(--c-gold);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--c-line);
}

.cookie-table tbody tr:last-child td { border-bottom: 0; }

.cookie-table__name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--c-text);
    white-space: nowrap;
}

.consent-preview {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    border-top: 1px solid var(--c-gold);
    background: rgba(10, 18, 35, 0.82);
    backdrop-filter: blur(10px);
    box-shadow: 0 -8px 28px rgba(2, 6, 16, 0.35), var(--shadow-card);
}

.consent-preview__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    justify-content: space-between;
}

.consent-preview__copy {
    flex: 1 1 220px;
    margin: 0;
    color: var(--c-muted);
    font-size: 0.86rem;
}

.consent-preview__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.consent-preview__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 600;
}

.consent-preview__btn--accept {
    background-image: linear-gradient(180deg, #F6E4B0 0%, #D9AE54 100%);
    color: var(--c-ink);
}

.consent-preview__btn--manage {
    border: 1px solid rgba(232, 196, 106, 0.55);
    color: var(--c-gold-soft);
    background: rgba(232, 196, 106, 0.07);
}

.consent-preview__dismiss {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-muted);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    font-size: 0.95rem;
    line-height: 1;
}

/* ============================================
   MOTION PREFERENCES
   ============================================ */

@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;
        scroll-behavior: auto !important;
    }

    .online-dot {
        animation: none;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    }
}