/*
 * Couple Review - design system
 * Light-only theme: pale sky-blue to warm cream, petrol-teal + peach accent.
 */

:root {
    --teal: #2F5F6B;
    --teal-dark: #234852;
    --teal-ink: #1F3D45;
    --teal-soft: #DCEBEF;
    --aqua-glow: #9FD8DE;
    --peach: #E7A98C;
    --peach-soft: #F7E1D4;
    --peach-line: rgba(231, 169, 140, 0.5);
    --ink: #1E2B33;
    --muted: #46565F;
    --cream: #FCF6EE;
    --cream-strong: #FFFBF6;
    --sky: #E3EEF3;
    --sky-soft: #EDF4F7;
    --sage-soft: #E4EFE3;
    --sage-ink: #2F5A3A;
    --coral-soft: #F9E3DC;
    --coral-ink: #8A3B2A;
    --white: #FFFFFF;

    --font-head: "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, 3.75rem);
    --fs-h2: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem);
    --fs-h3: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem);
    --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);

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

    --shadow-soft: 0 12px 32px -16px rgba(31, 61, 69, 0.28), 0 2px 6px rgba(31, 61, 69, 0.06);
    --shadow-lift: 0 20px 40px -18px rgba(31, 61, 69, 0.35), 0 4px 10px rgba(31, 61, 69, 0.08);
    --glass-bg: rgba(255, 251, 246, 0.82);

    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-y: clamp(3.5rem, 7vw, 6.5rem);
    --header-bottom: 76px;

    interpolate-size: allow-keywords;
}

/* ============================================
   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%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-bottom) + 16px);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--cream);
    background-image: linear-gradient(180deg, var(--sky) 0%, #F6F2EC 12%, var(--cream) 24%, var(--cream) 76%, var(--sky-soft) 100%);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

p {
    margin: 0 0 1em;
}

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

a:hover {
    color: var(--teal-dark);
}

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

strong {
    color: var(--teal-ink);
    font-weight: 600;
}

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

main:focus {
    outline: none;
}

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

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

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

.section {
    position: relative;
    padding-block: var(--section-y);
}

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

.section-head p {
    color: var(--muted);
    font-size: var(--fs-lead);
}

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

.lead {
    font-size: var(--fs-lead);
    color: var(--muted);
}

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

/* ============================================
   SURFACES & MOTIF
   ============================================ */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--peach-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.eight-mark {
    display: inline-block;
    flex-shrink: 0;
    overflow: visible;
}

.eight-mark--glow {
    filter: drop-shadow(0 0 6px rgba(159, 216, 222, 0.9)) drop-shadow(0 0 14px rgba(231, 169, 140, 0.55));
}

.ribbon-wave {
    display: block;
    width: 100%;
    height: clamp(90px, 14vw, 200px);
    pointer-events: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.6rem;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    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;
    -webkit-tap-highlight-color: transparent;
}

.btn--primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 8px 20px -10px rgba(47, 95, 107, 0.7), 0 0 0 4px rgba(159, 216, 222, 0.25);
}

.btn--primary:hover {
    background: var(--teal-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -10px rgba(47, 95, 107, 0.75), 0 0 0 5px rgba(159, 216, 222, 0.35);
}

.btn--ghost {
    background: rgba(255, 251, 246, 0.7);
    color: var(--teal);
    border-color: var(--teal);
}

.btn--ghost:hover {
    background: var(--teal-soft);
    color: var(--teal-dark);
}

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

.btn--lg {
    min-height: 58px;
    padding: 1rem 2.4rem;
    font-size: 1.2rem;
}

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

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

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

/* Store-style buttons */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 58px;
    min-width: 190px;
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(159, 216, 222, 0.55);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #356B78 0%, var(--teal-dark) 100%);
    color: var(--white);
    font-family: var(--font-head);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 24px -12px rgba(31, 61, 69, 0.7), 0 0 18px rgba(159, 216, 222, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -12px rgba(31, 61, 69, 0.75), 0 0 24px rgba(159, 216, 222, 0.5);
}

.store-btn:focus-visible {
    outline: 3px solid var(--teal-ink);
    outline-offset: 4px;
    border-radius: var(--radius-lg);
}

.store-btn__icon {
    flex-shrink: 0;
}

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

.store-btn__small {
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--font-body);
}

