/*
 * Couple - shared design system
 * Light, warm, single theme.
 */

:root {
    /* Palette */
    --cream: #FAF5EF;
    --cream-soft: #FDF9F4;
    --sand: #E9DCCF;
    --sand-deep: #DCCAB8;
    --sand-line: #E4D5C6;
    --ink: #2F3A33;
    --text: #33302D;
    --text-muted: #5A534C;
    --terracotta: #B9654A;
    --terracotta-deep: #9E5038;
    --rust: #8F4732;
    --sage: #8A9A82;
    --sage-deep: #5F6F58;
    --black: #141414;
    --knot: rgba(185, 101, 74, 0.45);
    --focus: #4F5F49;

    /* Type */
    --font-head: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-h1: clamp(2.75rem, 9vw, 5.75rem);
    --fs-h2: clamp(2rem, 4.6vw, 3rem);
    --fs-h3: clamp(1.1875rem, 2vw, 1.375rem);

    /* Space & shape */
    --pad-inline: clamp(1.25rem, 4vw, 2.5rem);
    --section-y: clamp(4rem, 9vw, 7rem);
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(80, 52, 36, 0.06);
    --shadow: 0 10px 30px -12px rgba(80, 52, 36, 0.22);
    --shadow-lg: 0 22px 50px -20px rgba(80, 52, 36, 0.32);
    --header-h: 72px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

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

body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
    body { font-size: 1.125rem; }
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
    font-variation-settings: "SOFT" 50;
}

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

p { margin: 0 0 1em; }

a { color: var(--terracotta-deep); }
a:hover { color: var(--rust); }

img { display: block; }

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

main:focus { outline: none; }

.sr-only {
    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: 1rem;
    top: -100px;
    z-index: 100;
    background: var(--ink);
    color: var(--cream);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
}

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

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

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

.section--sand { background: var(--sand); }
.section--soft { background: var(--cream-soft); }

/* Dark surfaces switch the focus color for contrast */
.on-dark { --focus: #FAF5EF; color: var(--cream); }
.on-dark h2, .on-dark h3 { color: var(--cream); }

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

.btn:focus-visible { border-radius: 999px; }

.btn--primary {
    background: var(--terracotta-deep);
    color: #FFFDF9;
    box-shadow: 0 8px 20px -10px rgba(158, 80, 56, 0.7);
}

.btn--primary:hover {
    background: var(--rust);
    color: #FFFDF9;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -12px rgba(158, 80, 56, 0.8);
}

.btn--light {
    background: var(--cream);
    color: var(--terracotta-deep);
    box-shadow: var(--shadow-sm);
}

.btn--light:hover {
    background: #FFFFFF;
    color: var(--rust);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn--outline:hover {
    background: var(--ink);
    color: var(--cream);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    padding-inline: 0.75rem;
    text-decoration: underline;
    text-underline-offset: 0.25em;
    text-decoration-thickness: 1.5px;
}

.btn--ghost:hover { color: var(--terracotta-deep); }

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

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

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

.cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.cta-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.adult-note {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   Header & navigation
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    isolation: isolate;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(250, 245, 239, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-line);
    transition: box-shadow .25s var(--ease);
}

.site-header.is-scrolled::before {
    box-shadow: 0 8px 24px -16px rgba(80, 52, 36, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: var(--header-h);
}

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

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

.brand-mark {
    width: 36px;
    height: auto;
    flex: none;
}

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

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

.header-actions .header-cta {
    min-height: 44px;
    padding: 0.5rem 1.1rem;
    font-size: 0.9375rem;
}

@media (max-width: 359px) {
    .header-actions .header-cta { display: none; }
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--sand-line);
    border-radius: 14px;
    background: var(--cream-soft);
    color: var(--ink);
    cursor: pointer;
}

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

.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: 49;
    background: var(--cream);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.25rem var(--pad-inline) 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}

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

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

.site-nav__list li + li { border-top: 1px solid var(--sand-line); }

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 56px;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 1.375rem;
    text-decoration: none;
}

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

.site-nav__cta { display: grid; gap: 0.5rem; text-align: center; }

