/*
 * MatureSearch Review - Nordic Clean & Deep Emerald design system
 * Canvas #F8FAFC · Ink #0F172A · Emerald #059669 / #10B981
 */

/* ============================================
   1. DESIGN TOKENS
   ============================================ */

:root {
    --canvas: #F8FAFC;
    --surface: #FFFFFF;
    --ink: #0F172A;
    --ink-2: #334155;
    --ink-3: #64748B;
    --line: #E2E8F0;

    --emerald: #059669;
    --emerald-bright: #10B981;
    --emerald-050: #ECFDF5;
    --emerald-deep: #065F46;
    --red: #DC2626;
    --red-050: #FEF2F2;
    --amber: #F59E0B;

    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
    --shadow-emerald: 0 14px 34px rgba(5, 150, 105, .16);

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

    --container: 1180px;
    --header-bottom: 64px;
}

/* ============================================
   2. BASE & OVERFLOW SAFETY
   ============================================ */

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

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

html,
body {
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--canvas);
}

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

img {
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin: 0 0 1em; }

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

pre, code {
    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, article)
  a:not([class]) {
    color: var(--emerald-deep);
    text-decoration: underline;
    text-underline-offset: .15em;
}

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

section {
    overflow: clip;
}

::selection {
    background: rgba(16, 185, 129, .22);
}

:focus-visible {
    outline: 3px solid rgba(16, 185, 129, .55);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 18px;
    background: var(--ink);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 12px;
}

/* ============================================
   3. LAYOUT UTILITIES
   ============================================ */

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

.section {
    position: relative;
    padding: clamp(56px, 7.5vw, 104px) 0;
}

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

.sec-head {
    max-width: 740px;
    margin: 0 auto clamp(34px, 5vw, 58px);
    text-align: center;
}

.sec-head h2 {
    margin: 0 0 14px;
}

.sec-head__intro {
    margin: 0;
    color: var(--ink-2);
    font-size: 1.03rem;
}

/* One-way scroll reveal - only applies when JS is available */
html.js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

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

/* ============================================
   4. BUTTONS, BADGES, GLYPHS
   ============================================ */

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 30px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--emerald-bright), var(--emerald));
    color: #fff;
    font: 700 1rem/1 var(--font-head);
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(5, 150, 105, .28);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(5, 150, 105, .34);
}

.btn-cta:active {
    /* color inversion on press */
    background: #fff;
    color: var(--emerald);
    border-color: var(--emerald);
    box-shadow: none;
    transform: translateY(0);
}

.btn-cta__icon {
    flex: none;
    transition: transform .18s ease;
}

.btn-cta:hover .btn-cta__icon {
    transform: translateX(3px);
}

.btn-cta--wide {
    width: 100%;
    max-width: 520px;
}

.btn-cta--sm {
    min-height: 44px;
    padding: 0 22px;
    font-size: .9rem;
    box-shadow: none;
}

/* Verified review pill */
.v-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--emerald-050);
    color: var(--emerald-deep);
    border: 1px solid rgba(5, 150, 105, .3);
    border-radius: 999px;
    font: 700 .78rem/1 var(--font-head);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.v-badge svg {
    flex: none;
    color: var(--emerald);
}

/* 18+ circular badge */
.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font: 800 .82rem/1 var(--font-head);
    letter-spacing: .02em;
    flex: none;
}

.badge-18--em {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--emerald-bright), var(--emerald));
    font-size: .95rem;
    box-shadow: 0 8px 18px rgba(5, 150, 105, .3);
}

/* Star rating row */
.stars {
    display: inline-flex;
    gap: 2px;
    line-height: 1;
}

.stars .star {
    width: 17px;
    height: 17px;
    fill: var(--amber);
}

.stars .star.is-empty {
    fill: #E2E8F0;
}

/* Check / cross / dash circular marks */
.mark {
    display: inline-flex;
    flex: none;
    width: 24px;
    height: 24px;
}

.mark svg {
    width: 100%;
    height: 100%;
}

/* Signature compass star base color */
.compass-star {
    color: var(--emerald);
}

