/* ============================================================
   HIBBLY - Design system
   Warm editorial minimalism: soft linen cream, charcoal ink,
   terracotta / sand / periwinkle ribbon motif.
   ============================================================ */

:root {
    /* Surfaces */
    --cream: #FBF9F5;
    --cream-deep: #F7EFE4;
    --cream-blush: #FBEFE6;
    --surface: #FFFFFF;
    --surface-soft: rgba(255, 255, 255, 0.72);

    /* Ink */
    --ink: #1A1A1A;
    --ink-soft: #4A443E;
    --ink-mute: #6D665E;

    /* Accents */
    --terracotta: #C86D51;
    --terracotta-deep: #A84F34;
    --sage: #2D5A27;
    --peach: #EFB596;
    --sand: #E0C08C;
    --periwinkle: #A9B6DE;
    --rose: #E0ADA4;
    --online: #3EA96B;

    /* Lines & shadows */
    --hairline: rgba(26, 26, 26, 0.09);
    --hairline-strong: rgba(26, 26, 26, 0.16);
    --shadow-soft: 0 10px 30px rgba(120, 82, 58, 0.08);
    --shadow-lift: 0 18px 44px rgba(120, 82, 58, 0.14);
    --shadow-card: 0 14px 34px rgba(120, 82, 58, 0.10);

    /* Radii */
    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 0.4s;

    /* Metrics */
    --container: 1200px;
    --gutter: 20px;
    --measure: 68ch;
    --header-bottom: 64px;

    /* Type */
    --font-display: 'Fraunces', 'New York', Georgia, 'Times New Roman', serif;
    --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

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

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

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

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

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

section {
    overflow: clip;
}

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

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.05em; }

a {
    color: var(--terracotta-deep);
    transition: color var(--dur) var(--ease);
}
a:hover { color: var(--terracotta); }

strong { font-weight: 600; }

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

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

.section {
    position: relative;
    padding: clamp(56px, 9vw, 104px) 0;
}
.section > .container,
.section > * {
    position: relative;
    z-index: 1;
}
.section--tint { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    text-decoration: none;
    transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ============================================
   RIBBON MOTIF
   ============================================ */

.ribbon {
    position: absolute;
    left: -8%;
    width: 116%;
    height: auto;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}
.ribbon--hero { top: 6%; height: 76%; }
.ribbon--band { top: 50%; height: 190px; transform: translateY(-50%); }
.ribbon--grid { top: 4%; height: 92%; }
.ribbon--thread { top: 2%; height: 96%; left: -4%; width: 108%; }
.ribbon--arc { top: -10px; height: 130px; }
.ribbon--deck { top: auto; bottom: 8%; left: 0; width: 100%; height: 150px; }
.ribbon--wave { top: 50%; height: 150px; transform: translateY(-50%); }

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

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    font-family: var(--font-text);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.005em;
    cursor: pointer;
    background: transparent;
    color: var(--ink);
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                background-color var(--dur) var(--ease),
                border-color var(--dur) var(--ease),
                color var(--dur) var(--ease);
}

.btn-cta--primary {
    background: linear-gradient(135deg, var(--peach) 0%, var(--terracotta) 78%);
    color: #FFFFFF;
    box-shadow: 0 10px 24px rgba(200, 109, 81, 0.28);
}
.btn-cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(200, 109, 81, 0.34);
}

.btn-cta--ghost {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--hairline-strong);
    color: var(--ink);
}
.btn-cta--ghost:hover {
    background: #fff;
    border-color: var(--terracotta);
    color: var(--terracotta-deep);
}

.btn-cta--sage {
    background: var(--sage);
    color: #fff;
}
.btn-cta--sage:hover { transform: translateY(-2px); }

.btn-cta--lg {
    min-height: 60px;
    padding: 16px 40px;
    font-size: 1.1rem;
}
.btn-cta--block {
    width: 100%;
    min-height: 52px;
}

