/*
 * Joymeet - design system and shared styles
 * Midnight indigo base, peach-apricot primary, soft teal accent.
 */

:root {
    /* Palette */
    --c-bg: #12122E;
    --c-bg-2: #1B1A40;
    --c-bg-deep: #0E0D26;
    --c-surface: rgba(34, 33, 74, 0.7);
    --c-surface-solid: #22214A;
    --c-surface-card: rgba(34, 33, 74, 0.72);
    --c-surface-faq: #24234C;
    --c-surface-doc: rgba(28, 27, 66, 0.8);
    --c-drawer: #15143A;
    --c-border: #3A3970;
    --c-border-strong: #4A4A8C;
    --c-border-faq: #3E3D78;
    --c-border-doc: #35346C;

    --c-peach: #F6A97A;
    --c-peach-light: #F8C49B;
    --c-peach-deep: #F09A6B;
    --c-teal: #5FD3C6;
    --c-mint: #9BEADF;

    --c-text: #EEEAF6;
    --c-muted: #B8B3D2;
    --c-ink: #1A1433;

    /* Gradients */
    --grad-peach: linear-gradient(135deg, #F8C49B 0%, #F6A97A 50%, #F09A6B 100%);
    --grad-heading: linear-gradient(180deg, #FCDDB8 0%, #F8C49B 38%, #F09A6B 100%);
    --grad-teal: linear-gradient(135deg, #5FD3C6 0%, #9BEADF 100%);
    --grad-line: linear-gradient(180deg, #F6A97A 0%, #5FD3C6 100%);

    /* Typography */
    --font-display: "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
    --font-script: "Dancing Script", "Brush Script MT", "Segoe Script", cursive;

    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-h1: clamp(2.25rem, 1.35rem + 3.8vw, 4rem);
    --fs-h2: clamp(1.875rem, 1.3rem + 2.2vw, 3rem);
    --fs-h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
    --lh-body: 1.65;

    /* Shape & depth */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius: 20px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-card: 0 18px 40px -18px rgba(8, 6, 30, 0.85), 0 0 40px -12px rgba(124, 104, 220, 0.3);
    --glow-peach: 0 0 28px rgba(246, 169, 122, 0.45);
    --glow-heading: drop-shadow(0 0 18px rgba(246, 169, 122, 0.22));

    /* Layout */
    --container: 1180px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);
    --header-h: 64px;
    --header-bottom: 64px;

    /* Motion */
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --dur-fast: 0.2s;
    --dur: 0.3s;
}

@media (min-width: 1024px) {
    :root {
        --fs-body: 1.125rem;
        --header-h: 76px;
    }
}

/* ============================================
   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-color: var(--c-bg);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--c-text);
    background-color: var(--c-bg);
    background-image: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-2) 45%, var(--c-bg) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body.menu-open {
    overflow: hidden;
}

main {
    display: block;
}

main:focus,
[tabindex="-1"]:focus {
    outline: none;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 {
    font-size: var(--fs-h3);
    color: var(--c-peach-light);
    line-height: 1.2;
}

p {
    margin: 0 0 1em;
}

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

a {
    color: var(--c-teal);
}

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

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

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

::selection {
    background: rgba(246, 169, 122, 0.35);
    color: #fff;
}

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

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

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

.skip-link:focus {
    top: 0.75rem;
}

/* Gradient heading treatment */
.heading-gradient {
    color: var(--c-peach);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .heading-gradient,
    .doc-h2-text {
        background-image: var(--grad-heading);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        filter: var(--glow-heading);
    }
}

/* ============================================
   SECTIONS & HEADINGS
   ============================================ */

.section {
    position: relative;
    isolation: isolate;
    padding-block: var(--space-section);
}

.section-head {
    max-width: 46rem;
    margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
    text-align: center;
}

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

.section-head__label {
    margin-bottom: 1.1rem;
}

.section-head__lead {
    margin-top: 1rem;
    color: var(--c-muted);
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.microline {
    color: var(--c-muted);
    font-size: var(--fs-small);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.875rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    color: var(--c-teal);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
    transition: color var(--dur-fast) ease, gap var(--dur-fast) ease;
}

.text-link:hover {
    color: var(--c-mint);
    gap: 0.6rem;
}

/* ============================================
   PILLS & CHIPS
   ============================================ */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(95, 211, 198, 0.55);
    background: rgba(95, 211, 198, 0.1);
    color: var(--c-teal);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.pill--muted {
    border-color: var(--c-border);
    background: rgba(34, 33, 74, 0.85);
    color: var(--c-muted);
}

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

.chip {
    padding: 0.2rem 0.7rem;
    border: 1px solid rgba(95, 211, 198, 0.55);
    border-radius: var(--radius-pill);
    color: var(--c-teal);
    font-size: 0.875rem;
    line-height: 1.4;
    white-space: nowrap;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) ease, filter var(--dur) ease, background-color var(--dur) ease, color var(--dur) ease;
}

.btn--primary {
    background: var(--grad-peach);
    color: var(--c-ink);
    box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.55), 0 10px 24px -10px rgba(246, 169, 122, 0.7);
}

.btn--primary:hover {
    color: var(--c-ink);
    filter: brightness(1.06);
    box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.6), 0 10px 28px -8px rgba(246, 169, 122, 0.8), var(--glow-peach);
}

.btn--glow {
    box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.55), 0 0 22px rgba(246, 169, 122, 0.45);
}