.store-btn__big {
    font-size: 1.2rem;
    font-weight: 600;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px clamp(0.5rem, 2vw, 1.25rem) 0;
}

.site-header__bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    max-width: calc(var(--container) + 2rem);
    min-height: 60px;
    margin-inline: auto;
    padding: 0.45rem 0.5rem 0.45rem 1rem;
    border: 1px solid var(--peach-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

/* Blur lives on a pseudo-element so the fixed drawer has no filtered ancestor */
.site-header__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(255, 251, 246, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    color: var(--teal-ink);
    text-decoration: none;
    flex-shrink: 0;
}

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

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

.site-brand__text {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

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

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

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--peach-line);
    border-radius: var(--radius-sm);
    background: var(--cream-strong);
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--teal-ink);
    transition: transform 0.25s 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;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem var(--gutter) 2rem;
    background: var(--cream);
    border-top: 1px solid var(--peach-line);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.site-nav.is-open {
    display: flex;
}

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

.site-nav__list li {
    border-bottom: 1px solid rgba(231, 169, 140, 0.35);
}

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

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

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

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

@media (min-width: 1024px) {
    .site-header {
        padding-top: 14px;
    }

    .site-header__bar {
        padding: 0.45rem 0.55rem 0.45rem 1.25rem;
        gap: 1.5rem;
    }

    .menu-toggle {
        display: none;
    }

    .site-nav,
    .site-nav.is-open {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 0;
        background: transparent;
        border: 0;
        overflow: visible;
        margin-inline: auto;
    }

    .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.25rem 0.75rem;
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--muted);
    }

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

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

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

    .site-nav .site-nav__cta,
    .site-nav__note {
        display: none;
    }
}

/* ============================================
   SHARED CARD COMPONENTS
   ============================================ */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0 0 0.6rem;
    padding: 0;
}

.chip {
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-pill);
    background: var(--peach-soft);
    color: var(--teal-ink);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
}

.profile-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.profile-card__photo {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 1px var(--peach-line), 0 6px 14px -8px rgba(31, 61, 69, 0.4);
}

.profile-card__name {
    margin: 0.1rem 0 0.45rem;
    font-size: 1.2rem;
}

.profile-card__age {
    font-weight: 500;
    color: var(--muted);
}