.btn-cta__arrow { display: inline-flex; }
.btn-cta--ghost .btn-cta__arrow { display: none; }

.btn-cta__note {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--ink-mute);
}

/* ============================================
   LIVE DOT
   ============================================ */

.live-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--online);
    box-shadow: 0 0 0 0 rgba(62, 169, 107, 0.45);
    animation: pulse-dot 2.4s var(--ease) infinite;
    flex: none;
}

@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(62, 169, 107, 0.45); }
    70%  { box-shadow: 0 0 0 8px rgba(62, 169, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(62, 169, 107, 0); }
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    isolation: isolate;
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(251, 249, 245, 0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline);
    z-index: -1;
}

.header-inner {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 10px var(--gutter);
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--terracotta);
    flex: none;
}
.site-brand__mark { display: inline-flex; color: var(--terracotta); }
.site-brand__text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--terracotta);
}

.header-live {
    display: none;
    align-items: center;
    gap: 9px;
    margin: 0 auto;
    font-size: 0.88rem;
    color: var(--ink-soft);
}
.header-live strong { color: var(--ink); font-weight: 700; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.header-actions .header-cta { display: none; }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* --- mobile drawer --- */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    background: var(--cream);
    border-top: 1px solid var(--hairline);
    padding: 22px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
    z-index: 80;
}
.site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav__list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    border-top: 1px solid var(--hairline);
}
.site-nav__list li { border-bottom: 1px solid var(--hairline); }
.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
}
.site-nav__list a:hover { color: var(--terracotta-deep); }

.site-nav__live {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.site-nav__live strong { color: var(--ink); }

.site-nav__actions { display: grid; gap: 10px; }

body.nav-open { overflow: hidden; }

@media (min-width: 768px) {
    .header-inner { padding: 12px var(--gutter); gap: 20px; }
    .header-live { display: flex; }
    .header-actions .header-cta { display: inline-flex; }
    .nav-toggle { display: none; }

    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 22px;
        background: transparent;
        border: 0;
        padding: 0;
        overflow: visible;
        opacity: 1;
        visibility: visible;
        transform: none;
        height: auto;
        margin-left: auto;
    }
    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 22px;
        margin: 0;
        border: 0;
    }
    .site-nav__list li { border: 0; }
    .site-nav__list a {
        min-height: 0;
        font-size: 0.92rem;
        color: var(--ink-soft);
    }
    .site-nav__live,
    .site-nav__actions { display: none; }
    .header-actions { margin-left: 0; }
}

@media (min-width: 1024px) {
    .header-live { font-size: 0.95rem; }
}

/* ============================================
   SECTION HEADING
   ============================================ */

.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center {
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
}
.section-head--left { text-align: left; max-width: 640px; }

.section-head__kicker {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta-deep);
}
.section-head__title { margin-bottom: 0.35em; }
.section-head__lede {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.04rem;
}

/* ============================================
   TRUST BADGES
   ============================================ */

.trust-badge { text-align: center; }
.trust-badge__disc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, var(--cream-deep) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 8px 20px rgba(120, 82, 58, 0.10);
}
.trust-badge__disc .icon-svg { width: 38px; height: 38px; }
.trust-badge__title {
    margin: 0 0 4px;
    font-family: var(--font-text);
    font-size: 0.95rem;
    font-weight: 600;
}
.trust-badge__note {
    margin: 0;
    font-size: 0.84rem;
    color: var(--ink-mute);
    line-height: 1.45;
}

/* ============================================
   PROFILE CARD
   ============================================ */

