/*
 * Couple Review - design system
 * Light-only theme. All tokens live here.
 */

:root {
    --bg: #FAF5EE;
    --text: #2E2328;
    --text-muted: #6B5A61;
    --accent: #9C3D5A;
    --accent-hover: #82304A;
    --on-accent: #FFF8F1;
    --cream: #F3EADF;
    --sand: #EADBC8;
    --header-bg: #EFE4D6;
    --card: #FBF6EF;
    --taupe: #CDBBA7;
    --taupe-deep: #A88F78;
    --blue: #7C93AD;
    --blue-deep: #4E6884;
    --honey: #D9A85B;
    --sage: #7E9A78;
    --sage-deep: #55704F;
    --footer-bg: #3A2A30;
    --footer-text: #FAF0E6;
    --footer-muted: #DCCBBE;

    --font-head: "Fraunces", "Source Serif 4", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius-sm: 12px;
    --radius: 16px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(46, 35, 40, .06), 0 4px 12px -6px rgba(46, 35, 40, .12);
    --shadow: 0 2px 4px rgba(46, 35, 40, .05), 0 12px 28px -12px rgba(46, 35, 40, .22);
    --shadow-lg: 0 4px 8px rgba(46, 35, 40, .06), 0 24px 48px -20px rgba(46, 35, 40, .3);

    --header-h: 68px;
    --container: 1200px;
    --gutter: 20px;
    --section-y: 64px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 768px) {
    :root { --gutter: 28px; --section-y: 80px; }
}

@media (min-width: 1024px) {
    :root { --header-h: 76px; --gutter: 32px; --section-y: 96px; }
}

/* ============================================
   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 {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

body.menu-open {
    overflow: hidden;
}

main:focus {
    outline: none;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-optical-sizing: auto;
    font-weight: 600;
    color: var(--text);
    line-height: 1.18;
    margin: 0 0 .6em;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }

p { margin: 0 0 1em; }

a {
    color: var(--accent);
    text-underline-offset: .18em;
}

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

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

img { display: block; }

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

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

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

.section-title { margin-bottom: .5em; }

.section-title--center { text-align: center; }

.lead {
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem);
    color: var(--text-muted);
}

.muted-note {
    font-size: .9375rem;
    color: var(--text-muted);
}

.label-tag {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    padding: .3em .85em;
    border-radius: var(--radius-pill);
    background: var(--sand);
    color: var(--text);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.label-tag--rose {
    background: #F1DCE1;
    color: #7A2C45;
}

.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;
}

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

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    min-height: 48px;
    padding: 0 28px;
    border: 0;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.btn--primary {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 18px -8px rgba(156, 61, 90, .55);
}

.btn--primary:hover {
    background: var(--accent-hover);
    color: var(--on-accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 2px var(--honey), 0 10px 22px -8px rgba(156, 61, 90, .55);
    transform: translateY(-1px);
}

.btn--primary:focus-visible {
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 3px var(--bg), 0 0 0 6px var(--honey);
}

.btn--ghost {
    background: transparent;
    color: var(--accent);
    padding: 0 10px;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: .3em;
}

.btn--ghost:hover {
    color: var(--accent-hover);
    text-decoration-thickness: 2.5px;
}

.btn--outline {
    background: var(--card);
    color: var(--accent);
    box-shadow: inset 0 0 0 2px var(--accent);
}

.btn--outline:hover {
    background: var(--accent);
    color: var(--on-accent);
}

.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--lg { min-height: 58px; padding: 0 44px; font-size: 1.125rem; }
.btn--block { width: 100%; }

/* Store buttons */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 8px 24px 8px 18px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--text);
    color: #FFFFFF;
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}

.store-btn:hover {
    background: #3F3036;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.store-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--honey);
}

.store-btn__icon { flex: none; width: 26px; height: 26px; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn__small { font-size: .75rem; font-weight: 500; letter-spacing: .02em; }
.store-btn__big { font-size: 1.0625rem; font-weight: 600; }

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

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-h);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text);
    text-decoration: none;
    flex: none;
}

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

.site-brand__text {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
}

.site-brand__accent {
    margin-left: .28em;
    font-style: italic;
    font-weight: 500;
    color: var(--accent);
}

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

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

