/*
 * Couple Review - design system
 * Warm off-white, deep slate-navy ink, slate-blue headings,
 * one coral-terracotta accent, sage for pros/connectors.
 */

:root {
    --color-bg: #F7F3EE;
    --color-band: #EFE8DF;
    --color-surface: #FFFFFF;
    --color-ink: #24364F;
    --color-heading: #3B5878;
    --color-slate: #4E6E91;
    --color-slate-dark: #3F5D7E;
    --color-muted: #55657A;
    --color-line: #DCD3C7;
    --color-accent: #D9644F;
    --color-accent-strong: #C0503B;
    --color-accent-hover: #A8432F;
    --color-accent-text: #A3402E;
    --color-sage: #8FA77C;
    --color-sage-text: #46603D;
    --color-sage-tint: rgba(143, 167, 124, 0.22);
    --color-coral-tint: rgba(217, 100, 79, 0.16);
    --color-slate-tint: rgba(78, 110, 145, 0.14);
    --focus: #24364F;

    --font-heading: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --fs-h1: clamp(2.2rem, 1.4rem + 3.6vw, 4rem);
    --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);
    --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(36, 54, 79, 0.06), 0 2px 8px rgba(36, 54, 79, 0.05);
    --shadow: 0 2px 6px rgba(36, 54, 79, 0.06), 0 12px 32px rgba(36, 54, 79, 0.08);
    --shadow-lg: 0 6px 16px rgba(36, 54, 79, 0.08), 0 24px 56px rgba(36, 54, 79, 0.12);

    --container: 1200px;
    --gutter: clamp(1.25rem, 4vw, 2rem);
    --section-space: clamp(4rem, 3rem + 5vw, 7rem);
    --header-bottom: 68px;
}

/* ============ 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, h1, h2, h3 { 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; position: relative; }

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

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

body.menu-open { overflow: hidden; }

img { display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.15;
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); font-weight: 700; color: var(--color-ink); }
h2 { font-size: var(--fs-h2); font-weight: 600; }
h3 { font-size: var(--fs-h3); font-weight: 600; color: var(--color-ink); }

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

a { color: var(--color-slate-dark); }
a:hover { color: var(--color-accent-text); }

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

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

main:focus { outline: none; }

.on-dark { --focus: #FFFFFF; }

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

.section { padding-block: var(--section-space); }

.section-head {
    max-width: 760px;
    margin: 0 auto clamp(2rem, 4vw, 3.25rem);
    text-align: center;
}

.section-head p { color: var(--color-muted); }

.eyebrow {
    display: inline-block;
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-text);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

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

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

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

.btn--primary {
    background: var(--color-accent-strong);
    color: #fff;
    box-shadow: 0 6px 18px rgba(192, 80, 59, 0.28);
}
.btn--primary:hover { background: var(--color-accent-hover); color: #fff; box-shadow: 0 8px 22px rgba(168, 67, 47, 0.32); }

.btn--secondary {
    background: var(--color-slate);
    color: #fff;
}
.btn--secondary:hover { background: var(--color-slate-dark); color: #fff; }

.btn--outline {
    background: transparent;
    border-color: var(--color-slate);
    color: var(--color-slate-dark);
}
.btn--outline:hover { background: var(--color-slate); color: #fff; }

.btn--light {
    background: #fff;
    color: var(--color-ink);
}
.btn--light:hover { background: var(--color-band); color: var(--color-ink); }

.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: 0.975rem; }
.btn--lg { min-height: 56px; padding: 0 2.1rem; font-size: 1.125rem; }
.btn--block { width: 100%; }

.btn .icon { flex-shrink: 0; }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 54px;
    padding: 0.45rem 1.15rem 0.45rem 0.9rem;
    background: #0B0B0C;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
.store-badge__logo { flex-shrink: 0; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge__small { font-size: 0.72rem; letter-spacing: 0.02em; }
.store-badge__big { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; }

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
    border-bottom-color: var(--color-line);
    box-shadow: 0 4px 18px rgba(36, 54, 79, 0.06);
}

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

.site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    color: var(--color-ink);
    flex-shrink: 0;
}
.site-brand:hover { color: var(--color-ink); }
.site-brand__text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    white-space: nowrap;
}
.site-brand__light { font-weight: 500; color: var(--color-slate); }

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.site-header__actions .site-header__cta { display: none; }

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    cursor: pointer;
}
.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s 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 {
    display: none;
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 99;
    background: var(--color-bg);
    border-top: 1px solid var(--color-line);
    overflow-y: auto;
    padding: 1rem var(--gutter) 2rem;
}
.site-nav.is-open { display: block; }

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav__list li { border-bottom: 1px solid var(--color-line); }

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-ink);
    text-decoration: none;
}
.site-nav__link:hover { color: var(--color-accent-text); }

.site-nav__cta { margin-top: 1.5rem; }
.site-nav__note {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-muted);
    text-align: center;
}

@media (min-width: 480px) {
    .site-header__actions .site-header__cta { display: inline-flex; }
}

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

    .site-nav,
    .site-nav.is-open {
        display: block;
        position: static;
        padding: 0;
        border: 0;
        overflow: visible;
        background: transparent;
    }
    .site-nav__list { display: flex; align-items: center; gap: 0.25rem; }
    .site-nav__list li { border: 0; }
    .site-nav__link {
        position: relative;
        min-height: 44px;
        padding: 0 0.8rem;
        font-family: var(--font-body);
        font-size: 0.975rem;
        font-weight: 500;
        color: var(--color-ink);
    }
    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 0.8rem;
        right: 0.8rem;
        bottom: 6px;
        height: 2px;
        border-radius: 2px;
        background: var(--color-accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.2s ease;
    }
    .site-nav__link:hover::after { transform: scaleX(1); }
    .site-nav__cta { display: none; }
    .site-header__actions .site-header__cta { min-height: 46px; }
}

/* ============ Signature loop divider ============ */
.loop-divider {
    --loop-color: var(--color-slate);
    display: flex;
    align-items: center;
    width: 100%;
    color: var(--loop-color);
    pointer-events: none;
}
.loop-divider--sage { --loop-color: var(--color-sage); }
.loop-divider--coral { --loop-color: var(--color-accent); }
.loop-divider__line {
    flex: 1 1 auto;
    height: 2px;
    background: var(--loop-color);
    border-radius: 2px;
    opacity: 0.7;
}
.loop-divider__loop {
    flex: 0 0 auto;
    width: 120px;
    height: 44px;
    margin-inline: -1px;
}
.loop-divider__loop path {
    fill: none;
    stroke: var(--loop-color);
    stroke-width: 2.25;
    stroke-linecap: round;
    opacity: 0.85;
}