.profile-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}
.profile-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--cream-deep);
}
.profile-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    display: block;
}
.profile-card__status {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.94);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink);
}
.profile-card__body { padding: 14px 16px 18px; }
.profile-card__name {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 4px;
    font-family: var(--font-text);
    font-size: 1.05rem;
    font-weight: 600;
}
.profile-card__age { color: var(--ink-mute); font-weight: 500; }
.profile-card__meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 10px;
    font-size: 0.85rem;
    color: var(--ink-mute);
}
.profile-card__pin { display: inline-flex; color: var(--terracotta); }
.profile-card__quote {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.97rem;
    font-style: italic;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* ============================================
   FEATURE BLOCK
   ============================================ */

.feature-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.feature-block__disc {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, var(--cream-blush) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 8px 20px rgba(120, 82, 58, 0.09);
}
.feature-block__disc .icon-svg { width: 36px; height: 36px; }
.feature-block__title { margin: 6px 0 6px; font-family: var(--font-text); font-size: 1.08rem; font-weight: 600; }
.feature-block__body { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

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

.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-list .faq-item:last-child { border-bottom: 0; }

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    transition: background-color var(--dur) var(--ease);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { background: rgba(239, 181, 150, 0.08); }
.faq-item__chevron {
    flex: none;
    display: inline-flex;
    color: var(--terracotta);
    transition: transform var(--dur) var(--ease);
}
.faq-item[open] > .faq-item__q { background: rgba(239, 181, 150, 0.12); }
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }

.faq-item__a {
    padding: 0 20px 18px;
    color: var(--ink-soft);
    font-size: 0.97rem;
    animation: faq-open var(--dur) var(--ease);
}
.faq-item__a p:last-child { margin-bottom: 0; }

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

/* ============================================
   CALLOUT
   ============================================ */

.callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(224, 173, 164, 0.6);
    background: linear-gradient(180deg, rgba(251, 239, 230, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    margin: 0 0 24px;
}
.callout__icon { flex: none; display: inline-flex; }
.callout__icon .icon-svg { width: 34px; height: 34px; }
.callout__title { margin: 0 0 6px; font-weight: 600; }
.callout__body:last-child,
.callout__text > :last-child { margin-bottom: 0; }

.callout--notice { border-color: rgba(200, 109, 81, 0.35); }
.callout--info {
    border-color: rgba(169, 182, 222, 0.6);
    background: linear-gradient(180deg, rgba(240, 243, 251, 0.85) 0%, rgba(255, 255, 255, 0.8) 100%);
}
.callout--age {
    border-color: rgba(224, 192, 140, 0.7);
    background: linear-gradient(180deg, rgba(250, 243, 230, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
}

/* ============================================
   TABLES (comparison + legal)
   ============================================ */

.table-wrapper {
    border-radius: var(--r-md);
    -webkit-overflow-scrolling: touch;
}
table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.6);
}
table.data-table th,
table.data-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--hairline);
    vertical-align: top;
}
table.data-table thead th {
    background: var(--cream-deep);
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}
table.data-table tbody tr:last-child td { border-bottom: 0; }

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

.legal-hero {
    position: relative;
    padding: clamp(40px, 7vw, 76px) 0 clamp(24px, 4vw, 40px);
    background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
}
.legal-hero__inner { max-width: var(--measure); margin-inline: auto; }
.legal-hero h1 { margin-bottom: 14px; }
.legal-hero__rule {
    width: 72px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--terracotta), var(--sand));
    margin-bottom: 18px;
}
.legal-hero__meta {
    margin: 0 0 18px;
    font-size: 0.9rem;
    color: var(--ink-mute);
}

.legal-body {
    padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 8vw, 96px);
}
.legal-body__inner { max-width: var(--measure); margin-inline: auto; }

.legal-toc {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 20px 22px;
    margin-bottom: 36px;
}
.legal-toc h2 {
    font-family: var(--font-text);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 12px;
}
.legal-toc ol {
    margin: 0;
    padding-left: 1.2em;
    columns: 1;
    font-size: 0.95rem;
}
.legal-toc li { margin-bottom: 6px; }

