/* ============================================================
   Hibbly Review - design system
   Light Premium: coral-to-blue gradient canvas, deep navy glass
   ============================================================ */

:root {
    /* Type */
    --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

    /* Brand palette */
    --coral-700: #D42E58;
    --coral-600: #F04a6c;
    --coral-500: #FF5C7A;
    --coral-400: #FF8095;
    --coral-300: #FFA8B6;
    --blue-900: #0D1734;
    --blue-850: #101D40;
    --blue-800: #142348;
    --blue-700: #1B2F5E;
    --blue-500: #3B6FE0;
    --blue-400: #5B93F5;
    --violet-400: #8E7BE8;
    --green-400: #3ED598;
    --amber-400: #FFB648;

    /* Neutrals */
    --ink-900: #0D1734;
    --ink-700: #2A3557;
    --ink-500: #56618A;
    --ink-300: #8892B4;
    --line: rgba(13, 23, 52, 0.10);
    --paper: #F6F7FB;
    --white: #ffffff;

    /* On-dark text */
    --on-dark: #FFFFFF;
    --on-dark-soft: #D8DEF2;
    --on-dark-muted: #AEB8D6;
    --glass: rgba(13, 23, 52, 0.78);
    --glass-soft: rgba(255, 255, 255, 0.06);
    --glass-line: rgba(255, 255, 255, 0.14);

    /* Gradients */
    --grad-brand: linear-gradient(100deg, var(--coral-500) 0%, var(--violet-400) 52%, var(--blue-500) 100%);
    --grad-brand-soft: linear-gradient(100deg, rgba(255, 92, 122, 0.85), rgba(59, 111, 224, 0.85));
    --grad-rule: linear-gradient(90deg, var(--coral-500), var(--blue-500));

    /* Shape */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* Shadow */
    --sh-sm: 0 6px 18px rgba(13, 23, 52, 0.10);
    --sh-md: 0 18px 40px rgba(13, 23, 52, 0.16);
    --sh-lg: 0 32px 70px rgba(9, 16, 40, 0.34);
    --sh-glow-coral: 0 14px 34px rgba(255, 92, 122, 0.38);

    /* Layout */
    --container: 1180px;
    --gutter: 1rem;
    --section-y: 3.5rem;
    --header-bottom: 64px;
}

/* ============================================
   BASE / OVERFLOW SAFETY
   ============================================ */
*,
*::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, .legal-body, article) a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

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

section { overflow: clip; }

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-900);
    background: var(--paper);
    min-height: 100vh;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.16;
    margin: 0 0 0.6em;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 4.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: clamp(1.12rem, 2.6vw, 1.35rem); font-weight: 700; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.4rem; }

a { color: var(--blue-500); }
a:hover { color: var(--coral-600); }

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

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--white);
    color: var(--ink-900);
    padding: 0.8rem 1.2rem;
    border-radius: 0 0 var(--r-sm) 0;
    font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ============================================
   PAGE CANVASES
   ============================================ */
.page-home {
    color: var(--on-dark);
    background: var(--blue-900);
}
.page-home::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1100px 620px at 6% -8%, rgba(255, 92, 122, 0.34) 0%, rgba(255, 92, 122, 0) 62%),
        radial-gradient(900px 760px at 98% 18%, rgba(59, 111, 224, 0.42) 0%, rgba(59, 111, 224, 0) 66%),
        radial-gradient(760px 620px at 2% 96%, rgba(255, 92, 122, 0.26) 0%, rgba(255, 92, 122, 0) 60%),
        linear-gradient(162deg, #16224A 0%, #14203F 32%, #101B3C 62%, #0D1734 100%);
}

.page-legal { background: var(--paper); }
.page-legal::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    z-index: 5;
    background: var(--grad-rule);
}
.page-legal a { color: var(--blue-700); }