.btn--teal {
    background: var(--grad-teal);
    color: var(--c-ink);
    box-shadow: inset 0 1px 0 rgba(230, 255, 250, 0.5), 0 8px 20px -10px rgba(95, 211, 198, 0.7);
}

.btn--teal:hover {
    color: var(--c-ink);
    filter: brightness(1.05);
    box-shadow: inset 0 1px 0 rgba(230, 255, 250, 0.55), 0 0 24px rgba(95, 211, 198, 0.45);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(95, 211, 198, 0.6);
    color: var(--c-teal);
}

.btn--ghost:hover {
    background: rgba(95, 211, 198, 0.1);
    color: var(--c-mint);
}

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

.btn--sm {
    min-height: 44px;
    padding: 0.55rem 1.25rem;
    font-size: 0.9375rem;
}

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

.btn:active,
.play-badge:active {
    transform: scale(0.97);
}

.is-pressed {
    transform: scale(0.97);
    animation: cta-pulse 0.45s ease-out;
}

@keyframes cta-pulse {
    0% { box-shadow: 0 0 0 0 rgba(246, 169, 122, 0.6); }
    100% { box-shadow: 0 0 0 14px rgba(246, 169, 122, 0); }
}

/* Google Play-style badge */
.play-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 54px;
    padding: 0.45rem 1.15rem 0.45rem 0.9rem;
    border: 1px solid #8C8BA3;
    border-radius: var(--radius-sm);
    background: #000;
    color: #fff;
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform var(--dur-fast) var(--ease), border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.play-badge:hover {
    border-color: #fff;
    box-shadow: 0 0 22px rgba(95, 211, 198, 0.3);
    transform: translateY(-1px);
}

.play-badge__icon {
    flex: none;
    width: 24px;
    height: 26px;
}

.play-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.play-badge__small {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.play-badge__big {
    font-size: 1.3125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.sparkle {
    flex: none;
    color: var(--c-peach-light);
}

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

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

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(18, 18, 46, 0.78);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid rgba(58, 57, 112, 0.75);
    opacity: 0;
    transition: opacity var(--dur) ease;
}

.site-header.is-scrolled::before,
.site-header.menu-is-open::before {
    opacity: 1;
}

.site-header.menu-is-open::before {
    background: var(--c-drawer);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: var(--header-h);
}

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

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

.site-brand__text {
    font-family: var(--font-script);
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.15;
    color: var(--c-peach);
    text-shadow: 0 0 18px rgba(246, 169, 122, 0.35);
}

.site-brand__spark {
    width: 12px;
    height: 12px;
    margin-top: 0.15rem;
    color: var(--c-peach-light);
}

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

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

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

.header-actions .header-cta .header-cta__short {
    display: inline;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    background: rgba(34, 33, 74, 0.85);
    color: var(--c-text);
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform var(--dur-fast) ease, opacity var(--dur-fast) 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);
}

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

.site-nav__link {
    color: var(--c-text);
    text-decoration: none;
    font-weight: 600;
}

/* Mobile / tablet drawer */
@media (max-width: 1023.98px) {
    .site-nav {
        position: fixed;
        top: var(--header-bottom);
        right: 0;
        bottom: 0;
        left: 0;
        height: auto;
        z-index: 99;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem var(--gutter) 2.5rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--c-drawer);
        border-top: 1px solid var(--c-border);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease, visibility 0s linear var(--dur-fast);
    }

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

    .site-nav__link {
        display: flex;
        align-items: center;
        min-height: 52px;
        border-bottom: 1px solid rgba(58, 57, 112, 0.7);
        font-family: var(--font-display);
        font-size: 1.375rem;
    }

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

    .site-nav__drawer-extra {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 28rem;
    }

    .site-nav__note {
        margin: 0;
        color: var(--c-muted);
        font-size: var(--fs-small);
    }
}

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

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

@media (min-width: 1024px) {
    .site-header__inner {
        gap: 1.5rem;
    }

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

    .site-nav {
        margin-left: auto;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: clamp(1.1rem, 2vw, 1.9rem);
    }

    .site-nav__link {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        color: var(--c-muted);
        font-size: 1rem;
        transition: color var(--dur-fast) ease;
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8px;
        height: 2px;
        border-radius: 2px;
        background: var(--grad-peach);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform var(--dur) var(--ease);
    }

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

    .site-nav__link:hover::after {
        transform: scaleX(1);
    }

    .site-nav__drawer-extra,
    .menu-toggle {
        display: none;
    }

    .header-actions {
        margin-left: clamp(1rem, 2.5vw, 2.5rem);
    }

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

/* ============================================
   REVEAL & AMBIENT MOTION
   ============================================ */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

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

.twinkle {
    animation: twinkle 3.6s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

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

/* Use with pathLength="1" on SVG paths inside a [data-reveal] wrapper */
.draw-path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.js [data-reveal] .draw-path {
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.2s ease 0.2s;
}

.js [data-reveal].is-visible .draw-path {
    stroke-dashoffset: 0;
}

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

.profiles-rail {
    display: flex;
    gap: 1rem;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0.75rem var(--gutter) 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--c-border-strong) transparent;
    -webkit-overflow-scrolling: touch;
}

.profiles-rail > .profile-card {
    flex: 0 0 82%;
    max-width: 340px;
    scroll-snap-align: start;
}

.swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.25rem 0 0;
    color: var(--c-muted);
    font-size: var(--fs-small);
}