.legal-section { margin-bottom: clamp(32px, 5vw, 48px); scroll-margin-top: 90px; }
.legal-section__title {
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    margin-bottom: 0.6em;
}
.legal-section__body h3 {
    font-family: var(--font-text);
    font-size: 1.02rem;
    font-weight: 600;
    margin: 1.4em 0 0.5em;
}
.legal-section__body ul,
.legal-section__body ol { padding-left: 1.3em; margin: 0 0 1.05em; }
.legal-section__body li { margin-bottom: 8px; }
.legal-section__body p,
.legal-section__body li { color: var(--ink-soft); }

@media (min-width: 768px) {
    .legal-toc ol { columns: 2; column-gap: 32px; }
}

/* ============================================
   PRELOADER (registration bridge page)
   ============================================ */

.preloader-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: 32px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.preloader-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 45% at 50% 45%, rgba(239, 181, 150, 0.35) 0%, rgba(251, 249, 245, 0) 70%);
    pointer-events: none;
}
.preloader-stack { position: relative; max-width: 420px; }
.preloader-brand {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--terracotta);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.preloader-ring { margin: 0 auto 22px; width: 64px; height: 64px; display: block; }
.preloader-ring__arc {
    transform-origin: 50% 50%;
    animation: ring-spin 1.1s linear infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
.preloader-title { font-size: 1.35rem; margin-bottom: 10px; }
.preloader-note { color: var(--ink-soft); margin-bottom: 10px; }
.preloader-fine { font-size: 0.82rem; color: var(--ink-mute); margin: 0; }

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

.site-footer {
    position: relative;
    overflow: clip;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
    border-top: 1px solid var(--hairline);
    padding: clamp(44px, 7vw, 72px) 0 32px;
}
.site-footer__ribbon {
    top: auto;
    bottom: -20px;
    height: 160px;
    transform: none;
    opacity: 0.8;
}
.footer-inner { position: relative; z-index: 1; }

.footer-top {
    display: grid;
    gap: 28px;
    margin-bottom: 28px;
}
.footer-brand__text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--terracotta);
    display: block;
    margin-bottom: 8px;
}
.footer-brand__tag {
    margin: 0;
    max-width: 42ch;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.footer-nav__title {
    font-family: var(--font-text);
    font-size: 0.78rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 10px;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 4px; }
.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--ink-soft);
    font-size: 0.95rem;
    text-decoration: none;
}
.footer-nav a:hover { color: var(--terracotta-deep); text-decoration: underline; }

.footer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(200, 109, 81, 0.3);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.footer-disclaimer__badge {
    flex: none;
    font-weight: 700;
    color: var(--terracotta-deep);
    background: rgba(239, 181, 150, 0.28);
    border-radius: var(--r-pill);
    padding: 2px 10px;
    font-size: 0.82rem;
}

.footer-seo {
    max-width: 90ch;
    font-size: 0.88rem;
    color: var(--ink-mute);
    margin: 20px 0 18px;
}

.footer-copy {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
    font-size: 0.85rem;
    color: var(--ink-mute);
}
.footer-copy a { color: var(--ink-mute); text-decoration: underline; }

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        align-items: start;
    }
    .footer-nav { justify-self: end; text-align: left; }
}

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

.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   HOME - HERO
   ============================================ */

.hero {
    padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 8vw, 92px);
    background:
        radial-gradient(70% 52% at 78% 30%, rgba(239, 181, 150, 0.40) 0%, rgba(251, 249, 245, 0) 70%),
        radial-gradient(48% 40% at 97% 0%, rgba(169, 182, 222, 0.30) 0%, rgba(251, 249, 245, 0) 72%),
        linear-gradient(180deg, var(--cream) 0%, var(--cream-blush) 100%);
}
.hero__ribbon { filter: blur(0.2px); }

.hero__inner {
    display: grid;
    gap: 34px;
    align-items: center;
}
.hero__sub {
    font-size: clamp(1.03rem, 2.3vw, 1.2rem);
    color: var(--ink-soft);
    max-width: 46ch;
    margin-bottom: 0.5em;
}
.hero__micro {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-mute);
    margin-bottom: 26px;
}

