/*
 * Hibbly Review - Light Premium design system
 * Canonical design tokens live in this file.
 */

:root {
    /* Brand palette */
    --coral: #F4645F;
    --coral-600: #E04F4B;
    --coral-700: #B93A31;
    --coral-300: #FF9A92;
    --rose: #E86A8E;
    --navy: #14356E;
    --navy-900: #0E2450;
    --blue: #2B5AA8;
    --blue-300: #7FA6DC;

    /* Neutrals */
    --ink: #101828;
    --ink-soft: #3C4658;
    --muted: #5A6478;
    --line: #E4E9F2;
    --surface: #FFFFFF;
    --surface-alt: #F6F8FC;
    --surface-blue: #EEF3FB;

    /* Status */
    --green: #17A24A;
    --green-700: #0E7A36;
    --green-soft: #E7F7EC;
    --red: #D93A46;
    --gold: #F5B301;

    /* Gradients */
    --grad-hero: linear-gradient(125deg, #F87F74 0%, #E4657F 26%, #7E5C9E 52%, #2C57A2 76%, #15326A 100%);
    --grad-coral: linear-gradient(90deg, #F87F74 0%, #F4645F 55%, #E8577E 100%);
    --grad-blue: linear-gradient(135deg, #2B5AA8 0%, #14356E 100%);

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

    /* Shape & depth */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-pill: 999px;
    --shadow-sm: 0 2px 8px rgba(16, 24, 40, .06);
    --shadow-md: 0 10px 28px rgba(16, 24, 40, .10);
    --shadow-lg: 0 24px 60px rgba(16, 36, 80, .18);
    --shadow-coral: 0 12px 30px rgba(244, 100, 95, .32);

    /* Layout */
    --container: 1200px;
    --gutter: 20px;
    --header-bottom: 64px;
}

/* ============================================
   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 {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
}

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

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

h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 700; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

a { color: var(--blue); }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: #fff;
    color: var(--navy);
    padding: 12px 18px;
    border-radius: 0 0 var(--r-sm) 0;
    font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ============================================
   LAYOUT HELPERS
   ============================================ */

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

.container--narrow { max-width: 880px; }

.section {
    position: relative;
    padding: 56px 0;
}

.section--tight { padding: 40px 0; }

.section--alt { background: var(--surface-alt); }

.band {
    position: relative;
    isolation: isolate;
    color: #fff;
}

.band__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.band__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(14, 36, 80, .38) 0%, rgba(14, 36, 80, .18) 45%, rgba(14, 36, 80, .48) 100%);
}

.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255, 255, 255, .92); }

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 34px;
}

.section-head p { color: var(--muted); }
.band .section-head p { color: rgba(255, 255, 255, .92); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--coral-700);
    margin-bottom: 10px;
}

.band .eyebrow { color: var(--coral-300); }

/* ============================================
   BUTTONS (cloaked CTA)
   ============================================ */

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

.btn__sub {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .8rem;
}

.btn--primary {
    background: var(--grad-coral);
    color: #fff;
    box-shadow: var(--shadow-coral);
    animation: ctaPulse 2.8s ease-in-out infinite;
}

.btn--primary:hover,
.btn--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(244, 100, 95, .42);
    animation-play-state: paused;
}

.btn--secondary {
    background: #fff;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

.btn--secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
}

.btn--ghost:hover { background: rgba(255, 255, 255, .24); }

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 16px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 12px 30px rgba(244, 100, 95, .32); }
    50% { box-shadow: 0 12px 30px rgba(244, 100, 95, .32), 0 0 0 10px rgba(244, 100, 95, .12); }
}

/* ============================================
   BADGES, PILLS, COUNTER
   ============================================ */

.rating-pill,
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--r-pill);
    background: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .98rem;
    box-shadow: var(--shadow-sm);
}

.rating-pill__stars { display: inline-flex; gap: 2px; color: var(--gold); }
.rating-pill__value { color: var(--ink); }
.star--half { clip-path: inset(0 30% 0 0); }

.verified-badge { background: var(--green-soft); color: #0E7A36; }
.verified-badge svg { color: var(--green); flex: none; }

.live-counter {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 10px 20px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .98rem;
    box-shadow: var(--shadow-md);
}

.live-counter__label { font-weight: 600; color: var(--ink-soft); }

.live-counter__dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #14C061;
    flex: none;
}

.live-counter__dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(20, 192, 97, .6);
    animation: dotPulse 2s ease-out infinite;
}

@keyframes dotPulse {
    0% { transform: scale(.6); opacity: .9; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   HEADER + NAV
   ============================================ */

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

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: opacity .3s ease;
}

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

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy);
    letter-spacing: -.02em;
}