.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    border: 1px solid var(--c-border-strong);
    border-radius: var(--radius);
    background: var(--c-surface-card);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-card);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) ease, border-color var(--dur) ease;
}

.profile-card:hover,
.profile-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(246, 169, 122, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 44px -18px rgba(8, 6, 30, 0.9), 0 0 40px -8px rgba(246, 169, 122, 0.3);
}

.profile-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--c-bg-2);
}

.profile-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 35%;
    background: linear-gradient(180deg, rgba(34, 33, 74, 0) 0%, rgba(34, 33, 74, 0.75) 100%);
    pointer-events: none;
}

.profile-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.6s var(--ease);
}

.profile-card:hover .profile-card__media img {
    transform: scale(1.03);
}

.profile-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem 0.5rem 0.4rem;
}

.profile-card__name {
    font-size: 1.375rem;
    color: var(--c-text);
}

.profile-card__age {
    color: var(--c-peach-light);
    font-weight: 500;
}

.profile-card__city {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--c-muted);
    font-size: var(--fs-small);
}

.profile-card__city svg {
    flex: none;
    color: var(--c-peach);
}

.profile-card__desc {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
}

.profile-card__shared {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.1rem 0 0;
    color: var(--c-teal);
    font-size: 0.9375rem;
    font-weight: 600;
}

.profile-card__shared-icon {
    color: var(--c-teal);
}

.profile-card .profile-card__cta {
    align-self: center;
    min-width: 62%;
    margin-top: auto;
}

.profile-card__body .chips + .profile-card__shared,
.profile-card__body .profile-card__shared + .profile-card__cta {
    margin-top: 0.4rem;
}

@media (min-width: 768px) {
    .profiles-rail {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        margin-inline: 0;
        padding: 0.5rem 0 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    .profiles-rail > .profile-card {
        max-width: none;
    }

    .swipe-hint {
        display: none;
    }
}

@media (min-width: 1024px) {
    .profiles-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
        padding-top: 3rem;
    }

    .profiles-rail > .profile-card:nth-child(3n + 2) {
        transform: translateY(-40px);
    }

    .profiles-rail > .profile-card:nth-child(3n + 2):hover,
    .profiles-rail > .profile-card:nth-child(3n + 2):focus-within {
        transform: translateY(-44px);
    }
}

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

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    max-width: 52rem;
    margin-inline: auto;
}

.faq-item {
    border: 1px solid var(--c-border-faq);
    border-radius: 14px;
    background: var(--c-surface-faq);
    overflow: hidden;
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.faq-item.is-open {
    border-color: rgba(246, 169, 122, 0.6);
    box-shadow: 0 0 0 1px rgba(246, 169, 122, 0.15), 0 0 28px -6px rgba(246, 169, 122, 0.45);
}

.faq-item__heading {
    margin: 0;
    font-size: inherit;
    color: inherit;
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 60px;
    padding: 1rem 1.25rem;
    border: 0;
    background: transparent;
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background-color var(--dur-fast) ease;
}

.faq-trigger:hover {
    background: rgba(70, 72, 140, 0.3);
}

.faq-item.is-open .faq-trigger {
    background: rgba(70, 72, 140, 0.45);
}

.faq-trigger:focus-visible {
    outline: 2px solid var(--c-teal);
    outline-offset: -2px;
    border-radius: 14px;
}

.faq-chevron {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--c-peach);
    transition: transform var(--dur-fast) ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-panel {
    display: grid;
    grid-template-rows: 1fr;
}

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

.faq-panel__content {
    padding: 1rem 1.25rem 1.35rem;
    color: var(--c-muted);
}

.faq-panel__content p + p,
.faq-panel__content p + ul,
.faq-panel__content ul + p {
    margin-top: 0.75rem;
}

.faq-panel__content ul,
.faq-panel__content ol {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.faq-panel__content li::marker {
    color: var(--c-peach);
}

.js .faq-panel {
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows var(--dur-fast) ease, visibility 0s linear var(--dur-fast);
}

.js .faq-item.is-open .faq-panel {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows var(--dur-fast) ease, visibility 0s;
}

.js .faq-panel__inner {
    opacity: 0;
    transition: opacity var(--dur-fast) ease;
}

.js .faq-item.is-open .faq-panel__inner {
    opacity: 1;
}

@media (min-width: 768px) {
    .faq-trigger {
        padding: 1.1rem 1.5rem;
        font-size: 1.125rem;
    }

    .faq-panel__content {
        padding: 1.1rem 1.5rem 1.5rem;
    }
}

/* ============================================
   LEGAL DOCUMENT LAYOUT
   ============================================ */

.doc-hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: clamp(2.75rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
    background:
        radial-gradient(ellipse 70% 90% at 25% 0%, rgba(84, 62, 160, 0.55) 0%, rgba(84, 62, 160, 0) 70%),
        radial-gradient(ellipse 50% 70% at 85% 10%, rgba(110, 70, 150, 0.35) 0%, rgba(110, 70, 150, 0) 70%),
        linear-gradient(180deg, #17163F 0%, var(--c-bg) 100%);
}

.doc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(1.4px 1.4px at 24px 36px, rgba(255, 244, 230, 0.9), transparent),
        radial-gradient(1px 1px at 120px 90px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.6px 1.6px at 200px 20px, rgba(248, 196, 155, 0.9), transparent),
        radial-gradient(1px 1px at 70px 150px, rgba(155, 234, 223, 0.8), transparent),
        radial-gradient(1.2px 1.2px at 260px 130px, rgba(255, 255, 255, 0.75), transparent);
    background-size: 300px 180px;
}

.doc-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    z-index: -1;
    background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(95, 211, 198, 0.16) 0%, rgba(95, 211, 198, 0) 70%);
}