.profile-card__intro {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.step-card,
.feature-card {
    position: relative;
    padding: 1.5rem 1.35rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover,
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.step-card {
    list-style: none;
}

.step-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.step-card__num {
    font-family: var(--font-head);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal);
}

.step-card__title,
.feature-card__title {
    margin-bottom: 0.5rem;
}

.step-card__text,
.feature-card__text {
    margin: 0;
    color: var(--muted);
    font-size: 0.975rem;
}

.feature-card {
    text-align: center;
}

.feature-card__icon {
    margin: 0 auto 0.9rem;
    display: block;
}

/* ============================================
   FAQ ACCORDION (native details)
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    max-width: 820px;
    margin-inline: auto;
}

.faq-item {
    border: 1px solid rgba(47, 95, 107, 0.22);
    border-radius: var(--radius-sm);
    background: rgba(227, 238, 243, 0.85);
    box-shadow: 0 6px 16px -12px rgba(31, 61, 69, 0.4);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] {
    background: var(--cream-strong);
    border-color: var(--peach-line);
}

.faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
}

.faq-item[open]::details-content {
    block-size: auto;
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.9rem 1.25rem;
    cursor: pointer;
    list-style: none;
    border-radius: var(--radius-sm);
}

.faq-item__q::-webkit-details-marker {
    display: none;
}

.faq-item__q:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
}

.faq-item__title {
    margin: 0;
    font-size: 1.075rem;
    font-weight: 600;
    color: var(--teal-ink);
}

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

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

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

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

.faq-item__a {
    padding: 0 1.25rem 1.15rem;
    color: var(--ink);
}

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

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-hero {
    position: relative;
    padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
    background: linear-gradient(180deg, rgba(227, 238, 243, 0.9) 0%, rgba(252, 246, 238, 0) 100%);
}

.legal-hero__wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0.4;
}

.legal-hero__inner {
    position: relative;
    max-width: 860px;
    text-align: center;
}

.legal-hero__subtitle {
    font-size: clamp(1.2rem, 1rem + 1vw, 1.55rem);
    font-weight: 500;
    color: var(--teal);
}

.legal-hero__summary {
    font-size: var(--fs-lead);
    color: var(--muted);
}

.legal-hero__updated {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--teal-ink);
}

.cookie-cards {
    display: grid;
    gap: 1rem;
    margin: 1.25rem 0 1.5rem;
}

.cookie-card {
    padding: 1.4rem 1.3rem 1.1rem;
    border-top: 4px solid var(--peach);
}

.cookie-card__icon {
    display: block;
    margin-bottom: 0.6rem;
}

.cookie-card h3 {
    margin-top: 0;
}

.cookie-card p {
    font-size: 0.95rem;
}

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

@media (min-width: 768px) {
    .cookie-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.notice {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--peach-line);
    border-left: 4px solid var(--peach);
    border-radius: var(--radius-sm);
    background: var(--cream-strong);
    text-align: left;
    box-shadow: var(--shadow-soft);
}

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

.notice__icon {
    margin-top: 0.15rem;
}

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

.toc {
    padding: 1.25rem 1.4rem;
    align-self: start;
}

.toc__title {
    margin: 0 0 0.6rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--teal-ink);
}

.toc__list {
    margin: 0;
    padding-left: 1.2rem;
}

.toc__list li {
    margin: 0.15rem 0;
}

.toc__list a {
    display: inline-block;
    padding: 0.35rem 0;
    min-height: 32px;
    color: var(--teal);
    font-size: 0.95rem;
    text-decoration: underline;
    text-decoration-color: var(--peach);
    text-underline-offset: 0.2em;
}

.toc__list a:hover {
    color: var(--teal-dark);
}

.prose {
    max-width: 760px;
    min-width: 0;
}

.prose > section {
    padding: 0 0 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(231, 169, 140, 0.35);
    overflow: visible;
}

.prose > section:last-child {
    border-bottom: 0;
}

.prose h2 {
    font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem);
    margin-top: 0.5rem;
}

.prose h3 {
    margin-top: 1.4rem;
}

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

.prose li {
    margin-bottom: 0.4rem;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
}

.prose th,
.prose td {
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(47, 95, 107, 0.2);
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: var(--sky);
    color: var(--teal-ink);
    font-family: var(--font-head);
    font-weight: 600;
}

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

    .toc {
        position: sticky;
        top: calc(var(--header-bottom) + 20px);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(9rem, 16vw, 13rem);
    background-color: var(--sky-soft);
    background-image: url("./assets/9bc93e02e0f9dff494bd02118e411199.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    border-top: 1px solid rgba(231, 169, 140, 0.35);
    overflow: clip;
}

.site-footer__inner {
    position: relative;
    display: grid;
    gap: 1.75rem;
    max-width: 880px;
    text-align: center;
}

.site-brand--footer {
    justify-content: center;
}

.site-footer__desc {
    max-width: 560px;
    margin: 0.5rem auto 0;
    color: var(--muted);
}

.site-footer__nav ul,
.site-footer__legal ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__nav a,
.site-footer__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--teal-ink);
    font-weight: 500;
    text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__legal a:hover {
    color: var(--teal);
    text-decoration: underline;
    text-decoration-color: var(--peach);
    text-underline-offset: 0.2em;
}

.site-footer__legal a {
    text-decoration: underline;
    text-decoration-color: var(--peach);
    text-underline-offset: 0.2em;
}

.site-footer__disclosure {
    padding: 1.5rem 1.25rem 0;
    border-top: 1px solid rgba(47, 95, 107, 0.2);
    background: rgba(252, 246, 238, 0.75);
    border-radius: var(--radius-sm);
}

.site-footer__disclosure p {
    font-size: 0.925rem;
    color: var(--ink);
}

.site-footer__copy {
    color: var(--muted);
}

/* ============================================
   HOMEPAGE
   ============================================ */
.section-cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 2.75rem);
}

