/*
 * MatureSearch Review - design system
 * Premium Obsidian & Warm Amber (editorial / expert)
 */

:root {
    /* Surfaces */
    --obsidian: #0B0C10;
    --surface-1: #12141C;
    --surface-2: #171A24;
    --glass: linear-gradient(158deg, rgba(23, 26, 36, 0.80), rgba(11, 12, 16, 0.66));
    --glass-solid: #151822;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);

    /* Ink */
    --text: #FFFFFF;
    --muted: #A0AEC0;
    --muted-soft: #8E9BAC;

    /* Accent */
    --amber: #F59E0B;
    --amber-deep: #D97706;
    --amber-light: #FBBF24;
    --amber-grad: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --amber-soft: rgba(245, 158, 11, 0.12);
    --amber-line: rgba(245, 158, 11, 0.38);
    --glow: 0 4px 24px rgba(245, 158, 11, 0.20);
    --glow-strong: 0 8px 36px rgba(245, 158, 11, 0.30);

    /* Type */
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Metrics */
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-card: 0 18px 44px rgba(0, 0, 0, 0.45);
    --container: 1180px;
    --header-bottom: 64px;
    --section-pad: clamp(3.25rem, 8vw, 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;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--obsidian);
    background-image:
        radial-gradient(60rem 36rem at 12% -6%, rgba(245, 158, 11, 0.10), transparent 60%),
        radial-gradient(52rem 32rem at 92% 14%, rgba(217, 119, 6, 0.08), transparent 62%),
        radial-gradient(48rem 30rem at 50% 108%, rgba(245, 158, 11, 0.07), transparent 65%);
    background-attachment: fixed;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

h1 { font-size: clamp(1.9rem, 5.4vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

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

a {
    color: var(--amber-light);
    text-decoration-color: rgba(245, 158, 11, 0.45);
}

a:hover { color: var(--amber); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
    border-radius: 6px;
}

ul, ol { padding-left: 1.2rem; }
li { margin-bottom: 0.5rem; }

strong { color: #E8EDF5; font-weight: 600; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--amber);
    color: #1A1203;
    padding: 0.75rem 1.1rem;
    font-weight: 600;
    border-radius: 0 0 var(--radius) 0;
}

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

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

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

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

.section-head {
    max-width: 48rem;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}

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

.section-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 600;
    margin-bottom: 0.65rem;
}

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

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

/* ============================================
   GLASS SURFACE
   ============================================ */

.glass,
.pc-card,
.feature-card,
.quiz-card__face,
.faq-item,
.legal-shell,
.cookie-banner,
.ledger-wrap {
    background: var(--glass);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

/* ============================================
   TORN EDGE DIVIDER (signature motif)
   ============================================ */

.torn-divider {
    position: relative;
    display: block;
    line-height: 0;
    width: 100%;
    margin-block: -1px;
    pointer-events: none;
}

.torn-divider svg {
    display: block;
    width: 100%;
    height: clamp(26px, 3.6vw, 52px);
}

.torn-divider__fill { fill: #12141C; }
.torn-divider__rim {
    stroke: rgba(245, 158, 11, 0.55);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.torn-divider--light .torn-divider__fill { fill: #0F1118; }
.torn-divider--footer .torn-divider__fill { fill: #0D0F15; }
.torn-divider--flip { transform: scaleY(-1); }

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

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 50px;
    padding: 0 1.5rem;
    border: 0;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.cta-btn--primary {
    background: var(--amber-grad);
    color: #1A1203;
    box-shadow: var(--glow);
}

.cta-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-strong);
    filter: saturate(1.08);
}

.cta-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--amber-line);
    box-shadow: none;
}

.cta-btn--ghost:hover {
    transform: translateY(-2px);
    background: var(--amber-soft);
}

.cta-btn--lg { min-height: 54px; padding-inline: 1.9rem; font-size: 1.05rem; }
.cta-btn--sm { min-height: 44px; padding-inline: 1.2rem; font-size: 0.92rem; }

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

.cta-btn__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

/* ============================================
   CHIPS, STARS, SEALS
   ============================================ */

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(18, 20, 28, 0.72);
    color: #D6DEE8;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.trust-chip svg {
    width: 16px;
    height: 16px;
    color: var(--amber);
    flex: 0 0 auto;
}

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.star-rating__stars {
    width: 130px;
    height: 24px;
    flex: 0 0 auto;
}

.star-rating--lg .star-rating__stars { width: 170px; height: 31px; }
.star-rating--sm .star-rating__stars { width: 100px; height: 18px; }

.star-rating__value {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--amber-light);
}

.star-rating--lg .star-rating__value { font-size: 1.85rem; }
.star-rating--sm .star-rating__value { font-size: 1rem; }

.star-rating__max {
    font-size: 0.72em;
    color: var(--muted);
    font-weight: 600;
}

.seal-mark {
    display: inline-block;
    width: 58px;
    height: 58px;
    filter: drop-shadow(0 4px 16px rgba(245, 158, 11, 0.25));
}

.seal-mark svg { width: 100%; height: 100%; display: block; }

.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 2px solid var(--amber);
    color: var(--amber-light);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    background: rgba(245, 158, 11, 0.08);
}

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

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

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 12, 16, 0.86);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: -1;
}