/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: relative;
    z-index: 50;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--ink);
    text-decoration: none;
    font: 800 1.12rem/1 var(--font-head);
    letter-spacing: -.01em;
    white-space: nowrap;
}

.site-brand b {
    color: var(--emerald-deep);
    font-weight: 800;
}

.site-brand .compass-star {
    flex: none;
}

.site-brand--sm {
    font-size: 1rem;
}

/* Hamburger button */
.menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
}

.menu-toggle__bars {
    position: relative;
    width: 20px;
    height: 14px;
}

.menu-toggle__bars i {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s ease, top .25s ease, opacity .2s ease;
}

.menu-toggle__bars i:nth-child(1) { top: 0; }
.menu-toggle__bars i:nth-child(2) { top: 6px; }
.menu-toggle__bars i:nth-child(3) { top: 12px; }

.menu-toggle.is-open .menu-toggle__bars i:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__bars i:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle__bars i:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}

/* Mobile drawer (below 768px) */
@media (max-width: 767px) {
    .site-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: max(var(--header-bottom), 0px);
        bottom: 0;
        z-index: 49;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
        background: var(--canvas);
        border-top: 1px solid var(--line);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }

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

    .site-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 10px;
    }

    .site-nav a {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 0 16px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--surface);
        color: var(--ink);
        font: 700 1.05rem/1.2 var(--font-head);
        text-decoration: none;
    }

    .site-nav a:active {
        background: var(--emerald-050);
    }
}

/* Desktop: centered stacked brand + nav row */
@media (min-width: 768px) {
    .site-header__inner {
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        padding-top: 16px;
    }

    .site-brand {
        font-size: 1.3rem;
    }

    .site-nav {
        margin-top: 8px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .site-nav ul {
        display: flex;
        gap: clamp(20px, 4vw, 40px);
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .site-nav a {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 54px;
        color: var(--ink-2);
        font-weight: 600;
        font-size: .98rem;
        text-decoration: none;
        transition: color .18s ease;
    }

    .site-nav a:hover {
        color: var(--emerald);
    }

    .site-nav a.is-active {
        color: var(--ink);
    }

    .site-nav a.is-active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 3px;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--emerald-bright), var(--emerald));
    }

    .menu-toggle {
        display: none;
    }
}

/* ============================================
   6. FOOTER
   ============================================ */

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.site-footer__inner {
    padding: clamp(36px, 5vw, 56px) 0 26px;
}

.site-footer__disclosure {
    max-width: 74ch;
    margin: 0 auto 24px;
    text-align: center;
    font-size: .85rem;
    line-height: 1.65;
    color: var(--ink-3);
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 24px;
    margin-bottom: 28px;
}

.site-footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink-2);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
}

.site-footer__nav a:hover {
    color: var(--emerald);
    text-decoration: underline;
    text-underline-offset: .2em;
}

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

.site-footer__copy {
    margin: 0;
    max-width: 60ch;
    font-size: .82rem;
    color: var(--ink-3);
}

/* ============================================
   7. COOKIE CONSENT BAR
   ============================================ */

.cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
    background: var(--ink);
    color: #E2E8F0;
    box-shadow: 0 -10px 34px rgba(15, 23, 42, .28);
}

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

.cookie-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 22px;
}

.cookie-bar__text {
    flex: 1 1 300px;
    margin: 0;
    font-size: .88rem;
    line-height: 1.55;
}

.cookie-bar__text a {
    color: #6EE7B7;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.cookie-bar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-bar__close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(226, 232, 240, .28);
    border-radius: 10px;
    background: transparent;
    color: #E2E8F0;
    cursor: pointer;
    transition: background .18s ease;
}

.cookie-bar__close:hover {
    background: rgba(226, 232, 240, .12);
}

/* Static replica used inside the cookie-policy page */
.cookie-replica {
    position: static;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin: 18px 0 6px;
}

.cookie-replica .cookie-bar__text {
    color: #E2E8F0;
}

/* ============================================
   8. HERO (index)
   ============================================ */

.hero {
    position: relative;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 0;
}