.site-nav__note {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .nav-toggle { display: none; }

    .site-nav {
        position: static;
        inset: auto;
        z-index: auto;
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 0;
        background: none;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .site-nav__list li + li { border-top: 0; }

    .site-nav__link {
        position: relative;
        min-height: 48px;
        padding-inline: 0.9rem;
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 600;
    }

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

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

    .site-nav__cta { display: none; }

    .header-actions .header-cta {
        min-height: 48px;
        padding: 0.6rem 1.6rem;
        font-size: 1rem;
    }
}

/* ============================================
   Signature motif: double rule + two-loop knot
   ============================================ */
.knot {
    display: block;
    color: var(--knot);
}

.knot-divider {
    display: flex;
    align-items: center;
    width: 100%;
    color: var(--knot);
    pointer-events: none;
}

.knot-divider__rule {
    flex: 1 1 auto;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
}

.knot-divider .knot-divider__knot {
    width: 84px;
    height: auto;
    flex: none;
    margin-inline: -3px;
    color: inherit;
}

.knot-divider--light { color: rgba(250, 245, 239, 0.85); }
.knot-divider--sage { color: rgba(95, 111, 88, 0.5); }

/* ============================================
   Section heading
   ============================================ */
.section-head {
    max-width: 720px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head__title { margin-bottom: 0.4em; }

.section-head__bar {
    display: block;
    width: 140px;
    height: 4px;
    border-radius: 4px;
    background: var(--sand-deep);
    margin-bottom: 1.25rem;
}

.section-head--center .section-head__bar { margin-inline: auto; }

.section-head__intro {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0;
}

.section-head--light .section-head__title { color: var(--cream); }
.section-head--light .section-head__bar { background: rgba(250, 245, 239, 0.5); }
.section-head--light .section-head__intro { color: var(--cream); }

/* ============================================
   Chips & video mark
   ============================================ */
.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: var(--cream);
    border: 1px solid var(--sand-line);
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
}

.video-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
}

.video-mark__icon {
    position: relative;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--terracotta);
    flex: none;
}

.video-mark__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent var(--cream);
}

/* ============================================
   Profile card
   ============================================ */
.profile-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 1.25rem;
    align-items: start;
    padding: clamp(1.1rem, 3vw, 1.6rem);
    border-radius: var(--radius);
    background: linear-gradient(160deg, #F1E7DC 0%, #ECE0D3 100%);
    border: 1px solid var(--sand-line);
    box-shadow: var(--shadow);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

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

.profile-card__portrait {
    position: relative;
    width: clamp(84px, 24vw, 128px);
    aspect-ratio: 1;
    padding: 5px;
    border: 2px solid var(--terracotta);
    border-radius: 50%;
}

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

.profile-card .profile-card__knot {
    position: absolute;
    left: 50%;
    bottom: -14px;
    width: 52px;
    transform: translateX(-50%);
    color: var(--terracotta);
    background: #EFE4D8;
    border-radius: 12px;
}

.profile-card__name {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

.profile-card__age { color: var(--terracotta-deep); }

.profile-card__intro {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

@media (max-width: 359px) {
    .profile-card { grid-template-columns: minmax(0, 1fr); }
}

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

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 56px;
    min-width: 180px;
    padding: 0.5rem 1.1rem;
    border: 1px solid #3A3A3A;
    border-radius: 12px;
    background: var(--black);
    color: #FFFFFF;
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.55);
}

.store-badge:focus-visible { border-radius: 12px; }

.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.75rem; letter-spacing: 0.02em; }

.store-badge__large { font-size: 1.1875rem; font-weight: 600; }

/* ============================================
   FAQ accordion
   ============================================ */
.faq-list {
    display: grid;
    gap: 0.85rem;
    align-items: start;
    max-width: 880px;
    margin-inline: auto;
}

.faq-item {
    border: 1.5px solid var(--terracotta);
    border-radius: var(--radius-xl);
    background: var(--cream-soft);
    transition: box-shadow .2s var(--ease);
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-item__heading {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 700;
}

.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 60px;
    padding: 0.9rem 1.5rem;
    border: 0;
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.faq-item__trigger:focus-visible {
    outline: 3px solid var(--sage-deep);
    outline-offset: 3px;
    border-radius: var(--radius-xl);
}

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

.faq-item__trigger[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); }

