/*
 * Ihappydate - glassmorphism design system
 * Canonical design tokens live in this file.
 */

:root {
    color-scheme: light;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --c-bg: #e9e3fb;
    --c-ink: #232a4a;
    --c-ink-soft: #343c60;
    --c-muted: #474f70;
    --c-link: #4f33c4;
    --c-coral: #ff7a85;
    --c-rose: #d94672;
    --c-lilac: #b7a5ff;
    --c-lavender: #8f7cf0;
    --c-cyan: #8fdcff;
    --c-live: #1fbf86;
    --c-check: #2b3a6b;
    --c-dash: #5b6080;

    --surface-solid: #f5f2ff;
    --glass-bg: rgba(255, 255, 255, 0.42);
    --glass-bg-strong: rgba(255, 255, 255, 0.64);
    --glass-bg-soft: rgba(255, 255, 255, 0.3);
    --glass-smoke: rgba(86, 84, 132, 0.62);
    --glass-border: rgba(255, 255, 255, 0.72);
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    --glass-shadow: 0 30px 60px -30px rgba(96, 78, 180, 0.45), 0 8px 22px -10px rgba(96, 78, 180, 0.2);
    --glass-blur: 22px;
    --chip-bg: rgba(255, 255, 255, 0.66);

    --cta-grad: linear-gradient(135deg, #ffffff 0%, #f4f0ff 42%, #dcd2ff 100%);
    --cta-ink: #28265a;
    --cta-glow: 0 0 0 1px rgba(255, 255, 255, 0.95), 0 0 18px rgba(143, 220, 255, 0.6), 0 0 42px rgba(183, 165, 255, 0.55);
    --ring: #6a4dff;

    --radius-xl: 32px;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --radius-pill: 999px;

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(56px, 8vw, 104px);
    --ease-spring: cubic-bezier(0.22, 1.25, 0.36, 1);
    --ease-out: cubic-bezier(0.22, 0.8, 0.3, 1);
    --header-bottom: 84px;
}

html.dark {
    color-scheme: dark;
    --c-bg: #121533;
    --c-ink: #f2f2ff;
    --c-ink-soft: #e4e5fa;
    --c-muted: #c6cae8;
    --c-link: #cfc0ff;
    --c-check: #dcd4ff;
    --c-dash: #b5b8d6;
    --surface-solid: #181b3f;
    --glass-bg: rgba(34, 38, 84, 0.56);
    --glass-bg-strong: rgba(40, 44, 94, 0.74);
    --glass-bg-soft: rgba(34, 38, 84, 0.4);
    --glass-smoke: rgba(12, 14, 34, 0.66);
    --glass-border: rgba(196, 184, 255, 0.24);
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    --glass-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.65), 0 8px 22px -10px rgba(0, 0, 0, 0.4);
    --chip-bg: rgba(255, 255, 255, 0.12);
}

/* ============================================
   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 {
    background: var(--c-bg);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-bottom) + 16px);
    interpolate-size: allow-keywords;
}

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    z-index: 0;
    color: var(--c-muted);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: url("./assets/83a155c8e590e026c22338623164e36a.webp") center / cover no-repeat, var(--c-bg);
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: transparent;
    pointer-events: none;
}

html.dark body::after {
    background: linear-gradient(180deg, rgba(13, 15, 40, 0.86), rgba(20, 18, 52, 0.9));
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    color: var(--c-ink);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 1.35rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.3rem); }
h3 { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem); font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

a {
    color: var(--c-link);
    text-underline-offset: 0.15em;
}

a:hover { text-decoration-thickness: 2px; }

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

ul, ol { padding-left: 1.25em; }

:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
    border-radius: 8px;
}

.visually-hidden {
    position: absolute !important;
    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: 16px;
    top: -100px;
    z-index: 100;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    background: var(--surface-solid);
    color: var(--c-ink);
    font-weight: 600;
    text-decoration: none;
}

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

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

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

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

.prose p,
.prose li { max-width: 68ch; }

/* ============================================
   GLASS SURFACES
   ============================================ */

.glass {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
}

.glass--strong { background: var(--glass-bg-strong); }
.glass--soft { background: var(--glass-bg-soft); }
.glass--hero { border-radius: var(--radius-xl); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass { background: var(--glass-bg-strong); }
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 16px;
    margin: 0 0 18px;
    border-radius: var(--radius-pill);
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight);
    color: var(--c-ink);
    font-size: 0.875rem;
    font-weight: 600;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    background: var(--chip-bg);
    border: 1px solid var(--glass-border);
    color: var(--c-ink);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
}

.live-dot {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-live);
    box-shadow: 0 0 0 3px rgba(31, 191, 134, 0.22);
    flex: none;
}

.live-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--c-coral);
    animation: live-pulse 2.4s var(--ease-out) infinite;
}

@keyframes live-pulse {
    0% { transform: scale(0.5); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}

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

.btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.005em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.35s var(--ease-spring), box-shadow 0.3s ease, filter 0.3s ease, background-color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0) scale(0.98); }

.btn__arrow { flex: none; transition: transform 0.3s var(--ease-spring); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
    background: var(--cta-grad);
    color: var(--cta-ink);
    box-shadow: var(--cta-glow);
}

