/*
 * Sitch - design system
 * Night-sky indigo, candlelight gold accent, Fraunces + Inter.
 */

:root {
    --c-base: #14143A;
    --c-header: #121234;
    --c-raised: #1D1D4B;
    --c-raised-2: #24245A;
    --c-sky-top: #16164A;
    --c-plum: #4A3567;
    --c-gold: #E9C47E;
    --c-gold-light: #F6DFA9;
    --c-gold-deep: #E3B866;
    --c-text: #F2F0FA;
    --c-muted: #A8A6CC;
    --c-lavender: #E5E4F0;
    --c-lavender-2: #D8D6EA;
    --c-ink: #1C1B2E;
    --c-ink-soft: #3D3B58;
    --c-ink-link: #33297A;
    --c-gold-ink: #7A5612;
    --c-line: rgba(255, 255, 255, 0.08);
    --c-line-strong: rgba(229, 228, 240, 0.2);

    --font-serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --radius-lg: 24px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --radius-pill: 999px;

    --shadow-panel: 0 18px 50px rgba(6, 6, 24, 0.45), 0 2px 6px rgba(6, 6, 24, 0.3);
    --glow-gold: 0 0 24px rgba(233, 196, 126, 0.35);

    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --header-h: 64px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

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

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

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

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    background: var(--c-base);
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--c-base);
    color: var(--c-text);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body.menu-open {
    overflow: hidden;
}

main {
    display: block;
}

main:focus {
    outline: none;
}

h1, h2, h3, h4 {
    margin: 0 0 0.6em;
    line-height: 1.15;
    color: var(--c-text);
}

h1, h2 {
    font-family: var(--font-serif);
    font-optical-sizing: auto;
    font-weight: 300;
    letter-spacing: -0.015em;
}

h1 {
    font-size: clamp(2.25rem, 6.4vw, 4rem);
}

h2 {
    font-size: clamp(1.875rem, 4.2vw, 2.75rem);
}

h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: clamp(1.125rem, 1.6vw, 1.25rem);
    line-height: 1.3;
    letter-spacing: -0.005em;
}

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0 0 1em;
}

a {
    color: var(--c-gold-light);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    transition: color 0.2s var(--ease);
}

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

img {
    display: block;
}

button {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--c-gold);
    outline-offset: 2px;
}

::selection {
    background: var(--c-gold);
    color: var(--c-base);
}

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--c-gold);
    color: var(--c-base);
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
    color: var(--c-base);
}

/* ============================================
   LAYOUT PRIMITIVES
   ============================================ */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: clamp(3.5rem, 8vw, 6rem);
}

.section-head {
    max-width: 44rem;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
    text-align: center;
}

.section-title {
    margin-bottom: 0.5em;
}

.section-intro {
    color: var(--c-muted);
    font-size: 1.0625rem;
    margin-inline: auto;
    max-width: 38rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-gold-light);
}

.muted {
    color: var(--c-muted);
}

.panel {
    position: relative;
    background: var(--c-raised);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
}

/* Night sky surface with pinpoint stars */
.sky {
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, var(--c-sky-top) 0%, #221d55 55%, var(--c-plum) 100%);
}

.sky::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 8% 18%, rgba(255, 255, 255, 0.85), transparent 60%),
        radial-gradient(1px 1px at 22% 62%, rgba(255, 255, 255, 0.6), transparent 60%),
        radial-gradient(1.5px 1.5px at 35% 28%, rgba(246, 223, 169, 0.85), transparent 60%),
        radial-gradient(1px 1px at 48% 80%, rgba(255, 255, 255, 0.55), transparent 60%),
        radial-gradient(1px 1px at 57% 12%, rgba(255, 255, 255, 0.8), transparent 60%),
        radial-gradient(1.5px 1.5px at 68% 48%, rgba(255, 255, 255, 0.65), transparent 60%),
        radial-gradient(1px 1px at 79% 22%, rgba(246, 223, 169, 0.8), transparent 60%),
        radial-gradient(1px 1px at 88% 70%, rgba(255, 255, 255, 0.6), transparent 60%),
        radial-gradient(1px 1px at 94% 36%, rgba(255, 255, 255, 0.75), transparent 60%),
        radial-gradient(1px 1px at 14% 88%, rgba(255, 255, 255, 0.5), transparent 60%);
    animation: twinkle 7s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.55; }
    100% { opacity: 1; }
}

.sparkle {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: middle;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--c-gold-light);
    background: rgba(233, 196, 126, 0.08);
    border: 1px solid rgba(233, 196, 126, 0.35);
    border-radius: var(--radius-pill);
    text-decoration: none;
}