.site-header__inner {
    width: min(100% - 1.5rem, var(--container));
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 64px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    margin-right: auto;
    min-width: 0;
}

.site-brand__seal {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
}

.site-brand__seal svg { width: 100%; height: 100%; display: block; }

.site-brand__text {
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 3.6vw, 1.3rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.site-brand__text em {
    font-style: normal;
    color: var(--amber);
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.nav-toggle__bars {
    display: block;
    width: 20px;
}

.nav-toggle__bars span {
    display: block;
    height: 2px;
    background: var(--amber);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle__bars span + span { margin-top: 5px; }

.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;
    z-index: 95;
    background: #0B0C10;
    border-top: 1px solid var(--border);
    padding: 1.25rem 1.25rem 2.5rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.35rem 0.25rem;
    color: #E3E9F1;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.site-nav__link:hover,
.site-nav__link.is-current {
    color: var(--amber-light);
}

.site-nav__note {
    margin: 1.25rem 0 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.header-ssl {
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--amber-line);
    background: var(--amber-soft);
    color: #E6EDF5;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.header-ssl svg { width: 16px; height: 16px; }

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

    .site-nav {
        position: static;
        height: auto;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: flex;
        align-items: center;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

    .site-nav__link {
        min-height: 40px;
        padding: 0.3rem 0.7rem;
        border-bottom: 0;
        border-radius: 10px;
        font-size: 0.93rem;
    }

    .site-nav__link:hover { background: rgba(255, 255, 255, 0.05); }

    .site-nav__link.is-current {
        background: var(--amber-soft);
        box-shadow: inset 0 -2px 0 var(--amber);
    }

    .site-nav__note { display: none; }
}

@media (min-width: 1024px) {
    .header-ssl { display: inline-flex; margin-left: 0.85rem; }
    .site-header__inner { min-height: 72px; }
}

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

.site-footer {
    position: relative;
    margin-top: clamp(3rem, 7vw, 5rem);
    background: #0D0F15;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer .torn-divider {
    margin-top: calc(-1 * clamp(26px, 3.6vw, 52px));
}

.site-footer__inner {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
    display: grid;
    gap: 2.25rem;
    padding-block: clamp(2.25rem, 5vw, 3.5rem);
}

.footer-head {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.85rem;
    letter-spacing: 0.01em;
}

.footer-col p,
.footer-col li {
    font-size: 0.92rem;
    color: var(--muted);
}

.footer-age {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.1rem;
}

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

.footer-links a {
    display: inline-block;
    padding: 0.3rem 0;
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--amber-light);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.footer-trust li {
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.65rem;
}

.footer-trust li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
}

.footer-contact { margin-top: 1rem; }

.site-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__bar p {
    width: min(100% - 2rem, var(--container));
    margin: 0 auto;
    padding-block: 1.1rem;
    font-size: 0.82rem;
    color: var(--muted-soft);
}

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

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

.cookie-banner {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 120;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    border-color: var(--amber-line);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: none;
}

.cookie-banner__icon {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}

.cookie-banner__icon svg { width: 100%; height: 100%; display: block; }

.cookie-banner__text {
    flex: 1 1 14rem;
    margin: 0;
    font-size: 0.9rem;
    color: #C8D2DE;
}

.cookie-banner .cta-btn { flex: 0 0 auto; }

@media (min-width: 768px) {
    .cookie-banner {
        left: auto;
        right: 1.5rem;
        bottom: 1.5rem;
        max-width: 42rem;
        flex-wrap: nowrap;
    }
}

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

.hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(3rem, 9vw, 6.5rem) clamp(4rem, 9vw, 7rem);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("/assets/0820890a0dc09f63b4fb35557a42c28e.webp");
    background-size: cover;
    background-position: 62% 40%;
    background-repeat: no-repeat;
}

.hero__link {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0 0.3rem;
    color: #E3E9F1;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid var(--amber-line);
}

.hero__link:hover {
    color: var(--amber-light);
    border-bottom-color: var(--amber);
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(to top, rgba(11, 12, 16, 0.97) 6%, rgba(11, 12, 16, 0.72) 48%, rgba(11, 12, 16, 0.55) 100%),
        radial-gradient(34rem 22rem at 50% 42%, rgba(245, 158, 11, 0.18), transparent 70%);
}

.hero__inner {
    width: min(100% - 2rem, 54rem);
    margin-inline: auto;
    text-align: center;
}

.hero__plate {
    display: inline-block;
    padding: 1rem 1.4rem;
    border-radius: 18px;
    border: 1px solid var(--amber-line);
    background: rgba(13, 15, 21, 0.78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.4rem;
}

.hero__plate h1 { margin: 0; }

.rating-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--amber-line);
    background: rgba(18, 20, 28, 0.7);
    animation: badge-pulse 3.2s ease-in-out infinite;
}

.rating-badge__label {
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 600;
    margin: 0;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(245, 158, 11, 0.18); }
    50% { box-shadow: 0 8px 34px rgba(245, 158, 11, 0.34); }
}