.btn--primary::before {
    content: "";
    position: absolute;
    inset: -7px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(143, 220, 255, 0.85), rgba(183, 165, 255, 0.9), rgba(255, 170, 200, 0.7));
    filter: blur(14px);
    opacity: 0.55;
    animation: cta-breathe 4.5s ease-in-out infinite;
    pointer-events: none;
}

.btn--primary:hover {
    filter: brightness(1.04) saturate(1.05);
    box-shadow: 0 0 0 1px #fff, 0 0 24px rgba(143, 220, 255, 0.75), 0 0 56px rgba(183, 165, 255, 0.7);
}

@keyframes cta-breathe {
    0%, 100% { opacity: 0.4; transform: scale(0.97); }
    50% { opacity: 0.8; transform: scale(1.03); }
}

.btn--pulse::before { animation: cta-pulse 3.6s ease-out infinite; }

@keyframes cta-pulse {
    0%, 55%, 100% { opacity: 0.45; transform: scale(0.98); }
    70% { opacity: 0.95; transform: scale(1.08); }
}

.btn--ghost {
    background: var(--glass-bg-strong);
    color: var(--c-ink);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight), 0 0 14px rgba(183, 165, 255, 0.35);
}

.btn--ghost:hover { box-shadow: var(--glass-highlight), 0 0 22px rgba(143, 220, 255, 0.55); }

.btn--choice {
    flex: 1 1 0;
    background: var(--surface-solid);
    color: var(--c-ink);
    border: 1.5px solid var(--c-lavender);
    box-shadow: none;
}

.btn--choice:hover { background: var(--glass-bg-strong); }

.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.btn--sm { min-height: 48px; padding: 0 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 48px;
    font-weight: 600;
    color: var(--c-link);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.25em;
}

.reassure {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9375rem;
    color: var(--c-ink-soft);
}

.reassure li + li::before {
    content: "/";
    margin: 0 10px;
    color: var(--c-dash);
}

/* ============================================
   CHECK LIST
   ============================================ */

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

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--c-ink-soft);
}

.check-list__icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    margin-top: -2px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    color: var(--c-check);
    box-shadow: 0 0 14px rgba(183, 165, 255, 0.45);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px var(--gutter) 0;
}

.site-header__bar {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: var(--container);
    min-height: 64px;
    margin-inline: auto;
    padding: 8px 8px 8px 18px;
    border-radius: 22px;
}

.site-header__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-right: auto;
    color: var(--c-ink-soft);
    text-decoration: none;
}

.site-brand__text {
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: var(--glass-bg);
    color: var(--c-ink);
    cursor: pointer;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.icon-btn:hover { transform: translateY(-1px); box-shadow: 0 0 16px rgba(183, 165, 255, 0.5); }

.theme-toggle__sun { display: none; }
html.dark .theme-toggle__sun { display: block; }
html.dark .theme-toggle__moon { display: none; }

.nav-toggle__bars {
    position: relative;
    display: grid;
    gap: 4px;
    width: 20px;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.header-actions .header-cta { display: none; }

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--c-ink-soft);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.site-nav__link[aria-current="page"] { color: var(--c-ink); font-weight: 600; }

.site-nav__note {
    margin: 12px 0 0;
    font-size: 0.875rem;
    color: var(--c-muted);
    text-align: center;
}

@media (max-width: 767.98px) {
    .site-nav {
        position: fixed;
        top: var(--header-bottom);
        right: 0;
        bottom: 0;
        left: 0;
        height: auto;
        z-index: 49;
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom));
        background: var(--surface-solid);
        border-top: 1px solid var(--glass-border);
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: hidden;
        transform: translateY(-12px);
        transition: transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
    }

    .site-nav.is-open {
        visibility: visible;
        transform: none;
        transition: transform 0.35s var(--ease-out), visibility 0s;
    }

    .site-nav__list { display: grid; gap: 4px; }

    .site-nav__link {
        padding: 0 16px;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(143, 124, 240, 0.18);
        border-radius: 0;
    }
}

@media (min-width: 768px) {
    .site-header__bar { padding: 8px 10px 8px 28px; min-height: 72px; gap: 12px; }

    .nav-toggle { display: none; }

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

    .site-nav__list { display: flex; gap: 4px; }

    .site-nav__link { padding: 0 18px; }

    .site-nav__link:hover { background: var(--glass-bg); color: var(--c-ink); }

    .site-nav__drawer-cta { display: none; }

    .header-actions .header-cta { display: inline-flex; margin-left: 6px; }
}

/* ============================================
   SIGNATURE LIGHT RIBBON
   ============================================ */

.ribbon {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    pointer-events: none;
    overflow: visible;
    opacity: 0.7;
}

.ribbon path { fill: none; stroke-linecap: round; }
.ribbon__halo { stroke-width: 26; opacity: 0.55; }
.ribbon__core { stroke-width: 7; opacity: 0.7; }
.ribbon__line { stroke-width: 2.4; }

.ribbon__shimmer {
    stroke: #ffffff;
    stroke-width: 4;
    stroke-dasharray: 70 930;
    stroke-dashoffset: 1000;
    animation: ribbon-shimmer 9s linear infinite;
}

.ribbon__sparks {
    stroke: #ffffff;
    stroke-width: 3.5;
    stroke-dasharray: 0.5 38;
    animation: ribbon-twinkle 3.8s ease-in-out infinite;
}