.chip--link {
    min-height: 44px;
    padding-inline: 1rem;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.chip--link:hover {
    color: var(--c-base);
    background: var(--c-gold);
    border-color: var(--c-gold);
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-gold-light);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.text-link:hover {
    color: var(--c-gold);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0 1.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.005em;
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn__icon {
    width: 1rem;
    height: 1rem;
}

.btn--gold {
    color: var(--c-base);
    background: linear-gradient(180deg, var(--c-gold-light) 0%, var(--c-gold-deep) 100%);
    box-shadow: 0 0 0 1px rgba(246, 223, 169, 0.6), 0 8px 28px rgba(233, 196, 126, 0.32);
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(246, 223, 169, 0.85), 0 12px 36px rgba(233, 196, 126, 0.45);
}

.btn--outline {
    color: var(--c-gold-light);
    background: rgba(233, 196, 126, 0.06);
    border: 1.5px solid var(--c-gold);
    box-shadow: 0 0 18px rgba(233, 196, 126, 0.22);
}

.btn--outline:hover {
    color: var(--c-base);
    background: var(--c-gold);
    box-shadow: 0 0 26px rgba(233, 196, 126, 0.45);
}

.btn--lg {
    min-height: 56px;
    padding: 0 2rem;
    font-size: 1.0625rem;
}

.btn--lg .btn__icon {
    width: 1.125rem;
    height: 1.125rem;
}

.btn--choice {
    flex: 1 1 0;
    color: var(--c-text);
    background: var(--c-raised-2);
    border: 1px solid var(--c-line-strong);
}

.btn--choice:hover {
    border-color: var(--c-gold);
    color: var(--c-gold-light);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--c-header);
    border-bottom: 1px solid rgba(229, 228, 240, 0.1);
    transition: background-color 0.3s var(--ease);
}

.site-header.is-scrolled::before {
    background: rgba(18, 18, 52, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

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

.site-brand {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.2rem;
    min-height: 44px;
    padding-top: 0.25rem;
    color: var(--c-text);
    text-decoration: none;
}

.site-brand:hover {
    color: var(--c-text);
}

.site-brand__text {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.site-brand__spark {
    width: 0.75rem;
    height: 0.75rem;
    margin-top: 0.35rem;
    color: var(--c-gold);
    filter: drop-shadow(0 0 4px rgba(233, 196, 126, 0.7));
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.header-actions .header-cta {
    min-height: 44px;
    padding: 0 1rem;
    font-size: 0.9375rem;
}

.menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--c-text);
    background: transparent;
    border: 1px solid var(--c-line-strong);
    border-radius: 12px;
    cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.menu-toggle__bars {
    position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
    background: transparent;
}

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

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

/* Mobile drawer (base) */
.site-nav {
    position: fixed;
    top: var(--header-bottom, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 99;
    padding: 1rem var(--gutter) 2rem;
    background: var(--c-header);
    border-top: 1px solid rgba(229, 228, 240, 0.1);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s var(--ease), visibility 0.25s;
}

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

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0.25rem 0.25rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--c-text);
    text-decoration: none;
    border-bottom: 1px solid var(--c-line);
}

.site-nav__link:hover {
    color: var(--c-gold-light);
}

@media (min-width: 900px) {
    .site-header__inner {
        min-height: 80px;
        gap: 2rem;
    }

    .site-brand__text {
        font-size: 2.375rem;
    }

    .site-nav {
        position: static;
        inset: auto;
        z-index: auto;
        margin-left: auto;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        transition: none;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .site-nav__link {
        min-height: 44px;
        padding: 0;
        font-family: var(--font-sans);
        font-size: 0.9375rem;
        font-weight: 500;
        color: var(--c-muted);
        border: 0;
    }

    .site-nav__link:hover {
        color: var(--c-gold-light);
    }

    .header-actions {
        margin-left: 0;
    }

    .header-actions .header-cta {
        min-height: 48px;
        padding: 0 1.5rem;
        font-size: 1rem;
    }

    .menu-toggle {
        display: none;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: clamp(3rem, 6vw, 4rem) 0 2rem;
    background: var(--c-base);
    border-top: 1px solid rgba(229, 228, 240, 0.12);
}

.site-footer__top {
    display: grid;
    gap: 2.5rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    color: var(--c-text);
    text-decoration: none;
}

.footer-brand:hover {
    color: var(--c-text);
}

.footer-brand__spark {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--c-gold);
    filter: drop-shadow(0 0 5px rgba(233, 196, 126, 0.6));
}

.footer-brand__text {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}

.site-footer__desc {
    max-width: 24rem;
    margin-top: 0.75rem;
    color: var(--c-muted);
    font-size: 1rem;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.site-footer__heading {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text);
}

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

.site-footer__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-muted);
    font-size: 1rem;
    text-decoration: none;
}

.site-footer__link:hover {
    color: var(--c-gold-light);
}

.site-footer__link--strong {
    color: var(--c-text);
    font-weight: 500;
}

.site-footer__button {
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-line);
    color: var(--c-muted);
    font-size: 0.9375rem;
}

.site-footer__bottom p {
    margin: 0;
}

@media (min-width: 768px) {
    .site-footer__top {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: start;
        gap: 3rem;
    }
}

/* ============================================
   REVEAL (one-way fade-up)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    }

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

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-md);
    background: rgba(20, 20, 58, 0.35);
    transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.faq-item.is-open {
    border-color: rgba(242, 240, 250, 0.7);
    background: rgba(20, 20, 58, 0.6);
}

.faq-item__heading {
    margin: 0;
    font-size: 1rem;
}

.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 56px;
    padding: 0.875rem 1.25rem;
    color: var(--c-text);
    background: none;
    border: 0;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}

.faq-item__trigger:hover .faq-item__question {
    color: var(--c-gold-light);
}

.faq-item__icon {
    position: relative;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 2px;
    margin-top: -1px;
    background: var(--c-gold);
    border-radius: 2px;
    transition: transform 0.3s var(--ease);
}

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

.faq-item.is-open .faq-item__icon::after {
    transform: rotate(0deg);
}

.faq-item__panel {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.35s var(--ease);
}

.faq-item__inner {
    min-height: 0;
    overflow: hidden;
}

.faq-item__content {
    padding: 0 1.25rem 1.25rem;
    color: var(--c-muted);
    font-size: 1rem;
}

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

.js .faq-item:not(.is-open) .faq-item__panel {
    grid-template-rows: 0fr;
}

.js .faq-item:not(.is-open) .faq-item__inner {
    visibility: hidden;
    transition: visibility 0s linear 0.35s;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-hero {
    padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.25rem);
    min-height: 320px;
    display: flex;
    align-items: center;
}

.legal-hero__inner {
    position: relative;
    display: grid;
    align-items: center;
}

.legal-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 46rem;
}

.legal-hero__title {
    margin-bottom: 0.4em;
    font-size: clamp(2rem, 5.4vw, 3.5rem);
}

.legal-hero__updated {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-gold-light);
    border: 1px solid rgba(233, 196, 126, 0.35);
    border-radius: var(--radius-pill);
}

.legal-hero__summary {
    max-width: 40rem;
    color: #CFCDE6;
    font-size: 1.0625rem;
}

.legal-hero__chips {
    margin-top: 1.5rem;
}

.legal-hero__art {
    position: absolute;
    top: -1.5rem;
    right: -2rem;
    width: 240px;
    height: auto;
    opacity: 0.3;
    pointer-events: none;
}

@media (min-width: 768px) {
    .legal-hero__inner {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 2rem;
    }

    .legal-hero__art {
        position: static;
        width: 100%;
        opacity: 1;
    }
}

.legal-main {
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.legal-layout {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .legal-layout {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 2.5rem;
    }
}

/* Table of contents */
.legal-toc {
    background: var(--c-raised);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
    padding: 0.5rem;
}

.legal-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0 1rem;
    color: var(--c-text);
    background: none;
    border: 0;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
}

