/*
 * 2nd Chances - shared design system
 * Warm golden-hour palette, one terracotta accent, glowing gold wave seams.
 */

:root {
    --cream: #FBF4EA;
    --cream-soft: #FFF9F1;
    --peach: #F3DCC8;
    --peach-pale: #F8E8DA;
    --apricot: #F2C49B;
    --amber: #EBB07C;
    --dusk-rose: #DCA79E;
    --blue: #8FA9C4;
    --blue-light: #A9BED3;
    --blue-deep: #4A6A8A;
    --ink: #352826;
    --ink-soft: #5B4843;
    --white: #FFFFFF;
    --accent: #C46F55;
    --accent-ink: #A2503A;
    --accent-deep: #A6513B;
    --accent-mid: #B35E45;
    --gold: #D4A253;
    --gold-glow: #F4CF86;
    --line-peach: #EBCDB5;

    --grad-accent: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent-mid) 100%);

    --font-head: "Outfit", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

    --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
    --fs-small: 0.9375rem;
    --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
    --fs-h1: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
    --fs-h2: clamp(1.875rem, 1.35rem + 2vw, 2.75rem);
    --fs-h3: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);

    --r-sm: 14px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-xl: 32px;
    --r-pill: 999px;

    --shadow-soft: 0 10px 30px rgba(110, 64, 44, 0.10);
    --shadow-card: 0 18px 44px rgba(110, 64, 44, 0.16);
    --shadow-glow: 0 10px 26px rgba(196, 111, 85, 0.38);

    --gutter: clamp(16px, 4vw, 32px);
    --container: 1200px;
    --section-pad: clamp(64px, 8vw, 120px);
    --wave-h: clamp(44px, 6vw, 100px);
    --header-h: 64px;
    --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

@media (min-width: 1024px) {
    :root {
        --header-h: 80px;
    }
}

/* ============================================
   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%;
    overflow-x: clip;
}

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

body.nav-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
}

h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }

p {
    margin: 0 0 1em;
}

a {
    color: var(--accent-ink);
}

a:hover {
    color: var(--ink);
}

img {
    display: block;
}

button {
    font: inherit;
}

[id] {
    scroll-margin-top: calc(var(--header-h) + 20px);
}

main:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.container {
    width: min(var(--container), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 200;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--white);
    border-radius: var(--r-sm);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
    color: var(--white);
}

/* Section headings */
.eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-family: var(--font-head);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.section-head {
    max-width: 760px;
    margin: 0 auto clamp(32px, 5vw, 56px);
    text-align: center;
}

.section-title {
    font-size: var(--fs-h2);
}

.section-lead {
    font-size: var(--fs-lead);
    color: var(--ink-soft);
    margin-bottom: 0;
}

.band {
    position: relative;
    isolation: isolate;
}

.band > .container {
    position: relative;
    z-index: 2;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border-radius: var(--r-pill);
    border: 1.5px solid transparent;
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn--primary {
    background: var(--grad-accent);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(196, 111, 85, 0.46);
    color: var(--white);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--ghost {
    background: rgba(255, 249, 241, 0.88);
    color: var(--ink);
    border-color: rgba(53, 40, 38, 0.32);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent-ink);
    transform: translateY(-2px);
}

.btn--text {
    background: transparent;
    color: var(--ink);
    padding: 0 14px;
    min-height: 44px;
}

.btn--text:hover {
    color: var(--accent-ink);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

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

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

.btn__icon {
    width: 18px;
    height: 18px;
    flex: none;
}

/* Store badges */
.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 8px 20px 8px 16px;
    background: #111111;
    color: var(--white);
    border: 1px solid #2B2B2B;
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.18);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.store-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.26);
}

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

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

.store-badge__small {
    font-size: 0.875rem;
    font-weight: 500;
}

.store-badge__big {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
}

/* ============================================
   HEART MARK
   ============================================ */

.heart-mark {
    display: block;
    flex: none;
}

/* ============================================
   WAVE SEAMS
   ============================================ */

.wave {
    position: absolute;
    left: 0;
    right: 0;
    height: var(--wave-h);
    z-index: 1;
    pointer-events: none;
    line-height: 0;
}

.wave--bottom {
    bottom: -1px;
}

.wave--top {
    top: -1px;
    transform: scaleY(-1);
}

.wave svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.wave--mirror svg {
    transform: scaleX(-1);
}

.wave__fill {
    fill: var(--wave-fill, var(--cream));
}

