/*
 * Candid - urban glamour design system
 * Dark violet-charcoal, champagne gold, magenta-violet light ribbons.
 */

:root {
    --bg: #14101f;
    --bg-2: #1d1530;
    --bg-3: #241a3a;
    --surface: rgba(38, 27, 60, 0.62);
    --surface-solid: #1f1732;
    --surface-strong: #2a1f45;
    --border-gold: rgba(232, 201, 138, 0.32);
    --border-gold-strong: rgba(232, 201, 138, 0.75);
    --border-violet: rgba(180, 76, 255, 0.38);
    --hairline: rgba(214, 205, 230, 0.12);

    --gold: #e8c98a;
    --gold-light: #f5e2b8;
    --gold-deep: #c9a35c;
    --magenta: #ff4fa3;
    --violet: #b44cff;
    --cyan: #6fe3ff;
    --verified: #3b9bff;

    --text: #f6f1fb;
    --text-2: #ddd4ec;
    --text-3: #bdb3d2;

    --grad-signature: linear-gradient(110deg, #ff4fa3 0%, #b44cff 50%, #e8c98a 100%);
    --grad-gold: linear-gradient(120deg, #f5e2b8 0%, #e8c98a 45%, #c9a35c 100%);
    --grad-violet-head: linear-gradient(180deg, #4a2a7a 0%, #33205a 100%);

    --glow-gold: 0 0 0 1px rgba(232, 201, 138, 0.25), 0 0 24px rgba(232, 201, 138, 0.22);
    --glow-violet: 0 0 32px rgba(180, 76, 255, 0.28);
    --shadow-card: 0 24px 60px rgba(5, 2, 14, 0.55);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;

    --container: 1200px;
    --gutter: clamp(20px, 5vw, 40px);
    --section-y: clamp(64px, 10vw, 120px);
    --header-bottom: 64px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============ 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 {
    max-width: 100%;
    overflow-x: auto;
}

.table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th, h1, h2, h3, dd {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, 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;
    scroll-padding-top: calc(var(--header-bottom) + 16px);
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text-2);
    background:
        radial-gradient(1200px 700px at 85% -10%, rgba(180, 76, 255, 0.14), transparent 60%),
        radial-gradient(900px 600px at -10% 40%, rgba(255, 79, 163, 0.08), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
    font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

a {
    color: var(--gold);
    transition: color 0.2s var(--ease);
}

a:hover { color: var(--gold-light); }

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

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

main:focus { outline: none; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 12px 18px;
    background: var(--gold);
    color: #1a1226;
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 12px; color: #1a1226; }

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

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}

.icon--xl {
    width: 64px;
    height: 64px;
}

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

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(20, 16, 31, 0.78);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid var(--hairline);
}

body.menu-open .site-header::before {
    background: #17112a;
}

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

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-height: 44px;
}

.site-brand__mark {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 6px rgba(232, 201, 138, 0.35));
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--gold);
    -webkit-text-fill-color: transparent;
}

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

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

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    background: rgba(42, 31, 69, 0.7);
    cursor: pointer;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.menu-toggle:hover { border-color: var(--border-gold-strong); box-shadow: var(--glow-gold); }

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

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

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: #17112a;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    transform: translateY(-12px);
    transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

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

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 4px 4px;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--hairline);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
    color: var(--gold);
}

.site-nav__drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 640px) {
    .header-actions .header-cta { display: inline-flex; }
}