.hero__media { order: -1; }
.hero__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (min-width: 1024px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
        gap: 46px;
    }
    .hero__media { order: 0; }
}

/* ---- Micro-quiz ---- */
.quiz {
    position: relative;
    max-width: 430px;
    padding: 22px 22px 24px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}
.quiz__eyebrow {
    margin: 0 0 12px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta-deep);
}
.quiz__progress {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}
.quiz__dot {
    width: 30px;
    height: 4px;
    border-radius: 3px;
    background: rgba(26, 26, 26, 0.12);
    transition: background-color var(--dur) var(--ease);
}
.quiz__dot.is-active { background: linear-gradient(90deg, var(--sand), var(--terracotta)); }

.quiz__step {
    display: none;
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.quiz__step.is-active {
    display: block;
    animation: quiz-in var(--dur) var(--ease);
}
@keyframes quiz-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}
.quiz__legend {
    padding: 0;
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
}

.quiz__options { display: grid; gap: 10px; margin-bottom: 16px; }
.quiz__options--two { grid-template-columns: 1fr 1fr; }
.quiz__options--three { grid-template-columns: 1fr 1fr 1fr; }

.quiz-pill {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 74px;
    padding: 12px 8px;
    border: 1px solid var(--hairline-strong);
    border-radius: 14px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.75) 100%);
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                background var(--dur) var(--ease),
                border-color var(--dur) var(--ease),
                color var(--dur) var(--ease);
}
.quiz__options--three .quiz-pill { min-height: 56px; }
.quiz-pill input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.quiz-pill__glyph { display: inline-flex; color: var(--terracotta); transition: color var(--dur) var(--ease); }
.quiz-pill:hover { border-color: var(--peach); transform: translateY(-1px); }
.quiz-pill:has(input:checked) {
    background: linear-gradient(135deg, var(--sand) 0%, var(--terracotta) 100%);
    border-color: transparent;
    color: #FFFFFF;
    box-shadow: 0 10px 22px rgba(200, 109, 81, 0.26);
}
.quiz-pill:has(input:checked) .quiz-pill__glyph { color: #FFFFFF; }
.quiz-pill:has(input:focus-visible) {
    outline: 2px solid var(--terracotta);
    outline-offset: 3px;
}

.quiz__next {
    width: 100%;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, var(--peach) 0%, var(--terracotta) 78%);
    color: #FFFFFF;
    font-family: var(--font-text);
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.quiz__next:disabled {
    background: rgba(26, 26, 26, 0.08);
    color: var(--ink-mute);
    cursor: not-allowed;
}
.quiz__next:not(:disabled):hover { transform: translateY(-2px); }

.quiz__range-value {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
}
.quiz__slider {
    position: relative;
    height: 40px;
    margin-bottom: 18px;
}
.quiz__track {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 18px;
    height: 4px;
    border-radius: 3px;
    background: rgba(26, 26, 26, 0.12);
}
.quiz__track-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--sand), var(--terracotta));
}
.quiz__slider input[type="range"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 40px;
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.quiz__slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(26, 26, 26, 0.12);
    background: #FFFFFF;
    box-shadow: 0 3px 10px rgba(120, 82, 58, 0.28);
    cursor: grab;
}
.quiz__slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(26, 26, 26, 0.12);
    background: #FFFFFF;
    box-shadow: 0 3px 10px rgba(120, 82, 58, 0.28);
    cursor: grab;
}
.quiz__slider input[type="range"]::-moz-range-track { background: transparent; }

.quiz__back {
    margin-top: 14px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--ink-mute);
    font-family: var(--font-text);
    font-size: 0.88rem;
    cursor: pointer;
}
.quiz__back:hover { color: var(--terracotta-deep); }

/* ============================================
   HOME - TRUST SIGNALS
   ============================================ */

