/*
 * elvori Review - Premium Obsidian & Warm Amber design system
 * Canonical design tokens live in this file.
 */

:root {
    --c-bg: #0B0C10;
    --c-bg-raise: #111318;
    --c-bg-band: #14161C;
    --c-surface: rgba(255, 255, 255, 0.045);
    --c-surface-strong: rgba(255, 255, 255, 0.07);
    --c-surface-solid: #15171D;
    --c-line: rgba(255, 255, 255, 0.08);
    --c-amber: #F59E0B;
    --c-amber-soft: #FBBF24;
    --c-amber-deep: #D97706;
    --c-bronze: #B45309;
    --c-amber-line: rgba(245, 158, 11, 0.25);
    --c-amber-line-soft: rgba(245, 158, 11, 0.2);
    --c-amber-line-strong: rgba(245, 158, 11, 0.5);
    --c-amber-tint: rgba(245, 158, 11, 0.08);
    --c-text: #F5F5F7;
    --c-text-muted: #D1D4DB;
    --c-text-subtle: #B4B8C1;
    --c-on-amber: #0B0C10;
    --c-icon-muted: #9C8A6A;
    --c-x: #8C9099;
    --star-empty: #3F434C;

    --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --r-sm: 12px;
    --r-md: 14px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-pill: 999px;

    --blur: blur(20px) saturate(140%);
    --shadow-card: 0 18px 40px -22px rgba(0, 0, 0, 0.8);
    --glow-amber: 0 0 0 1px rgba(245, 158, 11, 0.3), 0 0 32px -8px rgba(245, 158, 11, 0.4);

    --container: 1160px;
    --gutter: clamp(16px, 4vw, 32px);
    --space-section: clamp(64px, 8vw, 104px);
    --header-h: 72px;
    --header-bottom: 72px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 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 {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 24px;
    background: var(--c-bg);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

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

body.menu-open { overflow: hidden; }

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

h1 { font-size: clamp(2.125rem, 1.35rem + 3.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem); line-height: 1.3; }

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

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

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

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

::selection { background: rgba(245, 158, 11, 0.35); color: #fff; }

:focus-visible {
    outline: 3px solid var(--c-amber);
    outline-offset: 3px;
    border-radius: 6px;
}

.svg-sprite {
    position: absolute;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden;
    pointer-events: none;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    vertical-align: middle;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.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: 8px;
    left: 8px;
    z-index: 200;
    padding: 12px 18px;
    background: var(--c-amber);
    color: var(--c-on-amber);
    font-weight: 600;
    border-radius: var(--r-sm);
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: translateY(0); color: var(--c-on-amber); }

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

.site-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 60;
    isolation: isolate;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 12, 16, 0.78), rgba(11, 12, 16, 0));
    pointer-events: none;
    transition: background-color 0.2s ease;
}

body.menu-open .site-header::before { background: var(--c-bg); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--header-h);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    color: var(--c-amber);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
}

.site-brand:hover { color: var(--c-amber-soft); }

.site-brand__mark {
    width: 24px;
    height: 24px;
    flex: none;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--c-amber-line);
    border-radius: var(--r-sm);
    background: rgba(11, 12, 16, 0.6);
    color: var(--c-text);
    cursor: pointer;
}

.nav-toggle__icon { width: 24px; height: 24px; }

.nav-toggle[aria-expanded="true"] { border-color: var(--c-amber); color: var(--c-amber); }

.site-nav {
    display: none;
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 59;
    background: var(--c-bg);
    border-top: 1px solid var(--c-amber-line-soft);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px var(--gutter) 32px;
}

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

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    border-bottom: 1px solid var(--c-line);
}

