/*
 * Couple - shared design system
 */

:root {
    --color-bg: #FBF7F2;
    --color-surface: #FFFFFF;
    --color-sand: #F4E9E0;
    --color-blush: #F6E5DD;
    --color-text: #1E2633;
    --color-muted: #4A5361;
    --color-line: #E7DCD2;
    --color-accent: #B0523A;
    --color-accent-strong: #933F2A;
    --color-rust: #8A3B27;
    --color-blue: #8DA7C2;
    --color-blue-deep: #4F6E8F;
    --color-blue-tint: #C9D8E6;
    --color-peach: #F6CDB4;
    --color-white: #FFFFFF;

    --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-h3: 1.1875rem;
    --fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.625rem);
    --fs-h1: clamp(2.25rem, 1.5rem + 3.6vw, 4rem);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(30, 38, 51, 0.06);
    --shadow-md: 0 10px 30px rgba(30, 38, 51, 0.09);
    --shadow-lg: 0 24px 60px rgba(30, 38, 51, 0.14);

    --space-section: clamp(4rem, 3rem + 4vw, 7rem);
    --container: 1180px;
    --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
    --header-bottom: 68px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============ Overflow safety net ============ */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

pre, code { max-width: 100%; overflow-x: auto; }

.table-wrapper { 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, article) a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

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

section { overflow: clip; }

/* ============ Base ============ */
html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-bottom) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

h1, h2 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; font-family: var(--font-body); }

p { margin: 0 0 1em; }

a { color: var(--color-accent); }
a:hover { color: var(--color-accent-strong); }

img { display: block; }

:focus-visible {
    outline: 3px solid var(--color-blue-deep);
    outline-offset: 3px;
    border-radius: 6px;
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 200;
    background: var(--color-text);
    color: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--color-white); }

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

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn:focus-visible {
    outline: 3px solid var(--color-blue-deep);
    outline-offset: 3px;
    border-radius: var(--radius-pill);
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 6px 18px rgba(176, 82, 58, 0.28);
}
.btn--primary:hover { background: var(--color-accent-strong); color: var(--color-white); }

.btn--light {
    background: var(--color-white);
    color: var(--color-accent-strong);
    box-shadow: var(--shadow-md);
}
.btn--light:hover { background: var(--color-bg); color: var(--color-rust); }
.btn--light:focus-visible,
.btn--outline-light:focus-visible { outline-color: var(--color-white); }

.btn--outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn--outline-light:hover { background: var(--color-white); color: var(--color-accent-strong); }

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}
.btn--ghost:hover { background: var(--color-text); color: var(--color-white); }

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

.reassurance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
    font-size: var(--fs-small);
    color: var(--color-muted);
}

/* ============ Store badges ============ */
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 56px;
    padding: 0.55rem 1.15rem;
    background: #111418;
    color: var(--color-white);
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-badge:focus-visible { outline: 3px solid var(--color-blue-deep); outline-offset: 3px; border-radius: 12px; }
.store-badge__icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge__text small { font-size: 0.75rem; letter-spacing: 0.02em; }
.store-badge__text strong { font-size: 1.125rem; font-weight: 500; }

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 68px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-accent);
    text-decoration: none;
    flex-shrink: 0;
}
.site-brand:hover { color: var(--color-accent-strong); }
.site-brand__mark { width: 30px; height: 22px; }
.site-brand__text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    line-height: 1;
}

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

.header-actions .header-cta {
    min-height: 44px;
    padding: 0.55rem 1rem;
    font-size: 0.9375rem;
    box-shadow: none;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    cursor: pointer;
    color: var(--color-text);
}
.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    background: var(--color-bg);
    overflow-y: auto;
    padding: 1rem var(--gutter) 2rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
    z-index: 99;
}
.site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-text);
    font-weight: 500;
    font-size: 1.125rem;
    text-decoration: none;
}
.site-nav__link:hover { color: var(--color-accent); }

@media (max-width: 359px) {
    .site-brand__mark { display: none; }
    .header-actions .header-cta { padding: 0.5rem 0.8rem; }
}

@media (min-width: 768px) {
    .menu-toggle { display: none; }
    .header-inner { min-height: 76px; }
    .site-nav {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        padding: 0;
        background: transparent;
        overflow: visible;
        transition: none;
        margin-left: auto;
    }
    .site-nav__list { display: flex; gap: clamp(0.75rem, 2vw, 1.75rem); }
    .site-nav__link {
        min-height: 44px;
        border-bottom: 2px solid transparent;
        font-size: 0.9875rem;
    }
    .site-nav__link:hover { border-bottom-color: var(--color-accent); }
    .header-actions .header-cta { padding: 0.65rem 1.4rem; }
    .site-brand__text { font-size: 1.85rem; }
}