.ribbon__sparks--alt {
    stroke: #efe8ff;
    stroke-width: 2.4;
    stroke-dasharray: 0.5 57;
    animation-delay: -1.9s;
}

html.dark .ribbon { opacity: 0.5; }

.ribbon.is-paused path,
.doc-hidden .ribbon path { animation-play-state: paused; }

@keyframes ribbon-shimmer {
    to { stroke-dashoffset: 0; }
}

@keyframes ribbon-twinkle {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

/* ============================================
   SECTION HEAD
   ============================================ */

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(28px, 4vw, 44px);
    text-align: center;
}

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

.section-head__intro {
    margin: 0;
    font-size: 1.0625rem;
    color: var(--c-muted);
}

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

.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 10px 14px;
    border-radius: 24px;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    transition: transform 0.45s var(--ease-spring), box-shadow 0.35s ease;
}

.profile-card__media {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 1 / 1;
    background: rgba(183, 165, 255, 0.25);
}

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

.profile-card__body {
    display: grid;
    gap: 8px;
    padding: 0 4px;
}

.profile-card__pin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-ink-soft);
}

.profile-card__pin svg { color: var(--c-lavender); flex: none; }

.profile-card--mini .profile-card__media { aspect-ratio: 800 / 560; }

.profile-card__cta { justify-self: start; }

@media (hover: hover) {
    .profile-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--glass-highlight), 0 36px 70px -30px rgba(96, 78, 180, 0.55);
    }
}

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

.faq {
    display: grid;
    gap: 12px;
    align-items: start;
}

.faq-item {
    position: relative;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight), 0 10px 30px -20px rgba(96, 78, 180, 0.4);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    transition: background-color 0.3s ease;
}

.faq-item[open] { background: var(--glass-bg-strong); }

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 14px 18px 14px 20px;
    color: var(--c-ink);
    font-weight: 600;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
    border-radius: var(--radius-md);
}

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

.faq-item__icon {
    position: relative;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    transition: transform 0.35s var(--ease-spring);
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    border-radius: 2px;
    background: var(--c-ink-soft);
}

.faq-item__icon::after { transform: rotate(90deg); }

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

.faq-item__a {
    padding: 0 20px 18px;
}

.faq-item__a p { margin: 0; color: var(--c-muted); }

.faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
}

.faq-item[open]::details-content { block-size: auto; }

.faq-item[open] .faq-item__a { animation: faq-in 0.35s var(--ease-out); }

@keyframes faq-in {
    from { transform: translateY(-6px); }
    to { transform: none; }
}

/* ============================================
   INNER PAGE HERO
   ============================================ */

.page-hero {
    position: relative;
    padding-block: clamp(28px, 5vw, 64px) clamp(16px, 3vw, 32px);
}

.page-hero__card {
    display: grid;
    gap: 20px;
    padding: clamp(24px, 5vw, 56px);
}

.page-hero__art {
    justify-self: center;
    width: clamp(120px, 34vw, 160px);
}

.page-hero__art svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 18px rgba(183, 165, 255, 0.55));
}

.page-hero__lead p { font-size: 1.0625rem; color: var(--c-muted); }
.page-hero__lead p:last-child { margin-bottom: 0; }

.page-hero__note {
    margin: 16px 0 0;
    font-weight: 600;
    color: var(--c-ink-soft);
}

@media (min-width: 768px) {
    .page-hero__card {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
        align-items: center;
        gap: 40px;
    }

    .page-hero__art { order: 2; width: 100%; }
}

/* ============================================
   RESPONSIVE TABLE
   ============================================ */

.tablewrap {
    max-width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-lg);
}

.gtable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
    text-align: left;
}

.gtable thead th {
    padding: 16px;
    background: var(--glass-bg-strong);
    color: var(--c-ink);
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
}

.gtable thead th:first-child { border-top-left-radius: var(--radius-md); }
.gtable thead th:last-child { border-top-right-radius: var(--radius-md); }

.gtable tbody th,
.gtable tbody td {
    padding: 16px;
    vertical-align: top;
    border-bottom: 1px solid var(--glass-border);
    color: var(--c-ink-soft);
}

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

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