/* Decorative wandering line layers (used by page sections) */
.motif-line {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============ Icon chips ============ */
.icon { display: block; }

.icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.icon-chip--sage { background: var(--color-sage-tint); color: var(--color-sage-text); }
.icon-chip--coral { background: var(--color-coral-tint); color: var(--color-accent-text); }
.icon-chip--slate { background: var(--color-slate-tint); color: var(--color-slate-dark); }

/* ============ Step cards ============ */
.step-card {
    --tone: var(--color-slate);
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 1.75rem 1.5rem;
    background: var(--color-surface);
    border: 2px solid var(--tone);
    border-radius: 24px 20px 26px 22px;
    box-shadow: var(--shadow);
    text-align: center;
}
.step-card--sage { --tone: var(--color-sage); }
.step-card--coral { --tone: var(--color-accent); }
.step-card__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--tone);
}
.step-card--sage .step-card__icon { color: var(--color-sage-text); }
.step-card--coral .step-card__icon { color: var(--color-accent-strong); }
.step-card__num {
    margin: 0 0 0.35rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}
.step-card__title { margin-bottom: 0.5rem; }
.step-card__text { color: var(--color-muted); font-size: 1rem; }

/* ============ Profile cards ============ */
.profile-card {
    --tone: var(--color-accent);
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.5rem;
    height: 100%;
    padding: 1.25rem 1.25rem 1.5rem;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.profile-card--slate { --tone: var(--color-slate); }
.profile-card--sage { --tone: var(--color-sage); }

.profile-card__media {
    position: relative;
    margin: 6px 6px 28px;
}
.profile-card__media img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 30px 36px 28px 34px;
    outline: 3px solid var(--tone);
    outline-offset: 5px;
    background: var(--color-band);
}
.profile-card__loop {
    position: absolute;
    left: 50%;
    bottom: -44px;
    width: 90px;
    height: 45px;
    transform: translateX(-50%);
    overflow: visible;
}
.profile-card__loop path {
    fill: none;
    stroke: var(--tone);
    stroke-width: 3;
    stroke-linecap: round;
}