@media (min-width: 1024px) {
    .site-header__inner { min-height: 72px; }
    .menu-toggle { display: none; }

    .site-nav {
        position: static;
        flex-direction: row;
        align-items: center;
        padding: 0;
        background: none;
        overflow: visible;
        visibility: visible;
        transform: none;
        transition: none;
    }

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

    .site-nav__link {
        min-height: 44px;
        padding: 0 14px;
        font-size: 0.95rem;
        color: var(--text-2);
        border-bottom: 0;
        border-radius: var(--radius-pill);
    }

    .site-nav__link:hover { background: rgba(232, 201, 138, 0.08); }

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

/* ============ Buttons & CTA ============ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--gold-light);
    text-decoration: none;
    background: linear-gradient(180deg, rgba(232, 201, 138, 0.14), rgba(232, 201, 138, 0.04)), rgba(26, 18, 42, 0.6);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-pill);
    box-shadow: inset 0 0 14px rgba(232, 201, 138, 0.28), 0 0 18px rgba(232, 201, 138, 0.18);
    cursor: pointer;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover {
    color: #fff8ea;
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(232, 201, 138, 0.24), rgba(232, 201, 138, 0.08)), rgba(26, 18, 42, 0.6);
    box-shadow: inset 0 0 18px rgba(232, 201, 138, 0.4), 0 0 32px rgba(232, 201, 138, 0.38), 0 10px 28px rgba(180, 76, 255, 0.25);
}

.btn:active { transform: translateY(0) scale(0.98); }

.btn__icon {
    width: 1.1em;
    height: 1.1em;
    transition: transform 0.25s var(--ease);
}

.btn:hover .btn__icon { transform: translateX(3px); }

.btn--sm {
    min-height: 44px;
    padding: 0 20px;
    font-size: 0.95rem;
}

.btn--lg {
    min-height: 58px;
    padding: 0 36px;
    font-size: 1.125rem;
}

.btn--block { width: 100%; }

.cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
}

.cta--center { align-items: center; text-align: center; }

.cta__trust {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-3);
    letter-spacing: 0.01em;
}

@media (max-width: 479px) {
    .cta .btn { width: 100%; }
    .cta { align-items: stretch; text-align: center; }
}

/* ============ Sections ============ */
.section {
    position: relative;
    padding-block: var(--section-y);
    isolation: isolate;
}

.section__inner {
    position: relative;
    z-index: 2;
}

.section-heading {
    max-width: 760px;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading__lead {
    font-size: clamp(1.05rem, 1.6vw, 1.175rem);
    color: var(--text-2);
    margin: 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.glass {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 4px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    background: rgba(42, 31, 69, 0.85);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
}

.illus-tag {
    margin: 10px 0 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 0.01em;
}

.wordmark {
    display: inline-block;
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3rem, 11vw, 5.5rem);
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--gold);
    filter: drop-shadow(0 0 14px rgba(232, 201, 138, 0.45));
}

@supports (-webkit-text-stroke: 1px black) {
    .wordmark {
        color: transparent;
        -webkit-text-stroke: 1.5px var(--gold);
    }
}

/* ============ Signature ribbons ============ */
.ribbon {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.ribbon svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    overflow: visible;
}

.ribbon path { fill: none; stroke-linecap: round; }

.ribbon--sweep {
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(200px, 32vw, 420px);
}

.ribbon--edge {
    top: 0;
    bottom: 0;
    width: clamp(110px, 18vw, 260px);
}

.ribbon--right { right: 0; }
.ribbon--left { left: 0; transform: scaleX(-1); }

.ribbon__glow { opacity: 0.55; }

.ribbon__drift {
    animation: ribbon-drift 14s ease-in-out infinite alternate;
}

.ribbon__flow path {
    stroke-dasharray: 4 14;
    animation: ribbon-flow 18s linear infinite;
}

.ribbon.is-paused *,
html.is-hidden .ribbon * {
    animation-play-state: paused !important;
}

@keyframes ribbon-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-14px, 8px, 0); }
}

@keyframes ribbon-flow {
    to { stroke-dashoffset: -360; }
}

/* ============ Check list ============ */
.check-list {
    position: relative;
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
    display: grid;
    gap: 14px;
}

.check-list::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: linear-gradient(180deg, rgba(232, 201, 138, 0.6), rgba(180, 76, 255, 0.25));
}