.wave__glow {
    fill: none;
    stroke: var(--gold-glow);
    stroke-width: 7;
    stroke-linecap: round;
    opacity: 0.6;
    filter: url(#cc-glow);
}

.wave__line {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.wave--bright .wave__glow {
    stroke: #FFE2A6;
    stroke-width: 10;
    opacity: 0.9;
}

.wave--bright .wave__line {
    stroke: #F0C46E;
    stroke-width: 2;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.site-header::before,
.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.site-header::before {
    background: rgba(251, 244, 234, 0.88);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
    box-shadow: 0 1px 0 rgba(53, 40, 38, 0.07), 0 8px 24px rgba(110, 64, 44, 0.06);
    opacity: 0;
}

.site-header::after {
    background: linear-gradient(180deg, rgba(251, 244, 234, 0.6) 0%, rgba(251, 244, 234, 0) 100%);
    opacity: 1;
}

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

.site-header.is-scrolled::after {
    opacity: 0;
}

.site-header.menu-open::before {
    background: var(--cream);
    opacity: 1;
}

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

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-right: auto;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

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

.site-brand__mark {
    width: 32px;
    height: 32px;
}

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

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

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

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(53, 40, 38, 0.16);
    border-radius: 50%;
    background: rgba(255, 249, 241, 0.9);
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s var(--ease);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    transform: scaleX(0);
}

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

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom, var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 90;
    background: var(--cream);
    border-top: 1px solid var(--line-peach);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px var(--gutter) 32px;
    visibility: hidden;
    transform: translateY(-10px);
    transition: transform 0.28s var(--ease), visibility 0s linear 0.28s;
}

.site-nav.is-open {
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid var(--line-peach);
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 500;
}

.site-nav__link:hover {
    color: var(--accent-ink);
}

.site-nav__actions {
    margin-top: 24px;
}

.site-nav__login {
    min-height: 52px;
}

@media (max-width: 359px) {
    .site-header__inner {
        gap: 6px;
    }

    .site-brand {
        font-size: 1.0625rem;
        gap: 6px;
    }

    .site-brand__mark {
        width: 28px;
        height: 28px;
    }

    .header-actions {
        gap: 6px;
    }

    .header-actions .header-cta {
        padding: 0 14px;
        font-size: 0.9375rem;
    }
}

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

    .site-nav__actions {
        display: none;
    }

    .site-brand {
        font-size: 1.3125rem;
    }

    .site-brand__mark {
        width: 34px;
        height: 34px;
    }
}

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

    .site-brand {
        margin-right: 0;
    }

    .site-nav {
        position: static;
        flex: 1;
        display: flex;
        justify-content: center;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: clamp(20px, 2.4vw, 36px);
    }

    .site-nav__link {
        position: relative;
        min-height: 44px;
        border: 0;
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 500;
    }

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

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

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

    .header-actions .nav-toggle {
        display: none;
    }
}

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

.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px;
    border-radius: var(--r-lg);
    background: rgba(255, 249, 241, 0.84);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px rgba(212, 162, 83, 0.55), 0 18px 40px rgba(110, 64, 44, 0.18), 0 0 30px rgba(244, 207, 134, 0.25);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px rgba(212, 162, 83, 0.7), 0 24px 48px rgba(110, 64, 44, 0.22), 0 0 36px rgba(244, 207, 134, 0.35);
}

.profile-card__media {
    position: relative;
}

.profile-card__img {
    width: 100%;
    height: auto;
    aspect-ratio: 640 / 640;
    object-fit: cover;
    object-position: center 30%;
    border-radius: calc(var(--r-lg) - 8px);
    background: var(--peach);
}

.profile-card__badge {
    position: absolute;
    right: 10px;
    bottom: -18px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream-soft);
    box-shadow: 0 6px 16px rgba(110, 64, 44, 0.18), inset 0 0 0 1px rgba(212, 162, 83, 0.5);
}

.profile-card__body {
    padding: 16px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.profile-card__name {
    margin: 0;
    font-size: 1.25rem;
}

.profile-card__age {
    font-weight: 500;
}

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

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    background: var(--peach-pale);
    border: 1px solid var(--line-peach);
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
}

.profile-card__intro {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

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

.faq-list {
    display: grid;
    gap: 14px;
    align-items: start;
    max-width: 860px;
    margin-inline: auto;
}

.faq-item {
    align-self: start;
    border: 1px solid var(--line-peach);
    border-radius: 24px;
    background: var(--cream-soft);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.faq-item.is-open {
    box-shadow: var(--shadow-soft);
}

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

.faq-item__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 16px 22px;
    border: 0;
    border-radius: 24px;
    background: transparent;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.faq-item__trigger:hover {
    background: var(--peach-pale);
}

.faq-item__trigger:focus-visible {
    outline-offset: -3px;
}

.faq-item.is-open .faq-item__trigger {
    background: var(--peach);
}

.faq-item__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--cream-soft);
    color: var(--accent-ink);
    transition: transform 0.3s var(--ease);
}

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

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

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