.site-nav__link:hover { color: var(--c-amber); }

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

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

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

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

    .site-nav__link:hover {
        color: var(--c-text);
        background: var(--c-surface-strong);
    }
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn--primary {
    background: linear-gradient(180deg, var(--c-amber-soft), var(--c-amber));
    color: var(--c-on-amber);
    box-shadow: 0 10px 28px -10px rgba(245, 158, 11, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary:hover {
    color: var(--c-on-amber);
    transform: translateY(-1px);
    box-shadow: 0 14px 34px -10px rgba(245, 158, 11, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

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

.btn--outline {
    background: rgba(11, 12, 16, 0.4);
    color: var(--c-amber);
    border-color: var(--c-amber-line-strong);
}

.btn--outline:hover {
    color: var(--c-amber-soft);
    border-color: var(--c-amber);
    background: var(--c-amber-tint);
}

.btn--lg { min-height: 58px; padding: 0 34px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn:active { transform: translateY(0); }

/* ============================================
   SURFACES
   ============================================ */

.glass {
    position: relative;
    background: var(--c-surface);
    border: 1px solid var(--c-amber-line);
    border-radius: var(--r-xl);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow-card);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass { background: var(--c-surface-solid); }
}

.card-lift {
    transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
    .card-lift:hover {
        transform: translateY(-2px);
        border-color: var(--c-amber-line-strong);
        box-shadow: var(--shadow-card), 0 0 24px -12px rgba(245, 158, 11, 0.5);
    }
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 4px 14px;
    border: 1px solid var(--c-amber-line-strong);
    border-radius: var(--r-pill);
    background: var(--c-amber-tint);
    color: var(--c-text);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
}

.pill__icon { width: 16px; height: 16px; color: var(--c-amber); flex: none; }

.callout {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--c-amber-line);
    border-left: 3px solid var(--c-amber);
    border-radius: var(--r-md);
    background: var(--c-amber-tint);
    color: var(--c-text-muted);
}

.callout > .icon { color: var(--c-amber); margin-top: 3px; }

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

.check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--c-text-muted);
}

.check-list .icon { width: 20px; height: 20px; margin-top: 4px; color: var(--c-amber); }
.check-list--x .icon { color: var(--c-x); }

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

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

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

.section-head {
    max-width: 760px;
    margin: 0 auto clamp(32px, 4vw, 48px);
    text-align: center;
}

.section-head h2 { margin-bottom: 0.4em; }

.section-head__lead {
    color: var(--c-text-subtle);
    font-size: 1.0625rem;
}

/* Signature divider */
.divider {
    display: flex;
    align-items: center;
    gap: 16px;
}

.divider__line {
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0), rgba(245, 158, 11, 0.6));
}

.divider__line--end {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.6), rgba(245, 158, 11, 0));
}

.divider__medallion {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 50%;
    box-shadow: 0 0 22px 2px rgba(245, 158, 11, 0.35);
}

/* Large compass rose ornament */
.compass-rose {
    position: absolute;
    z-index: 0;
    width: clamp(260px, 34vw, 480px);
    height: auto;
    aspect-ratio: 1;
    color: rgb(245 158 11 / var(--rose-alpha, 0.07));
    pointer-events: none;
}

.compass-rose--top-right { top: -70px; right: -140px; }
.compass-rose--bottom-right { bottom: -110px; right: -130px; }
.compass-rose--right { top: 50%; right: -170px; transform: translateY(-50%); }
.compass-rose--left { top: 50%; left: -200px; transform: translateY(-50%); }
.compass-rose--legal { top: -40px; right: -150px; width: clamp(240px, 30vw, 420px); }

/* ============================================
   STARS & METERS
   ============================================ */

.stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--c-amber);
    line-height: 1;
}

.star { width: 18px; height: 18px; flex: none; }
.star--empty { color: var(--star-empty); }
.stars--lg .star { width: 26px; height: 26px; }
.stars--sm .star { width: 15px; height: 15px; }

.meter {
    height: 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.meter__fill {
    display: block;
    width: var(--value, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--c-amber-deep), var(--c-amber-soft));
    transform-origin: left center;
    animation: meter-grow 1.2s var(--ease) 0.25s both;
}

@keyframes meter-grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

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

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 920px;
    margin-inline: auto;
}

.faq-item {
    position: relative;
    background: var(--c-surface);
    border: 1px solid var(--c-amber-line);
    border-radius: var(--r-md);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    transition: border-color 0.2s ease;
}

.faq-item::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 3px;
    background: var(--c-amber);
    transform: scaleY(0);
    transition: transform 0.25s var(--ease);
}