/* ============ Section heading ============ */
.section-heading { max-width: 720px; margin: 0 auto 2.75rem; }
.section-heading--center { text-align: center; }
.section-heading--left { margin-left: 0; }
.section-heading__intro { color: var(--color-muted); font-size: 1.125rem; margin: 0; }
.section-heading--light .section-heading__title,
.section-heading--light .section-heading__intro { color: var(--color-white); }

/* ============ Icons ============ */
.icon { flex-shrink: 0; color: var(--color-accent); }

/* ============ Profile cards ============ */
.profile-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.profile-card__media { position: relative; margin: 0.6rem 0.6rem 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--color-sand); }
.profile-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.profile-card__tag {
    position: absolute;
    left: 0.6rem;
    bottom: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    background: var(--color-white);
    color: var(--color-text);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}
.profile-card__tag .icon { color: var(--color-accent); }
.profile-card__body { padding: 1rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.profile-card__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.375rem; margin: 0; }
.profile-card__intro { margin: 0; color: var(--color-muted); font-size: var(--fs-small); }

.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.chip {
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--color-blush);
    color: var(--color-rust);
    font-size: 0.875rem;
    font-weight: 500;
}
.chip:nth-child(2n) { background: #E5EDF5; color: #3E5B7A; }

/* ============ FAQ accordion ============ */
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; align-items: stretch; max-width: 820px; margin: 0 auto; }
.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 24px;
    align-self: start;
    width: 100%;
    transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.faq-item.is-open { box-shadow: var(--shadow-sm); border-color: #DCC9BB; }
.faq-item__heading { margin: 0; font-size: 1.0625rem; }
.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 56px;
    padding: 0.9rem 1.4rem;
    background: transparent;
    border: 0;
    border-radius: 24px;
    color: var(--color-text);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}
.faq-item__trigger:hover { color: var(--color-accent-strong); }
.faq-item__trigger:focus-visible { outline-offset: -3px; border-radius: 24px; }
.faq-item__chevron { transition: transform 0.25s var(--ease); color: var(--color-accent); }
.faq-item__trigger[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__panel[hidden] { display: none; }
.faq-item__answer { padding: 0 1.4rem 1.25rem; color: var(--color-muted); }
.faq-item__answer p:last-child { margin-bottom: 0; }

/* ============ Wave lines ============ */
.wave-lines { display: block; width: 100%; height: 28px; pointer-events: none; }

/* ============ Legal pages ============ */
.legal-hero {
    position: relative;
    background: var(--color-sand);
    padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 0;
}
.legal-hero__inner { max-width: calc(72ch + 2 * var(--gutter)); padding-bottom: 2.5rem; }
.legal-hero__kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-pill);
    background: var(--color-white);
    color: var(--color-rust);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.legal-hero__title { color: var(--color-accent-strong); margin-bottom: 0.4rem; }
.legal-hero__updated { color: var(--color-muted); font-size: var(--fs-small); }
.legal-hero__summary { font-size: 1.125rem; }
.legal-toc {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.legal-toc__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.legal-toc__list { margin: 0; padding-left: 1.25rem; columns: 1; column-gap: 2rem; }
.legal-toc__list li { padding: 0.2rem 0; break-inside: avoid; }
.legal-toc__list a { display: inline-block; padding: 0.3rem 0; color: var(--color-text); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }
.legal-toc__list a:hover { color: var(--color-accent-strong); }
.legal-hero .wave-lines { position: relative; bottom: -1px; }

@media (min-width: 768px) {
    .legal-toc__list { columns: 2; }
}

.prose {
    max-width: calc(72ch + 2 * var(--gutter));
    margin-inline: auto;
    padding: clamp(2.5rem, 2rem + 2vw, 4rem) var(--gutter) var(--space-section);
}
.prose section { overflow: visible; padding-top: 0.5rem; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 1.9rem); margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; margin-bottom: 0.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--color-accent); }

.callout {
    margin: 1.75rem 0;
    padding: 1.15rem 1.35rem;
    background: var(--color-blush);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-sm);
}
.callout p:last-child { margin-bottom: 0; }
.callout a { color: var(--color-accent-strong); }
.callout a:hover { color: var(--color-rust); }