.legal-toc__chevron {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--c-gold);
    transition: transform 0.25s var(--ease);
}

.legal-toc.is-open .legal-toc__chevron {
    transform: rotate(180deg);
}

.legal-toc__title {
    display: none;
    margin: 0.75rem 1rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text);
}

.legal-toc__list {
    margin: 0;
    padding: 0.25rem 0 0.5rem;
    list-style: none;
}

.js .legal-toc:not(.is-open) .legal-toc__list {
    display: none;
}

.legal-toc__link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 1rem 0.35rem 1.25rem;
    color: var(--c-muted);
    font-size: 0.9375rem;
    line-height: 1.35;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

.legal-toc__link::before {
    content: "";
    position: absolute;
    left: 0.375rem;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 2px;
    border-radius: 2px;
    background: transparent;
    transition: background-color 0.2s var(--ease);
}

.legal-toc__link:hover {
    color: var(--c-text);
}

.legal-toc__link.is-active {
    color: var(--c-gold-light);
}

.legal-toc__link.is-active::before {
    background: var(--c-gold);
}

@media (min-width: 1024px) {
    .legal-toc {
        position: sticky;
        top: calc(var(--header-h) + 24px);
        padding: 0.5rem 0.5rem 0.75rem;
    }

    .legal-toc__toggle {
        display: none;
    }

    .legal-toc__title {
        display: block;
    }

    .js .legal-toc:not(.is-open) .legal-toc__list {
        display: block;
    }

    .legal-toc__link {
        min-height: 40px;
    }
}

/* Reading sheet */
.legal-sheet {
    background: var(--c-lavender);
    color: var(--c-ink);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4.5vw, 3.5rem);
    font-size: 1.0625rem;
    line-height: 1.7;
    box-shadow: var(--shadow-panel);
}

.legal-sheet > * {
    max-width: 70ch;
}

.legal-sheet :focus-visible {
    outline-color: var(--c-ink-link);
}

.legal-sheet h2,
.legal-sheet h3 {
    color: var(--c-ink);
}

.legal-sheet h2 {
    position: relative;
    margin: 2.75rem 0 1rem;
    padding-bottom: 0.65rem;
    font-weight: 400;
    font-size: clamp(1.625rem, 3vw, 2rem);
}

.legal-sheet > h2:first-child,
.legal-sheet > section:first-child > h2:first-child {
    margin-top: 0;
}

.legal-sheet h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    border-radius: 2px;
    background: var(--c-gold-deep);
}

.legal-sheet .sec-num {
    color: var(--c-gold-ink);
    margin-right: 0.35em;
}

.legal-sheet h3 {
    margin: 1.75rem 0 0.5rem;
    font-size: 1.1875rem;
}

.legal-sheet p,
.legal-sheet li {
    color: var(--c-ink);
}

.legal-sheet ul,
.legal-sheet ol {
    padding-left: 1.35rem;
}

.legal-sheet li {
    margin-bottom: 0.45rem;
}

.legal-sheet li::marker {
    color: var(--c-gold-ink);
}

.legal-sheet a {
    color: var(--c-ink-link);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.legal-sheet a:hover {
    color: var(--c-ink);
}

.legal-sheet strong {
    font-weight: 600;
}

.legal-sheet section > * {
    max-width: 70ch;
}

@media (min-width: 768px) {
    .legal-sheet {
        font-size: 1.125rem;
    }
}

.callout {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: var(--c-lavender-2);
    border-left: 3px solid var(--c-gold-deep);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.callout__label {
    margin: 0 0 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-ink-link);
}

.callout__text {
    margin: 0;
}

.callout ul {
    margin: 0.5rem 0 0;
}

.operator-note {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    font-weight: 600;
    color: var(--c-ink-link);
    background: #EFEEF7;
    border: 1px dashed #6B5BB0;
    border-radius: 6px;
}

/* Category table (cookie policy) */
.policy-table {
    width: 100%;
    margin: 1.25rem 0 1.5rem;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(28, 27, 46, 0.14);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: 1rem;
}

.policy-table th,
.policy-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
    color: var(--c-ink);
}