.hero__content {
    display: grid;
    gap: 22px;
    align-content: center;
    padding: 34px 0 52px;
    order: 2;
}

.hero__content h1 {
    margin: 0;
}

.hero__deck {
    margin: 0;
    max-width: 56ch;
    color: var(--ink-2);
    font-size: 1.05rem;
}

.hero__media {
    position: relative;
    order: 1;
    height: min(62vw, 340px);
    margin: 0 calc(50% - 50vw);
    overflow: hidden;
}

.hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 62%, var(--canvas) 100%);
    pointer-events: none;
}

@media (min-width: 1024px) {
    .hero__inner {
        grid-template-columns: minmax(0, 46%) minmax(0, 54%);
        gap: clamp(2rem, 4vw, 4rem);
        align-items: stretch;
    }

    .hero__content {
        order: 1;
        padding: clamp(48px, 7vh, 92px) 0;
    }

    .hero__media {
        order: 2;
        height: auto;
        min-height: 560px;
        margin: 0;
        margin-right: calc(50% - 50vw);
    }

    .hero__media img {
        object-position: center 25%;
    }

    .hero__media::after {
        background: linear-gradient(90deg, var(--canvas) 0%, rgba(248, 250, 252, 0) 26%);
    }
}

/* Editorial rating card */
.rating-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.rating-card__body {
    flex: 1;
    display: grid;
    gap: 10px;
    min-width: 0;
}

.rating-card__label {
    margin: 0;
    font: 700 .95rem/1.2 var(--font-head);
}

.rating-card__note {
    margin: 0;
    font-size: .8rem;
    color: var(--ink-3);
}

@media (max-width: 540px) {
    .rating-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .rating-card .dial {
        margin-inline: auto;
    }
}

/* Circular rating dial */
.dial {
    position: relative;
    width: 132px;
    flex: none;
}

.dial__svg {
    display: block;
    width: 132px;
    height: 132px;
    transform: rotate(-90deg);
}

.dial__track {
    stroke: #E2E8F0;
    stroke-width: 10;
    fill: none;
}

.dial__arc {
    stroke: url(#ms-emerald);
    stroke-width: 10;
    stroke-linecap: round;
    fill: none;
    transition: stroke-dashoffset 1.5s cubic-bezier(.22, 1, .36, 1);
}

.dial__center {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 3px;
    text-align: center;
}

.dial__center strong {
    font: 800 1.65rem/1 var(--font-head);
}

.dial__center strong span {
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink-3);
}

/* Sub-score progress bars */
.scorebar {
    display: grid;
    grid-template-columns: minmax(86px, 116px) 1fr 30px;
    align-items: center;
    gap: 10px;
    font-size: .84rem;
}

.scorebar__name {
    color: var(--ink-2);
    font-weight: 600;
}

.scorebar__track {
    height: 8px;
    border-radius: 99px;
    background: #E2E8F0;
    overflow: hidden;
}

.scorebar__fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--emerald-bright), var(--emerald));
    transition: width 1.25s cubic-bezier(.22, 1, .36, 1);
}

.is-inview .scorebar__fill {
    width: var(--w, 0%);
}

.scorebar__val {
    font-weight: 700;
    text-align: right;
}

/* ============================================
   9. EXPERT VERDICT / CTA ORBIT
   ============================================ */

.verdict {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 26px;
    justify-items: center;
    text-align: center;
}

.verdict p {
    margin: 0;
    color: var(--ink-2);
    font-size: 1.05rem;
}

.cta-orbit {
    position: relative;
    display: inline-block;
}

.cta-orbit::before {
    content: "";
    position: absolute;
    inset: -46px -70px;
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, .22), rgba(16, 185, 129, 0) 65%);
    filter: blur(4px);
    z-index: 0;
    pointer-events: none;
}

.cta-orbit__star {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 160px;
    height: 160px;
    transform: translate(-50%, -50%);
    color: var(--emerald);
    opacity: .26;
    z-index: 1;
    pointer-events: none;
}

.cta-orbit .btn-cta {
    position: relative;
    z-index: 2;
}

/* ============================================
   10. PROS & CONS
   ============================================ */