.faq-item__answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text);
}

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

.faq-item__panel[hidden] { display: none; }

/* ============================================
   Scroll-drawn line art (opt-in via .draw-on-scroll)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .js .draw-on-scroll [pathLength] {
        stroke-dasharray: 1;
        stroke-dashoffset: 1;
        transition: stroke-dashoffset 2.4s var(--ease);
    }

    .js .draw-on-scroll.is-drawn [pathLength] { stroke-dashoffset: 0; }
}

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

/* ============================================
   Home: hero
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(600px, 90vh, 780px);
    color: var(--cream);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-color: #C9A68C;
    background-image: url("./assets/b10d9892ea7cce0a529fb6570338ef85.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 74% center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(to top, rgba(58, 34, 24, 0.9) 0%, rgba(58, 34, 24, 0.74) 42%, rgba(58, 34, 24, 0.15) 70%, rgba(58, 34, 24, 0) 82%);
}

.hero__curves {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    width: clamp(260px, 42vw, 560px);
    color: #F0B9A2;
    opacity: 0.15;
    pointer-events: none;
}

.hero__inner { position: relative; }

.hero__content {
    max-width: 560px;
    padding-block: 9rem 4rem;
}

.hero__title {
    margin: 0 0 0.75rem;
    color: var(--cream);
}

.hero__wordmark {
    display: block;
    font-size: var(--fs-h1);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.hero__descriptor {
    display: block;
    margin-top: 0.6rem;
    font-size: clamp(1.25rem, 2.6vw, 1.625rem);
    font-weight: 500;
    line-height: 1.25;
}

.hero__kicker {
    margin: 0 0 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F6DCCD;
}

.hero__lead {
    font-size: 1.125rem;
    max-width: 46ch;
    margin-bottom: 1.5rem;
}

.hero .hero__secondary { color: var(--cream); }
.hero .hero__secondary:hover { color: #F6DCCD; }

.hero__note {
    margin: 1rem 0 0;
    font-size: var(--fs-small);
    font-weight: 600;
    color: #F6DCCD;
}

.hero-seam {
    position: relative;
    z-index: 2;
    margin-top: -21px;
}

@media (min-width: 768px) {
    .hero { align-items: center; }

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

    .hero__overlay {
        background: linear-gradient(to right, rgba(58, 34, 24, 0.82) 0%, rgba(58, 34, 24, 0.62) 34%, rgba(58, 34, 24, 0.12) 52%, rgba(58, 34, 24, 0) 60%);
    }

    .hero__content { padding-block: 5rem; }
}

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

/* ============================================
   Home: value proposition
   ============================================ */
.vp { background: var(--cream); }

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

.vp__curves {
    position: absolute;
    top: 8%;
    width: clamp(160px, 22vw, 300px);
    color: #C9AE96;
    opacity: 0.35;
    pointer-events: none;
}

.vp__curves--left { left: 0; }
.vp__curves--right { right: 0; }

.vp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem 1.5rem;
    padding-top: 1rem;
}

.vp-card {
    position: relative;
    padding: 2.5rem 1.5rem 1.75rem;
    border: 2px solid var(--sand-line);
    border-radius: var(--radius-lg);
    background: var(--cream-soft);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.vp-card::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(185, 101, 74, 0.3);
    border-radius: 14px;
    pointer-events: none;
}

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

.vp-card .vp-card__knot {
    position: absolute;
    top: -15px;
    left: 50%;
    width: 60px;
    padding-inline: 4px;
    transform: translateX(-50%);
    background: var(--cream);
    color: var(--terracotta);
}

.vp-card__icon {
    width: 64px;
    margin: 0 auto 1rem;
}

.vp-card h3 { margin-bottom: 0.5rem; }

.vp-card p {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
}

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

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

/* ============================================
   Home: discover
   ============================================ */
.discover { background: var(--cream); }

.discover-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

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

/* ============================================
   Home: how it works
   ============================================ */
.hiw {
    background: var(--cream);
    padding-top: calc(var(--section-y) + 2rem);
}

.hiw__bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -20%;
    right: -20%;
    z-index: 0;
    background: var(--cream-soft);
    border-radius: 50% 50% 0 0 / 90px 90px 0 0;
    box-shadow: 0 -10px 30px -20px rgba(80, 52, 36, 0.2);
}