.profile-card__body { display: flex; flex-direction: column; align-items: flex-start; }
.profile-card__name { margin-bottom: 0.6rem; font-size: 1.4rem; }
.profile-card__age { font-weight: 500; color: var(--color-muted); }
.profile-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
}
.profile-card__tags li {
    padding: 0.3rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate-dark);
    background: var(--color-slate-tint);
    border-radius: var(--radius-pill);
}
.profile-card__intro { color: var(--color-muted); font-size: 1rem; margin-bottom: 1.25rem; }
.profile-card__cta { margin-top: auto; }

@media (min-width: 560px) {
    .profile-card {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        align-items: start;
        padding: 1.5rem;
    }
    .profile-card__media img { aspect-ratio: 6 / 7; }
    .profile-card__body { height: 100%; }
}

/* ============ Feature items ============ */
.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}
.feature-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}
.feature-item__title { margin-bottom: 0.3rem; font-size: 1.15rem; }
.feature-item__text { color: var(--color-muted); font-size: 1rem; }

/* ============ Editorial note ============ */
.editorial-note {
    padding: 1.1rem 1.25rem;
    background: var(--color-band);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.editorial-note__label {
    margin: 0 0 0.3rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent-text);
}
.editorial-note__text { margin: 0; font-size: 1rem; }

/* ============ FAQ accordion ============ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.is-open { border-color: var(--color-slate); box-shadow: var(--shadow); }
.faq-item__heading { margin: 0; font-size: 1.075rem; }
.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 60px;
    padding: 1rem 1.25rem;
    background: transparent;
    border: 0;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: inherit;
    font-weight: 600;
    color: var(--color-ink);
    text-align: left;
    cursor: pointer;
}
.faq-item__trigger:hover { color: var(--color-slate-dark); }
.faq-item__chevron {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--color-slate);
    transition: transform 0.25s ease;
}
.faq-item__trigger[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--color-muted);
    font-size: 1rem;
}
.faq-item__answer p { margin-bottom: 0.75em; }

/* ============ Legal pages ============ */
.legal-hero {
    background: var(--color-band);
    padding-top: clamp(3rem, 2rem + 4vw, 5rem);
}
.legal-hero__inner { max-width: 860px; padding-bottom: 2.5rem; }
.legal-hero__title { margin-bottom: 0.75rem; }
.legal-hero__summary { font-size: 1.1rem; max-width: 70ch; }
.legal-hero__updated {
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-muted);
}
.legal-hero__divider { margin-bottom: -2px; }

.legal-toc {
    margin-top: 1.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.legal-toc__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-heading);
}
.legal-toc__list {
    margin: 0;
    padding-left: 1.25rem;
    columns: 1;
}
.legal-toc__list li { padding-block: 0.15rem; break-inside: avoid; }
.legal-toc__list a {
    display: inline-block;
    padding-block: 0.4rem;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

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

.legal-content {
    max-width: 860px;
    padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}
.legal-content section { overflow: visible; margin-bottom: 2.5rem; }
.legal-content h2 { font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.85rem); margin-bottom: 0.75rem; }
.legal-content h3 { margin-top: 1.5rem; }
.legal-content ul { margin: 0 0 1em; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content .legal-back {
    margin-top: 3rem;
    padding: 1.75rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.legal-content .legal-back p { margin: 0; font-weight: 500; }

/* ============ Footer ============ */
.site-footer {
    position: relative;
    background: var(--color-bg);
    padding-bottom: 2rem;
    font-size: var(--fs-small);
    overflow: clip;
}
.site-footer__divider { margin-bottom: 3rem; }
.site-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
}
.site-brand--footer .site-brand__text { font-size: 1.5rem; }
.site-footer__tagline { margin-top: 0.75rem; color: var(--color-muted); max-width: 38ch; }
.site-footer__heading {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-ink);
}
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--color-muted);
    text-decoration: none;
}
.site-footer__list a:hover { color: var(--color-accent-text); text-decoration: underline; }

.site-footer__disclosure {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-line);
}
.site-footer__disclosure p { color: var(--color-muted); max-width: 95ch; }

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

@media (min-width: 768px) {
    .site-footer__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
}