@media (max-width: 767.98px) {
    .gtable thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .gtable,
    .gtable tbody,
    .gtable tr,
    .gtable th,
    .gtable td { display: block; width: 100%; }

    .gtable tbody { display: grid; gap: 12px; }

    .gtable tr {
        padding: 6px 0;
        border-radius: var(--radius-md);
        background: var(--glass-bg-strong);
        border: 1px solid var(--glass-border);
        box-shadow: var(--glass-highlight);
    }

    .gtable tbody th,
    .gtable tbody td {
        padding: 10px 16px;
        border-bottom: 1px solid rgba(143, 124, 240, 0.16);
    }

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

    .gtable tbody [data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--c-muted);
    }
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: -12% -6%;
    z-index: -1;
    background:
        radial-gradient(50% 60% at 50% 50%, rgba(205, 186, 255, 0.75), transparent 70%),
        radial-gradient(30% 40% at 30% 60%, rgba(143, 220, 255, 0.45), transparent 70%),
        radial-gradient(30% 40% at 72% 40%, rgba(255, 186, 205, 0.45), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.final-cta__card {
    width: 100%;
    max-width: 680px;
    padding: clamp(28px, 5vw, 48px);
    text-align: center;
}

.final-cta__text {
    max-width: 52ch;
    margin: 0 auto 24px;
    font-size: 1.0625rem;
}

.final-cta .reassure { justify-content: center; }

/* ============================================
   STICKY MOBILE CTA
   ============================================ */

.sticky-cta {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    justify-content: center;
    visibility: hidden;
    transform: translateY(140%);
    transition: transform 0.45s var(--ease-spring), visibility 0s linear 0.45s;
}

.sticky-cta.is-visible {
    visibility: visible;
    transform: none;
    transition: transform 0.45s var(--ease-spring), visibility 0s;
}

.sticky-cta__btn { width: min(100%, 420px); }

body.cookie-open .sticky-cta,
body.menu-open .sticky-cta { visibility: hidden; transform: translateY(140%); }

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

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

.site-footer {
    position: relative;
    padding: clamp(24px, 4vw, 48px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
}

body.has-sticky-cta .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

.site-footer__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
    backdrop-filter: blur(var(--glass-blur)) saturate(140%);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
}

.site-footer__col--brand { grid-column: 1 / -1; }

.site-brand--footer { margin: 0 0 6px; }

.site-footer__blurb { max-width: 40ch; margin: 0; font-size: 0.9375rem; }

.site-footer__title {
    margin: 0 0 6px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--c-ink);
}

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

.site-footer__links a,
.site-footer__linkbtn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.9375rem;
    color: var(--c-ink-soft);
    text-decoration: underline;
    text-decoration-color: rgba(143, 124, 240, 0.5);
    text-underline-offset: 0.25em;
    cursor: pointer;
}

.site-footer__links a:hover,
.site-footer__linkbtn:hover { color: var(--c-link); text-decoration-color: currentColor; }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 20px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.875rem;
}

.site-footer__bottom p { margin: 0; }

@media (min-width: 768px) {
    .site-footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
    .site-footer__col--brand { grid-column: auto; }
}

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

.cookie-banner {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 60;
    max-width: 520px;
    margin-inline: auto;
    padding: 20px;
    border-radius: 24px;
    background: var(--surface-solid);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight), 0 30px 70px -20px rgba(60, 46, 140, 0.45);
    animation: banner-in 0.5s var(--ease-spring);
}

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

.cookie-banner__title {
    margin: 0 0 4px;
    font-weight: 700;
    color: var(--c-ink);
}

.cookie-banner__text { margin: 0 0 16px; font-size: 0.9375rem; }

.cookie-banner__actions {
    display: flex;
    gap: 10px;
}

@keyframes banner-in {
    from { transform: translateY(24px); }
    to { transform: none; }
}

/* ============================================
   REVEAL ON SCROLL (transform only, content always visible)
   ============================================ */

.js .reveal {
    transform: translateY(26px);
    transition: transform 0.8s var(--ease-spring);
}

.js .reveal.is-visible { transform: none; }

.js .reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }

.doc-hidden *,
.doc-hidden *::before,
.doc-hidden *::after { animation-play-state: paused !important; }

/* ============================================
   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;
        transition-delay: 0s !important;
    }

    .ribbon path,
    .btn--primary::before,
    .live-dot::after { animation: none !important; }

    .ribbon__shimmer { stroke-dashoffset: 0; }

    .js .reveal { transform: none; }

    .faq-item::details-content { transition: none; }
}

/* ============================================
   HOMEPAGE
   ============================================ */

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

[data-pause-offscreen].is-paused,
[data-pause-offscreen].is-paused * { animation-play-state: paused; }

.footnote {
    margin: 14px 0 0;
    font-size: 0.8125rem;
    color: var(--c-muted);
    text-align: center;
}

.section-head__link { margin: 6px 0 0; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding-block: clamp(20px, 4vw, 56px) clamp(32px, 5vw, 72px);
}

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

.hero__panel {
    z-index: 1;
    padding: clamp(24px, 6vw, 64px);
}

.hero__panel h1 { margin-bottom: 0.45em; }

.hero__sub {
    max-width: 46ch;
    margin-bottom: 26px;
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
    color: var(--c-muted);
}

.hero__cta { width: 100%; }

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 22px;
}

.hero__trust li {
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--c-ink);
}

.hero__trust .check-list__icon {
    width: 26px;
    height: 26px;
    margin-top: 0;
}

@media (min-width: 480px) {
    .hero__cta { width: auto; min-width: 300px; }
}

.hero__cluster {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
}

.hero__cluster > .hero__ribbon {
    top: -4%;
    left: -12%;
    width: 124%;
    height: 108%;
}

.online-chip {
    position: relative;
    z-index: 3;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 18px 8px 8px;
    border-radius: 22px;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight), 0 0 22px rgba(143, 220, 255, 0.45), var(--glass-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
}

.online-chip__icon {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    color: var(--c-check);
    box-shadow: 0 0 14px rgba(143, 220, 255, 0.6);
}

.online-chip__icon .live-dot {
    position: absolute;
    top: 0;
    right: 0;
}

.online-chip__label {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--c-ink);
}