.policy-table thead th {
    background: var(--c-raised);
    color: var(--c-text);
    font-weight: 600;
    font-size: 0.9375rem;
}

.policy-table tbody tr:nth-child(even) {
    background: rgba(28, 27, 46, 0.045);
}

.policy-table tbody tr + tr td {
    border-top: 1px solid rgba(28, 27, 46, 0.1);
}

@media (max-width: 639px) {
    .policy-table,
    .policy-table tbody,
    .policy-table tr,
    .policy-table td {
        display: block;
        width: 100%;
    }

    .policy-table {
        border: 0;
        overflow: visible;
    }

    .policy-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .policy-table tbody tr {
        margin-bottom: 0.75rem;
        background: #EFEEF7;
        border: 1px solid rgba(28, 27, 46, 0.14);
        border-radius: var(--radius-md);
    }

    .policy-table tbody tr:nth-child(even) {
        background: #EFEEF7;
    }

    .policy-table tbody tr + tr td {
        border-top: 0;
    }

    .policy-table td {
        padding: 0.5rem 1rem;
    }

    .policy-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--c-ink-link);
    }
}

/* Legal closing CTA */
.legal-cta-wrap {
    padding-bottom: clamp(1rem, 3vw, 2rem);
}

.legal-cta {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
    text-align: center;
    background:
        radial-gradient(ellipse 80% 70% at 50% 120%, rgba(108, 78, 160, 0.5), rgba(108, 78, 160, 0) 70%),
        var(--c-raised);
}

.legal-cta__title {
    margin-bottom: 0.4em;
    font-size: clamp(1.5rem, 3vw, 2.125rem);
}

.legal-cta p {
    max-width: 32rem;
    margin-inline: auto;
    color: #CFCDE6;
}

.legal-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-top: 1.25rem;
}

.legal-cta__actions .legal-cta__cookie {
    flex: 0 0 auto;
}

/* Related policies */
.related {
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3.5rem, 7vw, 5rem);
}

.related__title {
    text-align: center;
    margin-bottom: 1.75rem;
    font-size: clamp(1.75rem, 3.6vw, 2.25rem);
}

.related__grid {
    display: grid;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

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

.related-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    color: var(--c-text);
    text-decoration: none;
    background: var(--c-raised);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.related-card:hover {
    color: var(--c-text);
    border-color: rgba(233, 196, 126, 0.45);
    transform: translateY(-2px);
}

.related-card__icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: var(--c-gold);
    border: 1px solid rgba(233, 196, 126, 0.35);
    border-radius: 50%;
    box-shadow: var(--glow-gold);
}

.related-card__icon .sparkle {
    width: 1.1rem;
    height: 1.1rem;
}

.related-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.related-card__title {
    font-weight: 600;
    font-size: 1.125rem;
}

.related-card__desc {
    color: var(--c-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.related-card__arrow {
    width: 1.375rem;
    height: 1.375rem;
    flex-shrink: 0;
    color: var(--c-gold);
    transition: transform 0.25s var(--ease);
}

.related-card:hover .related-card__arrow {
    transform: translateX(4px);
}

.related__home {
    margin: 1.75rem 0 0;
    text-align: center;
}

/* ============================================
   COOKIE SETTINGS DIALOG
   ============================================ */
.cookie-dialog {
    width: min(560px, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    padding: 0;
    color: var(--c-text);
    background: var(--c-raised);
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
}

.cookie-dialog::backdrop {
    background: rgba(8, 8, 28, 0.72);
}

.cookie-dialog__inner {
    padding: clamp(1.25rem, 4vw, 2rem);
}

.cookie-dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.cookie-dialog__title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-weight: 400;
}

.cookie-dialog__close {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--c-text);
    background: transparent;
    border: 1px solid var(--c-line-strong);
    border-radius: 50%;
    cursor: pointer;
}

.cookie-dialog__close svg {
    width: 1.125rem;
    height: 1.125rem;
}

.cookie-dialog__intro,
.cookie-dialog__gpc {
    color: var(--c-muted);
    font-size: 1rem;
}

.cookie-dialog__gpc {
    padding: 0.625rem 0.875rem;
    color: var(--c-gold-light);
    border: 1px solid rgba(233, 196, 126, 0.35);
    border-radius: var(--radius-sm);
}

.cookie-options {
    margin: 1rem 0 1.25rem;
    padding: 0;
    list-style: none;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 0;
    border-top: 1px solid var(--c-line);
}

.cookie-option__name {
    margin: 0;
    font-weight: 600;
}

.cookie-option__desc {
    margin: 0.15rem 0 0;
    color: var(--c-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.cookie-option__fixed {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-gold-light);
}

.switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 44px;
    cursor: pointer;
}

.switch input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.switch__track {
    position: relative;
    display: block;
    width: 50px;
    height: 28px;
    background: #3A3970;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-pill);
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.switch__track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--c-text);
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.switch input:checked + .switch__track {
    background: var(--c-gold);
    border-color: var(--c-gold);
}

.switch input:checked + .switch__track::after {
    transform: translateX(22px);
    background: var(--c-base);
}

.switch input:focus-visible + .switch__track {
    outline: 2px solid var(--c-gold);
    outline-offset: 2px;
}

.switch input:disabled + .switch__track {
    background: #2A2A55;
    cursor: not-allowed;
}

.cookie-dialog__actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-dialog__save {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 0.75rem;
    color: var(--c-gold-light);
    background: none;
    border: 0;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

.cookie-dialog__status {
    min-height: 1.5em;
    margin: 0.5rem 0 0;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--c-gold-light);
}

/* ============================================
   HOMEPAGE - HERO
   ============================================ */
.hero {
    --conv-star: 28px;
    --conv-line: 12px;
    --conv-portrait: 200px;
    --conv-offset: calc(var(--conv-portrait) / 2 + var(--conv-line) + var(--conv-star) / 2);
    display: flex;
    align-items: center;
    min-height: min(100vh, 860px);
    min-height: min(100svh, 860px);
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem);
    text-align: center;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__inner > * {
    position: relative;
    z-index: 1;
}

.hero__inner > .hero__converge {
    z-index: auto;
}

.hero__title {
    max-width: 13em;
    margin-inline: auto;
    margin-bottom: 0.45em;
}

.hero__lead {
    max-width: 40rem;
    margin-inline: auto;
    color: #CFCDE6;
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
}

.hero__actions {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    margin-top: 0.5rem;
}

.hero__note {
    order: 3;
    margin: 1rem 0 0;
    color: var(--c-muted);
    font-size: 0.9375rem;
}

.hero__converge {
    order: 4;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    padding-bottom: 1.5rem;
}

.hero__converge > :not(.hero__net) {
    position: relative;
    z-index: 1;
}

.hero__net {
    position: absolute;
    top: 50%;
    z-index: 0;
    width: max(560px, calc(50vw - var(--conv-offset) + 40px));
    height: 1200px;
    opacity: 0.4;
    pointer-events: none;
    transform: translateY(-50%);
}

.hero__net svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
}