.pc {
    position: relative;
    display: grid;
    gap: 40px;
    max-width: 980px;
    margin: 0 auto;
}

.pc__col {
    min-width: 0;
}

.pc__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font: 800 1.15rem/1.2 var(--font-head);
}

.pc__title--con {
    color: var(--ink);
}

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

.pc__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-weight: 500;
    color: var(--ink-2);
}

.pc__list .mark {
    margin-top: 1px;
}

.pc__star {
    display: flex;
    justify-content: center;
    order: 3;
}

.pc__star .compass-star {
    width: 54px;
    height: 54px;
    opacity: .9;
}

@media (min-width: 1024px) {
    .pc {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 72px;
    }

    .pc__star {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        order: 0;
    }

    .pc__star .compass-star {
        width: 120px;
        height: 120px;
    }
}

/* ============================================
   11. TESTIMONIALS
   ============================================ */

.twrap {
    position: relative;
}

.tcards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 20px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
}

.tcards .tcard {
    flex: 0 0 84%;
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .tcards .tcard {
        flex-basis: 46%;
    }
}

@media (min-width: 1024px) {
    .tcards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
        overflow: visible;
        padding: 0;
    }
}

.tcard {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-emerald);
}

.tcard__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.tcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.tcard__body {
    padding: 18px 20px 22px;
}

.tcard__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.tcard__age {
    padding: 4px 12px;
    border-radius: 99px;
    background: var(--emerald-050);
    color: var(--emerald-deep);
    font: 700 .78rem/1.4 var(--font-head);
}

.tcard__quote {
    margin: 0;
    color: var(--ink-2);
    font-size: .95rem;
}

.tcard__quote p {
    margin: 0;
}

/* Shared connector line with compass-star junctions (desktop) */
.tline,
.tstar {
    display: none;
}

@media (min-width: 1024px) {
    .tline {
        display: block;
        position: absolute;
        top: 137px;
        left: 7%;
        right: 7%;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(5, 150, 105, .35) 18%, rgba(5, 150, 105, .35) 82%, transparent);
        pointer-events: none;
    }

    .tstar {
        display: block;
        position: absolute;
        top: 137px;
        transform: translate(-50%, -50%);
        padding: 5px;
        border-radius: 50%;
        background: var(--canvas);
        color: var(--emerald);
        pointer-events: none;
    }

    .tstar--1 { left: 16.66%; }
    .tstar--2 { left: 50%; }
    .tstar--3 { left: 83.34%; }
}

.tnote {
    max-width: 62ch;
    margin: 26px auto 0;
    text-align: center;
    font-size: .82rem;
    color: var(--ink-3);
}

/* ============================================
   12. FEATURE ANALYSIS
   ============================================ */

.feat-grid {
    position: relative;
    display: grid;
    gap: 24px;
}