.faq-item[open] { border-color: var(--c-amber-line-strong); }
.faq-item[open]::before { transform: scaleY(1); }

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 14px 20px;
    cursor: pointer;
    list-style: none;
    border-radius: var(--r-md);
}

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

.faq-item__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-item__chevron {
    width: 22px;
    height: 22px;
    flex: none;
    color: var(--c-amber);
    transition: transform 0.25s var(--ease);
}

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

.faq-item__a {
    padding: 0 20px 20px;
    color: var(--c-text-muted);
}

/* ============================================
   DATA TABLE
   ============================================ */

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--c-amber-line-soft);
    border-radius: var(--r-md);
    background: var(--c-surface);
    -webkit-overflow-scrolling: touch;
}

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

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

.data-table thead th {
    background: #271E0F;
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 700;
    border-bottom-color: var(--c-amber-line);
}

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

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

.data-table tbody tr:last-child > * { border-bottom: 0; }

.data-table tr > :first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #15161B;
}

.data-table thead tr > :first-child { background: #271E0F; z-index: 2; }

.data-table code {
    font-size: 0.875rem;
    color: var(--c-amber-soft);
    overflow: visible;
}

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

.site-footer {
    position: relative;
    padding: 0 0 calc(36px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, var(--c-bg) 0%, #08090C 100%);
}

.site-footer__divider { padding-top: 24px; padding-bottom: clamp(40px, 5vw, 56px); }

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

.footer-col__title {
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}

.footer-col__text {
    color: var(--c-text-subtle);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-col--brand .site-brand { margin-bottom: 8px; }

.footer-badge {
    display: flex;
    align-items: center;
    gap: 14px;
}

.badge-18 {
    width: 64px;
    height: 64px;
    flex: none;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.25));
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-amber);
    text-decoration: underline;
    text-decoration-color: rgba(245, 158, 11, 0.6);
    text-underline-offset: 0.2em;
    font-size: 0.9375rem;
}

.footer-links a:hover { color: var(--c-amber-soft); text-decoration-color: currentColor; }

.footer-bottom {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--c-line);
    text-align: center;
    color: var(--c-text-subtle);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-bottom p { max-width: 820px; margin-inline: auto; margin-bottom: 10px; }
.footer-bottom__copy { margin-top: 16px; }

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
        gap: 40px;
    }
    .footer-badge { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   FLOATING CTA BAR
   ============================================ */

.floating-cta {
    position: fixed;
    left: 50%;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 70;
    width: min(560px, calc(100% - 16px));
    transform: translate(-50%, 140%);
    visibility: hidden;
    transition: transform 0.2s var(--ease), visibility 0s linear 0.2s;
}

.floating-cta.is-visible {
    transform: translate(-50%, 0);
    visibility: visible;
    transition: transform 0.2s var(--ease), visibility 0s linear 0s;
}

.floating-cta__inner {
    display: flex;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--r-pill);
    background: rgba(11, 12, 16, 0.75);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: 0 20px 44px -12px rgba(0, 0, 0, 0.85);
}

.floating-cta__btn {
    flex: 1 1 0;
    min-height: 48px;
    padding: 0 12px;
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .floating-cta { bottom: 20px; }
    .floating-cta__btn { padding: 0 22px; font-size: 1rem; }
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 80;
    width: min(760px, calc(100% - 20px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 20px 20px 18px;
    border: 1px solid var(--c-amber-line);
    border-radius: var(--r-lg);
    background: rgba(17, 19, 24, 0.94);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.9);
    transition: bottom 0.2s var(--ease);
}

.cookie-banner[hidden] { display: none; }

body.has-floating-bar .cookie-banner { bottom: calc(86px + env(safe-area-inset-bottom)); }

.cookie-banner__body { padding-right: 40px; }

.cookie-banner__title {
    margin: 0 0 4px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.0625rem;
}

.cookie-banner__text {
    color: var(--c-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.cookie-banner__text a { text-decoration: underline; text-underline-offset: 0.2em; }

.cookie-banner__close {
    position: absolute;
    top: 6px;
    right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--c-text-subtle);
    cursor: pointer;
}

.cookie-banner__close svg { width: 20px; height: 20px; }
.cookie-banner__close:hover { color: var(--c-text); background: var(--c-surface-strong); }

.cookie-banner__accept { min-height: 48px; width: 100%; }

@media (min-width: 768px) {
    .cookie-banner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 24px;
        padding: 22px 64px 22px 24px;
    }
    .cookie-banner__body { padding-right: 0; }
    .cookie-banner__accept { width: auto; min-width: 150px; }
    body.has-floating-bar .cookie-banner { bottom: 96px; }
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(36px, 5vw, 56px);
    border-bottom: 1px solid var(--c-amber-line-soft);
    background:
        radial-gradient(60% 120% at 85% 0%, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0) 60%),
        var(--c-bg);
}

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