.faq-item__answer {
    padding: 16px 22px 22px;
    color: var(--ink-soft);
}

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

html.js .faq-item:not(.is-open) .faq-item__panel {
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 0.35s var(--ease), visibility 0s linear 0.35s;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-hero {
    position: relative;
    isolation: isolate;
    padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 calc(var(--wave-h) + clamp(32px, 4vw, 56px));
    background:
        radial-gradient(60% 70% at 78% 92%, rgba(255, 226, 170, 0.75) 0%, rgba(255, 226, 170, 0) 70%),
        linear-gradient(180deg, #F7DFCB 0%, #F4CFAE 55%, #F2C49B 100%);
}

.legal-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-align: center;
}

.legal-hero__title {
    margin-bottom: 14px;
}

.legal-hero__updated {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 4px 16px;
    margin-bottom: 20px;
    border-radius: var(--r-pill);
    background: rgba(255, 249, 241, 0.85);
    border: 1px solid var(--line-peach);
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 500;
}

.legal-hero__summary {
    max-width: 66ch;
    margin: 0 auto;
    font-size: var(--fs-lead);
    color: var(--ink);
}

.legal-main {
    background: var(--cream);
    padding: clamp(16px, 3vw, 32px) 0 var(--section-pad);
}

.legal-layout {
    display: grid;
    gap: 32px;
    align-items: start;
}

.legal-toc {
    align-self: start;
    background: var(--cream-soft);
    border: 1px solid var(--line-peach);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-soft);
}

.legal-toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    padding: 14px 20px;
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    border-radius: var(--r-md);
}

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

.legal-toc__summary:focus-visible {
    outline-offset: -3px;
}

.legal-toc__chev {
    width: 20px;
    height: 20px;
    color: var(--accent-ink);
    transition: transform 0.25s var(--ease);
}

.legal-toc[open] .legal-toc__chev {
    transform: rotate(180deg);
}

.legal-toc__list {
    list-style: none;
    margin: 0;
    padding: 0 12px 16px;
}

.legal-toc__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px 8px 14px;
    border-left: 3px solid transparent;
    border-radius: 0 10px 10px 0;
    color: var(--ink-soft);
    font-size: 0.9375rem;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.legal-toc__link:hover {
    background: var(--peach-pale);
    color: var(--ink);
}

.legal-toc__link.is-active {
    border-left-color: var(--accent);
    background: var(--peach-pale);
    color: var(--accent-ink);
    font-weight: 600;
}

.legal-toc__link:focus-visible {
    outline-offset: -2px;
}

.legal-content {
    min-width: 0;
    max-width: 70ch;
}

.legal-section + .legal-section {
    margin-top: clamp(40px, 5vw, 56px);
}

.legal-content h2 {
    font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    margin-bottom: 16px;
}

.legal-content h3 {
    font-size: var(--fs-h3);
    margin: 28px 0 10px;
}

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

.legal-content ul,
.legal-content ol {
    margin: 0 0 1.1em;
    padding-left: 1.35rem;
}

.legal-content li + li {
    margin-top: 0.45em;
}

.legal-content li::marker {
    color: var(--accent);
}

.legal-callout {
    margin: 24px 0;
    padding: 20px 22px;
    border-radius: var(--r-md);
    background: var(--peach-pale);
    border-left: 4px solid var(--accent);
}

.legal-callout p:last-child {
    margin-bottom: 0;
}

.legal-contact__card {
    position: relative;
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--r-lg);
    background: var(--cream-soft);
    border: 1px solid var(--line-peach);
    box-shadow: var(--shadow-soft);
}

.legal-contact__mark {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
}

.legal-contact__links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 8px 0 0;
    padding: 0;
}

.cookie-table {
    margin: 24px 0;
    border-radius: var(--r-md);
    background: var(--cream-soft);
    border: 1px solid var(--line-peach);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-small);
    line-height: 1.5;
}

.cookie-table thead th {
    padding: 14px 16px;
    background: var(--peach);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}

.cookie-table tbody th,
.cookie-table tbody td {
    padding: 14px 16px;
    vertical-align: top;
    text-align: left;
    color: var(--ink);
}

.cookie-table tbody th {
    font-family: var(--font-head);
    font-weight: 600;
}

.cookie-table tbody tr:nth-child(even) {
    background: var(--peach-pale);
}