.hero__net--left {
    right: calc(50% + var(--conv-offset));
}

.hero__net--right {
    left: calc(50% + var(--conv-offset));
    transform: translateY(-50%) scaleX(-1);
}

.hero__star {
    flex-shrink: 0;
    width: var(--conv-star);
    height: var(--conv-star);
    color: var(--c-gold-light);
    filter: drop-shadow(0 0 6px rgba(246, 223, 169, 0.9)) drop-shadow(0 0 18px rgba(233, 196, 126, 0.55));
}

.hero__star .sparkle {
    display: block;
    width: 100%;
    height: 100%;
}

.hero__line {
    flex-shrink: 0;
    width: var(--conv-line);
    height: 1px;
    background: linear-gradient(90deg, rgba(233, 196, 126, 0.95), rgba(233, 196, 126, 0.45));
}

.hero__line--right {
    background: linear-gradient(90deg, rgba(233, 196, 126, 0.45), rgba(233, 196, 126, 0.95));
}

.hero__medallion {
    flex-shrink: 0;
    width: var(--conv-portrait);
    aspect-ratio: 1;
    border-radius: 50%;
}

.hero__medallion img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    border: 1.5px solid var(--c-gold);
    border-radius: 50%;
    background: var(--c-raised);
    box-shadow: 0 0 0 6px rgba(233, 196, 126, 0.08), 0 0 44px rgba(233, 196, 126, 0.38);
}

.hero__orbit {
    position: absolute;
    left: -18%;
    bottom: -4%;
    width: 136%;
    height: auto;
    pointer-events: none;
    transform: rotate(-9deg);
}

@media (max-width: 599px) {
    .hero__net .o {
        display: none;
    }
}

@media (min-width: 768px) {
    .hero {
        --conv-star: 48px;
        --conv-line: 56px;
        --conv-portrait: 240px;
    }

    .hero__net {
        opacity: 1;
    }

    .hero__converge {
        order: 2;
        margin: 2rem 0 2.5rem;
    }

    .hero__actions {
        order: 3;
        margin-top: 0;
    }

    .hero__note {
        order: 4;
    }
}

@media (min-width: 1024px) {
    .hero {
        --conv-star: 64px;
        --conv-line: 96px;
        --conv-portrait: 280px;
    }
}

/* ============================================
   HOMEPAGE - VALUE SPLIT
   ============================================ */
.value {
    padding-top: clamp(3rem, 7vw, 4.5rem);
}