.online-chip__num {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.online-chip__num[hidden] { display: none; }

.hero__stack {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 14px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.hero__stack::-webkit-scrollbar { display: none; }

.hero-card {
    flex: 0 0 min(74%, 300px);
    scroll-snap-align: start;
}

.hero-card .profile-card {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

@media (hover: hover) {
    .hero-card .profile-card:hover {
        transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
    }
}

@keyframes card-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr) clamp(360px, 36vw, 450px);
        align-items: center;
        gap: 0;
    }

    .hero__panel {
        margin-right: -170px;
        padding: 56px 210px 56px 64px;
    }

    .hero__cluster {
        display: block;
        height: 680px;
    }

    .hero__cluster > .hero__ribbon {
        top: -12%;
        left: -40%;
        width: 158%;
        height: 124%;
    }

    .online-chip {
        position: absolute;
        top: -6px;
        right: 0;
    }

    .hero__stack {
        position: absolute;
        inset: 0;
        display: block;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .hero-card {
        position: absolute;
        width: clamp(200px, 17vw, 240px);
        animation: card-float 7s ease-in-out infinite;
    }

    .hero-card--1 { top: 0; left: 0; z-index: 2; }
    .hero-card--2 { top: 170px; right: 0; z-index: 1; animation-duration: 8s; animation-delay: -2.4s; }
    .hero-card--3 { top: 360px; left: 13%; z-index: 3; animation-duration: 6.5s; animation-delay: -4.1s; }
}

/* ---------- Profiles carousel ---------- */
.profiles { padding-top: clamp(24px, 4vw, 48px); }

.carousel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    padding: 6px;
    border-radius: 28px;
}

.carousel__btn { display: none; }

.carousel__track {
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 14px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__item {
    display: flex;
    flex: 0 0 78%;
    scroll-snap-align: start;
}

.carousel__item > .profile-card { width: 100%; }

@media (min-width: 768px) {
    .carousel {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 6px;
        padding: 10px;
    }

    .carousel__btn {
        display: inline-grid;
        place-items: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 50%;
        border: 1px solid var(--glass-border);
        background: var(--glass-bg);
        color: var(--c-ink);
        box-shadow: var(--glass-highlight);
        cursor: pointer;
        transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
    }

    .carousel__btn:hover:not(:disabled) { transform: scale(1.06); box-shadow: 0 0 18px rgba(143, 220, 255, 0.6); }

    .carousel__btn:disabled { cursor: default; color: var(--c-dash); }

    .carousel__item { flex-basis: calc((100% - 2 * 14px) / 2.6); }
}

@media (min-width: 1024px) {
    .carousel__item { flex-basis: calc((100% - 3 * 14px) / 3.6); }
}

@media (min-width: 1200px) {
    .carousel__item { flex-basis: calc((100% - 4 * 14px) / 5); }
}

/* ---------- Split rows ---------- */
.split {
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.split > .ribbon { z-index: 0; }

.split__half {
    position: relative;
    z-index: 1;
    padding-block: var(--section-y);
}

.split__half--a { background: linear-gradient(160deg, rgba(143, 220, 255, 0.16), rgba(255, 190, 205, 0.16)); }
.split__half--b { background: linear-gradient(200deg, rgba(183, 165, 255, 0.2), rgba(255, 222, 200, 0.14)); }

html.dark .split__half--a { background: linear-gradient(160deg, rgba(70, 110, 190, 0.14), rgba(150, 70, 120, 0.12)); }
html.dark .split__half--b { background: linear-gradient(200deg, rgba(110, 90, 200, 0.16), rgba(150, 100, 80, 0.1)); }

.split__inner {
    width: min(100% - 2 * var(--gutter), 640px);
    margin-inline: auto;
}

.split__half--final .split__inner {
    height: 100%;
    display: grid;
    align-content: center;
}

@media (min-width: 1024px) {
    .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split__half--b { border-left: 1px solid rgba(255, 255, 255, 0.45); }
    html.dark .split__half--b { border-left-color: rgba(196, 184, 255, 0.16); }
    .split__inner { width: min(100% - 2 * clamp(24px, 3.5vw, 56px), 640px); }
}

/* ---------- Steps ---------- */
.steps {
    display: flex;
    gap: 14px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 20px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.steps::-webkit-scrollbar { display: none; }

.step-card {
    display: flex;
    flex: 0 0 min(72%, 260px);
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 26px 20px;
    border-radius: 24px;
    text-align: center;
    scroll-snap-align: start;
}

.step-card h3 { margin: 4px 0 0; }
.step-card p { margin: 0; font-size: 0.9375rem; }

.step-card__icon {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 8px rgba(120, 170, 255, 0.55));
    transition: transform 0.7s var(--ease-spring) 0.15s;
}

.js .step-card:not(.is-visible) .step-card__icon { transform: scale(0.78); }

.steps__cta { margin: 24px 0 0; text-align: center; }

@media (min-width: 768px) {
    .steps {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 0;
        padding: 0;
        overflow: visible;
    }
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
    .step-card { padding: 22px 14px; }
    .step-card p { font-size: 0.875rem; }
}

/* ---------- Comparison ---------- */
.compare {
    --smoke: rgba(74, 70, 122, 0.88);
    --smoke-ink: #f4f2ff;
    position: relative;
    isolation: isolate;
}

html.dark .compare { --smoke: rgba(10, 12, 32, 0.8); }

.compare__bg { display: none; }

.compare__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
    text-align: left;
}

.compare__cell {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.compare__dash {
    flex: none;
    width: 12px;
    height: 2px;
    margin-top: 0.75em;
    border-radius: 2px;
    background: currentColor;
}

.compare__check {
    flex: none;
    margin-top: 2px;
    color: var(--c-check);
}

.compare__why { margin-top: 28px; }
.compare__why p { margin: 0; }

@media (max-width: 767.98px) {
    .compare__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .compare__table,
    .compare__table tbody,
    .compare__table tr,
    .compare__table th,
    .compare__table td { display: block; width: 100%; }

    .compare__table colgroup { display: none; }

    .compare__table tbody { display: grid; gap: 12px; }

    .compare__table tbody tr {
        display: grid;
        gap: 8px;
        padding: 14px;
        border-radius: var(--radius-md);
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        box-shadow: var(--glass-highlight), 0 10px 30px -20px rgba(96, 78, 180, 0.4);
    }

    .compare__table tbody th {
        padding: 0 4px;
        color: var(--c-ink);
        font-weight: 700;
    }

    .compare__table tbody td {
        padding: 10px 14px;
        border-radius: var(--radius-sm);
    }

    .compare__table td.is-swipe { background: var(--smoke); color: var(--smoke-ink); }

    .compare__table td.is-ihd {
        background: var(--glass-bg-strong);
        border: 1px solid var(--glass-border);
        box-shadow: var(--glass-highlight), 0 0 14px rgba(143, 220, 255, 0.35);
        color: var(--c-ink);
        font-weight: 500;
    }

    .compare__table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }
}

@media (min-width: 768px) {
    .compare__bg {
        display: block;
        position: absolute;
        border-radius: 24px;
        pointer-events: none;
    }

    .compare__bg--swipe {
        z-index: 0;
        top: 18px;
        bottom: 18px;
        left: 27%;
        width: 38%;
        background: var(--smoke);
        border: 1px solid rgba(255, 255, 255, 0.28);
        box-shadow: 0 24px 50px -28px rgba(40, 30, 100, 0.55);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }

    .compare__bg--ihd {
        z-index: 1;
        top: 0;
        bottom: 0;
        left: 62%;
        right: 0;
        background: var(--glass-bg-strong);
        border: 1px solid var(--glass-border);
        box-shadow: var(--glass-highlight), 0 34px 60px -26px rgba(96, 78, 180, 0.6), 0 10px 24px -12px rgba(96, 78, 180, 0.35);
        -webkit-backdrop-filter: blur(22px) saturate(150%);
        backdrop-filter: blur(22px) saturate(150%);
    }

    .compare__bg--ihd::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 18px;
        right: 18px;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, transparent, #fff, rgba(143, 220, 255, 0.95), #fff, transparent);
        box-shadow: 0 0 12px rgba(143, 220, 255, 0.9);
    }

    .compare__table {
        position: relative;
        z-index: 2;
        table-layout: fixed;
    }

    .compare__col-label { width: 27%; }
    .compare__col-swipe { width: 35%; }
    .compare__col-ihd { width: 38%; }

    .compare__table thead th {
        padding: 36px 16px 14px;
        font-size: 1.0625rem;
        font-weight: 700;
        vertical-align: bottom;
        line-height: 1.3;
    }

    .compare__table thead th.is-swipe { color: #ffffff; }
    .compare__table thead th.is-ihd { padding-left: 20px; font-size: 1.1875rem; color: var(--c-ink); }

    .compare__table tbody th,
    .compare__table tbody td {
        padding: 11px 16px;
        vertical-align: top;
    }

    .compare__table tbody th { padding-left: 4px; color: var(--c-ink); font-weight: 600; }
    .compare__table td.is-swipe { color: var(--smoke-ink); }
    .compare__table td.is-ihd { padding-left: 20px; color: var(--c-ink); font-weight: 500; }

    .compare__table tbody tr:last-child > * { padding-bottom: 36px; }
}

/* ---------- Trust ---------- */
.trust__grid {
    display: grid;
    gap: 16px;
}

.trust-tile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 22px;
    border-radius: 24px;
}