.check-list {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
}

.check-list li {
    position: relative;
    margin-bottom: 0.55rem;
    padding-left: 1.6rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.55em;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--peach);
    box-shadow: 0 0 0 3px var(--peach-soft);
}

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}

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

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(252, 246, 238, 0.55) 0%, rgba(252, 246, 238, 0.3) 55%, rgba(252, 246, 238, 0.92) 100%);
}

.hero__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.hero__copy {
    position: relative;
}

.hero__halo {
    position: absolute;
    top: -60px;
    left: 50%;
    width: min(440px, 110%);
    aspect-ratio: 1;
    transform: translateX(-50%);
    z-index: -1;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 56%, rgba(159, 216, 222, 0.55) 60%, rgba(231, 169, 140, 0.35) 64%, transparent 70%),
        radial-gradient(circle, rgba(255, 251, 246, 0.75) 0%, rgba(255, 251, 246, 0) 62%);
    pointer-events: none;
}

.hero h1 {
    margin-bottom: 0.4em;
}

.hero__sub {
    font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
    font-weight: 500;
    color: var(--teal);
}

.hero__intro {
    font-size: var(--fs-lead);
    color: var(--ink);
    max-width: 580px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 1rem;
}

.hero__note {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.55rem;
    max-width: 560px;
    margin: 0;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--peach-line);
    border-radius: var(--radius-sm);
    background: var(--cream-strong);
    font-size: 0.9rem;
    color: var(--ink);
}

.hero__note .eight-mark {
    margin-top: 0.15rem;
}

.hero__media {
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--cream-strong);
    box-shadow: var(--shadow-lift), 0 0 0 1px var(--peach-line);
}

.hero__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 55% 30%;
}

@media (max-width: 559px) {
    .hero__actions .btn {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3.5rem;
    }

    .hero__halo {
        left: 40%;
        top: -90px;
        width: 520px;
    }

    .hero__media {
        max-width: 460px;
        justify-self: end;
    }
}

/* Overview */
.overview__grid {
    display: grid;
    gap: 1.5rem;
}

.overview__copy h3 {
    margin-top: 1.75rem;
}

.overview__fine {
    font-size: 0.95rem;
    color: var(--muted);
}

.overview__art {
    min-height: 360px;
    background-image: url("./assets/b0c5ab288d4e39bb5996e6eab25ae2fa.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (min-width: 1024px) {
    .overview__grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3rem;
        align-items: stretch;
    }

    .overview__art {
        min-height: 560px;
        background-position: center;
    }
}

/* Profiles */
.profiles__grid {
    display: grid;
    gap: 1rem;
    align-items: center;
}

.profiles__col {
    display: grid;
    gap: 1rem;
}

.profiles__col .profile-card {
    height: 100%;
}

.profiles__eight {
    display: none;
    justify-content: center;
}

@media (min-width: 768px) {
    .profiles__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .profiles__grid {
        grid-template-columns: 1fr 150px 1fr;
        gap: 1.5rem;
    }

    .profiles__eight {
        display: flex;
    }
}

/* How it works */
.steps {
    position: relative;
}

.steps__ribbon {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.steps__ribbon--h {
    display: none;
}

.steps__ribbon--v {
    top: 0;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 100%;
}

.steps-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0 0 0 2.75rem;
    list-style: none;
}

.how__note {
    max-width: 720px;
    margin: 2rem auto 0;
    text-align: center;
    color: var(--muted);
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr 1fr;
        padding-left: 0;
        gap: 1.25rem;
    }

    .steps__ribbon--v {
        display: none;
    }

    .steps__ribbon--h {
        display: block;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 240px;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .steps__ribbon--h {
        top: 62%;
    }
}