.value__title {
    margin-bottom: 1.75rem;
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.value__split {
    display: grid;
}

.value__panel {
    display: grid;
    gap: 1.75rem;
    align-items: center;
    padding: clamp(2.5rem, 6vw, 3.5rem) var(--gutter);
}

.value__art {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
}

.value__heading {
    margin-bottom: 0.5em;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 500;
    line-height: 1.15;
}

.value__panel--swipe {
    background: var(--c-lavender);
}

.value__panel--swipe .value__heading {
    color: var(--c-ink);
}

.value__panel--swipe p {
    margin: 0;
    color: var(--c-ink-soft);
}

.value__panel--curated {
    background:
        radial-gradient(circle at 78% 50%, #2D2C6E 0%, rgba(29, 29, 75, 0) 55%),
        linear-gradient(180deg, var(--c-raised) 0%, var(--c-base) 100%);
}

.value__panel--curated p {
    color: #CFCDE6;
}

.ticks {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.ticks li {
    position: relative;
    margin-bottom: 0.55rem;
    padding-left: 2rem;
    color: var(--c-text);
    font-weight: 500;
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 1.3rem;
    height: 1.3rem;
    border: 1px solid rgba(233, 196, 126, 0.5);
    border-radius: 50%;
    background: rgba(233, 196, 126, 0.1);
}

.ticks li::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: calc(0.2em + 0.28rem);
    width: 0.3rem;
    height: 0.55rem;
    border: solid var(--c-gold);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cnode__halo {
    opacity: 0.18;
    transform-box: fill-box;
    transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
    .value__panel.is-visible .cnode__halo {
        animation: node-pulse 1.6s var(--ease) 0.4s 1 both;
    }
}

@keyframes node-pulse {
    0% { opacity: 0.12; transform: scale(0.9); }
    45% { opacity: 0.55; transform: scale(1.2); }
    100% { opacity: 0.18; transform: scale(1); }
}

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

    .value__panel--swipe {
        padding-left: max(var(--gutter), calc(100% - var(--container) / 2));
        padding-right: clamp(1.5rem, 4vw, 3rem);
    }

    .value__panel--curated {
        padding-left: clamp(1.5rem, 4vw, 3rem);
        padding-right: max(var(--gutter), calc(100% - var(--container) / 2));
    }
}

@media (min-width: 1200px) {
    .value__panel {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2rem;
    }

    .value__panel--swipe .value__copy {
        text-align: right;
    }
}

/* ============================================
   HOMEPAGE - MATCHES
   ============================================ */
.match-row {
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.5rem var(--gutter) 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--c-gold) transparent;
}

.match-list {
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.match-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 min(82%, 320px);
    scroll-snap-align: start;
    overflow: hidden;
    background: var(--c-raised);
    border: 1px solid rgba(229, 228, 240, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
}

.match-card__media {
    position: relative;
}

.match-card__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 10 / 9;
    object-fit: cover;
    object-position: center 22%;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
}

.match-card__tag {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    padding: 0.2rem 0.65rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-lavender);
    background: rgba(20, 20, 58, 0.85);
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-pill);
}

.match-card__orbit {
    position: absolute;
    top: 100%;
    left: 4%;
    width: 92%;
    height: auto;
    opacity: 0.7;
    pointer-events: none;
    transform: translateY(-84%);
    transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}

.match-card:hover .match-card__orbit {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(246, 223, 169, 0.85));
}

.match-card__badge {
    position: absolute;
    top: 100%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    color: var(--c-base);
    background: radial-gradient(circle at 35% 30%, var(--c-gold-light), var(--c-gold-deep));
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(20, 20, 58, 0.65), var(--glow-gold);
    transform: translate(-50%, -50%);
}

.match-card__badge svg {
    width: 26px;
    height: 26px;
}

.match-card__body {
    flex: 1;
    padding: 2.5rem 1.5rem 1.75rem;
}

.match-card__name {
    margin-bottom: 0.65rem;
    font-size: 1.25rem;
}

.match-card__why {
    margin: 1.1rem 0 0.4rem;
    color: var(--c-gold-light);
    font-size: 0.9375rem;
    font-weight: 600;
}

.match-card__reasons {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--c-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.match-card__reasons li {
    margin-bottom: 0.35rem;
}

.match-card__reasons li::marker {
    color: var(--c-gold);
}

.matches__cta {
    margin-top: 1.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .match-row {
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .match-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.75rem;
    }

    .match-card {
        flex: none;
    }

    .matches__cta {
        margin-top: 2.5rem;
    }
}

/* ============================================
   HOMEPAGE - HOW IT WORKS
   ============================================ */
.how {
    padding-top: clamp(2rem, 5vw, 3rem);
}

.steps {
    position: relative;
    max-width: 1100px;
    margin-inline: auto;
}

.steps__list {
    display: grid;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 27.5px;
    top: 28px;
    width: 1px;
    height: calc(100% + 2rem);
    background: linear-gradient(180deg, rgba(233, 196, 126, 0.85), rgba(233, 196, 126, 0.35));
}

.step__star {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    color: var(--c-gold-light);
}

.step__star svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(233, 196, 126, 0.6));
}

.step__num {
    position: relative;
    margin-top: 4px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
    color: var(--c-base);
}

.step h3 {
    margin: 0.85rem 0 0.4rem;
}

.step p {
    margin: 0;
    color: var(--c-muted);
    font-size: 1rem;
}

.steps__wave,
.steps__dot {
    display: none;
}

@media (min-width: 768px) {
    .steps__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }

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

    .step:not(:last-child)::before {
        display: none;
    }

    .step__star {
        width: 64px;
        height: 64px;
        margin-bottom: 0.5rem;
    }

    .step__num {
        font-size: 1.375rem;
    }

    .steps__wave {
        display: block;
        position: absolute;
        top: 12px;
        left: 0;
        width: 100%;
        height: 40px;
        pointer-events: none;
    }

    .steps__dot {
        display: block;
        position: absolute;
        top: 32px;
        left: var(--x);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--c-gold-light);
        box-shadow: 0 0 8px rgba(233, 196, 126, 0.8);
        transform: translate(-50%, -50%);
    }
}

/* ============================================
   HOMEPAGE - PANEL PAIRS
   ============================================ */
.pair {
    display: grid;
    gap: 1.5rem;
    padding-block: clamp(1rem, 3vw, 2rem);
}