.trust-tile h3 { margin: 4px 0 0; }
.trust-tile p { margin: 0; }

.trust-tile__well {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    color: var(--c-check);
    box-shadow: var(--glass-highlight), 0 0 22px rgba(143, 220, 255, 0.55), 0 0 40px rgba(183, 165, 255, 0.35);
}

.trust__note {
    max-width: 60ch;
    margin: 28px auto 0;
    font-weight: 600;
    color: var(--c-ink-soft);
    text-align: center;
}

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

/* ---------- Stories ---------- */
.stories__viewport {
    margin: 0 calc(-1 * var(--gutter));
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.stories__track {
    position: relative;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 12px 11%;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.stories__track::-webkit-scrollbar { display: none; }

.story-card {
    display: flex;
    flex: 0 0 78%;
    flex-direction: column;
    padding: 10px 10px 20px;
    border-radius: 24px;
    scroll-snap-align: center;
}

.story-card__media {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 12 / 7;
    background: rgba(183, 165, 255, 0.25);
}

.story-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.story-card h3 { margin: 16px 8px 6px; font-size: 1.125rem; }
.story-card p { margin: 0 8px; font-size: 0.9375rem; }

.dots {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.dots__btn {
    position: relative;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.dots__btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: var(--radius-pill);
    background: var(--c-dash);
    transition: width 0.4s var(--ease-spring), margin 0.4s var(--ease-spring), background-color 0.3s ease, box-shadow 0.3s ease;
}

.dots__btn[aria-current="true"]::before {
    width: 30px;
    margin-left: -15px;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(143, 124, 240, 0.7), 0 0 14px rgba(143, 220, 255, 0.85);
}

/* ---------- Nearby ---------- */
.nearby__layout {
    display: grid;
    gap: 24px;
}

.nearby__copy {
    position: relative;
    isolation: isolate;
    padding: 4px 0;
}

.nearby__map {
    position: absolute;
    z-index: -1;
    top: -12%;
    left: -8%;
    width: 116%;
    height: 124%;
    max-width: none;
    pointer-events: none;
}

.nearby__answer { font-size: 1.0625rem; }
.nearby__copy h3 { margin-top: 6px; }

.map__glow use,
.map__glow,
.map__line { fill: none; stroke-linecap: round; }

.map__glow { stroke: #efe8ff; stroke-width: 7; opacity: 0.7; }
.map__line { stroke: #ffffff; stroke-width: 1.6; opacity: 0.9; }

html.dark .map__glow { opacity: 0.35; }
html.dark .map__line { stroke: #cfc3ff; opacity: 0.6; }

.map__node {
    fill: #ffffff;
    transform-box: fill-box;
    transform-origin: center;
    animation: node-pulse 3.2s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

.map__pin {
    fill: rgba(255, 255, 255, 0.4);
    stroke: var(--c-lavender);
    stroke-width: 2;
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: pin-twinkle 5s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

@keyframes node-pulse {
    0%, 100% { opacity: 0.55; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.35); }
}

@keyframes pin-twinkle {
    0%, 70%, 100% { opacity: 0.6; transform: scale(1); }
    80% { opacity: 1; transform: scale(1.18); }
}

.nearby__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    transition: transform 0.45s var(--ease-spring);
}

@media (hover: hover) {
    .nearby__grid:hover { transform: translateY(-4px); }
}

.nearby__grid .profile-card {
    gap: 10px;
    padding: 8px 8px 12px;
    border-radius: 20px;
}

.nearby__grid .profile-card__media { border-radius: 14px; }

.nearby__grid .profile-card__cta {
    box-shadow: var(--glass-highlight), 0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 16px rgba(143, 220, 255, 0.55);
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .nearby__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; }
}

@media (min-width: 1280px) {
    .nearby__layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: 28px; }
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */

.policy {
    display: grid;
    gap: 16px;
    padding-block: 16px var(--section-y);
}

.policy__main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.policy__aside { min-width: 0; }

.toc {
    border-radius: var(--radius-md);
}

.toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 10px 18px;
    color: var(--c-ink);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    border-radius: var(--radius-md);
}

.toc__summary::-webkit-details-marker { display: none; }

.toc__summary::after {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    margin-right: 4px;
    border-right: 2px solid var(--c-ink-soft);
    border-bottom: 2px solid var(--c-ink-soft);
    transform: rotate(45deg);
    transition: transform 0.3s var(--ease-out);
}

.toc[open] .toc__summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.toc__list {
    margin: 0;
    padding: 0 10px 12px;
    list-style: none;
}

.toc__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    color: var(--c-ink-soft);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.toc__list a:hover {
    background: var(--glass-bg-strong);
    color: var(--c-link);
}

.policy-panel {
    overflow: visible;
    padding: clamp(22px, 4vw, 40px);
}

.policy-panel h2 { margin-bottom: 0.5em; }
.policy-panel h3 { margin: 1.4em 0 0.4em; }
.policy-panel > p:last-child { margin-bottom: 0; }

.policy-panel--highlight {
    box-shadow: var(--glass-highlight), 0 0 34px rgba(183, 165, 255, 0.5), var(--glass-shadow);
}

.policy-panel--highlight::before {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--c-coral), var(--c-lilac) 55%, var(--c-cyan));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
}

.policy-list {
    display: grid;
    gap: 8px;
    margin: 0 0 1em;
    padding-left: 1.25em;
}

.policy-list li::marker { color: var(--c-lavender); }

.policy-note {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    font-size: 0.9375rem;
    color: var(--c-ink-soft);
}

.policy-panel .tablewrap { margin-bottom: 8px; }

/* Cookie choice mock */
.consent-mock {
    max-width: 420px;
    margin: 20px 0 8px;
    padding: 18px;
    border-radius: 24px;
}

.consent-mock__title {
    margin: 0 0 12px;
    font-weight: 700;
    color: var(--c-ink);
}

.consent-mock__row {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.consent-mock__btn {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1.5px solid var(--c-lavender);
    border-radius: var(--radius-pill);
    background: var(--surface-solid);
    color: var(--c-ink);
    font-weight: 600;
}

.consent-mock__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    color: var(--c-ink-soft);
    font-size: 0.9375rem;
}

.consent-mock__toggle + .consent-mock__toggle { border-top: 1px solid var(--glass-border); }

.toggle {
    position: relative;
    flex: none;
    width: 46px;
    height: 26px;
    border-radius: var(--radius-pill);
    background: var(--glass-bg-soft);
    border: 1.5px solid var(--c-dash);
}

.toggle i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--c-dash);
}