.doc-hero__inner {
    position: relative;
}

.doc-hero__constellation {
    display: block;
    width: clamp(130px, 30vw, 220px);
    height: auto;
    margin-bottom: 1rem;
}

.doc-hero__title {
    max-width: 18ch;
}

.doc-hero__updated {
    margin: 1.25rem 0 1.25rem;
}

.doc-hero__intro {
    max-width: 62ch;
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
    color: var(--c-text);
}

@media (min-width: 1024px) {
    .doc-hero__constellation {
        position: absolute;
        top: -0.5rem;
        right: var(--gutter);
        margin: 0;
    }

    .doc-hero--curve4 .doc-hero__constellation {
        position: static;
        margin-bottom: 1rem;
    }

    .doc-hero--curve4 .doc-hero__inner {
        padding-left: 0;
    }
}

.doc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding-bottom: var(--space-section);
}

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

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

.doc-toc__list a {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.55rem 0;
    color: var(--c-muted);
    font-size: var(--fs-small);
    line-height: 1.35;
    text-decoration: none;
    transition: color var(--dur-fast) ease;
}

.doc-toc__list a:hover {
    color: var(--c-peach-light);
}

.doc-toc__num {
    flex: none;
    min-width: 2ch;
    color: var(--c-teal);
    font-family: var(--font-display);
    font-weight: 600;
}

.doc-toc--mobile {
    border: 1px solid var(--c-border-doc);
    border-radius: var(--radius);
    background: var(--c-surface-doc);
}

.doc-toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    padding: 0.75rem 1.25rem;
    color: var(--c-peach-light);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.doc-toc__chevron {
    flex: none;
    color: var(--c-peach);
    transition: transform var(--dur-fast) ease;
}

.doc-toc--mobile[open] .doc-toc__chevron {
    transform: rotate(180deg);
}

.doc-toc--mobile .doc-toc__list {
    padding: 0 1.25rem 1rem;
    border-top: 1px solid var(--c-border-doc);
}

.doc-toc--desktop {
    display: none;
}

@media (min-width: 1024px) {
    .doc-toc--mobile {
        display: none;
    }

    .doc-toc--desktop {
        display: block;
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
        max-height: calc(100vh - var(--header-h) - 3rem);
        overflow-y: auto;
        padding: 1.25rem 1.25rem 1rem;
        border: 1px solid var(--c-border-doc);
        border-radius: var(--radius);
        background: var(--c-surface-doc);
    }

    .doc-toc__title {
        margin: 0 0 0.5rem;
        color: var(--c-peach-light);
        font-family: var(--font-display);
        font-size: 1.125rem;
        font-weight: 600;
    }
}

.doc-panel {
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--c-border-doc);
    border-radius: var(--radius-lg);
    background: var(--c-surface-doc);
    box-shadow: var(--shadow-card);
}

.doc-panel > * {
    max-width: 70ch;
}

.doc-section {
    overflow: visible;
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.doc-section + .doc-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(53, 52, 108, 0.75);
}

.doc-section h2 {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
}

.doc-num {
    flex: none;
    min-width: 2ch;
    color: var(--c-teal);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.doc-h2-text {
    color: var(--c-peach);
}

.doc-section h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1875rem;
}

.doc-section p,
.doc-section li {
    line-height: 1.7;
}

.doc-section ul,
.doc-section ol {
    margin: 0 0 1em;
    padding-left: 1.35rem;
}

.doc-section li + li {
    margin-top: 0.4rem;
}

.doc-section li::marker {
    color: var(--c-peach);
}

.doc-section a:not([class]) {
    color: var(--c-teal);
}

.doc-callout {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--c-teal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(95, 211, 198, 0.08);
}