.site-brand__mark { display: inline-flex; flex: none; }

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: var(--navy);
    transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) 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(-7px) rotate(-45deg); }

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 4px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy);
    text-decoration: none;
}

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

/* Mobile drawer */
@media (max-width: 767px) {
    .site-nav {
        position: fixed;
        top: var(--header-bottom);
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        z-index: 99;
        background: #fff;
        padding: 12px var(--gutter) 32px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }

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

    .site-nav__list li + li { border-top: 1px solid var(--line); }
    .site-nav__link { min-height: 52px; font-size: 1.05rem; }
    .header-actions { margin-top: 18px; }
    .header-actions .btn { width: 100%; }
    body.nav-open { overflow: hidden; }
}

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

    .site-nav {
        display: flex;
        align-items: center;
        gap: 26px;
    }

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

/* Transparent header over the homepage hero */
@media (min-width: 768px) {
    .page-home .site-header::before { opacity: 0; }
    .page-home .site-header .site-brand,
    .page-home .site-header .site-nav__link { color: #14356E; }
    .page-home .site-header .site-nav__link:hover { color: var(--coral-300); }
    .page-home .site-header.is-scrolled::before { opacity: 1; }
    .page-home .site-header.is-scrolled .site-brand,
    .page-home .site-header.is-scrolled .site-nav__link { color: var(--navy); }
}

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

.site-footer {
    position: relative;
    isolation: isolate;
    color: #fff;
    padding: 56px 0 28px;
    overflow: clip;
}

.site-footer__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: var(--navy-900);
    background-image: url("/assets/9c6210b949fad5137456d214f580b638.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 29, 62, .55) 0%, rgba(11, 29, 62, .72) 100%);
}

.site-footer__inner {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

.footer-col__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    margin: 0 0 8px;
}

.footer-col__text {
    color: rgba(255, 255, 255, .88);
    font-size: .95rem;
    margin-bottom: 14px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .45);
}

.footer-link:hover { border-bottom-color: var(--coral-300); color: var(--coral-300); }

.site-footer__bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    font-size: .88rem;
    color: rgba(255, 255, 255, .88);
}

.site-footer__bottom p { margin: 0 0 8px; }
.site-footer__disclosure { max-width: 760px; }

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

@media (min-width: 1024px) {
    .site-footer { padding: 72px 0 32px; }
    .site-footer__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
}

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    padding: 24px;
}

.card--glass {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(14px);
    color: #fff;
}

/* Profile card */
.profile-card {
    flex: 0 0 auto;
    width: 172px;
    background: #14356E;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.profile-card:hover { transform: translateY(-6px); box-shadow: 0 28px 62px rgba(12, 28, 64, .28); }

.profile-card__media { position: relative; }

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

.profile-card__tag {
    position: absolute;
    left: 8px;
    top: 8px;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .94);
    color: var(--navy);
    font-size: .68rem;
    font-weight: 700;
    font-family: var(--font-head);
    letter-spacing: .02em;
}

.profile-card__body { padding: 12px 12px 14px; }

.profile-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .92rem;
    color: var(--ink);
}

.profile-card__dot { color: var(--muted); }

.profile-card__status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: .84rem;
    color: var(--green);
    font-weight: 600;
}

.profile-card__online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #14C061;
    flex: none;
}

/* Testimonials */
.testimonial-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding: 22px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.testimonial-card__flag { position: absolute; top: 18px; right: 18px; line-height: 0; }

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

.testimonial-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
}

.testimonial-card__meta {
    margin: 0 0 4px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
}

.testimonial-card__stars { display: inline-flex; gap: 2px; color: var(--coral); }

.testimonial-card__quote { margin: 0; }
.testimonial-card__quote p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ============================================
   TABLES
   ============================================ */

.table-wrap {
    position: relative;
    max-width: 100%;
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: .95rem;
}

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

.data-table thead th {
    background: var(--surface-alt);
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--ink);
    font-size: .92rem;
    white-space: nowrap;
}

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

.data-table tbody tr:nth-child(even) { background: var(--surface-blue); }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

.table-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .95));
    pointer-events: none;
}

@media (min-width: 768px) {
    .table-wrap::after { display: none; }
}

/* ============================================
   FAQ / DISCLOSURES
   ============================================ */

.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    max-width: 840px;
    margin-inline: auto;
}

.faq-item {
    align-self: start;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    overflow: hidden;
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 56px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.02rem;
    color: #fff;
}

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

.faq-item__chevron { flex: none; transition: transform .25s ease; }
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }

.faq-item__a { padding: 0 18px 16px; }
.faq-item__a p { margin: 0; color: rgba(255, 255, 255, .92); font-size: .98rem; }