.toggle--locked { border-color: var(--c-lavender); background: rgba(143, 124, 240, 0.28); }
.toggle--locked i { left: 22px; background: var(--c-lavender); }

.consent-mock figcaption {
    margin-top: 12px;
    font-size: 0.8125rem;
    color: var(--c-muted);
}

/* Rights tiles */
.rights {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.rights__tile {
    padding: 20px;
    border-radius: 22px;
}

.rights__tile h3 { margin: 12px 0 6px; font-size: 1.0625rem; }
.rights__tile p { margin: 0; font-size: 0.9375rem; }

.rights__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    color: var(--c-check);
    box-shadow: var(--glass-highlight), 0 0 20px rgba(183, 165, 255, 0.6);
}

/* Billing promise strip */
.flow {
    position: relative;
    display: grid;
    gap: 14px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.flow__line {
    position: absolute;
    z-index: 0;
    max-width: none;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(143, 220, 255, 0.8));
}

.flow__line--h { display: none; }

.flow__line--v {
    top: 40px;
    bottom: 40px;
    left: 36px;
    width: 8px;
    height: auto;
}

.flow__step {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
}

.flow__step h3 { margin: 0 0 4px; font-size: 1.0625rem; }
.flow__step p { margin: 0; font-size: 0.9375rem; }