.doc-table-wrap {
    margin: 1.25rem 0;
    overflow-x: auto;
    border: 1px solid var(--c-border-doc);
    border-radius: var(--radius-md);
}

.doc-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 1rem;
}

.doc-table th,
.doc-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--c-border-doc);
    text-align: left;
    vertical-align: top;
}

.doc-table th {
    color: var(--c-peach-light);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    background: rgba(34, 33, 74, 0.7);
}

.doc-table tbody tr:last-child td {
    border-bottom: 0;
}

.doc-table-hint {
    margin: 0.5rem 0 0;
    color: var(--c-muted);
    font-size: 0.875rem;
}

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

.contact-card {
    position: relative;
    margin-top: 1.5rem;
    padding: 1.75rem 1.5rem 1.25rem;
    border: 1px solid rgba(246, 169, 122, 0.45);
    border-radius: var(--radius);
    background: rgba(34, 33, 74, 0.75);
    box-shadow: 0 0 30px -12px rgba(246, 169, 122, 0.35);
}

.contact-card__star {
    position: absolute;
    top: -11px;
    left: 1.25rem;
    color: var(--c-peach-light);
    filter: drop-shadow(0 0 8px rgba(246, 169, 122, 0.7));
}

.contact-card__address {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
    font-style: normal;
}

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

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-top: clamp(3.5rem, 6vw, 5rem);
    border-top: 1px solid rgba(246, 169, 122, 0.3);
    background-color: var(--c-bg);
}

.site-footer__sky {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("/assets/c9c8278be35eb69d195945e817a64a35.webp");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.site-footer__sky::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--c-bg) 0%, rgba(18, 18, 46, 0.7) 35%, rgba(18, 18, 46, 0) 65%);
}

.site-footer__constellation {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 62%;
    pointer-events: none;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
}

.footer-brand__logo {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--c-peach);
    font-family: var(--font-script);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    text-shadow: 0 0 18px rgba(246, 169, 122, 0.35);
}

.footer-brand__logo:hover {
    color: var(--c-peach-light);
}

.footer-brand__desc {
    max-width: 34ch;
    margin-top: 0.75rem;
    color: var(--c-muted);
}

.footer-col__title {
    margin-bottom: 0.75rem;
    color: var(--c-peach-light);
    font-size: 1.125rem;
    letter-spacing: 0.02em;
}

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

.footer-col__list a {
    display: inline-block;
    padding: 0.55rem 0;
    color: var(--c-muted);
    line-height: 1.4;
    text-decoration: none;
    transition: color var(--dur-fast) ease;
}

.footer-col__list a:hover {
    color: var(--c-text);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-col__text {
    margin-bottom: 1rem;
    color: var(--c-muted);
}

.footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.site-footer__mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: clamp(4.5rem, 12vw, 9rem) 0 1.5rem;
    text-align: center;
}

.site-footer__planet {
    width: 56px;
    height: 42px;
    filter: drop-shadow(0 0 10px rgba(95, 211, 198, 0.45));
}

.site-footer__wordmark {
    color: var(--c-peach);
    font-family: var(--font-script);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 0 18px rgba(246, 169, 122, 0.4);
}

.site-footer__copy {
    margin-top: 0.5rem;
    color: var(--c-muted);
    font-size: var(--fs-small);
}

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

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1.35fr 1fr 1fr 1.35fr;
        gap: 2.5rem;
    }
}

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

    .twinkle {
        animation: none !important;
    }

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

    .js [data-reveal] .draw-path {
        stroke-dashoffset: 0;
    }

    .btn:active,
    .play-badge:active,
    .is-pressed,
    .play-badge:hover,
    .profile-card:hover,
    .profile-card:focus-within {
        transform: none;
    }

    .profile-card:hover .profile-card__media img {
        transform: none;
    }

    .profiles-rail > .profile-card:nth-child(3n + 2):hover,
    .profiles-rail > .profile-card:nth-child(3n + 2):focus-within {
        transform: translateY(-40px);
    }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1023.98px) {
    .profiles-rail > .profile-card:nth-child(3n + 2):hover,
    .profiles-rail > .profile-card:nth-child(3n + 2):focus-within {
        transform: none;
    }
}