.check-list li {
    position: relative;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.check-list__icon {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 4px;
    color: var(--gold);
    background: var(--surface-solid);
    border-radius: 50%;
    filter: drop-shadow(0 0 6px rgba(232, 201, 138, 0.4));
}

.check-list li span { padding-top: 2px; }

/* ============ Tables ============ */
.table-wrap {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-violet);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.975rem;
}

.data-table caption {
    padding: 16px 20px 0;
    text-align: left;
    font-size: 0.875rem;
    color: var(--text-3);
}

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

.data-table thead th {
    background: var(--grad-violet-head);
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
}

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

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

.data-table th:first-child,
.data-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--surface-solid);
    box-shadow: 1px 0 0 var(--hairline);
}

.data-table thead th:first-child {
    z-index: 2;
    background: #3e2468;
}

.data-table .is-highlight {
    color: var(--gold-light);
    background: rgba(232, 201, 138, 0.07);
    border-left: 1.5px solid var(--gold);
    border-right: 1.5px solid var(--gold);
}

.data-table thead .is-highlight {
    color: var(--gold);
    background: #3e2468;
    border-top: 1.5px solid var(--gold);
}

.data-table tbody tr:last-child .is-highlight {
    border-bottom: 1.5px solid var(--gold);
}

/* ============ FAQ ============ */
.faq-list {
    display: grid;
    gap: 12px;
    align-items: start;
    max-width: 860px;
    margin-inline: auto;
}

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

.faq-item:hover,
.faq-item[open] {
    border-color: var(--border-gold-strong);
    box-shadow: var(--glow-gold);
}

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

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

.faq-item__chev {
    width: 22px;
    height: 22px;
    color: var(--gold);
    transition: transform 0.3s var(--ease);
}

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

.faq-item__a {
    padding: 0 20px 18px;
    color: var(--text-2);
}

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

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

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

/* ============ Inner page hero ============ */
.page-hero {
    position: relative;
    padding-block: clamp(48px, 9vw, 96px) clamp(32px, 6vw, 56px);
    isolation: isolate;
}

.page-hero__ribbon { top: -40px; }

.page-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-hero__icon {
    display: inline-grid;
    place-items: center;
    width: 96px;
    height: 96px;
    color: var(--gold);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 76, 255, 0.35) 0%, rgba(180, 76, 255, 0) 70%);
    filter: drop-shadow(0 0 10px rgba(232, 201, 138, 0.35));
}

.page-hero__meta {
    margin: 0 0 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
}

.page-hero__intro {
    max-width: 62ch;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    margin: 0;
}

@media (min-width: 768px) {
    .page-hero__inner { flex-direction: row; align-items: center; gap: 32px; }
    .page-hero__icon { width: 128px; height: 128px; }
}

/* ============ Prose (legal / long text) ============ */
.prose {
    max-width: 70ch;
    font-size: 1.0625rem;
    line-height: 1.65;
}

.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: 0.4em; }

/* ============ Sticky CTA ============ */
.sticky-cta {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 6px 6px 6px 20px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    background: rgba(31, 23, 50, 0.92);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-pill);
    box-shadow: inset 0 0 14px rgba(232, 201, 138, 0.22), 0 12px 32px rgba(5, 2, 14, 0.6), 0 0 22px rgba(232, 201, 138, 0.22);
    visibility: hidden;
    transform: translateY(calc(100% + 40px));
    transition: transform 0.4s var(--ease-spring), visibility 0s linear 0.4s;
}

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

.sticky-cta:hover { color: #fff; box-shadow: inset 0 0 18px rgba(232, 201, 138, 0.35), 0 0 30px rgba(232, 201, 138, 0.4); }

.sticky-cta__arrow {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--violet), var(--magenta));
}

.sticky-cta__arrow .icon { width: 20px; height: 20px; }

/* ============ Footer ============ */
.site-footer {
    position: relative;
    margin-top: 0;
    padding: 56px 0 calc(28px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(20, 16, 31, 0) 0%, #110d1b 40%);
    border-top: 1px solid var(--hairline);
}

.site-footer__inner {
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr);
}