.trust__layout { position: relative; }

.ticker {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.ticker__track {
    display: flex;
    gap: 34px;
    width: max-content;
    padding-inline: 20px;
    animation: ticker-scroll 34s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker__item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-size: 0.92rem;
    color: var(--ink-soft);
}
.ticker__item strong { color: var(--ink); font-weight: 600; }
.ticker__item img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 28%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 3px 10px rgba(120, 82, 58, 0.16);
}
.ticker__caption {
    margin: 10px 0 30px;
    text-align: center;
    font-size: 0.82rem;
    font-style: italic;
    color: var(--ink-mute);
}

.trust__badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
}
@media (min-width: 768px) {
    .trust__badges { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ============================================
   HOME - SWIPE DEMO
   ============================================ */

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

.swipe__stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    justify-items: center;
}
@media (min-width: 560px) {
    .swipe__stage { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); justify-items: start; }
}

.swipe-deck { position: relative; width: 100%; max-width: 260px; }
.swipe-card {
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-card);
}
.swipe-card--ghost {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
}
.swipe-card--back  { transform: translate(-12px, -12px) rotate(-3deg); box-shadow: 0 8px 18px rgba(120, 82, 58, 0.08); }
.swipe-card--mid   { transform: translate(-6px, -6px) rotate(-1.5deg); box-shadow: 0 10px 22px rgba(120, 82, 58, 0.10); }
.swipe-card--front {
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(200, 109, 81, 0.18);
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.swipe-card--front.is-liked { transform: translateX(120px) rotate(12deg); opacity: 0; }
.swipe-card--front.is-passed { transform: translateX(-120px) rotate(-12deg); opacity: 0; }

.swipe-card__media { position: relative; aspect-ratio: 4 / 5; background: var(--cream-deep); }
.swipe-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.swipe-card__chip {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.94);
    font-size: 0.75rem;
    font-weight: 600;
}
.swipe-card__body { padding: 12px 14px 4px; }
.swipe-card__name { margin: 0 0 4px; font-family: var(--font-text); font-size: 1.02rem; font-weight: 600; }
.swipe-card__age { color: var(--ink-mute); font-weight: 500; }
.swipe-card__bio { margin: 0; font-size: 0.87rem; color: var(--ink-mute); line-height: 1.45; }
.swipe-card__actions {
    display: flex;
    justify-content: center;
    gap: 22px;
    padding: 14px 0 18px;
}
.swipe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--hairline-strong);
    background: #FFFFFF;
    cursor: pointer;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.swipe-btn--pass { color: var(--periwinkle); }
.swipe-btn--like { color: #FFFFFF; background: var(--rose); border-color: transparent; box-shadow: 0 8px 18px rgba(224, 173, 164, 0.5); }
.swipe-btn:hover { transform: translateY(-2px); }

.match-cluster { position: relative; width: 100%; max-width: 260px; }
.match-cluster__link {
    position: absolute;
    left: -46%;
    bottom: 14%;
    width: 150%;
    height: auto;
    pointer-events: none;
    z-index: 0;
}
.match-cluster__label {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
}
.match-cluster__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 52px);
    gap: 12px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}
.match-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(26, 26, 26, 0.08);
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(120, 82, 58, 0.14);
    opacity: 0.55;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.match-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.match-avatar.is-lit {
    opacity: 1;
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(200, 109, 81, 0.34);
}
.match-cluster__status {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.86rem;
    color: var(--ink-mute);
    min-height: 2.6em;
}
.match-cluster__status.is-match { color: var(--terracotta-deep); font-weight: 600; }

.swipe__list {
    margin: 0 0 22px;
    padding-left: 1.15em;
    color: var(--ink-soft);
    font-size: 0.97rem;
}
.swipe__list li { margin-bottom: 6px; }
.swipe__ribbon { opacity: 0.85; }

/* ============================================
   HOME - COMPARISON TABLE
   ============================================ */