/* ============================================
   HOME: HERO
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    margin-top: calc(-1 * var(--header-h));
    padding-top: calc(var(--header-h) + clamp(1.25rem, 4vw, 3.5rem));
}

.hero__sky {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: var(--c-bg);
    background-image: url("/assets/40aca1b22879e4fed1590debd9b3410b.webp");
    background-size: cover;
    background-position: center 78%;
    background-repeat: no-repeat;
}

.hero__sky::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(18, 18, 46, 0.92) 0%, rgba(18, 18, 46, 0.72) 32%, rgba(18, 18, 46, 0) 52%),
        radial-gradient(ellipse 80% 75% at 50% 64%, rgba(18, 18, 46, 0) 50%, var(--c-bg) 100%),
        linear-gradient(180deg, rgba(18, 18, 46, 0) 82%, var(--c-bg) 100%);
}

.hero__copy {
    position: relative;
    max-width: 44rem;
}

.hero__lead {
    margin: 1.1rem 0 1.5rem;
    max-width: 38rem;
    color: var(--c-text);
    font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.25rem;
    margin-top: 0.75rem;
}

.hero__micro {
    margin: 0;
}

.hero__stage {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 2.5rem 0 4.5rem;
}

.hero__loop {
    position: absolute;
    top: 42%;
    left: 50%;
    width: 160%;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 4px rgba(246, 169, 122, 0.45));
    pointer-events: none;
}

@media (max-width: 479.98px) {
    .hero__loop-lower {
        display: none;
    }

    .hero__ctas .hero__join {
        width: 100%;
    }
}

/* Phone mockup (code-native illustration) */
.phone {
    position: relative;
    z-index: 1;
    width: 17.5em;
    height: 35em;
    padding: 0.6em;
    border-radius: 2.5em;
    background: linear-gradient(160deg, #3A3A4A 0%, #1C1C26 45%, #121219 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.14),
        0 0 0 1px rgba(10, 10, 20, 0.8),
        0 0 46px rgba(95, 211, 198, 0.38),
        0 34px 60px -24px rgba(0, 0, 0, 0.75);
    font-size: 12.5px;
    line-height: 1.35;
}

.phone__notch {
    position: absolute;
    top: 0.6em;
    left: 50%;
    z-index: 2;
    width: 6.5em;
    height: 1.4em;
    border-radius: 0 0 0.9em 0.9em;
    background: #0B0B12;
    transform: translateX(-50%);
}

.phone__screen {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85em;
    height: 100%;
    padding: 2.3em 1em 1em;
    overflow: hidden;
    border-radius: 2em;
    background:
        radial-gradient(ellipse 90% 50% at 50% 0%, rgba(124, 104, 220, 0.35), rgba(124, 104, 220, 0) 70%),
        linear-gradient(180deg, #1F1D4A 0%, #131233 100%);
}

.phone__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phone__logo {
    color: var(--c-peach);
    font-family: var(--font-script);
    font-size: 1.45em;
    font-weight: 700;
    line-height: 1;
}

.phone__chip {
    display: grid;
    place-items: center;
    width: 2.1em;
    height: 2.1em;
    border: 1px solid rgba(95, 211, 198, 0.7);
    border-radius: 50%;
    background: rgba(34, 33, 74, 0.9);
}

.phone__chip svg {
    width: 1.2em;
    height: 1.2em;
}

.phone__card {
    display: flex;
    flex-direction: column;
    gap: 0.35em;
    padding: 0.9em;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2em;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone__pair {
    display: block;
    width: 100%;
    margin-bottom: 0.3em;
    border-radius: 0.8em;
    background: radial-gradient(ellipse at 50% 60%, rgba(95, 211, 198, 0.16), rgba(18, 18, 46, 0.6));
}

.phone__eyebrow {
    color: var(--c-teal);
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.phone__line {
    color: var(--c-text);
    font-size: 1.05em;
    font-weight: 600;
}

.phone__btn {
    display: block;
    padding: 0.75em 1em;
    border-radius: var(--radius-pill);
    background: var(--grad-teal);
    color: var(--c-ink);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 0 18px rgba(95, 211, 198, 0.35);
}

.phone__next {
    color: var(--c-muted);
    font-size: 0.9em;
    text-align: center;
}

.phone__tabs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: auto;
    padding-top: 0.8em;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.phone__tabs span {
    width: 0.55em;
    height: 0.55em;
    border-radius: 50%;
    background: #6D6A96;
}

.phone__tabs .is-active {
    background: var(--c-teal);
    box-shadow: 0 0 8px rgba(95, 211, 198, 0.8);
}

@media (min-width: 768px) {
    .hero__loop {
        width: 120%;
    }

    .phone {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    .hero__stage {
        padding: 3rem 0 6rem;
    }

    .hero__loop {
        width: 920px;
    }

    .phone {
        font-size: 16px;
    }
}

/* ============================================
   HOME: WHY
   ============================================ */

.why__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
}

.why-item {
    max-width: 22rem;
    margin-inline: auto;
    text-align: center;
}

.why-item__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    transition: transform var(--dur) var(--ease);
}

.why-item__icon::before {
    content: "";
    position: absolute;
    inset: -14px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 169, 122, 0.32) 0%, rgba(246, 169, 122, 0.08) 45%, rgba(246, 169, 122, 0) 70%);
}

.why-item__icon svg {
    width: 96px;
    height: 96px;
    filter: drop-shadow(0 0 6px rgba(246, 169, 122, 0.55));
}

.why-item:hover .why-item__icon {
    transform: translateY(-2px);
}

.why-item h3 {
    margin-bottom: 0.65rem;
}

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

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

/* ============================================
   HOME: HOW IT WORKS
   ============================================ */

.steps-wrap {
    position: relative;
}

.steps {
    position: relative;
    display: grid;
    gap: 2.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps__line {
    position: absolute;
    top: 44px;
    left: 42px;
    width: 4px;
    height: calc(100% - 88px);
    max-width: none;
    pointer-events: none;
}

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

.step__orb {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(155, 234, 223, 0.26) 0%, rgba(110, 92, 190, 0.42) 45%, rgba(40, 34, 92, 0.75) 100%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 0 18px rgba(95, 211, 198, 0.35), 0 0 30px rgba(246, 169, 122, 0.32);
}

.step__orb svg {
    width: 36px;
    height: 36px;
}

.step__num {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--c-teal);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.step h3 {
    margin-bottom: 0.5rem;
}

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

.how__more {
    margin-top: 2.5rem;
    text-align: center;
}

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

    .steps-wrap::before {
        content: "";
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        z-index: -1;
        aspect-ratio: 1920 / 700;
        background-image: url("/assets/885af971f72a39153be17a6287d4eeba.webp");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        transform: translateY(-53%);
        pointer-events: none;
    }

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

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

    .step:nth-child(2) {
        margin-top: 48px;
    }

    .step__orb {
        width: 132px;
        height: 132px;
        margin-bottom: 1.25rem;
    }

    .step__orb svg {
        width: 48px;
        height: 48px;
    }
}

@media (min-width: 1024px) {
    .steps {
        gap: 3rem;
    }
}

/* ============================================
   HOME: PROFILES
   ============================================ */

.profiles__sky {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, var(--c-bg-2) 0%, rgba(27, 26, 64, 0) 14%, rgba(27, 26, 64, 0) 86%, var(--c-bg-2) 100%),
        linear-gradient(135deg, rgba(18, 18, 46, 0) 30%, rgba(95, 211, 198, 0.12) 42%, rgba(142, 123, 216, 0.24) 50%, rgba(246, 169, 122, 0.1) 57%, rgba(18, 18, 46, 0) 70%),
        radial-gradient(1.3px 1.3px at 30px 40px, rgba(255, 244, 230, 0.85), transparent),
        radial-gradient(1px 1px at 140px 110px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 220px 30px, rgba(248, 196, 155, 0.85), transparent),
        radial-gradient(1px 1px at 90px 170px, rgba(155, 234, 223, 0.75), transparent),
        linear-gradient(180deg, var(--c-bg-2), #17163C);
    background-size: auto, auto, 260px 200px, 260px 200px, 260px 200px, 260px 200px, auto;
}

.profiles__lines {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    max-width: none;
    filter: drop-shadow(0 0 4px rgba(246, 169, 122, 0.5));
    pointer-events: none;
}

.profiles__note {
    max-width: 40rem;
    margin: 2rem auto 0;
    color: var(--c-muted);
    font-size: var(--fs-small);
    text-align: center;
}

/* ============================================
   HOME: FEATURES (FREE + PREMIUM)
   ============================================ */

.plans {
    position: relative;
    max-width: 1000px;
    margin-inline: auto;
    padding-block: 2rem;
}

.plans::before {
    content: "";
    position: absolute;
    inset: -10% -20%;
    z-index: -2;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(95, 211, 198, 0.2) 0%, rgba(95, 211, 198, 0) 70%);
    pointer-events: none;
}