.hero__verdict {
    margin: 1.5rem auto 0;
    max-width: 44rem;
    color: #CBD5E1;
    font-size: 1.04rem;
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.hero__chips li { margin: 0; }

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.7rem;
}

.hero__note {
    margin-top: 1.3rem;
    font-size: 0.86rem;
    color: var(--muted-soft);
}

@media (min-width: 768px) {
    .hero__actions { flex-direction: row; justify-content: center; }
}

/* ============================================
   HOMEPAGE - PROS & CONS
   ============================================ */

.proscons__grid {
    display: grid;
    gap: 1.25rem;
}

.pc-card {
    padding: 1.6rem 1.4rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pc-card:hover {
    transform: translateY(-4px);
    border-color: var(--amber-line);
}

.pc-card--pro { border-top: 2px solid var(--amber); }
.pc-card--con { border-top: 2px solid rgba(160, 174, 192, 0.6); }

.pc-card h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

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

.pc-list li {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
    font-size: 0.96rem;
}

.pc-list svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.pc-card--pro .pc-list svg { color: var(--amber); }
.pc-card--con .pc-list svg { color: #94A3B8; }

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

/* ============================================
   HOMEPAGE - TESTIMONIALS (polaroids)
   ============================================ */

.polaroid-grid {
    display: grid;
    gap: 1.75rem;
}

.polaroid {
    position: relative;
    background: #F4EFE4;
    padding: 0.85rem 0.85rem 1.2rem;
    border-radius: 4px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.polaroid:nth-child(1) { transform: rotate(-2deg); }
.polaroid:nth-child(2) { transform: rotate(1.5deg); }
.polaroid:nth-child(3) { transform: rotate(-1deg); }

.polaroid:hover {
    transform: translateY(-4px) rotate(0deg);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.58);
}

.polaroid::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 72px;
    height: 22px;
    transform: translateX(-50%) rotate(-3deg);
    background: rgba(245, 158, 11, 0.32);
    border: 1px solid rgba(245, 158, 11, 0.42);
    border-radius: 2px;
}

.polaroid__img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 2px;
    background: #2A2C34;
}