.legal-hero__title {
    max-width: 18ch;
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
}

.legal-hero__summary {
    max-width: 64ch;
    color: var(--c-text-muted);
    font-size: 1.125rem;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 20px;
}

.legal-meta__date {
    margin: 0;
    color: var(--c-text-subtle);
    font-size: 0.9375rem;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: clamp(36px, 5vw, 64px) var(--space-section);
}

.legal-toc {
    background: var(--c-surface);
    border: 1px solid var(--c-amber-line-soft);
    border-radius: var(--r-md);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    overflow: hidden;
}

.legal-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.legal-toc__chevron {
    width: 20px;
    height: 20px;
    color: var(--c-amber);
    transition: transform 0.25s var(--ease);
}

.legal-toc.is-open .legal-toc__chevron { transform: rotate(180deg); }

.legal-toc__title {
    display: none;
    margin: 0;
    padding: 18px 18px 6px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--c-text);
}

html:not(.js) .legal-toc__toggle { display: none; }
html:not(.js) .legal-toc__title { display: block; }

.legal-toc__panel { padding: 0 10px 12px; }

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

.legal-toc__link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 10px 6px 24px;
    border-radius: 10px;
    color: var(--c-text-muted);
    font-size: 0.9375rem;
    line-height: 1.35;
    text-decoration: none;
}

.legal-toc__link::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.legal-toc__link:hover { color: var(--c-text); background: var(--c-surface-strong); }

.legal-toc__link.is-active { color: var(--c-text); }

.legal-toc__link.is-active::before {
    background: var(--c-amber);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

@media (max-width: 1023px) {
    html.js .legal-toc:not(.is-open) .legal-toc__panel { display: none; }
}

@media (min-width: 1024px) {
    .legal-layout {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 56px;
        align-items: start;
    }
    .legal-toc {
        position: sticky;
        top: 24px;
        max-height: calc(100vh - 48px);
        overflow-y: auto;
    }
    .legal-toc__toggle { display: none; }
    .legal-toc__title { display: block; }
}

.legal-prose {
    max-width: 72ch;
    color: #E4E6EA;
    line-height: 1.7;
    counter-reset: legal;
}

.legal-prose > section {
    scroll-margin-top: 24px;
    padding-bottom: 8px;
    margin-bottom: clamp(32px, 4vw, 44px);
}

.legal-prose h2 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);
    margin-bottom: 0.7em;
}

.legal-prose > section > h2::before {
    counter-increment: legal;
    content: counter(legal, decimal-leading-zero);
    flex: none;
    color: var(--c-amber);
    font-size: 0.85em;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.legal-prose h3 {
    margin-top: 1.4em;
    font-size: 1.125rem;
}

.legal-prose ul,
.legal-prose ol { margin: 0 0 1em; padding-left: 1.3em; }

.legal-prose li { margin-bottom: 0.45em; }
.legal-prose ul li::marker { color: var(--c-amber); }

.legal-prose a { text-decoration: underline; text-underline-offset: 0.18em; }

.legal-prose .table-scroll { margin: 8px 0 16px; }

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    font-weight: 600;
}

/* Cookie policy */
.cookie-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 20px 0 8px;
}

.cookie-card {
    padding: 22px 20px 20px;
    background: var(--c-surface);
    border: 1px solid var(--c-amber-line-soft);
    border-radius: var(--r-lg);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow-card);
}

.cookie-card__icon {
    display: block;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    color: var(--c-amber);
}