.faq-item[open] .faq-item__a { animation: faqReveal .28s ease both; }

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

/* Light variant for legal pages */
.faq-item--light {
    background: #fff;
    border-color: var(--line);
}
.faq-item--light .faq-item__q { color: var(--ink); }
.faq-item--light .faq-item__a p { color: var(--ink-soft); }

/* ============================================
   ICON FEATURES
   ============================================ */

.icon-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.icon-feature__tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .32);
    color: #fff;
}

.icon-feature__title {
    font-size: 1.02rem;
    margin: 0 0 6px;
}

.icon-feature__text {
    margin: 0;
    font-size: .95rem;
    color: rgba(255, 255, 255, .9);
}

.section:not(.band) .icon-feature__tile {
    background: var(--surface-blue);
    border-color: var(--line);
    color: var(--blue);
}

.section:not(.band) .icon-feature__text { color: var(--muted); }

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

.legal-hero {
    position: relative;
    background: linear-gradient(115deg, var(--navy-900) 0%, #22346F 55%, #5B3F76 100%);
    color: #fff;
    padding: 46px 0;
    overflow: clip;
}



.legal-hero > * { position: relative; z-index: 1; }
.legal-hero h1 { color: #fff; margin-bottom: 10px; }
.legal-hero p { color: rgba(255, 255, 255, .92); margin: 0 0 6px; max-width: 640px; }

.legal-meta {
    font-size: .9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
}

.legal-body { padding: 44px 0 64px; }

.legal-toc {
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 20px 22px;
    margin-bottom: 34px;
}

.legal-toc p {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px;
}

.legal-toc ol { margin: 0; padding-left: 1.2em; }
.legal-toc li { margin-bottom: .3em; }

.prose { max-width: 820px; }
.prose h2 { margin-top: 2em; scroll-margin-top: 96px; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { font-size: 1.02rem; }

.prose blockquote {
    margin: 1.6em 0;
    padding: 4px 0 4px 18px;
    border-left: 4px solid var(--coral);
    color: var(--ink);
    font-style: normal;
}

.callout {
    background: var(--surface-blue);
    border-left: 4px solid var(--coral);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: 18px 20px;
    margin: 1.6em 0;
}

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

.def-block {
    border-left: 4px solid var(--coral);
    padding: 4px 0 4px 18px;
    margin: 1.2em 0;
}

.def-block h3 { margin: 0 0 6px; font-size: 1.05rem; }
.def-block p { margin: 0; }

.list-prohibited {
    list-style: none;
    padding-left: 0;
    line-height: 1.7;
}

.list-prohibited li {
    position: relative;
    padding-left: 28px;
}

.list-prohibited li::before {
    content: "✕";
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--coral);
    font-weight: 700;
}

.legal-cta {
    margin-top: 40px;
    padding: 24px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}

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

/* ============================================
   SCROLL REVEAL
   ============================================ */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

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

    .js [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .btn--primary { animation: none; }
    .live-counter__dot::after { animation: none; opacity: .35; }
    .faq-item[open] .faq-item__a { animation: none; }
    *, *::before, *::after { scroll-behavior: auto !important; }
}

/* ============================================
   RESPONSIVE SECTION RHYTHM
   ============================================ */

@media (min-width: 768px) {
    .section { padding: 72px 0; }
    .profile-card { width: 190px; }
    .profile-card__media img { height: 224px; }
}

@media (min-width: 1024px) {
    body { font-size: 17px; }
    .section { padding: 88px 0; }
    .section-head { margin-bottom: 44px; }
}

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

.hero {
    padding: 34px 0 60px;
    text-align: center;
}

.hero .band__bg { background-position: center 42%; }

.hero__inner { max-width: 1040px; }

.hero h1 {
    color: #fff;
    text-shadow: 0 2px 20px rgba(12, 28, 64, .35);
}

.hero__deck {
    max-width: 660px;
    margin: 0 auto 22px;
    font-size: 1.04rem;
    color: rgba(255, 255, 255, .96);
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 26px;
}

.hero__counter {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

/* Quick quiz */
.quiz {
    display: grid;
    gap: 18px;
    text-align: left;
    padding: 20px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .34);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
}

.quiz__title {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 0 4px;
}

.quiz__sub {
    color: rgba(255, 255, 255, .92);
    font-size: .95rem;
    margin: 0 0 16px;
}

.quiz__steps { display: grid; gap: 16px; }

.quiz-step__bar {
    display: block;
    height: 6px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .32);
    overflow: hidden;
    margin-bottom: 12px;
}

.quiz-step__bar i {
    display: block;
    height: 100%;
    width: 18%;
    border-radius: var(--r-pill);
    background: var(--grad-coral);
    transition: width .45s ease;
}

.quiz-step.is-done .quiz-step__bar i { width: 100%; }

.quiz-step label {
    display: block;
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 8px;
}

.quiz-field {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .7);
    background: #fff;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
}