.page-gateway { color: var(--on-dark); background: var(--blue-900); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    isolation: isolate;
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(13, 23, 52, 0.08);
}

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

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--ink-900);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: -0.03em;
    margin-right: auto;
    min-height: 44px;
}
.site-brand:hover { color: var(--ink-900); }
.site-brand__mark { width: 30px; height: 30px; flex: none; display: block; }
.site-brand__mark svg { width: 100%; height: 100%; display: block; }
.site-brand__accent {
    background: var(--grad-rule);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-left: 0.22em;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.25rem;
}
.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.7rem;
    border-radius: var(--r-pill);
    color: var(--ink-700);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
}
.site-nav__list a:hover { background: rgba(13, 23, 52, 0.06); color: var(--ink-900); }

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(13, 23, 52, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 0;
    flex: none;
}
.nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--ink-900);
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav__cta { display: none; }

/* Mobile drawer */
@media (max-width: 767.98px) {
    .nav-toggle { display: block; }
    .site-header .header-actions,
    .header-actions .header-cta { display: none; }

    .site-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--header-bottom, 64px);
        bottom: 0;
        height: auto;
        display: none;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1rem 2.5rem;
        background: var(--white);
        border-top: 1px solid var(--line);
        overflow-y: auto;
        z-index: 95;
    }
    .site-nav.is-open { display: flex; }
    .site-nav__list { flex-direction: column; gap: 0.15rem; }
    .site-nav__list a {
        min-height: 48px;
        font-size: 1.02rem;
        padding: 0 0.9rem;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }
    .site-nav__cta { display: block; margin-top: 0.5rem; }
}

@media (min-width: 768px) {
    .site-header__inner { min-height: 72px; gap: 1rem; }
    .site-brand { font-size: 1.16rem; }
}

/* ============================================
   BUTTONS (cloaked CTAs)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: var(--r-pill);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: transform .2s ease, box-shadow .25s ease, filter .25s ease;
}
.btn__label { display: block; }
.btn__sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 1;
}
.btn__arrow { display: inline-flex; width: 18px; height: 18px; flex: none; }
.btn__arrow svg { width: 100%; height: 100%; }

.btn--primary {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: var(--sh-glow-coral);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(255, 92, 122, 0.46); }
.btn--primary:active { transform: translateY(0); box-shadow: 0 8px 18px rgba(255, 92, 122, 0.4); }

.btn--light {
    background: #fff;
    color: var(--coral-700);
    box-shadow: var(--sh-sm);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn--ghost {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border: 1px solid var(--glass-line);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }

.btn--sm { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn--lg { min-height: 58px; padding: 1rem 2.2rem; font-size: 1.1rem; }
.btn--full { width: 100%; }

.btn--pulse { animation: btnBreathe 3.2s ease-in-out infinite; }
@keyframes btnBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.035); }
}

@media (min-width: 768px) {
    .btn--sm { min-height: 46px; }
}

/* ============================================
   SURFACES
   ============================================ */
.panel {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-line);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
    color: var(--on-dark);
    overflow: hidden;
}
.panel--tall { padding: 1.5rem; }

.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--glass-line);
    border-radius: var(--r-lg);
    padding: 1.25rem;
    color: var(--on-dark);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.section {
    position: relative;
    padding: var(--section-y) 0;
}

/* Shared decorative ribbon layer */
.ribbon-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.ribbon-layer svg { width: 100%; height: 100%; display: block; }
.section > .container { position: relative; z-index: 1; }

/* ============================================
   SECTION HEADING
   ============================================ */
.section-head { margin-bottom: 1.8rem; }
.section-head--center { text-align: center; }
.section-head--center .section-head__rule { margin-inline: auto; }
.section-head--center .section-head__lead { margin-inline: auto; }

.section-head__eyebrow {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--coral-300);
    margin: 0 0 0.5rem;
}
.page-legal .section-head__eyebrow { color: var(--coral-600); }