/* Features */
.features__art {
    height: clamp(150px, 26vw, 330px);
    margin: calc(var(--section-y) * -0.4) auto 0.5rem;
    max-width: 900px;
    background-image: url("./assets/658d379e25df8097c25e2f53d8b7ef89.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.features__wrap {
    position: relative;
}

.features__lines {
    position: absolute;
    top: -2%;
    left: -6%;
    width: 112%;
    height: 104%;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.features-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Pros & cons */
.pc-grid {
    display: grid;
    gap: 1.25rem;
}

.pc-panel {
    position: relative;
    padding: 2.75rem 1.4rem 1.5rem;
    margin-top: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.pc-panel--pros {
    background: var(--sage-soft);
    border: 1px solid rgba(47, 90, 58, 0.22);
}

.pc-panel--cons {
    background: var(--coral-soft);
    border: 1px solid rgba(138, 59, 42, 0.22);
}

.pc-panel__badge {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 10px 22px -12px rgba(31, 61, 69, 0.55);
}

.pc-panel--pros .pc-panel__badge {
    background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #CFE3CD 70%);
}

.pc-panel--cons .pc-panel__badge {
    background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #F3C9BC 70%);
}

.pc-panel__title {
    margin-bottom: 0.2rem;
    text-align: center;
    font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
}

.pc-panel--pros .pc-panel__title {
    color: var(--sage-ink);
}

.pc-panel--cons .pc-panel__title {
    color: var(--coral-ink);
}

.pc-panel__label {
    margin: 0 auto 1.1rem;
    width: fit-content;
    padding: 0.15rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--cream-strong);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
}

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

.pc-list li {
    padding: 0.75rem 0;
    border-top: 1px solid rgba(31, 61, 69, 0.1);
}

.pc-list li:first-child {
    border-top: 0;
}

.pc-eight {
    display: none;
    justify-content: center;
    align-items: center;
}

.verdict {
    max-width: 820px;
    margin: 2rem auto 0;
    padding: 1.5rem 1.5rem 1.25rem;
    border-left: 4px solid var(--teal);
}

.verdict__label {
    margin: 0 0 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
}

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

@media (min-width: 1024px) {
    .pc-grid {
        grid-template-columns: 1fr 130px 1fr;
        gap: 1rem;
        align-items: stretch;
    }

    .pc-panel {
        padding: 3rem 1.75rem 1.75rem;
    }

    .pc-eight {
        display: flex;
        margin-top: 2rem;
    }
}

/* Safety */
.safety {
    padding-bottom: 0;
}

.safety-grid {
    display: grid;
    gap: 1.25rem;
}

.safety-block {
    padding: 1.6rem 1.4rem 1.25rem;
}

.safety-block--advice {
    border-top: 4px solid var(--teal);
}

.safety-block--couple {
    border-top: 4px solid var(--peach);
}

.safety-block__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, var(--teal-soft) 75%);
    border: 1px solid rgba(47, 95, 107, 0.18);
    box-shadow: 0 8px 18px -10px rgba(31, 61, 69, 0.45);
}

.safety-block h3 {
    margin-bottom: 0.25rem;
}

.safety-block__tag {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal);
}

.safety-block__fine {
    margin: 0;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
    background: var(--peach-soft);
    font-size: 0.925rem;
}

.safety__wave {
    margin-top: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
    .safety-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }

    .safety-block {
        padding: 2rem 2rem 1.6rem;
    }
}

/* Why consider */
.why__flourish {
    position: absolute;
    top: 50%;
    width: 90px;
    height: 320px;
    transform: translateY(-50%);
    opacity: 0.3;
    pointer-events: none;
    display: none;
}

.why__flourish--left {
    left: 0.5rem;
}

.why__flourish--right {
    right: 0.5rem;
}

.why-grid {
    position: relative;
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.why__photo {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--cream-strong);
    box-shadow: var(--shadow-soft), 0 0 0 1px var(--peach-line);
}

.why__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.why__copy {
    text-align: center;
}

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