.legal-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 560px; }
.table-wrapper { border: 1px solid var(--color-line); border-radius: var(--radius-md); margin: 1.5rem 0; background: var(--color-white); }
.legal-table th, .legal-table td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-line); }
.legal-table thead th { background: var(--color-sand); font-weight: 700; }
.legal-table tbody tr:last-child td { border-bottom: 0; }

.legal-cta {
    margin-top: 3rem;
    padding: 1.75rem;
    background: var(--color-sand);
    border-radius: var(--radius-md);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.legal-cta p { margin: 0; font-weight: 500; }

/* ============ Footer ============ */
.site-footer {
    position: relative;
    background: var(--color-bg);
    border-top: 1px solid var(--color-line);
    padding-bottom: 1.5rem;
}
.site-footer .wave-lines--footer { margin-top: 10px; }
.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
}
.footer-brand__text { margin-top: 1rem; color: var(--color-muted); max-width: 42ch; font-size: var(--fs-small); }
.footer-col__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-col__list { list-style: none; margin: 0; padding: 0; }
.footer-col__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--color-muted);
    text-decoration: none;
}
.footer-col__list a:hover { color: var(--color-accent-strong); text-decoration: underline; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-line);
    color: var(--color-muted);
    font-size: var(--fs-small);
}
.footer-bottom p { margin: 0; }

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

/* ============ Home: shared ============ */
.reassurance .icon { color: var(--color-accent); }
.reassurance--light { color: var(--color-white); }

/* ============ Home: hero ============ */
.hero {
    position: relative;
    isolation: isolate;
    background: var(--color-blue-tint);
}
.hero__media {
    position: relative;
    height: clamp(300px, 92vw, 480px);
    background-image: url("./assets/2ca2ef0d332c3981080c635cc117e788.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 80% 25%;
}
.hero__lines {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 160px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}
.hero__inner { position: relative; z-index: 2; padding-block: 2rem 3.5rem; }
.hero__eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    background: var(--color-white);
    color: var(--color-blue-deep);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero__title {
    color: var(--color-accent-strong);
    font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
    margin-bottom: 0.4em;
}
.hero__lead {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    line-height: 1.3;
    color: var(--color-text);
}
.hero__text { color: var(--color-text); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.hero .reassurance { color: var(--color-text); }

@media (min-width: 1024px) {
    .hero { min-height: clamp(580px, 74vh, 760px); display: flex; align-items: center; }
    .hero__media {
        position: absolute;
        inset: 0;
        height: auto;
        z-index: 0;
        background-position: 85% center;
    }
    .hero__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(201, 216, 230, 0.88) 0%, rgba(201, 216, 230, 0.6) 38%, rgba(201, 216, 230, 0) 58%);
    }
    .hero__lines { height: 220px; }
    .hero__inner { padding-block: 4rem 5rem; }
    .hero__copy { max-width: 34rem; }
}

/* ============ Home: value proposition ============ */
.value {
    position: relative;
    background: var(--color-bg);
    padding: var(--space-section) 0 calc(var(--space-section) + 40px);
}
.value__swoosh {
    position: absolute;
    top: 0;
    width: clamp(160px, 28vw, 380px);
    height: auto;
    pointer-events: none;
    z-index: 0;
}
.value__swoosh--left { left: 0; }
.value__swoosh--right { right: 0; }
.value .container { position: relative; z-index: 1; }
.value-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}
.value-tile {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.value-tile .icon { margin: 0 auto 1rem; }
.value-tile h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--color-accent-strong);
    margin-bottom: 0.4rem;
}
.value-tile p { margin: 0; color: var(--color-muted); }
.section-wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 50px;
    display: block;
}
@media (min-width: 768px) {
    .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
}

/* ============ Home: discover ============ */
.discover {
    position: relative;
    isolation: isolate;
    background: var(--color-blush);
    padding: calc(var(--space-section) * 0.8) 0 var(--space-section);
}
.discover::before,
.discover::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}
.discover::before { top: -160px; right: -140px; background: radial-gradient(circle, rgba(246, 205, 180, 0.6), rgba(246, 205, 180, 0) 70%); }
.discover::after { bottom: -180px; left: -160px; background: radial-gradient(circle, rgba(201, 216, 230, 0.55), rgba(201, 216, 230, 0) 70%); }
.discover__swoosh {
    position: absolute;
    left: 0;
    top: 55%;
    width: 100%;
    height: 140px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}