/* ============ Shared line tones ============ */
.ln-slate, .ln-sage, .ln-coral { fill: none; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ln-slate { stroke: var(--color-slate); }
.ln-sage { stroke: var(--color-sage); }
.ln-coral { stroke: var(--color-accent); }

.lead { font-size: 1.125rem; color: var(--color-ink); }

/* ============ Hero ============ */
.hero {
    position: relative;
    background: var(--color-slate);
    color: #fff;
    overflow: clip;
}
.hero__media {
    height: clamp(190px, 46vw, 380px);
    background-image: url("./assets/e25db747d5f59a75b5335291f7bd8892.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 85% 30%;
}
.hero__line { display: none; }
.hero__container { position: relative; z-index: 2; }
.hero__content { padding-block: 1.75rem 2.5rem; }
.hero__eyebrow {
    margin: 0 0 0.6rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFF1EE;
}
.hero__title { color: #fff; font-size: clamp(2rem, 1.3rem + 3.4vw, 3.6rem); margin-bottom: 0.9rem; }
.hero__intro { font-size: 1.05rem; color: #F2F5F8; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.25rem; }
.hero__link { color: #fff; }
.hero__link:hover { color: #F6D3CB; }
.hero__note { margin-top: 1rem; font-size: 0.875rem; color: #FFFFFF; }

@media (min-width: 1024px) {
    .hero { display: flex; align-items: center; min-height: clamp(560px, 74vh, 720px); background: var(--color-slate); }
    .hero__media { position: absolute; inset: 0; height: auto; background-position: 70% 35%; }
    .hero__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(78, 110, 145, 0.92) 0%, rgba(78, 110, 145, 0.88) 32%, rgba(78, 110, 145, 0.5) 45%, rgba(78, 110, 145, 0) 58%);
    }
    .hero__line {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
    }
    .hero__line path { fill: none; stroke: #E9917F; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.75; }
    .hero__container { width: 100%; }
    .hero__content { max-width: 540px; padding-block: 4rem; }
}

/* ============ Trust strip ============ */
.trust { padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.trust__inner { max-width: 820px; text-align: center; padding-bottom: 2.5rem; }
.trust__icon { margin: 0 auto 1rem; }
.trust__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.trust__inner p { color: var(--color-muted); }

/* ============ Overview ============ */
.overview__title { text-align: center; max-width: 820px; margin-inline: auto; margin-bottom: clamp(2rem, 4vw, 3rem); }
.overview__grid { display: grid; gap: 2.5rem; align-items: center; }
.overview__text h3 { margin-top: 1.5rem; }
.overview__cta { margin-top: 0.75rem; }

.framed { position: relative; margin: 12px; }
.framed img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.framed__outline {
    position: absolute;
    inset: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    max-width: none;
    overflow: visible;
    pointer-events: none;
}
.framed__outline path { fill: none; stroke: var(--color-slate); stroke-width: 2.25; stroke-linecap: round; vector-effect: non-scaling-stroke; }

@media (min-width: 1024px) {
    .overview__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; }
}

/* ============ How it works ============ */
.how { padding-top: clamp(2rem, 1.5rem + 3vw, 4rem); }
.steps { position: relative; display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.steps::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--color-slate), var(--color-sage), var(--color-accent), var(--color-slate));
    transform: translateX(-50%);
    z-index: 0;
}
.steps__line { display: none; }
@media (min-width: 768px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps::before { display: none; }
}
@media (min-width: 1024px) {
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
    .steps__line {
        display: block;
        position: absolute;
        top: 50%;
        left: -6vw;
        width: calc(100% + 12vw);
        height: 200px;
        max-width: none;
        transform: translateY(-50%);
        z-index: 0;
        pointer-events: none;
    }
    .steps__line path { fill: none; stroke: url(#steps-gradient); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
}

/* ============ Profiles ============ */
.profiles__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.profiles__inner { position: relative; z-index: 1; }
.profiles__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.profiles__cta { display: flex; justify-content: center; margin-top: 2.5rem; }
@media (min-width: 1024px) {
    .profiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem; }
}

/* ============ Features ============ */
.features { position: relative; padding-block: 0 var(--section-space); }
.features__curves { display: none; }
.features__layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.features__media img {
    width: 100%;
    height: clamp(300px, 70vw, 480px);
    object-fit: cover;
    object-position: 35% 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.features__content { position: relative; z-index: 1; padding: 1.5rem var(--gutter) 0; }
.features__lead { color: var(--color-muted); margin-bottom: 2rem; }
.features__content .feature-list { margin-bottom: 2rem; }
.features .icon-chip { width: 40px; height: 40px; }
.features .feature-item { grid-template-columns: 40px minmax(0, 1fr); }
.features__divider { margin-top: clamp(3rem, 5vw, 4.5rem); }

@media (min-width: 1024px) {
    .features { padding-top: 2rem; }
    .features__curves {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        pointer-events: none;
        z-index: 0;
    }
    .features__layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: stretch; }
    .features__media { position: relative; min-height: 640px; }
    .features__media img {
        position: absolute;
        inset: 0;
        height: 100%;
        object-position: 30% center;
        -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
        mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
    }
    .features__content {
        padding: 3rem max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 1rem 3rem;
    }
}

/* ============ Pros & cons ============ */
.label-opinion { color: var(--color-accent-text); }
.proscons__grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.proscons__divider { display: none; }
.pc-panel { padding: 1.75rem 1.5rem; border-radius: 20px; height: 100%; }
.pc-panel--pros { background: rgba(143, 167, 124, 0.35); color: #2F4528; }
.pc-panel--cons { background: rgba(217, 100, 79, 0.22); color: #7E2F20; }
.pc-panel__title { font-size: 1.75rem; color: inherit; margin-bottom: 1rem; }
.pc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.pc-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0.75rem; align-items: start; font-weight: 500; }
.pc-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
}
.pc-panel--pros .pc-list__icon { color: var(--color-sage-text); }
.pc-panel--cons .pc-list__icon { color: var(--color-accent-text); }

@media (min-width: 1024px) {
    .proscons__grid { grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); gap: 1.5rem; max-width: 1040px; margin-inline: auto; }
    .proscons__divider { display: block; width: 60px; height: 100%; min-height: 320px; align-self: stretch; }
    .proscons__divider path { fill: none; stroke: var(--color-slate); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
}

/* ============ Safety + Why ============ */
.duo { padding-bottom: var(--section-space); }
.duo__grid { display: grid; gap: var(--section-space); grid-template-columns: minmax(0, 1fr); }
.safety, .why { overflow: visible; }
.safety__block { margin-top: 1.75rem; }
.safety__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }
.safety__head h3 { margin: 0; }
.safety .icon-chip { width: 40px; height: 40px; }
.safety__list { margin: 0; display: grid; gap: 0.5rem; color: var(--color-muted); }
.safety__block > p { color: var(--color-muted); }
.media-frame { margin: 2rem 0 0; }
.media-frame img, .why__media img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow);
    object-fit: cover;
}
.media-frame img { aspect-ratio: 9 / 7; }
.why__media { position: relative; margin: 0 0 1.75rem; }
.why__media img { aspect-ratio: 10 / 7; position: relative; z-index: 1; }
.why__ribbon {
    position: absolute;
    right: -24px;
    bottom: -30px;
    width: 46%;
    height: 80%;
    max-width: none;
    overflow: visible;
    z-index: 0;
    pointer-events: none;
}
.why__ribbon path { stroke-width: 2.5; }
.why { overflow-x: clip; }
.why p { color: var(--color-muted); }
.why p.lead { color: var(--color-ink); }
.why .btn { margin-top: 0.75rem; }

@media (min-width: 1024px) {
    .duo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; align-items: start; }
}

/* ============ Mobile app ============ */
.app { position: relative; color: #fff; padding-block: var(--section-space); overflow: clip; }
.app__bg {
    position: absolute;
    inset: 0;
    background-image: url("./assets/43fefe2ef3316d9bbda21987031e64ca.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 40%;
}
.app__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(63, 93, 126, 0.86);
}
.app__grid { position: relative; z-index: 1; display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); }
.app__content { order: -1; }
.app__content h2 { color: #fff; }
.app__content p { color: #F2F5F8; }
.app__content .store-badges { margin-top: 1.75rem; }

.phones { position: relative; height: 380px; max-width: 340px; width: 100%; margin-inline: auto; }
.phone {
    position: absolute;
    width: 170px;
    height: 340px;
    padding: 8px;
    background: #15202E;
    border-radius: 30px;
    box-shadow: 0 20px 44px rgba(10, 18, 30, 0.45);
}
.phone--back { left: 0; top: 0; }
.phone--front { right: 0; top: 36px; width: 186px; height: 344px; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 23px; overflow: hidden; }
.phone__screen--profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 30px 16px 16px;
    background: var(--color-bg);
}
.mock-notch { position: absolute; top: 8px; left: 50%; width: 46px; height: 8px; border-radius: 6px; background: #15202E; transform: translateX(-50%); }
.mock-avatar { width: 66px; height: 66px; border-radius: 50%; background: linear-gradient(135deg, #C8D3DF, #E7C3B8); border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.mock-bar { display: block; height: 8px; border-radius: 6px; background: #D6DEE7; flex: 1; }
.mock-bar--name { flex: none; width: 70%; height: 10px; background: var(--color-slate); }
.mock-bar--sub { flex: none; width: 45%; margin-bottom: 8px; }
.mock-row { display: flex; align-items: center; gap: 8px; width: 100%; }
.mock-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--color-slate-tint); flex-shrink: 0; }
.mock-btn { margin-top: auto; width: 100%; height: 28px; border-radius: 999px; background: var(--color-accent); }
.phone__screen--call img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.mock-pip { position: absolute; top: 14px; right: 12px; width: 40px; height: 56px; border-radius: 8px; background: linear-gradient(160deg, #6F8BA9, #3F5D7E); border: 2px solid #fff; }
.mock-controls { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 12px; }
.mock-ctrl { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); }
.mock-ctrl--end { background: var(--color-accent); }

@media (min-width: 768px) {
    .phones { height: 470px; max-width: 420px; }
    .phone { width: 210px; height: 420px; }
    .phone--front { width: 226px; height: 430px; top: 40px; }
}
@media (min-width: 1024px) {
    .app__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4rem; }
    .app__content { order: 0; }
    .app__bg::after { background: linear-gradient(90deg, rgba(78, 110, 145, 0.7) 0%, rgba(63, 93, 126, 0.82) 50%, rgba(58, 86, 117, 0.9) 100%); }
}

/* ============ FAQ ============ */
.faq-frame {
    position: relative;
    max-width: 880px;
    margin: 1.5rem auto 0;
    padding: 3rem 1rem 1.75rem;
    border: 2px solid var(--color-slate);
    border-radius: 32px 26px 34px 28px;
}
.faq-frame::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1.5px solid var(--color-accent);
    border-radius: 26px 30px 24px 32px;
    opacity: 0.6;
    pointer-events: none;
}
.faq-frame__title {
    position: absolute;
    top: 0;
    left: 50%;
    margin: 0;
    padding: 0 1.25rem;
    background: var(--color-bg);
    transform: translate(-50%, -55%);
    white-space: nowrap;
}
.faq-frame__loop { position: absolute; top: 50%; width: 30px; height: 70px; transform: translateY(-50%); }
.faq-frame__loop path { fill: none; stroke: var(--color-accent); stroke-width: 2.5; stroke-linecap: round; }
.faq-frame__loop--left { left: -16px; }
.faq-frame__loop--right { right: -16px; }
.faq-frame .faq-list { position: relative; z-index: 1; }
@media (min-width: 768px) {
    .faq-frame { padding: 3.5rem 2.5rem 2.5rem; }
}

/* ============ Final CTA ============ */
.final-cta {
    position: relative;
    background: radial-gradient(ellipse 50% 60% at 50% 55%, rgba(217, 100, 79, 0.28), rgba(217, 100, 79, 0) 70%), #24364F;
    color: #fff;
    padding-block: clamp(4.5rem, 3rem + 6vw, 7.5rem);
    text-align: center;
}
.final-cta__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.8; }
.final-cta__lines .ln-slate { stroke: #7F9BBA; }
.final-cta__inner { position: relative; z-index: 1; max-width: 720px; }
.final-cta h2 { color: #fff; }
.final-cta p { color: #E4EAF1; }
.final-cta .btn { margin-top: 1.25rem; }
.final-cta__note { margin-top: 1rem; font-size: 0.9rem; color: #C9D4E0; }
.final-cta p.final-cta__note { color: #C9D4E0; }

/* ============ Reveal (one-way, transform only) ============ */
.js .reveal {
    transform: translateY(18px);
    transition: transform 0.6s ease;
}
.js .reveal.is-visible { transform: none; }

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