@media (min-width: 480px) {
    .header-actions .header-cta { display: inline-flex; }
    .site-brand__text { font-size: 1.45rem; }
}

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

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .25s var(--ease), opacity .2s;
}

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

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

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

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

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

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

@media (min-width: 1024px) {
    .site-nav {
        position: static;
        visibility: visible;
        transform: none;
        transition: none;
        background: none;
        border: 0;
        padding: 0;
        overflow: visible;
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 2px;
        margin: 0;
    }

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

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

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

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

    .header-actions { margin-left: 12px; }

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

/* ============================================
   Signature strands (geometric line art)
   ============================================ */
.strand-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.strand-layer svg {
    width: 100%;
    height: 100%;
    display: block;
}

.strand,
.strand-halo {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.strand { stroke-width: 2.5; opacity: .6; }
.strand-halo { stroke-width: 10; opacity: .12; }

.strand--rose { stroke: var(--accent); }
.strand--blue { stroke: var(--blue); }
.strand--honey { stroke: var(--honey); }

.strand-glow {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 244, 214, .95) 0%, rgba(217, 168, 91, .45) 40%, rgba(217, 168, 91, 0) 72%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ============================================
   Shared cards & chips
   ============================================ */
.chip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
}

.chip {
    padding: .3em .8em;
    border-radius: var(--radius-pill);
    background: var(--cream);
    border: 1px solid var(--taupe);
    font-size: .875rem;
    font-weight: 500;
    color: var(--text);
}

.tone-blue { --tone: var(--blue); }
.tone-taupe { --tone: var(--taupe-deep); }
.tone-honey { --tone: var(--honey); }
.tone-rose { --tone: var(--accent); }

/* Profile card */
.profile-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 28px 22px 26px;
    background: var(--card);
    border: 2px solid var(--tone, var(--taupe));
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

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

.profile-card__portrait {
    width: 148px;
    height: 148px;
    margin-bottom: 18px;
    padding: 5px;
    border-radius: 50%;
    border: 2px solid var(--tone, var(--taupe));
    background: var(--cream);
}

.profile-card__portrait img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 25%;
}

.profile-card__name { margin-bottom: 12px; }
.profile-card__age { font-weight: 500; color: var(--text-muted); }

.profile-card__intro {
    flex: 1;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Steps */
.steps {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 28px;
}

.steps::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 36px;
    bottom: 36px;
    width: 2px;
    background: linear-gradient(var(--honey), var(--blue));
    opacity: .7;
}

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

.step__badge {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--tone, var(--taupe));
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.step__num {
    margin: 4px 0 2px;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
}

.step__title { margin-bottom: .35em; }
.step__text { margin: 0; color: var(--text-muted); font-size: 1rem; }

@media (min-width: 768px) {
    .steps--row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .steps--row::before { display: none; }

    .steps--row .step {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        gap: 12px;
    }
}

/* Feature card */
.feature-card {
    height: 100%;
    padding: 24px 22px;
    background: var(--card);
    border: 1px solid var(--taupe);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

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

.feature-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    color: var(--text);
}

.feature-card__icon .icon-accent { stroke: var(--accent); }
.feature-card__title { margin-bottom: .4em; }
.feature-card__text { margin: 0; color: var(--text-muted); font-size: 1rem; }

/* ============================================
   FAQ accordion
   ============================================ */
.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.faq-item { align-self: start; }

.faq-item__q {
    margin: 0;
    font-size: 1rem;
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 56px;
    padding: 12px 22px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s var(--ease), border-radius .2s var(--ease);
}

.faq-trigger:hover { background: var(--accent-hover); }

.faq-trigger:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--honey);
}

.faq-trigger__icon {
    flex: none;
    width: 22px;
    height: 22px;
    transition: transform .25s var(--ease);
}