@media (max-width: 767px) {
    .cookie-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .cookie-table table,
    .cookie-table tbody,
    .cookie-table tr,
    .cookie-table th,
    .cookie-table td {
        display: block;
        width: 100%;
    }

    .cookie-table tbody tr {
        padding: 12px 16px;
    }

    .cookie-table tbody tr + tr {
        border-top: 1px solid var(--line-peach);
    }

    .cookie-table tbody th {
        padding: 0 0 6px;
        font-size: 1.0625rem;
    }

    .cookie-table tbody td {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 6px 0;
    }

    .cookie-table tbody td::before {
        content: attr(data-label);
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--accent-ink);
    }
}

.cookie-table:focus-visible {
    outline-offset: -3px;
}

.legal-contact__links li + li {
    margin-top: 0;
}

.legal-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: clamp(32px, 4vw, 48px);
}

.legal-cta p {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 500;
}

.legal-contact__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

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

    .legal-toc {
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }

    .legal-toc__summary {
        cursor: default;
    }
}

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

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: calc(var(--wave-h) + 48px) 0 40px;
    background:
        radial-gradient(55% 45% at 50% 30%, rgba(255, 214, 160, 0.55) 0%, rgba(255, 214, 160, 0) 70%),
        linear-gradient(180deg, var(--dusk-rose) 0%, #E9BCA9 45%, #F3D2BC 100%);
}

.site-footer > .container {
    position: relative;
    z-index: 2;
}

.footer-card {
    padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 48px) 24px;
    border-radius: var(--r-lg);
    background: rgba(255, 249, 241, 0.66);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 20px 50px rgba(110, 64, 44, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.footer-card__grid {
    display: grid;
    gap: 32px;
    text-align: center;
}

.footer-col--brand {
    order: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-brand--footer {
    flex-direction: column;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 1.5rem;
}

.site-brand--footer .site-brand__mark {
    width: 44px;
    height: 44px;
}

.footer-col__desc {
    max-width: 34ch;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1rem;
}

.footer-col__title {
    margin: 0 0 8px;
    font-family: var(--font-head);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

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

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink);
    text-decoration: none;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--accent-ink);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-card__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(53, 40, 38, 0.14);
    text-align: center;
}

.footer-copy {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ink-soft);
}

.footer-copy__sep {
    display: inline-block;
    width: 1px;
    height: 0.9em;
    margin: 0 10px;
    vertical-align: -0.1em;
    background: rgba(53, 40, 38, 0.3);
}

.footer-inline {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.footer-inline li + li {
    border-left: 1px solid rgba(53, 40, 38, 0.3);
}

.footer-inline a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    color: var(--ink);
    font-size: 0.9375rem;
    text-decoration: none;
}

.footer-inline a:hover {
    color: var(--accent-ink);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

@media (min-width: 768px) {
    .footer-card__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: start;
    }

    .footer-col--nav {
        text-align: left;
    }

    .footer-col--legal {
        text-align: right;
    }

    .footer-col--brand {
        order: 0;
    }

    .footer-card__bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================================
   HOME PAGE
   ============================================ */

.page-home .site-footer {
    padding-top: clamp(16px, 3vw, 40px);
}

.btn--wrap {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding-block: 12px;
    max-width: 100%;
}

/* ---------- Hero ---------- */
.hero {
    padding: calc(var(--header-h) + 16px) 0 calc(var(--wave-h) + 30vh);
    background-color: var(--peach);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--peach);
    background-image: url("./assets/420b22292169cde4907a51de537cf080.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 78% center;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(251, 244, 234, 0.55) 0%, rgba(251, 244, 234, 0.2) 55%, rgba(251, 244, 234, 0) 75%);
}

.hero__arc {
    display: none;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero__copy {
    max-width: 580px;
    padding: 20px;
    border-radius: var(--r-lg);
    background: rgba(251, 244, 234, 0.8);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-soft);
}

.hero__title {
    font-size: clamp(2rem, 1.2rem + 3.4vw, 3.75rem);
    margin-bottom: 14px;
}

.hero__brand {
    display: block;
    color: var(--accent-ink);
}

.hero__lead {
    font-size: var(--fs-body);
    color: var(--ink);
    margin-bottom: 22px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__actions .btn {
    width: 100%;
}

.hero__note {
    margin: 16px 0 0;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--ink-soft);
}

@media (min-width: 480px) {
    .hero__actions .btn {
        width: auto;
    }
}

@media (min-width: 768px) {
    .hero__copy {
        padding: 32px;
    }
}

@media (min-width: 1024px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: min(100svh, 920px);
        padding: calc(var(--header-h) + 64px) 0 calc(var(--wave-h) + 96px);
    }

    .hero > .container {
        width: min(var(--container), 100% - 2 * var(--gutter));
    }

    .hero__bg {
        background-position: 70% center;
    }

    .hero__bg::after {
        background: linear-gradient(90deg, rgba(251, 244, 234, 0.7) 0%, rgba(251, 244, 234, 0.42) 38%, rgba(251, 244, 234, 0) 64%);
    }

    .hero__arc {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        max-width: none;
        pointer-events: none;
        opacity: 0.35;
    }

    .hero__arc-glow {
        fill: none;
        stroke: #FFE2A6;
        stroke-width: 12;
        stroke-linecap: round;
    }

    .hero__arc-line {
        fill: none;
        stroke: #E8B860;
        stroke-width: 2.5;
        stroke-linecap: round;
    }

    .hero__copy {
        max-width: 600px;
        padding: 0;
        background: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: none;
    }

    .hero__lead {
        font-size: var(--fs-lead);
        max-width: 52ch;
    }
}