.legal-prose .cookie-card h3 {
    margin-top: 0;
    margin-bottom: 0.4em;
    font-size: 1.125rem;
}

.cookie-card p {
    margin: 0;
    color: var(--c-text-muted);
    font-size: 0.9875rem;
}

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

.cookie-table { min-width: 780px; }

.legal-prose .table-scroll {
    border-radius: var(--r-md);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
}

.cookie-table-note {
    color: var(--c-text-subtle);
    font-size: 0.9375rem;
}

.legal-prose code {
    color: var(--c-amber-soft);
    font-size: 0.9em;
    overflow-wrap: anywhere;
}

.legal-cta {
    margin-top: clamp(32px, 4vw, 48px);
    padding-top: 28px;
    border-top: 1px solid var(--c-amber-line-soft);
}

.legal-cta .btn { color: var(--c-on-amber); }

/* ============================================
   HOME: HERO
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: calc(var(--header-h) + 36px) 0 64px;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    z-index: -2;
    background-image: url("/assets/a4bd2880e0013aef438a08c7b1318298.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 62% center;
}

.hero::after {
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(11, 12, 16, 0.55) 0%, rgba(11, 12, 16, 0.2) 30%, rgba(11, 12, 16, 0.6) 78%, #0B0C10 100%),
        linear-gradient(90deg, rgba(11, 12, 16, 0.88) 0%, rgba(11, 12, 16, 0.72) 60%, rgba(11, 12, 16, 0.55) 100%);
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "card" "cta";
    gap: 28px;
}

.hero__head { grid-area: head; }
.rating-card { grid-area: card; }
.hero__cta { grid-area: cta; }

.hero__eyebrow { margin-bottom: 18px; }

.hero h1 {
    max-width: 15ch;
    margin-bottom: 0.45em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero__intro {
    max-width: 52ch;
    color: #E6E8EC;
    font-size: 1.0625rem;
}

.hero__updated {
    margin-top: 14px;
    color: var(--c-text-subtle);
    font-size: 0.9375rem;
}

.hero__cta .btn { width: 100%; }

.hero__caption {
    margin-top: 10px;
    color: var(--c-text-subtle);
    font-size: 0.875rem;
}

.rating-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 22px 22px 18px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--r-xl);
    background: rgba(17, 19, 24, 0.62);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    box-shadow: var(--shadow-card), 0 0 40px -12px rgba(245, 158, 11, 0.45);
}

.rating-card__label {
    margin: 0 0 4px;
    color: var(--c-text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
}

.rating-card__score {
    margin: 0 0 8px;
    font-family: var(--font-head);
    text-align: center;
    line-height: 1.1;
}

.rating-card__num { font-size: 2.75rem; font-weight: 800; color: var(--c-text); }
.rating-card__out { font-size: 1.125rem; font-weight: 700; color: var(--c-text-muted); }
.rating-card__qual { font-size: 1.125rem; font-weight: 700; color: var(--c-amber); margin-left: 6px; }

.rating-card .stars { display: flex; justify-content: center; margin-bottom: 18px; }

.subscores { display: grid; gap: 12px; margin: 0; }

.subscore dt {
    float: left;
    color: var(--c-text-muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

.subscore dd {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
}

.subscore__val {
    justify-self: end;
    color: var(--c-text);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

.rating-card__foot {
    margin: 14px 0 0;
    color: var(--c-text-subtle);
    font-size: 0.8125rem;
    text-align: center;
}

@media (min-width: 768px) {
    .hero { padding-bottom: 80px; }
    .hero__cta .btn { width: auto; }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 680px;
        display: flex;
        align-items: center;
        padding: calc(var(--header-h) + 40px) 0 96px;
    }
    .hero::before { background-position: 60% center; }
    .hero::after {
        background:
            linear-gradient(180deg, rgba(11, 12, 16, 0.45) 0%, rgba(11, 12, 16, 0) 22%, rgba(11, 12, 16, 0) 70%, #0B0C10 100%),
            linear-gradient(90deg, rgba(11, 12, 16, 0.85) 0%, rgba(11, 12, 16, 0.72) 30%, rgba(11, 12, 16, 0) 55%);
    }
    .hero__grid {
        grid-template-columns: minmax(0, 540px) minmax(0, 1fr) minmax(300px, 340px);
        grid-template-areas: "head . card" "cta . card";
        column-gap: 24px;
        row-gap: 28px;
        align-items: start;
    }
    .rating-card { align-self: center; }
}

/* ============================================
   HOME: TRUST STRIP
   ============================================ */