.plans__net {
    position: absolute;
    top: 0;
    left: calc(-1 * var(--gutter));
    z-index: -1;
    width: calc(100% + 2 * var(--gutter));
    height: 100%;
    max-width: none;
    filter: drop-shadow(0 0 3px rgba(246, 169, 122, 0.55));
    pointer-events: none;
}

.plans__net .net-center {
    display: none;
}

.plans__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--c-border-strong);
    border-radius: var(--radius-lg);
    background: rgba(34, 33, 74, 0.7);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-card);
}

.plans__panel {
    padding: clamp(1.75rem, 4vw, 2.75rem);
}

.plans__panel--core {
    background: rgba(31, 30, 70, 0.9);
}

.plans__panel--premium {
    border-top: 1px solid var(--c-border-strong);
    background: rgba(42, 37, 80, 0.94);
    box-shadow: inset 0 0 70px rgba(246, 169, 122, 0.12);
}

.plans__title {
    font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
}

.plans__panel--core .plans__title {
    color: var(--c-mint);
}

.plans__tag {
    margin: 0.4rem 0 0;
    color: var(--c-muted);
    font-size: var(--fs-small);
}

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

.plan-list__item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.plan-list__star {
    margin-top: 0.3rem;
    color: var(--c-peach);
    filter: drop-shadow(0 0 4px rgba(246, 169, 122, 0.7));
}

.plan-list__glyph {
    margin-top: 0.15rem;
    filter: drop-shadow(0 0 3px rgba(246, 169, 122, 0.6));
}

.plan-list__name {
    display: block;
    font-size: 1.0625rem;
}