/* ---------- Intro answer ---------- */
.intro {
    background: var(--cream);
    padding: clamp(40px, 6vw, 80px) 0 calc(var(--wave-h) + clamp(48px, 6vw, 88px));
}

.intro__inner {
    max-width: 760px;
    text-align: center;
}

.intro__mark {
    margin: 0 auto 16px;
}

.intro__answer {
    margin: 0;
    font-size: var(--fs-lead);
    color: var(--ink-soft);
}

/* ---------- Value proposition ---------- */
.value {
    padding: clamp(32px, 5vw, 64px) 0 calc(var(--wave-h) + clamp(56px, 7vw, 100px));
    background:
        radial-gradient(60% 16% at 28% 76%, rgba(255, 233, 200, 0.85) 0%, rgba(255, 233, 200, 0) 70%),
        radial-gradient(45% 14% at 82% 72%, rgba(220, 167, 158, 0.35) 0%, rgba(220, 167, 158, 0) 70%),
        linear-gradient(180deg, var(--peach) 0%, #F4D5BA 55%, #F2C9A6 100%);
}

.value__grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.value__emblem {
    position: relative;
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.value__emblem::before {
    content: "";
    position: absolute;
    inset: -45%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 249, 241, 0.95) 0%, rgba(255, 249, 241, 0.55) 40%, rgba(255, 249, 241, 0) 70%);
}

.value__heart {
    position: relative;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(179, 94, 69, 0.28));
}

@keyframes heart-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: no-preference) {
    .value__heart {
        animation: heart-float 6s ease-in-out infinite;
    }
}

@media (prefers-reduced-motion: reduce) {
    .value__heart {
        animation: none;
    }
}

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

.value-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 18px;
    border-radius: var(--r-md);
    background: rgba(255, 249, 241, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 6px 18px rgba(110, 64, 44, 0.06);
}

.value-list__icon {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    color: var(--accent);
}

.value-list p {
    margin: 0;
    color: var(--ink);
}

.value-list strong {
    font-weight: 600;
}

@media (min-width: 1024px) {
    .value__grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: clamp(48px, 6vw, 96px);
    }

    .value__emblem {
        width: min(100%, 340px);
        height: auto;
        aspect-ratio: 1;
    }
}

/* ---------- Matches ---------- */
.matches {
    padding: calc(var(--wave-h) + clamp(32px, 5vw, 64px)) 0 calc(var(--wave-h) + clamp(56px, 7vw, 100px));
    background-color: #D8C49C;
}

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

.matches__head {
    max-width: 560px;
    margin: 0 0 clamp(28px, 4vw, 48px);
    padding: 24px;
    border-radius: var(--r-lg);
    background: rgba(251, 244, 234, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
}

.matches__lead {
    margin: 0;
    color: var(--ink);
    font-size: var(--fs-body);
}

.matches__grid {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
}

.matches__grid > li {
    flex: 0 0 min(74%, 280px);
    scroll-snap-align: start;
}

.matches__grid:focus-visible {
    outline-offset: -3px;
    border-radius: var(--r-md);
}

.matches__cta {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .matches__head {
        margin-left: auto;
        padding: 28px 32px;
    }

    .matches__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .matches__cta {
        margin-top: 40px;
    }
}

@media (min-width: 1024px) {
    .matches__bg {
        background-position: center 40%;
    }

    .matches__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }
}

/* ---------- How it works ---------- */
.how {
    background: var(--cream);
    padding: clamp(56px, 7vw, 96px) 0 calc(var(--wave-h) + clamp(48px, 6vw, 88px));
}