.feat-card {
    display: grid;
    gap: 18px;
    align-content: start;
    padding: clamp(22px, 3vw, 34px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.feat-card h3 {
    margin: 0;
}

.feat-card p {
    margin: 0;
    color: var(--ink-2);
}

.feat-card__media {
    border-radius: 10px;
    overflow: hidden;
}

.feat-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.feat-card--split {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

@media (min-width: 700px) {
    .feat-card--split {
        grid-template-columns: minmax(0, 208px) minmax(0, 1fr);
        gap: 26px;
    }
}

.feat-card__side {
    margin: 0;
}

@media (min-width: 1024px) {
    .feat-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
        grid-template-rows: 1fr 1fr;
        gap: 28px;
    }

    .feat-card--tall {
        grid-row: 1 / 3;
        align-content: start;
    }
}

/* Deep slate panel holding the privacy shield SVG */
.ppanel {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    background: linear-gradient(160deg, #16223A, var(--ink));
    display: grid;
    place-items: center;
    overflow: hidden;
}

.ppanel svg {
    width: 82%;
    height: 82%;
}

/* Circular verified-member crop + scalloped stamp */
.vcrop {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.vcrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.vstamp {
    position: absolute;
    right: 1%;
    bottom: 1%;
    width: 27%;
    max-width: 64px;
    filter: drop-shadow(0 4px 8px rgba(5, 150, 105, .35));
}

/* Compass-star node joining the tall card and the right stack */
.fnode {
    display: none;
}

@media (min-width: 1024px) {
    .fnode {
        display: block;
        position: absolute;
        left: 53.4%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 5;
        pointer-events: none;
    }

    .fnode .compass-star {
        width: 64px;
        height: 64px;
        padding: 8px;
        border-radius: 50%;
        background: var(--canvas);
    }

    .fnode::before,
    .fnode::after {
        content: "";
        position: absolute;
        left: 62%;
        width: 9vw;
        max-width: 150px;
        height: 2px;
        background: linear-gradient(90deg, rgba(5, 150, 105, .55), rgba(5, 150, 105, 0));
    }

    .fnode::before { bottom: calc(100% + 24px); }
    .fnode::after { top: calc(100% + 24px); }
}

/* ============================================
   13. TABLES (comparison + cookie categories)
   ============================================ */

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.dtable {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: .94rem;
}

.dtable th,
.dtable td {
    padding: 15px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.dtable thead th {
    font-family: var(--font-head);
    font-size: .92rem;
    color: var(--ink);
    background: var(--surface);
}

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

/* Comparison table specifics */
.compare thead .compare__brand {
    background: linear-gradient(135deg, var(--emerald-bright), var(--emerald));
    color: #fff;
}

.compare tbody .compare__brand {
    background: var(--emerald-050);
    font-weight: 600;
    color: var(--emerald-deep);
}

.compare th:first-child,
.compare td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--surface);
    box-shadow: 1px 0 0 var(--line);
    font-weight: 600;
}

.compare td {
    text-align: center;
}

.compare td:first-child,
.compare th:first-child {
    text-align: left;
}

.compare .mark {
    width: 22px;
    height: 22px;
}

/* Cookie category table specifics */
.cookie-cats thead th {
    background: linear-gradient(135deg, var(--emerald-bright), var(--emerald));
    color: #fff;
}

.cookie-cats td:first-child,
.cookie-cats th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--emerald-050);
    box-shadow: 1px 0 0 var(--line);
    font-weight: 600;
    color: var(--emerald-deep);
}

/* ============================================
   14. MINI-QUIZ
   ============================================ */

.quiz {
    max-width: 840px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.quiz__bar {
    height: 8px;
    margin-bottom: 30px;
    border-radius: 99px;
    background: var(--line);
    overflow: hidden;
}

.quiz__bar-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--emerald-bright), var(--emerald));
    transition: width .5s cubic-bezier(.22, 1, .36, 1);
}

.quiz__step[hidden],
.quiz__result[hidden] {
    display: none;
}

.quiz__q {
    margin: 0 0 6px;
    font: 800 1.25rem/1.3 var(--font-head);
}

.quiz__hint {
    margin: 0 0 20px;
    color: var(--ink-3);
    font-size: .9rem;
}

.quiz__opts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.opt {
    flex: 1 1 190px;
    min-height: 52px;
    padding: 16px 20px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    background: var(--canvas);
    color: var(--ink);
    font: 600 .98rem/1.35 var(--font-body);
    text-align: left;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.opt:hover {
    border-color: var(--emerald);
    transform: translateY(-2px);
}

.opt.is-selected {
    /* inversion on tap */
    background: var(--emerald);
    border-color: var(--emerald);
    color: #fff;
}

.quiz__result {
    display: grid;
    gap: 16px;
    justify-items: center;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid rgba(5, 150, 105, .3);
    border-radius: var(--radius);
    background: var(--emerald-050);
    text-align: center;
}

.quiz__result h3 {
    margin: 0;
}

.quiz__result p {
    margin: 0;
    max-width: 52ch;
    color: var(--ink-2);
}

/* ============================================
   15. FAQ ACCORDION
   ============================================ */

.faq {
    display: grid;
    gap: 12px;
    align-items: start;
    max-width: 880px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item[open] {
    border-color: rgba(5, 150, 105, .45);
    box-shadow: var(--shadow-sm);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 16px 22px;
    font: 700 1.03rem/1.35 var(--font-head);
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    border-radius: var(--radius);
}

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

.faq-item__chev {
    flex: none;
    color: var(--emerald);
    transition: transform .3s ease;
}

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

.faq-item__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}

.faq-item__a-in {
    overflow: hidden;
}

.faq-item[open] .faq-item__a {
    grid-template-rows: 1fr;
}

.faq-item__a p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--ink-2);
}