.quiz__result {
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .3);
    align-self: center;
}

.quiz__hint {
    margin: 0;
    color: rgba(255, 255, 255, .94);
    font-size: .95rem;
}

.quiz__done { display: none; }
.quiz.is-complete .quiz__done { display: block; animation: faqReveal .35s ease both; }
.quiz.is-complete .quiz__hint { display: none; }

.quiz__count {
    display: block;
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.quiz__count-label {
    display: block;
    margin: 4px 0 14px;
    font-family: var(--font-head);
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

@media (min-width: 900px) {
    .quiz {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 26px;
        padding: 26px 28px;
        align-items: center;
    }

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

    .quiz__result {
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, .3);
        padding: 8px 0 8px 26px;
    }
}

/* Profile gallery */
.gallery {
    position: relative;
    margin-top: 22px;
}

.gallery__row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 2px 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gallery__row::-webkit-scrollbar { display: none; }
.gallery__row > * { scroll-snap-align: start; }

.gallery__next {
    display: none;
    position: absolute;
    right: -10px;
    top: 44%;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(10, 26, 60, .38);
    transition: transform .2s ease;
}

.gallery__next:hover { transform: scale(1.06); }

@media (min-width: 1024px) {
    .hero { padding: 46px 0 76px; }
    .gallery__next { display: inline-flex; }
}

/* ============================================
   HOMEPAGE - OVERVIEW + HOW IT WORKS
   ============================================ */

.duo {
    display: grid;
    gap: 46px;
}

.duo h2 { text-align: center; }
.duo .table-wrap { margin-bottom: 22px; }
.duo .callout h3 { margin-top: 0; font-size: 1.05rem; }

@media (min-width: 1024px) {
    .duo {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 56px;
        align-items: start;
    }
}

.flow { position: relative; margin-top: 26px; }

.flow__connector {
    display: none;
    position: absolute;
    left: 6%;
    right: 6%;
    top: 14px;
    width: 88%;
    height: 132px;
    z-index: 0;
}

.flow__steps {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 26px;
    text-align: center;
}

.flow-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin-bottom: 12px;
    background: #FEF1F0;
    border: 2px solid var(--coral);
    color: var(--coral);
    box-shadow: var(--shadow-md);
}

.flow-node--rose { background: #FDF1F5; border-color: var(--rose); color: var(--rose); }
.flow-node--blue { background: #EDF3FC; border-color: var(--blue); color: var(--blue); }

.flow-step h3 { margin-bottom: 6px; }
.flow-step p { margin: 0; color: var(--muted); font-size: .95rem; }

.flow__cta { text-align: center; margin-top: 30px; }

@media (min-width: 768px) {
    .flow__connector { display: block; }
    .flow__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
    .flow-step--low { margin-top: 58px; }
}

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

.proscons {
    max-width: 900px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: rgba(18, 32, 68, .34);
    border: 1px solid rgba(255, 255, 255, .26);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}

.pc-col__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 14px 20px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.pc-col--pros .pc-col__head { background: var(--green-700); }
.pc-col--cons .pc-col__head { background: var(--coral-700); }

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

.pc-list li {
    margin: 0;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: .98rem;
    line-height: 1.55;
}

@media (min-width: 768px) {
    .proscons { grid-template-columns: 1fr 1fr; }
    .pc-col--cons { border-left: 1px solid rgba(255, 255, 255, .18); }
}

/* ============================================
   HOMEPAGE - TESTIMONIALS
   ============================================ */

.cards-3 {
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr;
}

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

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

/* ============================================
   HOMEPAGE - SAFETY + FAQ BAND
   ============================================ */

.band__bg--safety { background-position: center 50%; }

.safety-cols {
    display: grid;
    gap: 22px;
}

.safety-cols h3 { font-size: 1.1rem; }

@media (min-width: 768px) {
    .safety-cols { grid-template-columns: 1fr 1fr; gap: 42px; }
}

.safety-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .28);
    margin: 32px 0;
}

.safety-features {
    display: grid;
    gap: 24px;
}

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

.safety-note {
    margin: 28px auto 0;
    max-width: 780px;
    text-align: center;
    font-size: .98rem;
}

.band--blue { background: var(--grad-blue); }

.verdict {
    max-width: 840px;
    margin: 46px auto 0;
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, .24);
    text-align: center;
}

.verdict h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
.verdict p { color: rgba(255, 255, 255, .94); }