.steps-wrap {
    position: relative;
}

.steps__ribbon {
    display: none;
}

.steps {
    --step-gap: 28px;
    position: relative;
    list-style: none;
    display: grid;
    gap: var(--step-gap);
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
}

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

.step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 43px;
    top: 48px;
    width: 10px;
    height: calc(100% + var(--step-gap));
    border-radius: 10px;
    background: linear-gradient(180deg, #B3A35E 0%, #D4A253 50%, #EBB46C 100%);
    box-shadow: 0 0 14px rgba(244, 207, 134, 0.75);
    z-index: 0;
}

.step__medal {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--cream-soft);
    border: 2px solid var(--gold);
    box-shadow: 0 12px 26px rgba(110, 64, 44, 0.16), 0 0 0 6px rgba(244, 207, 134, 0.18);
    color: var(--accent);
}

.step__icon {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.step__label {
    font-family: var(--font-head);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--ink);
}

.step__num {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-deep);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.9375rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(166, 81, 59, 0.35);
}

.step__text {
    padding-top: 8px;
}

.step__title {
    margin-bottom: 6px;
}

.step__text p {
    margin: 0;
    color: var(--ink-soft);
}

.step__arrow {
    display: none;
}

.how__cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(40px, 5vw, 56px);
}

@media (min-width: 1024px) {
    .steps__ribbon {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 190px;
        width: 100%;
        height: 380px;
        max-width: none;
        z-index: 0;
        pointer-events: none;
    }

    .steps__ribbon-glow {
        fill: none;
        stroke: #F4CF86;
        stroke-width: 22;
        stroke-linecap: round;
        opacity: 0.55;
    }

    .steps__ribbon-line {
        fill: none;
        stroke: url(#home-ribbon-grad);
        stroke-width: 10;
        stroke-linecap: round;
    }

    .steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        max-width: none;
        padding-top: 190px;
        align-items: start;
    }

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

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

    .step:nth-child(2) { margin-top: 80px; }
    .step:nth-child(3) { margin-top: 160px; }
    .step:nth-child(4) { margin-top: 240px; }

    .step__medal {
        width: 140px;
        height: 140px;
        gap: 6px;
    }

    .step__icon {
        width: 40px;
        height: 40px;
    }

    .step__label {
        font-size: 1rem;
    }

    .step__num {
        top: 2px;
        right: 2px;
    }

    .step__text {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 300px;
        margin-top: 14px;
        padding: 0 14px;
    }

    .step__arrow {
        display: block;
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
        fill: none;
        stroke: var(--gold);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .step:nth-child(even) .step__text {
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(100% + 12px);
        margin: 0 auto;
    }

    .step:nth-child(even) .step__arrow {
        order: 1;
        margin: 8px 0 0;
        transform: rotate(180deg);
    }
}

/* ---------- Features ---------- */
.features {
    padding: clamp(56px, 7vw, 96px) 0 calc(var(--wave-h) + clamp(56px, 7vw, 100px));
    background: linear-gradient(180deg, var(--cream-soft) 0%, var(--peach-pale) 100%);
}

.features__grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 44px;
    width: min(var(--container), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.features__media {
    display: flex;
    justify-content: center;
}

.features__frame {
    position: relative;
    width: 100%;
    max-width: 460px;
    border-radius: 999px 999px var(--r-xl) var(--r-xl);
    filter: drop-shadow(0 18px 36px rgba(110, 64, 44, 0.18));
}

.features__frame::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    border: 2px solid rgba(212, 162, 83, 0.85);
    box-shadow: 0 0 24px rgba(244, 207, 134, 0.55);
    pointer-events: none;
}

.features__img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 60% center;
    border-radius: inherit;
    background: var(--peach);
}

.feature-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.feature-list li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.feature-list__icon {
    width: 44px;
    height: 44px;
}

.feature-list h3 {
    margin: 0 0 4px;
    font-size: 1.1875rem;
}

.feature-list p {
    margin: 0;
    color: var(--ink-soft);
}

@media (min-width: 1024px) {
    .features__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: clamp(48px, 6vw, 96px);
        align-items: center;
    }

    .features__media {
        display: block;
        margin-left: calc((100vw - min(var(--container), 100vw - 2 * var(--gutter))) / -2);
    }

    .features__frame {
        max-width: none;
        border-radius: 0 50% 50% 0 / 0 40% 40% 0;
        filter: drop-shadow(18px 0 34px rgba(244, 207, 134, 0.45));
    }

    .features__frame::before {
        inset: -14px -16px -14px -40px;
        border-left: 0;
    }

    .features__img {
        aspect-ratio: 4 / 4.6;
        max-height: 720px;
    }
}