.faq-item.is-open .faq-trigger {
    background: var(--blue-deep);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.faq-item.is-open .faq-trigger__icon { transform: rotate(90deg); }

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

.faq-panel__inner {
    min-height: 0;
    overflow: hidden;
    background: var(--cream);
    border: 1px solid var(--taupe);
    border-top: 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.faq-panel__inner p {
    margin: 0;
    padding: 18px 22px 20px;
    font-size: 1rem;
}

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

.js .faq-item:not(.is-open) .faq-panel__inner { border-width: 0; }

/* ============================================
   Legal pages
   ============================================ */
.legal-hero {
    position: relative;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    padding: 48px 0 64px;
}

.legal-hero__strand {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    pointer-events: none;
}

.legal-hero__strand svg { width: 100%; height: 100%; display: block; }

.legal-hero__inner { position: relative; z-index: 1; max-width: 860px; }
.legal-hero__title { margin-bottom: .3em; }

.legal-updated {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}

.legal-hero__summary {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 1.0625rem;
    margin: 0;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 40px var(--section-y);
}

.legal-toc__mobile {
    background: var(--card);
    border: 1px solid var(--taupe);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.legal-toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.legal-toc__summary::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg) translateY(-3px);
    transition: transform .2s var(--ease);
}

.legal-toc__mobile[open] .legal-toc__summary::after { transform: rotate(-135deg); }

.legal-toc__list {
    margin: 0;
    padding: 4px 20px 18px 40px;
    font-size: .9375rem;
}

.legal-toc__list li { margin: 2px 0; }

.legal-toc__list a {
    display: inline-block;
    padding: 6px 0;
    color: var(--text);
    text-decoration: none;
}

.legal-toc__list a:hover { color: var(--accent); text-decoration: underline; }

.legal-toc__desktop { display: none; }

.legal-toc__heading {
    margin: 0 0 8px;
    font-family: var(--font-head);
    font-size: 1.125rem;
    font-weight: 600;
}

.legal-content {
    max-width: 720px;
    line-height: 1.7;
}

.legal-content h2 {
    font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem);
    margin-top: 2.2em;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h2::before {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-bottom: 14px;
    border-radius: 3px;
    background: var(--accent);
}

.legal-content h3 { margin-top: 1.6em; }
.legal-content ul, .legal-content ol { margin: 0 0 1em; }
.legal-content li { margin-bottom: .4em; }

.legal-callout {
    margin: 1.5em 0;
    padding: 18px 22px;
    background: var(--cream);
    border-left: 4px solid var(--honey);
    border-radius: 0 var(--radius) var(--radius) 0;
}

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

.table-card {
    margin: 1.5em 0;
    background: var(--card);
    border: 1px solid var(--taupe);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.table-card table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: .9375rem;
}

.table-card th,
.table-card td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--sand);
}

.table-card thead th {
    font-weight: 600;
    border-bottom: 2px solid var(--accent);
}

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

@media (min-width: 1024px) {
    .legal-hero { padding: 64px 0 80px; }

    .legal-layout {
        grid-template-columns: 260px minmax(0, 720px);
        gap: 56px;
        justify-content: center;
        padding-top: 56px;
    }

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

    .legal-toc__mobile { display: none; }

    .legal-toc__desktop {
        display: block;
        padding: 22px 20px;
        background: var(--card);
        border: 1px solid var(--taupe);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow);
    }

    .legal-toc__desktop .legal-toc__list { padding: 0 0 0 20px; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 56px 0 36px;
    font-size: .9375rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.site-brand--footer { color: var(--footer-text); margin-bottom: 12px; }
.site-brand--footer:hover { color: var(--footer-text); }
.site-brand--footer .site-brand__accent { color: var(--honey); }

.footer-text { color: var(--footer-muted); max-width: 420px; margin: 0; }

.footer-title {
    margin: 0 0 10px;
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--footer-text);
}

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

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--footer-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--footer-text);
    text-decoration: underline;
}

.footer-divider {
    border: 0;
    height: 1px;
    background: var(--honey);
    margin: 36px 0 24px;
}

.footer-disclosure {
    color: var(--footer-muted);
    max-width: 880px;
}

.footer-disclosure strong { color: var(--footer-text); }

.footer-copy {
    margin: 16px 0 0;
    color: var(--footer-muted);
    font-size: .875rem;
}

.site-footer :focus-visible { outline-color: var(--honey); }

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
    .site-footer { padding: 72px 0 40px; }
    .footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
    .footer-brand { grid-column: auto; }
}

/* ============================================
   Reduced motion
   ============================================ */
/* ============================================
   Home page
   ============================================ */
.section-capsule { font-size: 1.0625rem; }