@media (min-width: 1024px) {
    .why__flourish {
        display: block;
    }

    .why-grid {
        grid-template-columns: 1fr 1.15fr 1fr;
        gap: 2.25rem;
        padding-inline: 3.5rem;
    }

    .why__photo img {
        aspect-ratio: 3 / 4;
    }

    .why__photo:first-child img {
        object-position: 62% center;
    }
}

/* Mobile app */
.app-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.app-stage__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("./assets/ccabf4a9a2a2726fd04aa1412dea21e9.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.app-stage > *:not(.app-stage__bg) {
    position: relative;
    z-index: 1;
}

.phone {
    order: -1;
    width: 230px;
    height: 460px;
    margin-bottom: 0.75rem;
    padding: 10px;
    border-radius: 38px;
    background: linear-gradient(160deg, #356B78 0%, var(--teal-ink) 100%);
    box-shadow: var(--shadow-lift), 0 0 30px rgba(159, 216, 222, 0.5);
}

.phone__screen {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 12px 16px;
    border-radius: 29px;
    background: var(--cream-strong);
    overflow: hidden;
}

.phone__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 70px;
    height: 10px;
    border-radius: 999px;
    background: var(--teal-ink);
    transform: translateX(-50%);
}

.phone__tile {
    position: relative;
    flex: 1;
    border-radius: 20px;
    background: linear-gradient(170deg, var(--peach-soft) 0%, #F2CDB9 40%, #CFE4EA 100%);
    overflow: hidden;
}

.phone__silhouette {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 120px;
    height: 170px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 50% 26%, rgba(255, 251, 246, 0.85) 0 30px, transparent 31px),
        radial-gradient(ellipse 60px 58px at 50% 100%, rgba(255, 251, 246, 0.85) 0 98%, transparent 100%);
}

.phone__self {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 70px;
    border-radius: 12px;
    border: 2px solid var(--cream-strong);
    background: linear-gradient(170deg, #B9D8DF 0%, var(--teal) 100%);
}

.phone__controls {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding-top: 14px;
}

.phone__ctrl {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--teal-soft);
    border: 1px solid rgba(47, 95, 107, 0.25);
}

.phone__ctrl--end {
    background: var(--peach);
    border-color: var(--peach);
}

@media (min-width: 1024px) {
    .app-stage {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 2.5rem;
        padding: 2rem 0;
        min-height: 520px;
    }

    .phone {
        order: 0;
        margin: 0;
    }

    .app-stage__store--left {
        justify-self: end;
    }

    .app-stage__store--right {
        justify-self: start;
    }
}

/* FAQ extras */
.faq__links {
    max-width: 820px;
    margin: 1.75rem auto 0;
    text-align: center;
    color: var(--muted);
}

/* Final CTA */
.final-cta {
    text-align: center;
}

.final-cta::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(760px, 120vw);
    height: 420px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(159, 216, 222, 0.45) 0%, rgba(247, 225, 212, 0.4) 40%, rgba(252, 246, 238, 0) 70%);
    pointer-events: none;
}

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

.final-cta__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 3vw, 1.5rem);
    margin: 1.25rem 0 1.5rem;
}

.final-cta__eight {
    flex-shrink: 0;
}

.final-cta__eight--aqua {
    filter: drop-shadow(0 0 4px #9FD8DE) drop-shadow(0 0 12px #9FD8DE);
}

.final-cta__eight--peach {
    filter: drop-shadow(0 0 4px #E7A98C) drop-shadow(0 0 12px #E7A98C);
}

.final-cta p {
    color: var(--ink);
    font-size: var(--fs-lead);
}

@media (max-width: 400px) {
    .final-cta__eight {
        width: 28px;
        height: 35px;
    }

    .final-cta__row .btn--lg {
        padding-inline: 1.5rem;
    }
}

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

    .faq-item::details-content {
        transition: none;
    }

    .btn:hover,
    .store-btn:hover,
    .profile-card:hover,
    .step-card:hover,
    .feature-card:hover {
        transform: none;
    }
}