/* ---------- Trust & safety ---------- */
.trust {
    padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 110px);
    background: linear-gradient(180deg, #577591 0%, #4A6A8A 100%);
    color: var(--white);
}

.trust h2,
.trust h3 {
    color: var(--white);
}

.trust p,
.trust li {
    color: var(--cream-soft);
}

.trust .eyebrow {
    color: var(--cream-soft);
}

.trust__grid {
    display: grid;
    gap: 40px;
}

.trust__emblem {
    position: relative;
    width: 120px;
    margin-bottom: 20px;
}

.trust__emblem::before {
    content: "";
    position: absolute;
    inset: -40%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.12) 40%, rgba(255, 255, 255, 0) 68%);
}

.trust__emblem svg {
    position: relative;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 24px rgba(20, 35, 55, 0.25));
}

.trust__intro p:last-child {
    margin-bottom: 0;
    font-size: var(--fs-lead);
}

.trust__item {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 249, 241, 0.35);
}

.trust__item:first-child {
    padding-top: 0;
    border-top: 0;
}

.trust__item h3 {
    margin-bottom: 10px;
}

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

.trust__list {
    margin: 0;
    padding-left: 1.3rem;
}

.trust__list li + li {
    margin-top: 6px;
}

.trust__list li::marker {
    color: var(--gold-glow);
}

.trust__closing {
    margin: 0;
    padding: 20px 22px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 249, 241, 0.35);
    font-weight: 500;
}

@media (min-width: 1024px) {
    .trust__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: clamp(56px, 7vw, 104px);
        align-items: start;
    }

    .trust__emblem {
        width: 160px;
    }
}

/* ---------- Emotional brand ---------- */
.emotional {
    padding: calc(var(--wave-h) + clamp(36px, 5vw, 72px)) 0 calc(var(--wave-h) + clamp(48px, 6vw, 90px));
    background-color: #E7CDB9;
}

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

.emotional__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(251, 244, 234, 0.85) 0%, rgba(251, 244, 234, 0.55) 40%, rgba(251, 244, 234, 0) 62%);
}

.emotional__copy {
    max-width: 560px;
    padding: 24px 20px;
    border-radius: var(--r-lg);
    background: rgba(251, 244, 234, 0.8);
}

.emotional__copy p {
    color: var(--ink);
}

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

.emotional__quote {
    position: relative;
    max-width: 620px;
    margin: clamp(200px, 55vw, 320px) auto 0;
    padding: 34px clamp(28px, 5vw, 56px);
    border-radius: 24px;
    background: rgba(251, 244, 234, 0.45);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 40px rgba(70, 50, 40, 0.14);
    text-align: center;
}

.emotional__quote blockquote {
    margin: 0;
}

.emotional__quote p {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(1.3125rem, 1.1rem + 0.9vw, 1.75rem);
    font-weight: 500;
    line-height: 1.35;
    color: var(--ink);
}

.emotional__qmark {
    position: absolute;
    width: 44px;
    height: auto;
    fill: var(--gold);
    filter: drop-shadow(0 0 8px rgba(244, 207, 134, 0.7));
}

.emotional__qmark--start {
    top: -16px;
    left: -10px;
}

.emotional__qmark--end {
    right: -10px;
    bottom: -16px;
    transform: rotate(180deg);
}

@media (min-width: 1024px) {
    .emotional__bg {
        background-position: center;
    }

    .emotional__bg::after {
        background: linear-gradient(90deg, rgba(251, 244, 234, 0.8) 0%, rgba(251, 244, 234, 0.5) 38%, rgba(251, 244, 234, 0) 62%);
    }

    .emotional__copy {
        padding: 0;
        background: none;
    }

    .emotional__quote {
        margin-top: 120px;
    }
}

/* ---------- App download ---------- */
.app {
    padding: clamp(40px, 6vw, 72px) 0 calc(var(--wave-h) + clamp(56px, 7vw, 100px));
    background: linear-gradient(180deg, var(--apricot) 0%, #F6D7BD 45%, #FBEADB 100%);
}

.app__horizon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    height: 38%;
    max-width: none;
    pointer-events: none;
}

.app__horizon-line {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
    opacity: 0.7;
}

.app__grid {
    display: grid;
    gap: 44px;
    align-items: center;
}

.app__visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.app__arc {
    position: absolute;
    top: 0;
    left: 50%;
    width: 300px;
    height: 100%;
    max-width: none;
    transform: translateX(-62%);
    pointer-events: none;
}