.site-footer__tagline {
    max-width: 38ch;
    margin: 12px 0 20px;
    color: var(--text-3);
}

.site-footer__title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

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

.site-footer__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-2);
    text-decoration: none;
}

.site-footer__list a:hover { color: var(--gold); }

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--hairline);
    font-size: 0.875rem;
    color: var(--text-3);
}

.site-footer__bottom p { margin: 0; }

@media (min-width: 768px) {
    .site-footer__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
    .site-footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ============ Utilities ============ */
.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;
}

[data-anim].is-paused::before,
[data-anim].is-paused::after,
[data-anim].is-paused *,
[data-anim].is-paused *::before,
[data-anim].is-paused *::after,
html.is-hidden [data-anim] *::before,
html.is-hidden [data-anim] *::after,
html.is-hidden [data-anim]::after {
    animation-play-state: paused !important;
}

/* ============ Home: Hero ============ */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: min(90svh, 860px);
    padding-block: 140px 72px;
    overflow: clip;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("/assets/d581fe6fa3e44910120ea074662d2d4b.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 70% center;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20, 16, 31, 0.97) 0%, rgba(24, 17, 40, 0.86) 34%, rgba(29, 21, 48, 0.3) 66%, rgba(20, 16, 31, 0.4) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    z-index: 1;
    background: linear-gradient(180deg, rgba(20, 16, 31, 0), var(--bg));
    pointer-events: none;
}

.hero__ribbon { z-index: 1; }

.hero__inner {
    position: relative;
    z-index: 2;
}

.hero__copy { max-width: 560px; }

.hero__copy h1 { margin-bottom: 0.35em; }

.hero__sub {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: var(--text);
    margin: 0;
    max-width: 46ch;
}

.hero__caption {
    position: absolute;
    right: var(--gutter);
    bottom: 16px;
    z-index: 2;
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-3);
}

@media (min-width: 1024px) {
    .hero {
        align-items: center;
        min-height: min(86vh, 820px);
        padding-block: 96px;
    }

    .hero__bg { background-position: right center; }

    .hero__bg::after {
        background:
            linear-gradient(90deg, rgba(20, 16, 31, 0.9) 0%, rgba(20, 16, 31, 0.62) 36%, rgba(20, 16, 31, 0) 62%),
            linear-gradient(0deg, rgba(20, 16, 31, 0.6) 0%, rgba(20, 16, 31, 0) 35%);
    }

    .hero__copy { max-width: 45%; }
}

/* ============ Home: Swipe demo ============ */
.demo__ribbon.ribbon--sweep {
    top: 32%;
    bottom: auto;
    height: clamp(240px, 34vw, 440px);
}

.deck {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.deck__stack {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 640px;
    padding-block: 12px;
    border-radius: var(--radius-lg);
}

.swipe-card {
    grid-area: 1 / 1;
    position: relative;
    width: min(74vw, 320px);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 28px;
    background: var(--surface-solid);
    border: 1.5px solid var(--border-violet);
    box-shadow: var(--shadow-card), var(--glow-violet);
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.6s var(--ease-spring), filter 0.4s var(--ease), opacity 0.4s var(--ease), border-color 0.25s, visibility 0s;
}

.swipe-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    pointer-events: none;
}

.swipe-card[data-pos="0"] {
    z-index: 4;
    border-color: var(--gold);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(232, 201, 138, 0.3), 0 0 36px rgba(232, 201, 138, 0.32);
    cursor: grab;
}

.swipe-card[data-pos="1"] {
    z-index: 3;
    transform: translateX(-26%) rotate(-8deg) scale(0.88);
    filter: blur(1.5px) brightness(0.62);
}

.swipe-card[data-pos="2"] {
    z-index: 2;
    transform: translateX(26%) rotate(8deg) scale(0.88);
    filter: blur(1.5px) brightness(0.62);
}