.section-head__title { margin-bottom: 0.7rem; color: inherit; }

.section-head__rule {
    display: block;
    width: 220px;
    max-width: 70%;
    height: 6px;
    border-radius: var(--r-pill);
    background: var(--grad-rule);
    opacity: 0.9;
}

.section-head__lead {
    margin-top: 1rem;
    max-width: 62ch;
    color: var(--on-dark-soft);
    font-size: 1.03rem;
}
.page-legal .section-head__lead { color: var(--ink-700); }

/* ============================================
   STARS / BADGES / COUNTER
   ============================================ */
.stars { display: inline-flex; gap: 0.1em; line-height: 1; }
.stars--sm { font-size: 1rem; }
.stars--md { font-size: 1.35rem; }
.stars--lg { font-size: 1.7rem; }
.star { color: rgba(255, 255, 255, 0.32); position: relative; }
.page-legal .star { color: rgba(13, 23, 52, 0.20); }
.star--full { color: var(--amber-400); }
.star--half { color: rgba(255, 255, 255, 0.32); }
.star__fill {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
    color: var(--amber-400);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--r-pill);
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}
.badge__icon { display: inline-flex; width: 16px; height: 16px; }
.badge__icon .icon { width: 16px; height: 16px; }
.badge--verified { background: rgba(62, 213, 152, 0.16); color: #7BF0C0; border: 1px solid rgba(62, 213, 152, 0.38); }
.badge--coral { background: rgba(255, 92, 122, 0.18); color: #FFB3C1; border: 1px solid rgba(255, 92, 122, 0.4); }
.badge--blue { background: rgba(91, 147, 245, 0.18); color: #BBD2FF; border: 1px solid rgba(91, 147, 245, 0.4); }
.page-legal .badge--verified { background: rgba(23, 150, 104, 0.10); color: #10714E; border-color: rgba(23, 150, 104, 0.3); }

.live-counter {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.98rem;
    font-weight: 500;
}
.live-counter--dark { color: var(--on-dark); }
.live-counter--light { color: var(--ink-900); }
.live-counter__value { font-family: var(--font-head); font-weight: 800; }
.live-counter__dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #35E08F;
    flex: none;
}
.live-counter__dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(53, 224, 143, 0.6);
    animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   PROFILE CARDS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1rem;
}

.profile-card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--blue-800);
    box-shadow: var(--sh-md);
    transition: transform .3s ease, box-shadow .3s ease;
    isolation: isolate;
}
.profile-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 14, 34, 0.92) 0%, rgba(8, 14, 34, 0.55) 34%, rgba(8, 14, 34, 0) 62%);
    z-index: 1;
}
.profile-card__img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 22%;
}
.profile-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1rem;
    color: #fff;
}
.profile-card__status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8CF3C2;
}
.profile-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #35E08F;
    box-shadow: 0 0 0 4px rgba(53, 224, 143, 0.22);
}
.profile-card__name { margin: 0.4rem 0 0.15rem; font-size: 1.1rem; color: #fff; }
.profile-card__meta { margin: 0; font-size: 0.88rem; color: #D8DEF2; }
.profile-card__caption { margin: 0.4rem 0 0; font-size: 0.82rem; color: #C3CBE6; }
.profile-card:hover { transform: translateY(-6px); box-shadow: 0 28px 54px rgba(9, 16, 40, 0.45); }

.like-btn {
    position: absolute;
    z-index: 3;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(13, 23, 52, 0.5);
    color: #fff;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.like-btn .icon { width: 20px; height: 20px; }
.like-btn:hover { background: rgba(255, 92, 122, 0.5); }
.like-btn.is-liked { background: var(--coral-500); border-color: var(--coral-500); color: #fff; }
.like-btn.is-liked .icon { fill: currentColor; }
.like-btn.is-pop { animation: likePop .4s cubic-bezier(.34,1.56,.64,1); }
@keyframes likePop {
    0% { transform: scale(1); }
    45% { transform: scale(1.28); }
    100% { transform: scale(1); }
}
.like-btn--card { top: 0.65rem; right: 0.65rem; }

@media (min-width: 768px) {
    .profile-card__img { height: 340px; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid {
    display: grid;
    gap: 2.6rem 1.25rem;
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 2.6rem;
}
.testimonial {
    position: relative;
    background: rgba(13, 23, 52, 0.72);
    border: 1px solid var(--glass-line);
    border-radius: var(--r-lg);
    padding: 3rem 1.25rem 1.5rem;
    text-align: center;
    color: var(--on-dark);
    box-shadow: var(--sh-md);
    transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.testimonial__avatar {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--sh-md);
}
.testimonial__stars { margin-bottom: 0.7rem; }
.testimonial__quote { margin: 0 0 0.8rem; }
.testimonial__quote p {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}
.testimonial__meta { margin: 0; font-size: 0.85rem; color: var(--on-dark-muted); }
.like-btn--testimonial {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--blue-800);
}
.like-btn--testimonial.is-pop { animation: none; }
.like-btn--testimonial.is-liked { background: var(--coral-500); }

@media (min-width: 768px) {
    .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.5rem; }
    .testimonial--featured { transform: translateY(-20px); box-shadow: var(--sh-lg); }
    .testimonial--featured:hover { transform: translateY(-26px); }
}

/* ============================================
   STEPS
   ============================================ */
.step-row {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    text-align: center;
}
.step { position: relative; }
.step__ring {
    position: relative;
    width: 128px;
    height: 128px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid transparent;
    background-image:
        linear-gradient(rgba(13, 23, 52, 0.55), rgba(13, 23, 52, 0.55)),
        var(--grad-brand);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 34px rgba(255, 92, 122, 0.28);
    transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover .step__ring { transform: translateY(-5px); box-shadow: 0 0 46px rgba(91, 147, 245, 0.45); }
.step__icon .icon { width: 40px; height: 40px; color: #fff; }
.step__badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: var(--sh-sm);
}
.step__title { margin-bottom: 0.4rem; color: inherit; }
.step__text { margin: 0; color: var(--on-dark-soft); font-size: 0.97rem; }

@media (min-width: 768px) {
    .step-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
    .step:nth-child(2) { margin-top: 2.2rem; }
    .step:nth-child(3) { margin-top: 4rem; }
}

/* ============================================
   METRIC COLUMNS
   ============================================ */
.metric-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
.metric {
    position: relative;
    padding: 1.3rem 1.1rem;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--glass-line);
    text-align: center;
    color: var(--on-dark);
    transition: transform .3s ease, background .3s ease;
}
.metric::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 3px;
    border-radius: var(--r-pill);
    background: var(--grad-rule);
}
.metric:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.11); }
.metric__icon .icon { width: 26px; height: 26px; color: var(--coral-300); }
.metric__label { margin: 0.5rem 0 0.35rem; font-size: 1rem; color: #fff; }
.metric__verdict { margin: 0 0 0.85rem; font-size: 0.92rem; color: var(--on-dark-soft); }
.metric__bar {
    height: 9px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
}
.metric__fill {
    display: block;
    height: 100%;
    border-radius: var(--r-pill);
    background: var(--grad-rule);
}
.metric__note { margin: 0.7rem 0 0; font-size: 0.82rem; color: var(--on-dark-muted); }

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

/* ============================================
   DATA TABLE (stacks under 640px)
   ============================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: var(--on-dark);
}
.data-table caption {
    caption-side: top;
    text-align: left;
    padding-bottom: 0.7rem;
    color: var(--on-dark-muted);
    font-size: 0.88rem;
}
.data-table th,
.data-table td {
    padding: 0.85rem 0.9rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    vertical-align: top;
}
.data-table thead th {
    font-family: var(--font-head);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--coral-300);
}
.data-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.045); }

.page-legal .data-table { color: var(--ink-900); }
.page-legal .data-table caption { color: var(--ink-500); }
.page-legal .data-table th,
.page-legal .data-table td { border-bottom: 1px solid var(--line); }
.page-legal .data-table thead th { color: var(--coral-600); }
.page-legal .data-table tbody tr:nth-child(even) { background: rgba(13, 23, 52, 0.03); }

@media (max-width: 639.98px) {
    .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
    .data-table tr {
        margin-bottom: 0.9rem;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: var(--r-md);
        overflow: hidden;
    }
    .page-legal .data-table tr { border-color: var(--line); background: #fff; }
    .data-table td {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }
    .page-legal .data-table td { border-bottom-color: var(--line); }
    .data-table td:last-child { border-bottom: 0; }
    .data-table td::before {
        content: attr(data-label);
        font-weight: 700;
        font-family: var(--font-head);
        color: var(--coral-300);
        flex: none;
    }
    .page-legal .data-table td::before { color: var(--coral-600); }
}

/* ============================================
   PROS & CONS
   ============================================ */
.proscons {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: 1fr;
    position: relative;
}
.proscons__col h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    margin-bottom: 0.8rem;
}
.proscons__list { list-style: none; margin: 0; padding: 0; }
.proscons__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.7rem;
    color: var(--on-dark-soft);
    font-size: 0.97rem;
}
.proscons__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.proscons__col--pro .proscons__list li::before { background: var(--green-400); box-shadow: 0 0 10px rgba(62, 213, 152, 0.7); }
.proscons__col--con .proscons__list li::before { background: var(--coral-500); box-shadow: 0 0 10px rgba(255, 92, 122, 0.7); }

@media (min-width: 768px) {
    .proscons { grid-template-columns: 1fr 1px 1fr; gap: 2.2rem; }
    .proscons__divider {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%);
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list { display: block; max-width: 880px; margin-inline: auto; }
.faq-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-line);
    border-radius: var(--r-md);
    margin-bottom: 0.7rem;
    overflow: hidden;
}
.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.9rem 1.1rem;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.01rem;
    color: #fff;
    list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { background: rgba(255, 255, 255, 0.06); }