.plan-list__desc {
    display: block;
    margin-top: 0.15rem;
    color: var(--c-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.plans__cta {
    margin-top: 2rem;
}

.plans__cta .btn {
    white-space: normal;
}

.plans__cta .microline {
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .plans {
        padding-block: 3rem;
    }

    .plans__net {
        top: -40px;
        left: -70px;
        width: calc(100% + 140px);
        height: calc(100% + 80px);
    }

    .plans__net .net-center {
        display: inline;
    }

    .plans__card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plans__panel--premium {
        border-top: 0;
        border-left: 1px solid var(--c-border-strong);
    }
}

@media (min-width: 1024px) {
    .plans__net {
        left: -110px;
        width: calc(100% + 220px);
    }
}

/* ============================================
   HOME: TRUST & SAFETY
   ============================================ */

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

.trust__shield {
    position: relative;
    width: min(280px, 72%);
    margin: 0 auto 1.75rem;
}

.trust__shield::before {
    content: "";
    position: absolute;
    inset: -22%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 169, 122, 0.36) 0%, rgba(95, 211, 198, 0.2) 38%, rgba(95, 211, 198, 0) 70%);
}

.trust__shield img {
    display: block;
    width: 100%;
    height: auto;
}

.trust__intro h3 {
    margin-bottom: 0.75rem;
}

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

.trust__tip {
    margin-top: 1.25rem;
    padding: 0.9rem 1.1rem;
    border-left: 3px solid var(--c-teal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(95, 211, 198, 0.08);
}

.trust__branch {
    position: relative;
    padding-left: 2.5rem;
}

.trust__branch::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: 11px;
    width: 2px;
    border-radius: 2px;
    background: var(--grad-line);
}

.trust__map,
.trust__bigstar {
    display: none;
}

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

.trust-item {
    position: relative;
}

.trust-item__star {
    position: absolute;
    top: 0.05rem;
    left: -39px;
    color: var(--c-peach-light);
    filter: drop-shadow(0 0 6px rgba(246, 169, 122, 0.8));
}

.trust-item h3 {
    margin-bottom: 0.5rem;
}

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

.trust-item__marker {
    display: block;
    margin-top: 0.6rem;
}

@media (min-width: 1024px) {
    .trust__grid {
        grid-template-columns: 5fr 7fr;
        gap: 4rem;
        align-items: center;
    }

    .trust__shield {
        width: min(300px, 80%);
    }

    .trust__branch {
        padding-left: 200px;
    }

    .trust__branch::before {
        display: none;
    }

    .trust__map {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 180px;
        height: 100%;
        max-width: none;
        filter: drop-shadow(0 0 4px rgba(246, 169, 122, 0.6));
    }

    .trust__bigstar {
        display: block;
        position: absolute;
        top: 50%;
        left: 12px;
        width: 56px;
        height: 56px;
        transform: translateY(-50%);
        filter: drop-shadow(0 0 14px rgba(246, 169, 122, 0.85));
    }

    .trust__items {
        grid-auto-rows: 1fr;
        gap: 0;
    }

    .trust-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-block: 1rem;
    }

    .trust-item__star {
        top: 50%;
        left: -24px;
        transform: translateY(-50%);
    }
}

/* ============================================
   HOME: STORIES
   ============================================ */

.stories__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
}

.stories__media {
    position: relative;
    margin: 0;
}

.stories__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 70% center;
    border: 1px solid rgba(246, 169, 122, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -25px rgba(70, 50, 160, 0.7), 0 0 40px -12px rgba(124, 104, 220, 0.35);
}

.stories__ornament {
    position: absolute;
    top: -14px;
    right: -10px;
    color: var(--c-peach-light);
    filter: drop-shadow(0 0 10px rgba(246, 169, 122, 0.85));
}

.stories__list {
    display: grid;
    gap: 2rem;
}

.scenario {
    position: relative;
    padding: 0.25rem 0 0.25rem 1.5rem;
}

.scenario::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    border-radius: 2px;
    background: var(--grad-line);
}

.scenario h3 {
    margin-bottom: 0.5rem;
}

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

@media (min-width: 1024px) {
    .stories__grid {
        grid-template-columns: 45fr 55fr;
        gap: 4rem;
        align-items: stretch;
    }

    .stories__media img {
        height: 100%;
        min-height: 380px;
        aspect-ratio: auto;
    }

    .stories__list {
        align-content: center;
    }
}

/* ============================================
   HOME: FINAL CTA
   ============================================ */

.final {
    text-align: center;
    padding-bottom: clamp(5rem, 4rem + 5vw, 9rem);
}

.final::before,
.final::after {
    content: "";
    position: absolute;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
    pointer-events: none;
}

.final::before {
    bottom: -30%;
    width: 160%;
    height: 90%;
    background: radial-gradient(ellipse 50% 50% at 50% 100%, rgba(95, 211, 198, 0.26) 0%, rgba(95, 211, 198, 0) 75%);
}

.final::after {
    bottom: 5%;
    width: min(620px, 90%);
    height: 55%;
    background: radial-gradient(ellipse 50% 50% at 50% 70%, rgba(246, 169, 122, 0.22) 0%, rgba(246, 169, 122, 0) 72%);
}

.final__inner {
    max-width: 46rem;
}

.final__arc {
    display: block;
    width: min(260px, 70%);
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 0 4px rgba(246, 169, 122, 0.6));
}

.final__lead {
    max-width: 36rem;
    margin: 1rem auto 2rem;
    color: var(--c-muted);
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.final__ctas {
    justify-content: center;
}

.final__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .why-item:hover .why-item__icon {
        transform: none;
    }
}