.swipe-card[data-pos="3"] {
    z-index: 1;
    transform: translateY(3%) scale(0.8);
    filter: blur(2px) brightness(0.5);
}

.swipe-card[data-pos="gone"] {
    z-index: 5;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}

.swipe-card[data-pos="gone"][data-dir="left"] { transform: translateX(-135%) rotate(-22deg); }
.swipe-card[data-pos="gone"][data-dir="right"] { transform: translateX(135%) rotate(22deg); }

.swipe-card.is-dragging {
    transition: none;
    cursor: grabbing;
}

.swipe-card[data-hint="like"] { border-color: var(--magenta); }
.swipe-card[data-hint="skip"] { border-color: var(--violet); }

.swipe-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--verified);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(59, 155, 255, 0.55);
    animation: badge-pulse 1.2s var(--ease) 0.6s 1;
}

.swipe-card__badge .icon { width: 28px; height: 28px; }

@keyframes badge-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(59, 155, 255, 0.6); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(59, 155, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 16px rgba(59, 155, 255, 0.55); }
}

.swipe-card__info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 56px 16px 16px;
    background: linear-gradient(180deg, rgba(20, 16, 31, 0) 0%, rgba(20, 16, 31, 0.9) 38%, #17112a 100%);
}

.swipe-card__name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
    font-size: 1.25rem;
}

.swipe-card__tick { color: var(--verified); width: 20px; height: 20px; }

.swipe-card__city {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: var(--text-2);
}

.swipe-card__city .icon { color: var(--gold); width: 16px; height: 16px; }

.swipe-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.swipe-card__chips .chip { min-height: 28px; font-size: 0.8125rem; padding: 2px 10px; }

.swipe-card__note {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-3);
}

.deck__end {
    grid-area: 1 / 1;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: min(80vw, 340px);
    padding: 32px 24px;
    text-align: center;
    visibility: hidden;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.5s var(--ease-spring), opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}

.deck__stack.is-done .deck__end {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: transform 0.5s var(--ease-spring) 0.2s, opacity 0.4s var(--ease) 0.2s, visibility 0s;
}

.deck__end-icon { color: var(--magenta); }
.deck__end-title { margin: 0; font-size: 1.35rem; font-weight: 700; color: var(--text); }
.deck__end p { margin: 0; }

.deck__replay {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    font: inherit;
    font-size: 0.95rem;
    color: var(--text-2);
    background: none;
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
}

.deck__replay:hover { color: var(--gold); }

.deck__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

html:not(.js) .deck__controls { display: none; }

.deck__btn {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease);
}

.deck__btn .icon { width: 28px; height: 28px; }

.deck__btn--skip {
    color: var(--text);
    background: rgba(42, 31, 69, 0.85);
    border: 1.5px solid var(--border-violet);
}

.deck__btn--like {
    color: #fff;
    background: linear-gradient(135deg, var(--violet), var(--magenta));
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 24px rgba(255, 79, 163, 0.4);
}

.deck__btn:hover { transform: scale(1.08); }
.deck__btn:active { transform: scale(0.94); }
.deck__btn:disabled { cursor: not-allowed; filter: grayscale(0.7); transform: none; }

.deck__status {
    min-width: 150px;
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-3);
}

/* ============ Home: How it works ============ */
.steps {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 36px;
}

.steps::before {
    content: "";
    position: absolute;
    left: 39px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--violet));
    box-shadow: 0 0 10px rgba(232, 201, 138, 0.5);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1.4s var(--ease) 0.3s;
}

.steps.is-visible::before,
html:not(.js) .steps::before { transform: none; }

.step {
    position: relative;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.step__icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    color: var(--gold);
    background: var(--bg-2);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(232, 201, 138, 0.22), inset 0 0 16px rgba(180, 76, 255, 0.2);
}

.step__icon .icon--xl {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 6px rgba(232, 201, 138, 0.5));
}