.discover .container { position: relative; z-index: 1; }
.profile-track {
    list-style: none;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0.5rem var(--gutter) 1.25rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 76%);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
}
.profile-track > li { scroll-snap-align: start; }
.profile-track:focus-visible { outline-offset: -3px; }
.discover__cta { display: flex; flex-direction: column; align-items: center; margin-top: 2rem; text-align: center; }
@media (min-width: 768px) {
    .profile-track {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
        padding: 0.5rem 0 1.25rem;
        overflow: visible;
        gap: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .profile-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============ Home: how it works ============ */
.how { background: var(--color-bg); padding: var(--space-section) 0; }
.steps-wrap { position: relative; }
.steps-route { display: none; }
.steps {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2rem;
}
.steps::before,
.steps::after {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 30px;
    width: 3px;
    border-radius: 3px;
}
.steps::before { left: 34px; background: var(--color-accent); }
.steps::after { left: 40px; background: var(--color-blue); }
.step {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
}
.step__node {
    position: relative;
    z-index: 1;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-accent);
    box-shadow: var(--shadow-md);
    display: grid;
    place-items: center;
}
.step:nth-child(even) .step__node { border-color: var(--color-blue); }
.step:nth-child(even) .step__node .icon { color: var(--color-blue-deep); }
.step__num {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}
.step:nth-child(even) .step__num { background: var(--color-blue-deep); }
.step__body h3 { margin: 0.35rem 0; }
.step__body p { margin: 0; color: var(--color-muted); }

@media (min-width: 1024px) {
    .steps-route {
        display: block;
        position: absolute;
        left: 0;
        top: 60px;
        width: 100%;
        height: 56px;
        pointer-events: none;
        z-index: 0;
    }
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
    .steps::before, .steps::after { display: none; }
    .step {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        padding-top: 40px;
        gap: 0;
    }
    .step__node { width: 96px; height: 96px; }
    .step__num { top: -40px; left: 50%; transform: translateX(-50%); }
    .step__node::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        height: 26px;
        margin-top: 6px;
        border-left: 2px dotted var(--color-muted);
    }
    .step__body { margin-top: 40px; }
}

/* ============ Home: features ============ */
.features {
    background: var(--color-bg);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}
.features__media { margin: 0; }
.features__media img {
    width: 100%;
    height: clamp(320px, 90vw, 520px);
    object-fit: cover;
    object-position: 40% 35%;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.features__content { padding: 3rem var(--gutter) var(--space-section); max-width: 680px; }
.features__intro { color: var(--color-muted); font-size: 1.0625rem; margin-bottom: 2rem; }
.feature-list { list-style: none; margin: 0; padding: 0; position: relative; }
.feature-list::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.7rem;
    bottom: 1.2rem;
    width: 2px;
    background: var(--color-peach);
}
.feature-list li { position: relative; padding-left: 2.1rem; margin-bottom: 1.35rem; }
.feature-list li:last-child { margin-bottom: 0; }
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-bg);
}
.feature-list h3 { margin-bottom: 0.2rem; }
.feature-list p { margin: 0; color: var(--color-muted); }
@media (min-width: 1024px) {
    .features { grid-template-columns: 45% minmax(0, 1fr); align-items: stretch; }
    .features__media { position: relative; }
    .features__media img {
        position: absolute;
        inset: 0;
        height: 100%;
        border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    }
    .features__content { padding: var(--space-section) clamp(2rem, 5vw, 5rem); }
}