.compare__wrapper { border: 1px solid var(--hairline); box-shadow: var(--shadow-soft); background: rgba(255, 255, 255, 0.5); }
.compare-table { min-width: 620px; }
.compare-table th[scope="row"] { font-weight: 600; color: var(--ink); width: 34%; }
.compare-table tbody tr:nth-child(odd) td,
.compare-table tbody tr:nth-child(odd) th[scope="row"] { background: rgba(251, 239, 230, 0.35); }
.compare-table thead th:nth-child(2) {
    background: linear-gradient(180deg, var(--peach) 0%, var(--cream-blush) 100%);
    color: var(--ink);
    font-size: 1rem;
}
.compare-table tbody td:nth-child(2) {
    background: linear-gradient(180deg, rgba(239, 181, 150, 0.22) 0%, rgba(251, 239, 230, 0.35) 100%);
    box-shadow: inset 1px 0 0 rgba(200, 109, 81, 0.18), inset -1px 0 0 rgba(200, 109, 81, 0.18);
    color: var(--ink);
    font-weight: 500;
}
.compare-table tbody tr:last-child td:nth-child(2) { box-shadow: inset 1px 0 0 rgba(200, 109, 81, 0.18), inset -1px 0 0 rgba(200, 109, 81, 0.18), inset 0 -1px 0 rgba(200, 109, 81, 0.18); }
.compare-table td:nth-child(3) { color: var(--ink-mute); }

.mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    vertical-align: -4px;
}
.mark--yes { background: rgba(45, 90, 39, 0.12); color: var(--sage); }
.mark--no  { background: rgba(200, 109, 81, 0.14); color: var(--terracotta); }

.compare__note {
    margin: 18px auto 0;
    max-width: 68ch;
    text-align: center;
    font-size: 0.86rem;
    color: var(--ink-mute);
}

/* ============================================
   HOME - PROFILES GALLERY
   ============================================ */

.gallery__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 560px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.gallery__caption {
    margin: 22px auto 0;
    max-width: 62ch;
    text-align: center;
    font-size: 0.84rem;
    font-style: italic;
    color: var(--ink-mute);
}
.gallery__ribbon { opacity: 0.9; }

/* ============================================
   HOME - FEATURES
   ============================================ */

.features__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}
@media (min-width: 768px) {
    .features__grid { grid-template-columns: repeat(2, 1fr); gap: 34px 40px; }
}

/* ============================================
   HOME - FAQ
   ============================================ */

.faq__inner { max-width: 840px; }
.faq .faq-list {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow-soft);
}

/* ============================================
   HOME - FINAL CTA
   ============================================ */

.final-cta {
    text-align: center;
    background:
        radial-gradient(48% 40% at 50% 74%, rgba(239, 181, 150, 0.45) 0%, rgba(251, 249, 245, 0) 72%),
        radial-gradient(78% 52% at 18% 108%, rgba(224, 192, 140, 0.34) 0%, rgba(251, 249, 245, 0) 70%),
        radial-gradient(78% 52% at 84% 112%, rgba(224, 173, 164, 0.32) 0%, rgba(251, 249, 245, 0) 70%),
        linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.final-cta__inner { max-width: 640px; }
.final-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 7px 16px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(200, 109, 81, 0.28);
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--terracotta-deep);
}
.final-cta__title { margin-bottom: 0.4em; }
.final-cta__lede {
    margin: 0 auto 26px;
    max-width: 46ch;
    color: var(--ink-soft);
    font-size: 1.04rem;
}
.final-cta__fine {
    margin: 18px 0 0;
    font-size: 0.82rem;
    color: var(--ink-mute);
}
.final-cta__ribbon { bottom: 8%; top: auto; transform: none; opacity: 0.9; }

@media (prefers-reduced-motion: reduce) {
    .ticker__track { animation: none; transform: none; }
    .quiz__step.is-active { animation: none; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

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