.polaroid__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.polaroid__name {
    font-family: var(--font-display);
    font-weight: 700;
    color: #1B1C22;
    font-size: 1.02rem;
}

.age-chip {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: #2A2114;
    color: #FBBF24;
    font-size: 0.76rem;
    font-weight: 600;
}

.polaroid__quote {
    margin: 0.7rem 0 0;
    color: #3A3B44;
    font-size: 0.94rem;
    line-height: 1.6;
}

.polaroid .star-rating { margin-top: 0.7rem; }
.polaroid .star-rating__value { color: #92400E; }
.polaroid .star-rating__max { color: #6B7280; }

.polaroid__source {
    margin-top: 0.55rem;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    color: #63666F;
}

.testimonials__note {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.88rem;
    color: var(--muted-soft);
}

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

/* ============================================
   HOMEPAGE - FEATURES
   ============================================ */

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

.features__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("/assets/379cfb53d7979e3708003dbcb215bc13.webp");
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

.features__scrim {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(to bottom, rgba(11, 12, 16, 0.92), rgba(11, 12, 16, 0.82));
}

.features__route {
    position: absolute;
    inset: auto 0 0;
    top: 46%;
    z-index: -1;
    width: 100%;
    height: 180px;
    pointer-events: none;
    display: none;
}

.features__route path {
    fill: none;
    stroke: rgba(245, 158, 11, 0.5);
    stroke-width: 2;
    stroke-dasharray: 10 9;
}

.features__route circle {
    fill: var(--amber);
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
}

.feature-grid {
    display: grid;
    gap: 1.25rem;
}

.feature-card {
    padding: 1.6rem 1.4rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--amber-line);
}

.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid var(--amber-line);
    background: var(--amber-soft);
    color: var(--amber);
    margin-bottom: 1rem;
}

.feature-card__icon svg { width: 26px; height: 26px; }

.feature-card p { font-size: 0.96rem; margin: 0; }

.features__closing {
    max-width: 44rem;
    margin: 1.75rem auto 0;
    text-align: center;
    color: var(--muted);
}

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

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

.ledger-wrap {
    padding: 0.4rem;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
}