.pair--final {
    align-items: start;
    padding-top: clamp(2rem, 5vw, 3rem);
    padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.pair__panel {
    padding: clamp(1.75rem, 4vw, 2.5rem);
}

.pair__title {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: clamp(1.625rem, 3vw, 2.125rem);
}

@media (min-width: 1024px) {
    .pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

/* Features */
.features__body {
    display: grid;
    gap: 1.75rem;
    align-items: center;
}

.features__emblem {
    position: relative;
    width: min(220px, 70%);
    aspect-ratio: 1;
    margin: 0 auto;
}

.features__emblem::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 196, 126, 0.3), rgba(233, 196, 126, 0) 70%);
}

.features__emblem svg {
    position: relative;
    width: 100%;
    height: 100%;
}

.features__ai {
    position: absolute;
    top: 46.7%;
    left: 50%;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    color: var(--c-gold-light);
    transform: translate(-50%, -50%);
}

.feature-list {
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--c-gold);
    background: var(--c-base);
    border: 1px solid rgba(233, 196, 126, 0.4);
    border-radius: 50%;
}

.feature__icon svg {
    width: 20px;
    height: 20px;
}

.feature h3 {
    margin: 0.45rem 0 0.25rem;
    font-size: 1.0625rem;
}

.feature p {
    margin: 0;
    color: var(--c-muted);
    font-size: 1rem;
    line-height: 1.55;
}

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

    .features__emblem {
        width: 100%;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .features__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .features__emblem {
        width: min(200px, 70%);
    }
}

/* Trust */
.trust__lead {
    max-width: 34rem;
    margin: -0.5rem auto 1.75rem;
    text-align: center;
    color: var(--c-muted);
    font-size: 1rem;
}

.trust__grid {
    display: grid;
    gap: 1.5rem;
}

.trust__shield {
    position: relative;
    width: 140px;
    margin: 0 auto;
}

.trust__shield::before {
    content: "";
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 196, 126, 0.28), rgba(233, 196, 126, 0) 65%);
}

.trust__shield svg {
    position: relative;
    width: 100%;
}

.trust-item {
    text-align: center;
}

.trust-item__icon {
    display: block;
    width: 26px;
    height: 26px;
    margin: 0 auto 0.5rem;
    color: var(--c-gold);
}

.trust-item h3 {
    margin-bottom: 0.35rem;
    font-size: 1.0625rem;
}

.trust-item p {
    margin: 0;
    color: var(--c-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.trust__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 1.5rem;
    margin: 1.5rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--c-line);
}

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

    .trust__shield {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1200px) {
    .trust__grid {
        grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr);
        grid-template-areas:
            "a s b"
            "c s d";
        align-items: center;
        gap: 1.75rem 1.25rem;
    }

    .trust__shield {
        grid-area: s;
        grid-column: auto;
    }

    .trust-item--a { grid-area: a; }
    .trust-item--b { grid-area: b; }
    .trust-item--c { grid-area: c; }
    .trust-item--d { grid-area: d; }
}

/* ============================================
   HOMEPAGE - EMOTION + APP
   ============================================ */
.duo {
    display: grid;
    margin-block: clamp(1rem, 3vw, 2rem);
}

.emotion {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 520px;
    padding: 3rem var(--gutter);
}

.emotion::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: var(--c-base);
    background-image: url("./assets/ac5b831527fa4927dc3077b4e0d3ed39.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 68% center;
}

.emotion::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(20, 20, 58, 0.92) 0%, rgba(20, 20, 58, 0.6) 55%, rgba(20, 20, 58, 0.1) 100%);
}

.emotion__content {
    max-width: 32rem;
}

.emotion__tags {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 0.35rem 1.75rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    color: #CFCDE6;
    font-size: 0.9375rem;
}

.emotion__bar {
    display: block;
    width: 48px;
    height: 8px;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--c-gold-light), var(--c-gold-deep));
}

.emotion h2 {
    margin-bottom: 0.5em;
}

.emotion p {
    margin: 0;
    color: var(--c-lavender);
}

.app {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin: 1.5rem var(--gutter) 0;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    background:
        radial-gradient(ellipse at 20% 100%, rgba(74, 53, 103, 0.6), rgba(74, 53, 103, 0) 60%),
        var(--c-raised);
}

.app__device {
    justify-self: center;
}

.app__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.app__copy p {
    color: #CFCDE6;
}

.phone {
    position: relative;
    width: 210px;
    aspect-ratio: 9 / 18.5;
    padding: 9px;
    border-radius: 34px;
    background: #1A1A24;
    border: 1px solid rgba(246, 223, 169, 0.4);
    box-shadow: 0 0 0 1px #000, 0 0 28px rgba(233, 196, 126, 0.3), 0 24px 50px rgba(6, 6, 24, 0.6);
}

.phone::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    z-index: 2;
    width: 76px;
    height: 18px;
    background: #1A1A24;
    border-radius: 0 0 12px 12px;
    transform: translateX(-50%);
}

.phone__screen {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.4rem 0.7rem 0.8rem;
    overflow: hidden;
    border-radius: 26px;
    background: linear-gradient(180deg, #1B1B52 0%, #2A2160 55%, var(--c-plum) 100%);
}

.phone__sky {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.phone__brand {
    position: relative;
    margin: 0;
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.625rem;
    line-height: 1.1;
    color: var(--c-text);
}

.phone__label {
    position: relative;
    margin: 0.2rem 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--c-gold-light);
}

.phone__card {
    position: relative;
    margin-top: auto;
    padding: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--c-text);
    background: rgba(29, 29, 75, 0.94);
    border: 1px solid rgba(233, 196, 126, 0.35);
    border-radius: 16px;
}