.faq-item__chevron {
    flex: none;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: transform .3s ease;
}
.faq-item__chevron svg { width: 16px; height: 16px; }
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__a {
    padding: 0 1.1rem 1.1rem;
    color: var(--on-dark-soft);
    font-size: 0.97rem;
    animation: faqIn .28s ease;
}
.faq-item__a p:last-child { margin-bottom: 0; }
@keyframes faqIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

.page-legal .faq-item { background: #fff; border-color: var(--line); }
.page-legal .faq-item__q { color: var(--ink-900); }
.page-legal .faq-item__a { color: var(--ink-700); }

/* ============================================
   CALLOUT
   ============================================ */
.callout {
    position: relative;
    padding: 1.1rem 1.2rem 1.1rem 1.4rem;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--glass-line);
    border-left: 4px solid var(--coral-500);
    color: var(--on-dark-soft);
    font-size: 0.93rem;
}
.callout__title {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 0.45rem;
}
.callout__body p:last-child { margin-bottom: 0; }
.callout a { color: #FFC0CC; }
.callout a:hover { color: #fff; }

.page-legal .callout {
    background: #FFF5F7;
    border: 1px solid rgba(255, 92, 122, 0.22);
    border-left: 4px solid var(--coral-500);
    color: var(--ink-700);
}
.page-legal .callout__title { color: var(--ink-900); }
.page-legal .callout a { color: var(--coral-700); }

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-hero {
    padding: 2.6rem 0 1.4rem;
    background: linear-gradient(180deg, rgba(255, 92, 122, 0.08), rgba(59, 111, 224, 0.04) 60%, rgba(246, 247, 251, 0));
}
.legal-wrap { width: min(100% - 2rem, 800px); margin-inline: auto; }
.legal-hero h1 { color: var(--ink-900); margin-bottom: 0.5rem; }
.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--coral-600);
    background: rgba(255, 92, 122, 0.10);
    border-radius: var(--r-pill);
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
}
.legal-body { padding: 0 0 3.5rem; color: var(--ink-700); }
.legal-body h2 {
    color: var(--ink-900);
    margin-top: 2.4rem;
    padding-top: 0.6rem;
    scroll-margin-top: 90px;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
}
.legal-body h3 {
    color: var(--ink-900);
    margin-top: 1.5rem;
    font-size: 1.08rem;
}
.legal-body p, .legal-body li { font-size: 1rem; }
.legal-body ul, .legal-body ol { padding-left: 1.25rem; }
.legal-section + .legal-section { border-top: 1px solid var(--line); }