.hiw__container { position: relative; z-index: 1; }

.hiw__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
}

.hiw__art { position: relative; }

.hiw__strands--v { display: none; }

.hiw__strands--h {
    display: block;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2rem;
}

.step {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0 1rem;
    align-items: start;
}

.step__num {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
    color: var(--terracotta);
}

.step h3 { margin-bottom: 0.4rem; }

.step p { margin: 0; }

.paa-callout {
    margin-top: 2.5rem;
    padding: 1.4rem 1.5rem;
    border-left: 4px solid var(--terracotta);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--sand);
}

.paa-callout h3 { margin-bottom: 0.4rem; }

.paa-callout p { margin: 0; }

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

    .hiw__strands--h { display: none; }

    .hiw__strands--v {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
    }

    .hiw__steps-wrap { padding-block: 0.5rem; }
}

/* ============================================
   Home: features & safety (terracotta)
   ============================================ */
.fs {
    position: relative;
    background: var(--cream-soft);
    color: #A9583F;
}

.fs .fs__wave {
    display: block;
    width: 100%;
    height: clamp(50px, 7vw, 110px);
    color: #A9583F;
}

.fs__wave--top { margin-bottom: -1px; }
.fs__wave--bottom { margin-top: -1px; }

.fs__body {
    position: relative;
    isolation: isolate;
    background: #A9583F;
    padding-block: 2rem 3.5rem;
    color: var(--cream);
}

.fs .fs__lobe {
    position: absolute;
    z-index: -1;
    top: -40px;
    left: -20%;
    width: 95%;
    height: 45%;
    color: #964930;
    pointer-events: none;
}

.fs .fs__accent {
    position: absolute;
    z-index: -1;
    top: -30px;
    right: 2%;
    width: clamp(180px, 22vw, 300px);
    color: var(--cream);
    opacity: 0.15;
    pointer-events: none;
}

.fs__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
}

.fs__title {
    color: var(--cream);
    margin-bottom: 1.25rem;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem 2rem;
}

.feature-list h3 {
    margin-bottom: 0.3rem;
    color: var(--cream);
}

.feature-list p {
    margin: 0;
    font-size: 1rem;
    color: var(--cream);
}

.fs__capsule {
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.safety-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.safety-photo {
    position: relative;
    width: min(240px, 70vw);
    aspect-ratio: 1;
    margin-inline: auto;
    padding: 6px;
    border: 2px solid rgba(250, 245, 239, 0.85);
    border-radius: 50%;
    box-shadow: 0 22px 40px -18px rgba(40, 18, 8, 0.65);
}

.safety-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.safety-photo .safety-photo__lock {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15%;
    transform: translate(-50%, -50%);
}

.safety-stack,
.safety-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
}

.safety-tile {
    padding: 1.1rem 1.25rem;
    border-top: 1px solid rgba(250, 245, 239, 0.25);
    border-radius: 14px;
    background: #8A4430;
    color: var(--cream);
}

.safety-tile h3 {
    font-size: 1.1875rem;
    margin-bottom: 0.3rem;
    color: var(--cream);
}

.safety-tile p {
    margin: 0;
    font-size: 0.975rem;
    color: #F7E9DF;
}

.fs__closing {
    margin: 1.75rem 0 0;
    color: var(--cream);
}

.fs__closing a { color: var(--cream); font-weight: 600; }
.fs__closing a:hover { color: #FFFFFF; }

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

    .safety-media { grid-template-columns: 220px minmax(0, 1fr); }

    .safety-photo { width: 220px; }

    .safety-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}

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

    .fs .fs__lobe {
        top: -60px;
        left: -6%;
        width: 58%;
        height: 85%;
    }

    .fs__row { grid-column: 1 / -1; }

    .safety-media { grid-template-columns: 200px minmax(0, 1fr); }

    .safety-photo { width: 200px; }
}

/* ============================================
   Home: emotional story band
   ============================================ */
.story {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(560px, 78vh, 680px);
    color: var(--cream);
}

.story__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: #8C5A35;
    background-image: url("./assets/d89dc170fb76ed5b14e5f63313f5306a.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 72% center;
}