.ledger-table {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.ledger-table caption {
    caption-side: bottom;
    padding: 0.9rem 1rem 0.6rem;
    font-size: 0.85rem;
    color: var(--muted-soft);
    text-align: left;
}

.ledger-table th,
.ledger-table td {
    padding: 0.95rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.ledger-table thead th {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1rem;
    border-bottom: 2px solid var(--amber);
    white-space: nowrap;
}

.ledger-table tbody th {
    color: #D7DEE8;
    font-weight: 600;
}

.ledger-table tbody tr:last-child th,
.ledger-table tbody tr:last-child td { border-bottom: 0; }

.ledger-table tbody tr:hover { background: rgba(245, 158, 11, 0.05); }

.cell-mark {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.cell-mark svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 0.15rem; }
.cell-mark--yes svg { color: var(--amber); }
.cell-mark--no svg { color: #8E9BAC; }

.comparison__note {
    margin-top: 1.25rem;
    font-size: 0.88rem;
    color: var(--muted-soft);
    text-align: center;
}

.comparison__cta {
    margin-top: 1.1rem;
    text-align: center;
}

/* ============================================
   HOMEPAGE - QUIZ
   ============================================ */

.quiz__grid {
    display: grid;
    gap: 1.1rem;
    align-items: start;
}

.quiz-card {
    perspective: 1200px;
    min-height: 238px;
}

.quiz-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 238px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.22, 0.75, 0.3, 1);
}

.quiz-card.is-flipped .quiz-card__inner { transform: rotateY(180deg); }

.quiz-card__face {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 1.5rem 1.2rem;
    text-align: center;
}

.quiz-card__face--back { transform: rotateY(180deg); }

.quiz-card__seal {
    width: 44px;
    height: 44px;
}

.quiz-card__seal svg { width: 100%; height: 100%; }

.quiz-card__q {
    font-family: var(--font-display);
    color: var(--text);
    font-size: 1.05rem;
    margin: 0;
}

.quiz-card__a {
    color: #CBD5E1;
    font-size: 0.95rem;
    margin: 0;
}

.quiz-toggles {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quiz-toggle {
    min-height: 44px;
    padding: 0 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: #D6DEE8;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quiz-toggle:hover { transform: translateY(-2px); }

.quiz-toggle[aria-pressed="true"] {
    background: var(--amber-grad);
    border-color: transparent;
    color: #1A1203;
    box-shadow: var(--glow);
}

.quiz-verdict {
    margin-top: 1.6rem;
    padding: 1.5rem 1.3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--amber-line);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(23, 26, 36, 0.86));
    text-align: center;
}

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

.quiz-verdict h3 { margin-bottom: 0.5rem; }

.quiz-verdict p { color: #D5DEE9; max-width: 38rem; margin-inline: auto; }

.quiz-verdict .cta-btn { margin-top: 1.1rem; }

.quiz__progress {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    color: var(--muted-soft);
}

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

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

.faq__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    max-width: 52rem;
    margin-inline: auto;
}

.faq-item {
    align-self: start;
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
    border-color: var(--amber-line);
    box-shadow: 0 10px 34px rgba(245, 158, 11, 0.10);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.95rem 1.15rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 1.04rem;
    color: var(--text);
}

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

.faq-item__chevron {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: var(--amber);
    transition: transform 0.25s ease;
}

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

.faq-item__a {
    padding: 0 1.15rem 1.2rem;
    border-top: 1px solid rgba(245, 158, 11, 0.22);
    padding-top: 1rem;
    font-size: 0.96rem;
    color: var(--muted);
    animation: faq-open 0.26s ease;
}

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

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

.legal-page {
    padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3.5rem);
}

.legal-shell {
    width: min(100% - 2rem, 760px);
    margin-inline: auto;
    padding: clamp(1.5rem, 4vw, 2.75rem);
}

.legal-hero {
    position: relative;
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
}

.legal-hero__glow {
    position: absolute;
    left: 50%;
    top: -2rem;
    width: 24rem;
    max-width: 100%;
    height: 14rem;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(245, 158, 11, 0.22), transparent 72%);
    pointer-events: none;
}

.legal-hero .seal-mark { position: relative; }

.legal-hero__title {
    position: relative;
    margin: 0.9rem 0 0.5rem;
    font-size: clamp(1.65rem, 4.6vw, 2.5rem);
}

.legal-hero__updated {
    position: relative;
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--amber-line);
    background: var(--amber-soft);
    color: #FBBF24;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.legal-hero__intro {
    position: relative;
    margin: 0 auto;
    max-width: 38rem;
    color: #C6D0DC;
}

.prose h2 {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    margin-top: 2.1rem;
    padding-top: 0.4rem;
}

.prose h2:first-of-type { margin-top: 0.5rem; }

.prose h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.prose p,
.prose li { font-size: 0.99rem; }

.prose ul { padding-left: 1.15rem; }

.prose-note {
    margin: 1.5rem 0;
    padding: 1.1rem 1.2rem;
    border-left: 3px solid var(--amber);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: rgba(245, 158, 11, 0.08);
    color: #D6DEE8;
    font-size: 0.95rem;
}

.prose-back {
    margin-top: 2.25rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
}

/* ============================================
   REVEAL ANIMATION (progressive enhancement)
   ============================================ */

.js-reveal .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

    .quiz-card.is-flipped .quiz-card__inner { transform: rotateY(180deg); }
    .pc-card:hover,
    .feature-card:hover,
    .polaroid:hover,
    .cta-btn:hover,
    .quiz-toggle:hover { transform: none; }

    .js-reveal .reveal { opacity: 1; transform: none; }
}