.trust-strip {
    position: relative;
    background: rgba(20, 22, 28, 0.85);
    border-block: 1px solid var(--c-amber-line-soft);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
}

.trust-strip__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 28px;
}

.trust-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--c-text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
}

.trust-badge .icon { width: 26px; height: 26px; color: var(--c-icon-muted); }

.verdict__title {
    margin-bottom: 6px;
    font-size: 1.125rem;
    letter-spacing: 0;
}

.verdict p { color: var(--c-text-muted); font-size: 1rem; }

@media (min-width: 1024px) {
    .trust-strip__inner {
        grid-template-columns: auto 1px minmax(0, 1fr);
        align-items: center;
        gap: 36px;
    }
    .trust-strip__inner::before {
        content: "";
        grid-column: 2;
        grid-row: 1;
        align-self: stretch;
        width: 1px;
        background: rgba(255, 255, 255, 0.12);
    }
    .trust-badges { grid-column: 1; grid-row: 1; flex-wrap: nowrap; }
    .verdict { grid-column: 3; grid-row: 1; }
}

/* ============================================
   HOME: PROS & CONS + READERS
   ============================================ */

.pc-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: clamp(22px, 3vw, 32px);
}

.pc-col__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.pc-col__title .icon { width: 24px; height: 24px; color: var(--c-amber); }
.pc-col--cons .pc-col__title .icon { color: var(--c-x); }

.pc-col--cons {
    padding-top: 24px;
    border-top: 1px solid var(--c-line);
}

@media (min-width: 768px) {
    .pc-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
    .pc-col--cons { padding-top: 0; border-top: 0; padding-left: 40px; border-left: 1px solid var(--c-line); }
}

.readers { margin-top: clamp(48px, 6vw, 64px); }

.readers__title { text-align: center; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }

.readers__lead {
    max-width: 640px;
    margin: 0 auto 28px;
    color: var(--c-text-subtle);
    text-align: center;
    font-size: 0.9375rem;
}

.reader-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.reader-card {
    padding: 20px;
    background: var(--c-surface);
    border: 1px solid var(--c-amber-line-soft);
    border-radius: var(--r-md);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow-card);
}

.reader-card__top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.reader-card__avatar {
    width: 64px;
    height: 64px;
    flex: none;
    border-radius: var(--r-md);
    object-fit: cover;
    object-position: center 30%;
    border: 1px solid var(--c-amber-line);
}

.reader-card__label {
    margin: 0 0 4px;
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.35;
}

.reader-card__text { color: var(--c-text-muted); font-size: 0.9875rem; }

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

/* ============================================
   HOME: FEATURES + COMPARISON
   ============================================ */

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 28px 22px 24px;
    text-align: center;
    border-radius: var(--r-lg);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    display: block;
    color: var(--c-amber);
}

.feature-card p { color: var(--c-text-muted); font-size: 0.9875rem; text-align: left; }

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

.vs-block { margin-top: clamp(48px, 6vw, 64px); }

.vs-block__title { text-align: center; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }

.vs-block__lead {
    max-width: 680px;
    margin: 0 auto 24px;
    color: var(--c-text-muted);
    text-align: center;
}

.vs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r-md);
}

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

.vs-table th,
.vs-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--c-line);
}

.vs-table thead th {
    vertical-align: bottom;
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 700;
    border-bottom-color: var(--c-amber-line);
}

.vs-table tbody th,
.vs-table tbody td { background: rgba(255, 255, 255, 0.035); }

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

.vs-table tr > :first-child {
    position: sticky;
    left: 0;
    z-index: 1;
}