.story__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(66, 36, 16, 0.92) 0%, rgba(66, 36, 16, 0.75) 48%, rgba(66, 36, 16, 0) 78%);
}

.story .story__divider {
    position: absolute;
    left: 0;
    right: 0;
    padding-inline: var(--pad-inline);
}

.story__divider--top { top: 14px; }
.story__divider--bottom { bottom: 14px; }

.story__inner { position: relative; }

.story__content {
    max-width: 480px;
    padding-block: 8rem 5rem;
}

.story__content p { color: #FBEFE6; }

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

@media (min-width: 768px) {
    .story { align-items: center; }

    .story__bg { background-position: center; }

    .story__overlay {
        background: linear-gradient(to right, rgba(66, 36, 16, 0.86) 0%, rgba(66, 36, 16, 0.64) 32%, rgba(66, 36, 16, 0.1) 50%, rgba(66, 36, 16, 0) 58%);
    }

    .story__content { padding-block: 5rem; }
}

/* ============================================
   Home: app download
   ============================================ */
.app {
    position: relative;
    background: var(--cream);
    color: #AEB9A7;
}

.app .app__wave {
    display: block;
    width: 100%;
    height: clamp(40px, 6vw, 90px);
    margin-bottom: -1px;
    color: #AEB9A7;
}

.app__body {
    background: linear-gradient(180deg, #AEB9A7 0%, #CDD3C3 45%, var(--cream) 100%);
    padding-block: 1.5rem var(--section-y);
    color: var(--text);
}

.app .section-head__bar { background: rgba(47, 58, 51, 0.25); }

.app__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    justify-items: center;
    text-align: center;
}

.app__badges { order: 2; }

.app__badges .store-badges { justify-content: center; }

.app__message {
    order: 3;
    max-width: 440px;
}

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

.phone {
    order: 1;
    position: relative;
    width: 260px;
    max-width: 100%;
    aspect-ratio: 9 / 18.5;
    padding: 10px;
    border-radius: 42px;
    background: var(--black);
    box-shadow: var(--shadow-lg), inset 0 0 0 2px #2C2C2C;
}

.phone::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    z-index: 2;
    width: 88px;
    height: 22px;
    transform: translateX(-50%);
    border-radius: 14px;
    background: var(--black);
}

.phone__screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 3.25rem 1.1rem 1.4rem;
    border-radius: 33px;
    background: linear-gradient(180deg, #BE6C50 0%, #A4553C 100%);
    color: var(--cream);
    text-align: center;
    overflow: hidden;
}

.phone__brand {
    margin: 0 0 1.1rem;
    font-family: var(--font-head);
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1;
}

.phone__portrait {
    position: relative;
    width: 128px;
    aspect-ratio: 1;
    padding: 4px;
    border: 2px solid var(--cream);
    border-radius: 50%;
}

.phone__portrait img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.phone__portrait .phone__knot {
    position: absolute;
    left: 50%;
    bottom: -13px;
    width: 46px;
    transform: translateX(-50%);
    color: var(--cream);
    background: #B7654A;
    border-radius: 10px;
}

.phone__name {
    margin: 1.4rem 0 0;
    font-family: var(--font-head);
    font-size: 1.25rem;
    line-height: 1.2;
}

.phone__label {
    margin: 0.15rem 0 0.75rem;
    font-size: 0.875rem;
    color: #FBEAE0;
}

.phone__chips {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.phone__chips li {
    padding: 0.15rem 0.7rem;
    border-radius: 999px;
    background: rgba(250, 245, 239, 0.22);
    font-size: 0.8125rem;
    font-weight: 600;
}

.phone__controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.phone__ctrl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(250, 245, 239, 0.2);
    color: var(--cream);
}

.phone__ctrl--main {
    width: 52px;
    height: 52px;
    background: var(--cream);
    color: var(--terracotta-deep);
}