.app__arc-glow {
    fill: none;
    stroke: #FFE2A6;
    stroke-width: 14;
    stroke-linecap: round;
    opacity: 0.8;
}

.app__arc-line {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
}

.phone {
    position: relative;
    z-index: 1;
    width: 240px;
    aspect-ratio: 9 / 19;
    padding: 9px;
    border-radius: 40px;
    background: linear-gradient(150deg, #48413F 0%, #262120 55%, #3B3533 100%);
    box-shadow: 0 34px 60px rgba(70, 40, 28, 0.32), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}

.phone__notch {
    position: absolute;
    top: 9px;
    left: 50%;
    z-index: 2;
    width: 88px;
    height: 22px;
    transform: translateX(-50%);
    border-radius: 0 0 14px 14px;
    background: #221D1C;
}

.phone__screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--cream-soft) 0%, #FBEFE3 100%);
    line-height: 1.3;
}

.phone__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 38px 16px 10px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.phone__bell {
    width: 18px;
    height: 18px;
    margin-left: auto;
    color: var(--ink-soft);
}

.phone__label {
    display: block;
    margin: 8px 16px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-ink);
}

.phone__avatars {
    display: flex;
    gap: 10px;
    padding: 0 16px 4px;
}

.phone__avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    box-shadow: 0 0 0 2px var(--cream-soft), 0 0 0 3.5px var(--gold);
}

.phone__avatar--a { background: linear-gradient(135deg, #C9765C, #9E4A35); }
.phone__avatar--b { background: linear-gradient(135deg, #B88E63, #8A6340); }
.phone__avatar--c { background: linear-gradient(135deg, #C28778, #95584A); }
.phone__avatar--d { background: linear-gradient(135deg, #C79A5C, #946A33); }

.phone__chats {
    list-style: none;
    margin: 0;
    padding: 0 10px;
}

.phone__chat {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px 6px;
    border-bottom: 1px solid var(--line-peach);
}

.phone__chat .phone__avatar {
    width: 32px;
    height: 32px;
    font-size: 13px;
    box-shadow: none;
}

.phone__chat-body {
    min-width: 0;
}

.phone__name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
}

.phone__preview {
    display: block;
    overflow: hidden;
    font-size: 11px;
    color: var(--ink-soft);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.phone__time {
    align-self: start;
    padding-top: 2px;
    font-size: 10px;
    color: var(--ink-soft);
}

.phone__note {
    margin: 12px 14px 0;
    padding: 9px 12px;
    border-radius: 12px;
    background: var(--peach-pale);
    border: 1px solid var(--line-peach);
    font-size: 11px;
    font-weight: 500;
    color: var(--ink);
}

.phone__tabs {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 52px;
    margin-top: auto;
    background: var(--grad-accent);
    color: var(--white);
}

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

.app__badges {
    margin-top: 28px;
}

@media (min-width: 1024px) {
    .app__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: clamp(48px, 6vw, 96px);
    }

    .phone {
        width: 280px;
    }

    .app__arc {
        width: 340px;
    }
}

/* ---------- FAQ ---------- */
.faq-section {
    background: var(--cream);
    padding: clamp(56px, 7vw, 96px) 0 calc(var(--wave-h) + clamp(56px, 7vw, 96px));
}

.faq-item__answer a {
    color: var(--accent-ink);
    font-weight: 600;
}

/* ---------- Final CTA ---------- */
.final-cta {
    padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px);
    text-align: center;
    background: linear-gradient(180deg, #F6DAC4 0%, var(--apricot) 38%, var(--amber) 62%, #E3B39E 84%, var(--dusk-rose) 100%);
}

.final-cta__inner {
    max-width: 720px;
}

.final-cta__mark {
    margin: 0 auto 18px;
}

.final-cta__text {
    margin: 0 auto 32px;
    max-width: 56ch;
    font-size: var(--fs-lead);
    color: var(--ink);
}

.final-cta__action {
    position: relative;
    display: flex;
    justify-content: center;
}

.final-cta__action::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 40%;
    z-index: -1;
    width: 560px;
    height: 200px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(255, 230, 172, 0.95) 0%, rgba(255, 230, 172, 0.45) 50%, rgba(255, 230, 172, 0) 100%);
    pointer-events: none;
}

.final-cta__action .btn {
    min-width: 220px;
}

/* ============================================
   REVEAL MICRO-ANIMATION (transform only)
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
    html.js .reveal {
        transform: translateY(18px);
        transition: transform 0.7s var(--ease);
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }
}