.legal-toc {
    list-style: decimal;
    margin: 0;
    padding: 1.1rem 1.1rem 1.1rem 2.2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
    columns: 1;
}
.legal-toc li { margin-bottom: 0.45rem; }
.legal-toc a { color: var(--ink-700); text-decoration: underline; text-underline-offset: 0.15em; }
.legal-toc a:hover { color: var(--coral-600); }

@media (min-width: 768px) {
    .legal-toc { columns: 2; column-gap: 2rem; }
    .legal-hero { padding: 3.4rem 0 1.6rem; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    margin-top: 2rem;
    padding: 2.6rem 0 1.6rem;
    background: linear-gradient(160deg, #101D40 0%, #0D1734 60%, #131F44 100%);
    color: var(--on-dark-soft);
    overflow: clip;
}
.site-footer__emblem {
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 220px;
    height: 220px;
    opacity: 0.55;
    pointer-events: none;
}
.site-footer__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
    display: grid;
    gap: 1.8rem;
    grid-template-columns: 1fr;
}
.site-footer__logo {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.7rem;
    letter-spacing: -0.03em;
}
.site-footer__tagline { font-size: 0.95rem; color: var(--on-dark-soft); max-width: 52ch; }
.site-footer__disclosure {
    font-size: 0.84rem;
    color: var(--on-dark-muted);
    max-width: 58ch;
    margin-bottom: 0;
}
.site-footer__heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--coral-300);
    margin-bottom: 0.6rem;
}
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav li { margin-bottom: 0.1rem; }
.site-footer__nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--on-dark-soft);
    text-decoration: none;
    font-size: 0.95rem;
}
.site-footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.15em; }
.site-footer__legal {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, var(--container));
    margin: 1.8rem auto 0;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.82rem;
    color: var(--on-dark-muted);
}