/* ============================================
   16. FINAL CTA
   ============================================ */

.final-cta {
    position: relative;
    text-align: center;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: -12% -22%;
    background: radial-gradient(ellipse 48% 58% at 50% 55%, rgba(16, 185, 129, .15), rgba(16, 185, 129, 0) 70%);
    pointer-events: none;
}

.final-cta > .container {
    position: relative;
    display: grid;
    gap: 22px;
    justify-items: center;
}

.final-cta .sec-head {
    margin-bottom: 0;
}

.final-cta__sub {
    margin: 0;
    max-width: 60ch;
    color: var(--ink-2);
}

.final-cta__aff {
    margin: 0;
    font-size: .8rem;
    color: var(--ink-3);
}

/* ============================================
   17. PAGE-WIDE ORNAMENTS
   ============================================ */

.page-decor {
    position: relative;
}

.ornaments {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: clip;
    pointer-events: none;
}

.ornaments .compass-star {
    position: absolute;
    color: var(--emerald);
    opacity: .07;
}

.orn--a { left: -180px; top: 4%; width: 420px; height: 420px; }
.orn--b { right: -210px; top: 34%; width: 540px; height: 540px; }
.orn--c { left: -160px; bottom: 6%; width: 380px; height: 380px; }
.orn--d { right: -150px; bottom: 22%; width: 320px; height: 320px; }

.prism {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 12%, rgba(16, 185, 129, .05) 22%, transparent 34%),
        linear-gradient(65deg, transparent 52%, rgba(6, 95, 70, .045) 66%, transparent 80%);
}

/* ============================================
   18. LEGAL PAGES
   ============================================ */

.legal-hero {
    position: relative;
    overflow: clip;
    padding: clamp(48px, 8vw, 88px) 0 clamp(30px, 4vw, 46px);
    background: linear-gradient(180deg, #F1F5F9 0%, var(--canvas) 100%);
    border-bottom: 1px solid var(--line);
}

.legal-hero__orn {
    position: absolute;
    right: -140px;
    top: -140px;
    width: 380px;
    height: 380px;
    color: var(--emerald);
    opacity: .08;
    pointer-events: none;
}

.legal-hero h1 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.rule-em {
    width: 74px;
    height: 4px;
    margin-top: 18px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--emerald-bright), var(--emerald));
}

.legal-hero__lede {
    max-width: 68ch;
    margin: 18px 0 0;
    color: var(--ink-2);
    font-size: 1.02rem;
}

.legal-hero__meta {
    margin: 14px 0 0;
    font-size: .9rem;
    color: var(--ink-3);
}

.legal {
    max-width: 78ch;
    margin: 0 auto;
    padding: clamp(38px, 6vw, 64px) 0 clamp(64px, 9vw, 110px);
}

.legal h2 {
    position: relative;
    margin: 2.3em 0 .75em;
    padding-left: 18px;
    font-size: 1.4rem;
}

.legal h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    bottom: .3em;
    width: 5px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--emerald-bright), var(--emerald));
}

.legal h3 {
    margin: 1.8em 0 .6em;
    font-size: 1.1rem;
}

.legal p,
.legal li {
    color: var(--ink-2);
}

.legal ul,
.legal ol {
    padding-left: 1.4em;
    display: grid;
    gap: .45em;
    margin: 0 0 1em;
}

.legal-callout {
    margin: 20px 0;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--emerald);
    border-radius: var(--radius);
}

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

.age-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.age-row h2 {
    margin: 0;
}

/* ============================================
   19. REDUCED MOTION
   ============================================ */

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

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

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

    .scorebar__fill {
        width: var(--w, 0%);
    }
}