/* Hero */
.hero {
    position: relative;
    padding: 36px 0 56px;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero__copy .label-tag { margin-bottom: 18px; }

.hero__title { margin-bottom: .5em; }

.hero__title-lead {
    position: relative;
    display: block;
    padding-bottom: .3em;
    margin-bottom: .25em;
}

.hero__title-lead::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3.4em;
    height: 6px;
    border-radius: 6px;
    background: var(--accent);
}

.hero__lead { margin-bottom: 26px; }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 20px;
}

.hero__note {
    max-width: 480px;
    margin: 0;
    font-size: .875rem;
    color: var(--text-muted);
}

.hero__media {
    position: relative;
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
}

.hero__media::before {
    content: "";
    position: absolute;
    left: -16px;
    bottom: -16px;
    width: 72%;
    height: 62%;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--cream), var(--sand));
}

.hero__media img {
    position: relative;
    width: 100%;
    aspect-ratio: 6 / 7;
    object-fit: cover;
    object-position: 60% 30%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero__strand-extra { display: none; }

@media (min-width: 768px) {
    .hero__strand-extra { display: block; }
}

@media (min-width: 1024px) {
    .hero { padding: 72px 0 96px; }
    .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 64px; }
    .hero__media::before { left: -24px; bottom: -24px; }
}

/* Overview */
.overview { background: var(--cream); }

.overview::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(168, 143, 120, .35) 1px, transparent 1.5px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
    pointer-events: none;
}

.overview .container { position: relative; z-index: 1; }

.overview__capsule {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text);
}

.overview__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px 56px;
}

.overview__col h3 { margin-top: .4em; }
.overview__col .label-tag { margin-bottom: 12px; }

.note-card {
    margin-top: 8px;
    padding: 20px 22px;
    background: var(--card);
    border: 1px solid var(--taupe);
    border-left: 4px solid var(--honey);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.note-card__title {
    margin-bottom: .4em;
    font-family: var(--font-head);
    font-size: 1.125rem;
    font-weight: 600;
}

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

@media (min-width: 1024px) {
    .overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Profiles */
.profiles__inner { position: relative; z-index: 1; }

.profiles__intro {
    max-width: 600px;
    margin: 0 auto 36px;
    text-align: center;
    color: var(--text-muted);
}

.profiles__strands { display: none; }

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    max-width: 400px;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .profiles__strands { display: block; }
    .profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; }
}

/* Paired review body */
.review-body { position: relative; }
.review-body__strands { display: none; }