.flow__num {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-solid);
    border: 1px solid var(--glass-border);
    color: var(--c-ink);
    font-weight: 700;
    box-shadow: 0 0 16px rgba(143, 220, 255, 0.7);
}

/* Closing CTA */
.policy-cta { overflow: visible; }
.policy-cta .final-cta::before { inset: -8% -3%; }
.policy-cta .final-cta__card { max-width: none; }

.policy-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
}

.policy-cta__secondary {
    background: transparent;
    border: 1.5px solid var(--c-lavender);
    box-shadow: none;
}

@media (min-width: 480px) {
    .policy-cta__actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
}

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

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

    .flow__line--v { display: none; }

    .flow__line--h {
        display: block;
        top: 38px;
        left: 12%;
        width: 76%;
        height: 8px;
    }

    .flow__step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

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

    .policy__aside {
        position: sticky;
        top: calc(var(--header-bottom) + 16px);
    }

    .toc__list a { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .toc__summary::after { transition: none; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-art {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.contact-art__bubble {
    animation: card-float 6s ease-in-out infinite;
}

.contact-art__bubble--b {
    animation-duration: 7.5s;
    animation-delay: -2.5s;
}

.contact-channels { padding-top: clamp(24px, 4vw, 48px); }

.contact-channels__grid {
    display: grid;
    gap: 16px;
    max-width: 880px;
    margin-inline: auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 28px 24px;
    border-radius: 24px;
}

.contact-card h3 { margin: 4px 0 0; }

.contact-card__value {
    margin: 0;
    color: var(--c-ink);
    font-size: 1.125rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-card__hint { margin: 0; font-size: 0.9375rem; }

.copy-btn { margin-top: auto; }

.copy-btn__check { display: none; color: var(--c-live); }

.copy-btn.is-copied .copy-btn__copy { display: none; }

.copy-btn.is-copied .copy-btn__check {
    display: block;
    animation: copy-pop 0.5s var(--ease-spring);
}

@keyframes copy-pop {
    0% { transform: scale(0.3) rotate(-20deg); opacity: 0; }
    100% { transform: none; opacity: 1; }
}

.contact-panel {
    max-width: 880px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 40px);
}

.contact-panel p { max-width: 62ch; }

.contact-table {
    max-width: 960px;
    margin-inline: auto;
    padding: clamp(10px, 2.5vw, 24px);
    border-radius: var(--radius-lg);
}

.contact-table .gtable thead th { background: var(--glass-bg-soft); }

.contact-table .gtable tbody th > span,
.contact-table .gtable tbody th > svg { vertical-align: middle; }

.topic-icon {
    display: inline-block;
    margin-right: 10px;
    padding: 6px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    color: var(--c-check);
    box-shadow: 0 0 14px rgba(183, 165, 255, 0.5);
}

.contact-table a { font-weight: 600; }

.safety-card {
    position: relative;
    max-width: 880px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 40px) clamp(22px, 4vw, 40px) clamp(24px, 4vw, 40px) clamp(28px, 5vw, 48px);
}

.safety-card::before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 14px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--c-coral), var(--c-rose));
    box-shadow: 0 0 14px rgba(255, 122, 133, 0.7);
}

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

.safety-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--c-ink-soft);
}

.safety-list__icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    color: var(--c-check);
    box-shadow: 0 0 14px rgba(183, 165, 255, 0.45);
}

.safety-card__note {
    margin: 20px 0 0;
    font-weight: 600;
    color: var(--c-ink);
}

.contact-faq { overflow: clip; }

.contact-faq__list {
    max-width: 780px;
    margin-inline: auto;
}

.contact-cta { padding-top: clamp(24px, 4vw, 48px); }

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

@media (prefers-reduced-motion: reduce) {
    .contact-art__bubble,
    .copy-btn.is-copied .copy-btn__check { animation: none !important; }
}

/* ---------- Homepage reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero-card,
    .map__node,
    .map__pin { animation: none !important; }

    .hero-card .profile-card,
    .hero-card .profile-card:hover { transform: none !important; }

    .js .step-card:not(.is-visible) .step-card__icon { transform: none; }

    .hero__stack,
    .carousel__track,
    .stories__track,
    .steps { scroll-behavior: auto; }

    .nearby__grid:hover { transform: none; }
}