.step__num {
    margin: 4px 0 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.step h3 { margin-bottom: 0.35em; }
.step p:last-child { margin: 0; }

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

    .steps::before {
        left: 16.66%;
        right: 16.66%;
        top: 40px;
        bottom: auto;
        width: auto;
        height: 2px;
        background: linear-gradient(90deg, var(--gold), var(--violet), var(--gold));
        transform-origin: left;
        transform: scaleX(0);
    }

    .step {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }
}

/* ============ Home: Live activity ============ */
.activity__grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.activity__subtitle {
    margin-top: 24px;
    font-size: 1rem;
    color: var(--text);
}

.city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.city-chips .chip { border-color: var(--border-gold); }
.city-chips .icon { width: 16px; height: 16px; color: var(--gold); }

.activity__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 600;
    color: var(--gold-light);
}

.activity__map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-image: url("/assets/6949a757453ddeb1fff408b9ed1163cc.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-mask-image: radial-gradient(ellipse 78% 82% at 52% 50%, #000 58%, transparent 100%);
    mask-image: radial-gradient(ellipse 78% 82% at 52% 50%, #000 58%, transparent 100%);
}

.pin {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 12px 4px rgba(232, 201, 138, 0.7);
}

.pin::before,
.pin::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(232, 201, 138, 0.7);
    border-radius: 50%;
    animation: pin-pulse 2.8s ease-out infinite;
}

.pin::after { animation-delay: 1.4s; }

@keyframes pin-pulse {
    from { transform: scale(0.4); opacity: 0.9; }
    to { transform: scale(2.6); opacity: 0; }
}

.pin__chip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 20px);
    display: none;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text);
    background: rgba(31, 23, 50, 0.9);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-pill);
    transform: translateX(-50%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.pin__chip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1px;
    height: 15px;
    background: linear-gradient(180deg, var(--gold), rgba(232, 201, 138, 0));
}

@media (min-width: 768px) {
    .pin__chip { display: block; }
}

@media (min-width: 1024px) {
    .activity__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
    .activity__map { width: calc(100% + 80px); }
}

/* ============ Home: Safety ============ */
.safety__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.safety__shield {
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    margin-bottom: 12px;
    color: var(--gold);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 76, 255, 0.42) 0%, rgba(180, 76, 255, 0) 70%);
    filter: drop-shadow(0 0 10px rgba(232, 201, 138, 0.45));
}

.safety__copy .check-list { margin-top: 20px; }

.verify-figure { margin: 0; }

.verify-figure__frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-violet);
    box-shadow: var(--shadow-card), var(--glow-violet);
}

.verify-figure__frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.scan {
    position: absolute;
    left: 51%;
    top: 31%;
    width: 17%;
    height: 38%;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(111, 227, 255, 0.7));
}

.scan svg { width: 100%; height: 100%; max-width: none; }

.scan::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 10%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(111, 227, 255, 0), var(--cyan), rgba(111, 227, 255, 0));
    box-shadow: 0 0 10px var(--cyan);
    animation: scan-move 2.6s ease-in-out infinite alternate;
}

@keyframes scan-move {
    from { top: 10%; }
    to { top: 88%; }
}

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

/* ============ Home: Comparison ============ */
.compare-table .tick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--gold-light);
}

.compare-table .tick .icon { color: var(--gold); filter: drop-shadow(0 0 4px rgba(232, 201, 138, 0.6)); }

.compare-table .muted-cell { color: var(--text-3); }

.compare-table thead .is-highlight { border-radius: 14px 14px 0 0; }

/* ============ Home: Pricing ============ */
.pricing__grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

.price-stack {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    padding-top: 36px;
    perspective: 1000px;
}

.price-stack__layer {
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 60%;
    border-radius: var(--radius-lg);
    background: rgba(38, 27, 60, 0.55);
    border: 1px solid var(--border-violet);
    box-shadow: var(--glow-violet);
}

.price-stack__layer--mid {
    top: 18px;
    left: 6%;
    right: 6%;
    border-color: var(--border-gold);
}