.paired {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.paired__col.section { padding-block: calc(var(--section-y) * .75); }
.paired__col > .section { padding-block: calc(var(--section-y) * .75); }

@media (min-width: 1024px) {
    .review-body__strands { display: block; }
    .paired { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: start; }
}

/* Steps */
.steps-wrap { position: relative; margin: 28px 0 20px; }
.steps-line { display: none; }

@media (min-width: 768px) and (max-width: 1023px) {
    .steps-line {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 72px;
    }

    .steps--home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
    .steps--home::before { display: none; }
    .steps--home .step { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 12px; }
}

.steps-note { margin: 0; }

/* Features */
.features__media { margin: 24px 0; }

.features__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 65% 50%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

@media (min-width: 600px) {
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .feature-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Pros & cons */
#pros-cons .label-tag { margin-bottom: 14px; }

.pc-panels {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    box-shadow: var(--shadow);
    border-radius: var(--radius-md);
}

.pc-panel {
    padding: 22px 22px 20px;
    background: var(--card);
    border: 2px solid;
}

.pc-panel--pros { border-color: var(--sage); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.pc-panel--cons { border-color: var(--accent); border-radius: 0 0 var(--radius-md) var(--radius-md); }

.pc-panel__title { display: flex; align-items: center; gap: 10px; }
.pc-panel--pros .pc-panel__title svg { color: var(--sage-deep); }
.pc-panel--cons .pc-panel__title svg { color: var(--accent); }

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

.pc-list li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    font-size: 1rem;
    border-top: 1px solid var(--sand);
}

.pc-list li:first-child { border-top: 0; }
.pc-list svg { margin-top: 3px; }
.pc-panel--pros .pc-list svg { color: var(--sage-deep); }
.pc-panel--cons .pc-list svg { color: var(--accent); }

.pc-disclaimer { margin: 16px 0 0; font-size: .875rem; }

@media (min-width: 640px) and (max-width: 1023px), (min-width: 1200px) {
    .pc-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc-panel--pros { border-radius: var(--radius-md) 0 0 var(--radius-md); }
    .pc-panel--cons { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
}

/* Safety */
.safety-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.safety-card {
    padding: 24px 22px;
    background: var(--card);
    border: 2px solid var(--taupe);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.safety-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.safety-card__head h3 { margin: 0; }
.safety-card__icon { flex: none; }
.safety-card__icon--blue { color: var(--blue-deep); }
.safety-card__icon--rose { color: var(--accent); }

.safety-card__label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--blue-deep);
    margin-bottom: 10px;
}

.safety-card .label-tag { margin-bottom: 12px; }
.safety-card p:last-child { margin-bottom: 0; }

.safety-list { margin: 0; padding-left: 1.1em; font-size: 1rem; }
.safety-list li { margin-bottom: .5em; }

.safety-site-note { margin: 20px 0 0; font-size: .9375rem; color: var(--text-muted); }

@media (min-width: 768px) and (max-width: 1023px) {
    .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Why consider */
.why__media { margin: 0 0 22px; }

.why__media img {
    width: 100%;
    aspect-ratio: 14 / 9;
    object-fit: cover;
    object-position: 65% 50%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.why .btn--ghost { padding-left: 0; }

/* App */
.app-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 5vw, 40px);
    padding: 24px 0 36px;
}

.app-stage__strand {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.app-stage__glow { left: 50%; top: 50%; z-index: 0; }

.phone {
    position: relative;
    z-index: 1;
    width: min(42%, 200px);
    aspect-ratio: 9 / 18.5;
    border: 7px solid var(--text);
    border-radius: 36px;
    background: var(--card);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.phone--left { transform: rotate(-5deg); }
.phone--right { transform: rotate(5deg); }

.phone__notch {
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: 2;
    width: 34%;
    height: 12px;
    border-radius: var(--radius-pill);
    background: var(--text);
    transform: translateX(-50%);
}

.phone__call-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.phone__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.phone__ctrl {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(46, 35, 40, .6);
    color: #FFFFFF;
}

.phone__ctrl--end { background: var(--accent); }
.phone__ctrl svg { width: 16px; height: 16px; }

.phone__profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 34px 8px 16px;
    text-align: center;
}

.phone__avatar {
    width: 64%;
    height: auto;
    aspect-ratio: 1;
    margin-bottom: 12px;
    border-radius: 50%;
    border: 3px solid var(--sand);
    object-fit: cover;
}

.phone__name {
    margin: 0 0 8px;
    font-family: var(--font-head);
    font-size: clamp(.9rem, .8rem + .6vw, 1.1rem);
    font-weight: 600;
}

.phone__chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 0 0 auto;
    padding: 0;
}

.phone__chips li {
    padding: .2em .6em;
    border-radius: var(--radius-pill);
    background: var(--cream);
    border: 1px solid var(--taupe);
    font-size: .6875rem;
}

.phone__pill {
    margin-top: 12px;
    padding: .5em 1.2em;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: var(--on-accent);
    font-size: .75rem;
    font-weight: 600;
}

.store-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Final CTA */
.final-cta {
    position: relative;
    padding: 150px 0 var(--section-y);
    background: linear-gradient(180deg, var(--bg), var(--sand));
    text-align: center;
}

.final-cta__strands {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
}

.final-cta__strands svg { width: 100%; height: 100%; display: block; }

.final-cta__inner { position: relative; z-index: 1; max-width: 780px; }

.final-cta__rings {
    position: relative;
    display: block;
    width: 64px;
    height: 40px;
    margin: -28px auto 18px;
}

.final-cta__rings::before,
.final-cta__rings::after {
    content: "";
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    border: 2px solid var(--honey);
    border-radius: 50%;
}

.final-cta__rings::before { left: 0; }
.final-cta__rings::after { right: 0; }

.final-cta__text { max-width: 620px; margin: 0 auto 28px; color: var(--text-muted); }

.final-cta__action { position: relative; display: inline-block; margin-bottom: 20px; }

.final-cta__action::before {
    content: "";
    position: absolute;
    inset: -40px -60px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(217, 168, 91, .35), rgba(217, 168, 91, 0));
    pointer-events: none;
}

.final-cta__action .btn { position: relative; }
.final-cta__note { margin: 0; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        transition-duration: 0s !important;
        transition-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
    }

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