.vs-table tbody tr > :first-child { background: #15161B; }
.vs-table thead tr > :first-child { background: var(--c-bg); }

.vs-table .vs-col {
    width: 34%;
    text-align: center;
    color: var(--c-text);
    background: rgba(245, 158, 11, 0.08);
    border-left: 1px solid rgba(245, 158, 11, 0.35);
    border-right: 1px solid rgba(245, 158, 11, 0.35);
}

.vs-table thead .vs-col {
    position: relative;
    padding-top: 34px;
    border-top: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 14px 14px 0 0;
    color: var(--c-amber);
    font-size: 1.0625rem;
}

.vs-table thead .vs-col::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    width: 48px;
    height: 4px;
    border-radius: 4px;
    background: var(--c-amber);
    transform: translateX(-50%);
}

.vs-table tbody tr:last-child .vs-col {
    border-bottom: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 0 0 14px 14px;
}

.vs-table .vs-std { text-align: center; color: var(--c-text-subtle); }

.vs-yes {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vs-icon { width: 20px; height: 20px; color: var(--c-amber); }

/* ============================================
   HOME: METHODOLOGY & PRICING
   ============================================ */

.method-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.method-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    overflow: hidden;
}

.method-card__head {
    padding: 16px 20px 14px;
    background: rgba(0, 0, 0, 0.28);
    border-bottom: 1px solid var(--c-amber-line);
}

.method-card__kicker {
    display: block;
    margin-bottom: 2px;
    color: var(--c-amber);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.method-card__head h3 { margin: 0; font-size: 1.125rem; }

.method-card__body {
    flex: 1 1 auto;
    padding: 18px 20px 20px;
    color: var(--c-text-muted);
    font-size: 0.9875rem;
}

.method-card__body .check-list { margin-top: 14px; }

.plan-rows { margin: 0 0 14px; }

.plan-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--c-line);
}

.plan-row dt { color: var(--c-text-muted); }
.plan-row dd { margin: 0; color: var(--c-amber); font-weight: 600; text-align: right; }

.method-card__note { font-size: 0.9375rem; color: var(--c-text-subtle); }

.method-card__foot { padding: 0 20px 20px; }

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

/* ============================================
   HOME: SAFETY BAND
   ============================================ */

.safety {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: 260px 0 var(--space-section);
}

.safety::before,
.safety::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 320px;
    pointer-events: none;
}