.price-card {
    padding: 28px 22px;
    border-color: var(--border-gold-strong);
    box-shadow: var(--shadow-card), 0 0 30px rgba(232, 201, 138, 0.2), 0 0 40px rgba(180, 76, 255, 0.2);
    transition: transform 0.5s var(--ease);
}

.price-stack:hover .price-card { transform: rotateX(3deg) rotateY(-4deg) translateY(-4px); }

.price-card__title { margin-bottom: 18px; }

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    margin-bottom: 12px;
    padding: 10px 18px;
    border-radius: 16px;
    background: rgba(20, 16, 31, 0.7);
    border: 1px solid var(--border-gold);
}

.price-row--premium { border-color: var(--border-violet); }

.price-row__label { font-weight: 600; color: var(--text); }

.price-row__val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-light);
    text-align: right;
}

.price-card__cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 6px;
    font-weight: 600;
    color: var(--text);
}

.price-card__cancel .icon { color: var(--gold); }

.price-card__fine {
    margin: 0 0 18px;
    font-size: 0.875rem;
    text-align: center;
    color: var(--text-3);
}

@media (min-width: 1024px) {
    .pricing__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; }
}

/* ============ Home: Stories ============ */
.stories {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 4px 0 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

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

.story {
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-solid);
    border: 1px solid var(--border-violet);
    box-shadow: var(--shadow-card);
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.story:hover {
    border-color: var(--border-gold-strong);
    box-shadow: var(--shadow-card), var(--glow-gold);
}

.story img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.story__body {
    padding: 16px 18px 20px;
    background: linear-gradient(180deg, rgba(42, 31, 69, 0.9), rgba(31, 23, 50, 0.95));
    border-top: 1px solid var(--hairline);
}

.story__tag {
    margin: 0 0 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
}

.story h3 { margin-bottom: 0.3em; }
.story p:last-child { margin: 0; }

@media (min-width: 768px) {
    .stories {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-columns: auto;
        gap: 24px;
        overflow: visible;
    }

    .story:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 12px);
    }
}

/* ============ Home: Final CTA ============ */
.final-cta {
    position: relative;
    isolation: isolate;
    padding-block: clamp(96px, 14vw, 160px) clamp(140px, 18vw, 220px);
    text-align: center;
    overflow: clip;
}

.final-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("/assets/b15ee470be3857351bf08c4210ed9252.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.final-cta__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(20, 16, 31, 0.55) 30%, rgba(20, 16, 31, 0.2) 100%);
}

.final-cta__ribbon { z-index: 1; }

.final-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.final-cta__pitch {
    max-width: 52ch;
    margin: 0 auto;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: var(--text);
}

.final-cta__notice {
    display: inline-block;
    margin: 24px 0 0;
    padding: 6px 14px;
    font-size: 0.875rem;
    color: var(--text-2);
    background: rgba(20, 16, 31, 0.8);
    border-radius: var(--radius-pill);
}

/* ============ Privacy / legal page ============ */
.legal {
    display: grid;
    gap: 24px;
    padding-bottom: var(--section-y);
}

.legal__toc { position: sticky; top: calc(var(--header-bottom) + 8px); z-index: 10; }

.toc { padding: 0; border-radius: var(--radius-md); background: rgba(31, 23, 50, 0.95); }

.toc__sum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 8px 18px;
    font-weight: 600;
    color: var(--gold);
    cursor: pointer;
    list-style: none;
}

.toc__sum::-webkit-details-marker { display: none; }
.toc[open] .faq-item__chev { transform: rotate(180deg); }

.toc__list {
    margin: 0;
    padding: 0 18px 14px 38px;
    max-height: 50vh;
    overflow-y: auto;
}

.toc__list a { display: inline-block; padding: 6px 0; color: var(--text-2); text-decoration: none; }
.toc__list a:hover { color: var(--gold); }

.legal__main { min-width: 0; max-width: 78ch; }