/* ============ Home: safety ============ */
.safety {
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent) 55%, var(--color-rust) 100%);
    color: var(--color-white);
    padding: var(--space-section) 0;
}
.safety__inner { display: grid; gap: 2rem; }
.safety__shield { width: 96px; height: auto; }
.safety h2, .safety h3, .safety p { color: var(--color-white); }
.safety__intro { font-size: 1.0625rem; max-width: 46rem; }
.safety-points {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.safety-points li {
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.07);
}
.safety-points h3 { margin-bottom: 0.3rem; }
.safety-points p { margin: 0; }
.safety__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.safety__link { margin: 0; }
.safety a { color: var(--color-white); }
.safety a:hover { color: var(--color-blush); }
.safety a:focus-visible { outline-color: var(--color-white); }
@media (min-width: 768px) {
    .safety-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (min-width: 1024px) {
    .safety__inner { grid-template-columns: 160px minmax(0, 1fr); align-items: start; gap: 3rem; }
    .safety__shield { width: 130px; margin-top: 0.5rem; }
}

/* ============ Home: emotional ============ */
.emotional {
    position: relative;
    isolation: isolate;
    color: var(--color-white);
    min-height: 600px;
    display: flex;
    align-items: flex-end;
}
.emotional__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("./assets/277a5509e99efa96c8f21021b21cf73c.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 25% center;
}
.emotional__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(180deg, rgba(48, 26, 16, 0) 18%, rgba(48, 26, 16, 0.8) 55%, rgba(48, 26, 16, 0.9) 100%);
}
.emotional__lines {
    position: absolute;
    left: 0;
    bottom: 6%;
    width: 100%;
    height: 160px;
    z-index: -1;
    pointer-events: none;
}
.emotional__inner { width: 100%; padding-block: 16rem 3.5rem; }
.emotional__copy { max-width: 32rem; margin-left: auto; }
.emotional h2, .emotional p { color: var(--color-white); }
.emotional .btn { margin-top: 0.5rem; }
@media (min-width: 1024px) {
    .emotional { align-items: center; min-height: clamp(520px, 64vh, 680px); }
    .emotional__bg { background-position: center; }
    .emotional__overlay {
        background: linear-gradient(90deg, rgba(48, 26, 16, 0) 30%, rgba(48, 26, 16, 0.6) 52%, rgba(48, 26, 16, 0.78) 100%);
    }
    .emotional__inner { padding-block: 5rem; }
}

/* ============ Home: app download ============ */
.app { background: var(--color-bg); padding: var(--space-section) 0 calc(var(--space-section) * 0.5); }
.app__panel {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    background: var(--color-sand);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 1.5rem + 3vw, 4rem) clamp(1.25rem, 1rem + 3vw, 4rem);
}
.app__copy .btn { margin-top: 0.25rem; }
.app__badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.phone {
    position: relative;
    width: 250px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
    background: #14171C;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}
.phone__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #14171C;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.phone__screen {
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    border-radius: 31px;
    overflow: hidden;
}
.phone__photo { aspect-ratio: 4 / 5; background: var(--color-blush); }
.phone__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.phone__info { padding: 0.75rem 0.9rem 0.8rem; text-align: center; }
.phone__brand {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-accent);
    line-height: 1.2;
}
.phone__name { margin: 0.15rem 0 0.5rem; font-weight: 700; font-size: 0.9375rem; }
.phone .chip-list { justify-content: center; gap: 0.3rem; }
.phone .chip { font-size: 0.75rem; padding: 0.15rem 0.55rem; }
.phone__call {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.7rem;
    padding: 0.45rem 1rem;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 700;
}
.phone__call .icon { color: var(--color-white); }
.phone__tabs {
    display: flex;
    justify-content: space-around;
    padding: 0.55rem 0.5rem 0.8rem;
    border-top: 1px solid var(--color-line);
}
.phone__tabs .icon { color: var(--color-muted); }
.phone__tabs .icon.is-active { color: var(--color-accent); }
@media (min-width: 768px) {
    .app__panel { grid-template-columns: auto minmax(0, 1fr); gap: 3.5rem; }
}
@media (min-width: 1024px) {
    .phone { transform: rotate(-4deg); }
}

/* ============ Home: FAQ ============ */
.faq { background: var(--color-bg); padding: calc(var(--space-section) * 0.6) 0 var(--space-section); }

/* ============ Home: final CTA ============ */
.final-cta {
    position: relative;
    isolation: isolate;
    text-align: center;
    color: var(--color-white);
    padding: var(--space-section) 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(246, 205, 180, 0.25), rgba(246, 205, 180, 0) 60%),
        linear-gradient(160deg, var(--color-accent) 0%, var(--color-rust) 100%);
}
.final-cta__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.45;
    z-index: -1;
    pointer-events: none;
}
.final-cta__inner { display: flex; flex-direction: column; align-items: center; }
.final-cta h2 { color: var(--color-white); max-width: 20ch; }
.final-cta__text { color: var(--color-white); font-size: 1.125rem; max-width: 36rem; margin-bottom: 1.75rem; }
.final-cta .reassurance { justify-content: center; }

/* ============ Reveal (progressive enhancement) ============ */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    }
    .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    .btn:hover, .store-badge:hover, .profile-card:hover { transform: none; }
}