.safety::before {
    z-index: -2;
    background-image: url("/assets/4232f837161d255e0f3bcb695763b1ad.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 84% center;
}

.safety::after {
    z-index: -1;
    background: linear-gradient(180deg, #0B0C10 0%, rgba(11, 12, 16, 0.15) 22%, rgba(11, 12, 16, 0.2) 55%, #0B0C10 100%);
}

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

.safety__copy { max-width: 600px; }

.safety__copy > p { color: var(--c-text-muted); }

.safety__copy .callout { margin: 20px 0 24px; }
.safety__copy .callout p { margin: 0; }

.safety__subtitle { margin-bottom: 14px; }

.safety__note { margin-top: 20px; color: var(--c-text-muted); font-size: 0.9375rem; }

@media (min-width: 1024px) {
    .safety { padding: var(--space-section) 0; min-height: 600px; display: flex; align-items: center; }
    .safety > .container { width: 100%; }
    .safety::before,
    .safety::after { inset: 0; height: auto; }
    .safety::before { background-position: 75% center; }
    .safety::after {
        background:
            linear-gradient(180deg, #0B0C10 0%, rgba(11, 12, 16, 0) 16%, rgba(11, 12, 16, 0) 84%, #0B0C10 100%),
            linear-gradient(90deg, #0B0C10 0%, rgba(11, 12, 16, 0.94) 38%, rgba(11, 12, 16, 0.4) 55%, rgba(11, 12, 16, 0) 68%);
    }
    .safety__copy { max-width: 50%; }
}

/* ============================================
   HOME: QUIZ
   ============================================ */

.quiz-flow { position: relative; }

.quiz-flow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 100px;
    width: 2px;
    margin-left: -1px;
    background: var(--c-amber);
    opacity: 0.6;
    z-index: 0;
}

.quiz-grid {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

.quiz-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px 20px 20px;
    background: rgba(18, 20, 25, 0.97);
    border: 1px solid var(--c-amber-line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.quiz-card.is-answered {
    border-color: var(--c-amber-line-strong);
    box-shadow: var(--shadow-card), 0 0 28px -12px rgba(245, 158, 11, 0.6);
}

.quiz-card__label {
    margin: 0 0 6px;
    color: var(--c-amber);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
}

.quiz-card__q { font-size: 1.125rem; margin-bottom: 0; }

.quiz-card__answers {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.quiz-btn {
    flex: 1 1 0;
    min-height: 48px;
    padding: 0 16px;
}

.quiz-btn[aria-pressed="true"] {
    box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-amber);
}

.btn--outline.quiz-btn[aria-pressed="true"] {
    background: rgba(245, 158, 11, 0.16);
    color: var(--c-amber-soft);
    border-color: var(--c-amber);
}

.quiz-arrow { display: none; }

.quiz-cta-zone {
    position: relative;
    z-index: 1;
    padding-top: 24px;
    text-align: center;
}

.quiz-elbow { display: none; }

.quiz-result-slot { display: flex; justify-content: center; margin-bottom: 14px; }

.quiz-result {
    margin: 0;
    padding: 10px 18px;
    border: 1px solid var(--c-amber-line-strong);
    border-radius: var(--r-pill);
    background: #1A1710;
    color: var(--c-text);
    font-weight: 600;
}

.quiz-result[hidden] { display: none; }

.quiz-cta { min-width: 260px; }

.quiz-caption { margin-top: 10px; color: var(--c-text-subtle); font-size: 0.875rem; }

@media (min-width: 1024px) {
    .quiz-flow::before { display: none; }

    .quiz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }

    .quiz-arrow {
        display: block;
        position: absolute;
        top: 50%;
        right: -56px;
        width: 56px;
        height: 20px;
        transform: translateY(-50%);
        color: var(--c-amber);
        opacity: 0.55;
        transition: opacity 0.25s ease, filter 0.25s ease;
    }

    .quiz-card.is-answered .quiz-arrow {
        opacity: 1;
        filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.8));
    }

    .quiz-cta-zone { padding-top: 28px; }

    .quiz-result-slot { min-height: 52px; align-items: center; margin-bottom: 12px; }

    .quiz-elbow {
        display: block;
        position: absolute;
        top: 0;
        height: calc(28px + 52px + 12px + 29px);
        border: 0 solid var(--c-amber);
        opacity: 0.55;
        transition: opacity 0.25s ease, filter 0.25s ease;
    }

    .quiz-elbow--left {
        left: calc((100% - 112px) / 6);
        right: calc(50% + 142px);
        border-left-width: 1.5px;
        border-bottom-width: 1.5px;
        border-bottom-left-radius: 14px;
    }

    .quiz-elbow--right {
        right: calc((100% - 112px) / 6);
        left: calc(50% + 142px);
        border-right-width: 1.5px;
        border-bottom-width: 1.5px;
        border-bottom-right-radius: 14px;
    }

    .quiz-elbow__head {
        position: absolute;
        bottom: -6.75px;
        width: 12px;
        height: 12px;
        color: var(--c-amber);
    }

    .quiz-elbow--left .quiz-elbow__head { right: -4px; }
    .quiz-elbow--right .quiz-elbow__head { left: -4px; }

    .quiz-flow[data-progress="1"] .quiz-elbow,
    .quiz-flow[data-progress="2"] .quiz-elbow { opacity: 0.75; }

    .quiz-flow[data-progress="3"] .quiz-elbow {
        opacity: 1;
        filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.8));
    }

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

/* ============================================
   HOME: FAQ
   ============================================ */

.closing-note {
    max-width: 920px;
    margin: 32px auto 0;
    padding: 18px 20px;
    border: 1px solid var(--c-amber-line-soft);
    border-radius: var(--r-md);
    background: var(--c-amber-tint);
    color: var(--c-text-muted);
    text-align: center;
}

/* ============================================
   REVEAL MOTION
   ============================================ */

.reveal-ready [data-reveal] {
    transition: transform 0.7s var(--ease);
}

.reveal-ready [data-reveal]:not(.is-revealed) {
    transform: translateY(22px);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-ready [data-reveal]:not(.is-revealed) { transform: none; }
}