.legal__sec { padding-top: 12px; margin-bottom: 40px; font-size: 1.0625rem; line-height: 1.6; }
.legal__sec h2 { margin-bottom: 0.6em; }
.legal__sec h3 { margin-top: 1.2em; color: var(--gold-light); }

.legal__note { margin-top: 12px; font-size: 0.9rem; color: var(--text-3); }

.confirm {
    padding: 1px 8px;
    font-size: 0.9rem;
    color: var(--gold-light);
    background: rgba(232, 201, 138, 0.12);
    border-radius: 8px;
}

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

.keypoints li { padding: 16px 20px; border-radius: var(--radius-md); }

.rights-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 16px;
}

.right-card {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.right-card:hover { border-color: var(--border-gold-strong); box-shadow: var(--glow-gold); transform: translateY(-2px); }
.right-card__icon { width: 32px; height: 32px; margin-bottom: 8px; color: var(--gold); }
.right-card h3 { margin-top: 0; font-size: 1.1rem; color: var(--text); }
.right-card p { margin: 0; font-size: 1rem; }

.faq-list--legal { margin-inline: 0; }

.legal-cta {
    position: relative;
    isolation: isolate;
    padding-block: 72px 160px;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(36, 26, 58, 0.6));
}

.legal-cta__inner { position: relative; z-index: 2; max-width: 720px; }

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

@media (min-width: 1024px) {
    .legal { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
    .rights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .toc .toc__list { max-height: none; }
}

/* ============ Contact page ============ */
.contact { padding-bottom: 32px; }

.contact__sec { max-width: 900px; margin: 0 auto clamp(40px, 6vw, 72px); }
.contact__sec .faq-list { max-width: none; }

.contact-need {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-need__icon { width: 28px; height: 28px; color: var(--gold); }

.contact-mail {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    word-break: break-all;
}

.contact-table tbody tr { transition: background 0.25s var(--ease); }
.contact-table tbody tr:hover { background: rgba(232, 201, 138, 0.06); }

@media (max-width: 767px) {
    .contact-table { min-width: 0; display: block; }
    .contact-table thead, .contact-table caption { display: none; }
    .contact-table tbody { display: grid; gap: 14px; padding: 14px; }
    .contact-table tbody tr {
        display: block;
        padding: 16px;
        background: var(--surface);
        border: 1px solid var(--border-gold);
        border-radius: var(--radius-md);
    }
    .contact-table tbody tr:hover,
    .contact-table tbody tr:active { border-color: var(--border-gold-strong); box-shadow: var(--glow-gold); }
    .contact-table th,
    .contact-table td,
    .contact-table th:first-child,
    .contact-table td:first-child {
        display: block;
        position: static;
        padding: 4px 0;
        border: 0;
        background: none;
        box-shadow: none;
    }
}

.contact__times,
.contact__tips { margin-top: 20px; }

.contact__callout { padding: clamp(24px, 4vw, 40px); }
.contact__callout h2 { margin-bottom: 0.4em; }
.contact__callout p { margin: 0; }

.contact-cta {
    position: relative;
    isolation: isolate;
    padding-block: 72px 200px;
    text-align: center;
}

.contact-cta__glow {
    position: absolute;
    left: 50%;
    top: 45%;
    width: min(640px, 90vw);
    height: 320px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(232, 201, 138, 0.2), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.contact-cta__ribbon { z-index: 1; }
.contact-cta__inner { position: relative; z-index: 2; max-width: 680px; }
.contact-cta__back { margin: 20px 0 0; }

/* ============ Reveal on scroll ============ */
html.js [data-reveal] {
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
}

html.js [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(28px);
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }

    .ribbon__drift,
    .ribbon__flow path { animation: none !important; }

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

    .btn:hover { transform: none; }

    .price-stack:hover .price-card { transform: none; }
    .scan::after,
    .pin::before,
    .pin::after,
    .swipe-card__badge { animation: none !important; }
}