.phone__card p {
    margin: 0;
    overflow-wrap: break-word;
}

.phone__person {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
}

.phone__avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    object-fit: cover;
    border: 1px solid var(--c-gold);
    border-radius: 50%;
}

.phone__name {
    font-size: 0.875rem;
    font-weight: 600;
}

.phone__meta {
    color: var(--c-muted);
}

.phone__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.phone__chips span {
    padding: 0.1rem 0.5rem;
    color: var(--c-gold-light);
    border: 1px solid rgba(233, 196, 126, 0.4);
    border-radius: var(--radius-pill);
}

.phone__why {
    margin-bottom: 0.4rem !important;
    color: #CFCDE6;
}

.phone__why strong {
    color: var(--c-gold-light);
    font-weight: 600;
}

.phone__evening {
    color: var(--c-muted);
}

.phone__actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.phone__actions span {
    flex: 1;
    padding: 0.3rem 0;
    text-align: center;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-pill);
}

.phone__actions .phone__yes {
    color: var(--c-base);
    background: var(--c-gold);
    border-color: var(--c-gold);
    font-weight: 600;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 52px;
    padding: 0.4rem 1rem 0.4rem 0.8rem;
    color: #fff;
    background: #000;
    border: 1px solid #8E8CB4;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.store-badge:hover {
    border-color: var(--c-gold);
    transform: translateY(-1px);
}

.store-badge svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.store-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.store-badge__small {
    font-size: 0.75rem;
}

.store-badge__big {
    font-size: 1.125rem;
    font-weight: 600;
}

.app__web {
    min-height: 44px;
    padding: 0 1.25rem;
    font-size: 0.9375rem;
}

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

@media (min-width: 1024px) {
    .duo {
        grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
        gap: 1.5rem;
        align-items: stretch;
        padding-right: max(var(--gutter), calc(50% - var(--container) / 2));
    }

    .emotion {
        min-height: 560px;
        padding: 3.5rem 3rem 3.5rem max(var(--gutter), calc((100vw - var(--container)) / 2));
    }

    .emotion::after {
        background: linear-gradient(35deg, rgba(20, 20, 58, 0.88) 0%, rgba(20, 20, 58, 0.62) 40%, rgba(20, 20, 58, 0) 78%);
    }

    .app {
        margin: 0;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .app {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================================
   HOMEPAGE - FINAL CTA
   ============================================ */
.final-cta {
    isolation: isolate;
    text-align: center;
    padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
    background:
        radial-gradient(ellipse 80% 70% at 50% 115%, rgba(108, 78, 160, 0.55), rgba(108, 78, 160, 0) 70%),
        var(--c-raised);
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 22%, rgba(246, 223, 169, 0.8), transparent 60%),
        radial-gradient(1px 1px at 28% 70%, rgba(255, 255, 255, 0.6), transparent 60%),
        radial-gradient(1px 1px at 46% 14%, rgba(255, 255, 255, 0.7), transparent 60%),
        radial-gradient(1.5px 1.5px at 72% 30%, rgba(246, 223, 169, 0.75), transparent 60%),
        radial-gradient(1px 1px at 86% 64%, rgba(255, 255, 255, 0.6), transparent 60%),
        radial-gradient(1px 1px at 92% 18%, rgba(255, 255, 255, 0.55), transparent 60%);
}

.final-cta__title {
    margin-bottom: 0.5em;
    font-size: clamp(1.75rem, 3.4vw, 2.375rem);
}

.final-cta p {
    max-width: 30rem;
    margin-inline: auto;
    color: #CFCDE6;
}

.final-cta .btn {
    margin-top: 0.5rem;
}

.final-cta .final-cta__note {
    margin-top: 1rem;
    margin-bottom: 0;
    color: var(--c-muted);
    font-size: 0.9375rem;
}

@media (prefers-reduced-motion: reduce) {
    .store-badge:hover {
        transform: none;
    }
}

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

    .btn--gold:hover,
    .related-card:hover {
        transform: none;
    }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    html, body {
        background: #fff !important;
        color: #000 !important;
    }

    .site-header,
    .site-nav,
    .legal-toc,
    .legal-hero__chips,
    .legal-hero__art,
    .related,
    .site-footer,
    .cookie-dialog,
    .skip-link {
        display: none !important;
    }

    .sky,
    .legal-hero {
        background: none !important;
        min-height: 0;
        padding: 0 0 1rem;
    }

    .sky::before {
        display: none;
    }

    .legal-hero *,
    .legal-sheet,
    .legal-sheet * {
        color: #000 !important;
    }

    .legal-hero__updated {
        border-color: #000;
    }

    .legal-main {
        padding: 0;
    }

    .legal-layout {
        display: block;
    }

    .legal-sheet {
        background: #fff !important;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        font-size: 11pt;
    }

    .legal-sheet > *,
    .legal-sheet section > * {
        max-width: none;
    }

    .callout,
    .operator-note {
        background: #fff;
        border-color: #000;
    }

    .policy-table thead th {
        background: #eee;
        color: #000;
    }

    .legal-sheet h2,
    .legal-sheet h3 {
        break-after: avoid;
    }
}