.phone__ctrl--end { background: #6E2F1E; }

@media (min-width: 1024px) {
    .app__layout {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 4rem;
        align-items: center;
    }

    .app__badges,
    .app__message,
    .phone { order: 0; }

    .app__badges { justify-self: end; }

    .app__badges .store-badges { flex-direction: column; }

    .app__message {
        justify-self: start;
        text-align: left;
    }
}

/* ============================================
   Home: FAQ & final CTA
   ============================================ */
.faq { background: var(--cream); }

.final-cta {
    background: var(--cream);
    padding-top: 0;
}

.final-panel {
    max-width: 880px;
    margin-inline: auto;
    padding: clamp(2.25rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3.5rem);
    border-radius: var(--radius-xl);
    background: var(--sand);
    box-shadow: var(--shadow);
    text-align: center;
}

.final-panel .final-panel__knot {
    width: 72px;
    margin: 0 auto 1rem;
    color: var(--terracotta);
}

.final-panel p {
    max-width: 56ch;
    margin-inline: auto;
    margin-bottom: 1.75rem;
}

.final-panel .final-panel__note { margin: 0.85rem auto 0; }

/* ============================================
   Legal pages
   ============================================ */
.legal-banner {
    position: relative;
    background: var(--sand);
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
    border-radius: 0 0 50% 50% / 0 0 40px 40px;
    overflow: clip;
}

.legal-banner__inner {
    text-align: center;
    max-width: 860px;
}

.legal-banner__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rust);
}

.legal-banner__title {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    margin-bottom: 0.4em;
}

.legal-banner__updated {
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--text-muted);
}

.legal-banner__lead {
    font-size: 1.125rem;
    max-width: 62ch;
    margin-inline: auto;
}

.legal-banner .legal-banner__divider {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 var(--pad-inline) 2.25rem;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding-block: clamp(2rem, 5vw, 4rem) var(--section-y);
}

.toc__list {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.15rem;
}

.toc__list a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.9875rem;
}

.toc__list a:hover {
    color: var(--terracotta-deep);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.toc-mobile {
    border: 1px solid var(--sand-line);
    border-radius: var(--radius);
    background: var(--cream-soft);
    padding: 0 1.25rem;
}

.toc-mobile__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.toc-mobile__summary::-webkit-details-marker { display: none; }

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

.toc-mobile[open] .toc-mobile__summary::after { transform: rotate(-135deg); }

.toc-mobile[open] .toc__list { padding-bottom: 1rem; }

.toc-desktop { display: none; }

.toc-desktop__title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

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

    .toc-mobile { display: none; }

    .toc-desktop {
        display: block;
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
        max-height: calc(100vh - var(--header-h) - 3rem);
        overflow-y: auto;
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        background: var(--cream-soft);
        border: 1px solid var(--sand-line);
    }
}

.legal-prose {
    max-width: 74ch;
    min-width: 0;
}

.legal-prose h2 {
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    margin-top: 2.5rem;
    padding-top: 0.25rem;
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.legal-prose > section:first-child h2,
.legal-prose > h2:first-child { margin-top: 0; }

.legal-prose h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.legal-prose ul,
.legal-prose ol {
    padding-left: 1.4rem;
    margin: 0 0 1.25rem;
}

.legal-prose li { margin-bottom: 0.45rem; }

.legal-prose section { overflow: visible; }

.legal-note {
    margin: 1.5rem 0;
    padding: 1.1rem 1.35rem;
    border-left: 4px solid var(--terracotta);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--sand);
    color: var(--ink);
}

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

.legal-cta {
    margin-top: 3rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--radius-xl);
    background: var(--sand);
    text-align: center;
    box-shadow: var(--shadow);
}

.legal-cta h2 { margin-top: 0; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
    position: relative;
    overflow: clip;
    background: var(--cream);
    padding-bottom: 2rem;
}

.site-footer > .knot-divider {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--pad-inline);
}

.site-footer__curves {
    position: absolute;
    right: -40px;
    bottom: -20px;
    width: clamp(220px, 35vw, 420px);
    color: var(--terracotta);
    opacity: 0.15;
    pointer-events: none;
}

.site-footer__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
}

.site-footer__desc {
    margin-top: 0.85rem;
    max-width: 38ch;
    color: var(--text-muted);
}

.site-footer__title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

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

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

.site-footer__list a:hover {
    color: var(--terracotta-deep);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer__bottom {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sand-line);
    font-size: var(--fs-small);
    color: var(--text-muted);
}

.site-footer__bottom p { margin: 0; }

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
    }
}