@media (min-width: 768px) {
    .site-footer { padding: 3.2rem 0 1.8rem; }
    .site-footer__inner { grid-template-columns: 1.6fr 1fr; gap: 3rem; }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.has-js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22,.7,.3,1);
    will-change: opacity, transform;
}
.has-js .reveal.is-visible { opacity: 1; transform: none; }
.has-js .reveal--delay-1 { transition-delay: .09s; }
.has-js .reveal--delay-2 { transition-delay: .18s; }
.has-js .reveal--delay-3 { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .has-js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================
   SECTION SPACING AT LARGER VIEWPORTS
   ============================================ */
@media (min-width: 768px) {
    :root { --section-y: 4.5rem; }
}
@media (min-width: 1024px) {
    :root { --section-y: 5.5rem; --gutter: 1.5rem; }
    body { font-size: 1.02rem; }
}

/* ============================================================
   HOMEPAGE
   ============================================================ */
.panel--pad { padding: 1.4rem 1.1rem; }
@media (min-width: 768px) { .panel--pad { padding: 2.2rem 1.9rem; } }
@media (min-width: 1024px) { .panel--pad { padding: 2.8rem 2.4rem; } }

.panel h3 { color: #fff; }

.prose-dark { color: var(--on-dark-soft); max-width: 68ch; }
.prose-dark strong { color: #fff; }
.prose-dark--center { margin-inline: auto; text-align: center; }
.prose-dark a { color: var(--blue-400); }
.prose-dark a:hover { color: var(--coral-300); }

.cta-row { display: flex; justify-content: center; margin-top: 1.8rem; }
.note-line {
    margin: 1rem 0 0;
    font-size: 0.85rem;
    color: var(--on-dark-muted);
    max-width: 72ch;
}
.final-cta .note-line { margin-inline: auto; }
.note-line a { color: #FFC0CC; }
.note-line a:hover { color: #fff; }

/* ---------------- HERO ---------------- */
.hero { padding: 1.1rem 0 0; }

.hero-panel {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: #0C1430;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--sh-lg);
}
.hero-panel__media {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 250px;
    background-image: url("/assets/9b30372d964a1a42c65b28e93978c848.webp");
    background-size: cover;
    background-position: 74% 24%;
    background-repeat: no-repeat;
}
.hero-panel__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 20, 48, 0.15) 0%, rgba(12, 20, 48, 0.62) 58%, #0C1430 100%);
}
.hero-panel__inner {
    position: relative;
    z-index: 1;
    padding: 1.1rem 1.1rem 1.5rem;
    padding-top: 214px;
}

.hero__eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--coral-300);
}
.hero__lead {
    color: var(--on-dark-soft);
    max-width: 58ch;
    font-size: 1.02rem;
}
.hero__lead strong { color: #fff; }
.hero__actions { margin-top: 1.2rem; }

.rating-capsule {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem 0.9rem;
    padding: 0.7rem 1rem;
    margin-bottom: 0.9rem;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.rating-capsule__score {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.22rem;
    color: #fff;
}

@media (min-width: 768px) {
    .hero { padding-top: 1.8rem; }
    .hero-panel__media { height: 320px; }
    .hero-panel__inner { padding: 1.8rem; padding-top: 286px; }
}
@media (min-width: 1024px) {
    .hero-panel__media { height: 72%; background-position: 84% 16%; }
    .hero-panel__media::after {
        background:
            linear-gradient(95deg, #0C1430 0%, rgba(12, 20, 48, 0.95) 38%, rgba(12, 20, 48, 0.55) 60%, rgba(12, 20, 48, 0.2) 100%),
            linear-gradient(180deg, rgba(12, 20, 48, 0) 58%, #0C1430 100%);
    }
    .hero-panel__inner { padding: 3rem 3rem 2.6rem; }
    .hero-head { max-width: 640px; }
}

/* ---------------- QUIZ ---------------- */
.quiz { margin-top: 2rem; }
.quiz__head h2 { font-size: clamp(1.22rem, 3.4vw, 1.7rem); margin-bottom: 0.5rem; }
.quiz__intro { color: var(--on-dark-soft); max-width: 66ch; font-size: 0.97rem; }

.quiz-track {
    position: relative;
    display: grid;
    gap: 1.1rem;
    margin-top: 1.2rem;
}
.quiz-ribbon { display: none; }

.quiz-node { position: relative; z-index: 1; text-align: center; }
.quiz-node__dial {
    position: relative;
    width: 100%;
    max-width: 216px;
    margin: 0 auto;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 13%;
    border: 2px solid transparent;
    background-image:
        linear-gradient(rgba(14, 23, 54, 0.92), rgba(14, 23, 54, 0.92)),
        var(--grad-brand);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 28px rgba(255, 92, 122, 0.22);
    transition: box-shadow .3s ease, transform .3s ease;
}
.quiz-node.is-done .quiz-node__dial {
    box-shadow: 0 0 44px rgba(91, 147, 245, 0.5);
    transform: translateY(-3px);
}
.quiz-node__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: var(--sh-sm);
}
.quiz-node__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.86rem;
    color: #fff;
    line-height: 1.25;
}
.quiz-node__value {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--coral-300);
}
.quiz-node__hint {
    margin: 0.7rem auto 0;
    max-width: 24ch;
    font-size: 0.82rem;
    color: var(--on-dark-muted);
}

.quiz-range {
    width: 100%;
    accent-color: var(--coral-500);
    cursor: pointer;
    height: 24px;
}
.quiz-zip {
    width: 100%;
    min-height: 44px;
    text-align: center;
    border-radius: var(--r-sm);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.08em;
    padding: 0 0.5rem;
}
.quiz-zip::placeholder { color: rgba(255, 255, 255, 0.55); }

.segmented {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.seg-btn {
    min-height: 40px;
    padding: 0 0.7rem;
    border: 0;
    border-radius: var(--r-pill);
    background: transparent;
    color: #E6EAF8;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.seg-btn[aria-pressed="true"] { background: var(--grad-brand); color: #fff; }

.field-error {
    margin: 0.5rem 0 0;
    min-height: 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #FFC6D1;
}

.quiz-result {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
    padding: 1.2rem 1rem;
    border-radius: var(--r-lg);
    text-align: center;
    color: #fff;
    background: var(--grad-brand);
    box-shadow: 0 20px 44px rgba(255, 92, 122, 0.34);
}
.quiz-result__pendtext { margin: 0 0 0.8rem; font-size: 0.92rem; color: #fff; }
.quiz-result__done { display: flex; flex-direction: column; gap: 0.35rem; }
.quiz-result__done:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.quiz-result__num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.7rem, 9vw, 3.4rem);
    line-height: 1;
}
.quiz-result__label { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.quiz-result__detail { font-size: 0.8rem; color: #FFEDF1; margin-bottom: 0.5rem; }

@media (min-width: 1024px) {
    .quiz-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(190px, 230px);
        gap: 1.1rem;
        align-items: start;
    }
    .quiz-ribbon {
        display: block;
        position: absolute;
        inset: 0 0 auto 0;
        width: 100%;
        height: 240px;
        z-index: 0;
        pointer-events: none;
    }
}

/* ---------------- SAFETY PANEL ---------------- */
.safety-panel {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
}
.safety-panel__media {
    position: relative;
    min-height: 230px;
    background:
        radial-gradient(circle at 50% 45%, rgba(59, 111, 224, 0.42), rgba(10, 17, 40, 0) 70%),
        #0A1128;
}
.safety-panel__media img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.safety-panel__body { padding: 1.4rem 1.15rem 1.6rem; }
.safety-panel__body h3 { margin-top: 0; }

.verify-loop {
    width: 100%;
    max-width: 340px;
    height: auto;
    margin-top: 1.2rem;
}

@media (min-width: 900px) {
    .safety-panel { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
    .safety-panel__media { min-height: 100%; }
    .safety-panel__media img { height: 100%; }
    .safety-panel__body { padding: 2.4rem 2.2rem; }
}

/* ---------------- PROS & CONS EXTRA ---------------- */
.proscons__takeaway { margin: 1.6rem 0 0; max-width: none; }

/* ---------------- FINAL CTA ---------------- */
.final-cta { position: relative; text-align: center; }
.final-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin-inline: auto;
}
.final-cta__inner .live-counter { margin-top: 0.4rem; }
.final-cta__glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(720px, 110%);
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 92, 122, 0.38), rgba(59, 111, 224, 0) 70%);
    pointer-events: none;
    z-index: 0;
}
.final-cta__emblem {
    position: absolute;
    width: 170px;
    height: 170px;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
.final-cta__emblem--left { left: -46px; bottom: -44px; }
.final-cta__emblem--right { right: -46px; bottom: -54px; }

@media (min-width: 1024px) {
    .final-cta__emblem { width: 230px; height: 230px; }
}