/*
 * Couple - shared design system
 * Warm off-white, plum-charcoal text, terracotta-coral action accent,
 * sage-teal and honey as quiet supporting tints in the ribbon motif.
 */

:root {
    /* Color */
    --color-bg: #FBF4EE;
    --color-surface: #FFFAF5;
    --color-surface-2: #F5E9DF;
    --color-peach: #F8DCCD;
    --color-mint: #DCEDE7;
    --color-text: #3A2A31;
    --color-text-muted: #634F57;
    --color-heading: #3A2430;
    --color-coral: #E07A62;
    --color-coral-strong: #C24E39;
    --color-coral-deep: #A4402E;
    --color-coral-tint: #FBE4DB;
    --color-sage: #6FA9A0;
    --color-sage-deep: #2F6B66;
    --color-sage-tint: #E2F0EC;
    --color-honey: #EDBA5A;
    --color-honey-deep: #7E5410;
    --color-honey-tint: #FBEED3;
    --color-plum: #2E1F27;
    --color-sky: #BFDCEB;
    --color-border: #EBD9CC;
    --color-focus: #2F6B66;

    /* Type */
    --font-head: "Outfit", ui-rounded, "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 4.25rem);
    --fs-h2: clamp(1.9rem, 1.35rem + 2.3vw, 2.9rem);
    --fs-h3: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
    --lh-body: 1.65;

    /* Shape */
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-pill: 999px;
    --shadow-sm: 0 2px 10px rgba(120, 60, 40, 0.08);
    --shadow-md: 0 18px 40px -16px rgba(120, 60, 40, 0.28);
    --shadow-glow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 0 1px rgba(237, 186, 90, 0.35), 0 0 48px rgba(237, 186, 90, 0.4);

    /* Layout */
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --space-section: clamp(4rem, 3rem + 5vw, 7rem);
    --header-h: 72px;
    --header-bottom: 72px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============ Safety net ============ */
*,
*::before,
*::after { box-sizing: border-box; }

img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }

[class*="grid"] > *,
[class*="flex"] > * { min-width: 0; }

pre, code { max-width: 100%; overflow-x: auto; }

.table-wrapper { max-width: 100%; overflow-x: auto; }

p, li, td, th, dd { overflow-wrap: break-word; }

details { height: fit-content; }

:where(p, li, blockquote, figcaption, dd, .prose, .legal-prose, 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%;
    overflow-x: clip;
}

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

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

body.menu-open { overflow: hidden; }

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

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

p { margin: 0 0 1em; }

a { color: var(--color-coral-strong); }
a:hover { color: var(--color-coral-deep); }

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

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

main:focus { outline: none; }

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

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

.section-title { text-align: center; margin-bottom: 0.4em; }

.section-intro {
    max-width: 62ch;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

.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: 200;
    padding: 0.75rem 1.25rem;
    background: var(--color-plum);
    color: #FFFFFF;
    border-radius: var(--r-sm);
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #FFFFFF; }

.icon { flex-shrink: 0; }

/* ============ Ribbon motif ============ */
.ribbon path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ribbon--coral .ribbon__edge { stroke: #B24F3B; }
.ribbon--coral .ribbon__body { stroke: #E8826B; }
.ribbon--coral .ribbon__sheen { stroke: #F7BFAD; }
.ribbon--sage .ribbon__edge { stroke: #3E7770; }
.ribbon--sage .ribbon__body { stroke: #6FA9A0; }
.ribbon--sage .ribbon__sheen { stroke: #B3D8D1; }
.ribbon--honey .ribbon__edge { stroke: #B8862A; }
.ribbon--honey .ribbon__body { stroke: #EDBA5A; }
.ribbon--honey .ribbon__sheen { stroke: #F8DDA2; }

.ribbon-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0.75rem 1.75rem;
    border: 2px solid transparent;
    border-radius: var(--r-pill);
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

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

.btn--primary {
    background: var(--color-coral-strong);
    color: #FFFFFF;
    box-shadow: 0 10px 24px -10px rgba(194, 78, 57, 0.7);
}
.btn--primary:hover { background: var(--color-coral-deep); color: #FFFFFF; transform: translateY(-2px); }

.btn--cream {
    background: #FFF8F2;
    color: var(--color-heading);
    box-shadow: 0 10px 24px -12px rgba(58, 36, 48, 0.45);
}
.btn--cream:hover { background: #FFFFFF; color: var(--color-coral-deep); transform: translateY(-2px); }

.btn--ghost {
    background: transparent;
    color: var(--color-coral-deep);
    border-color: var(--color-coral-deep);
}
.btn--ghost:hover { background: var(--color-coral-tint); color: var(--color-coral-deep); }

.btn--text {
    background: transparent;
    color: var(--color-heading);
    padding-inline: 0.5rem;
    text-decoration: underline;
    text-underline-offset: 0.25em;
    text-decoration-color: var(--color-coral);
}
.btn--text:hover { color: var(--color-coral-deep); }

.btn--lg { min-height: 60px; padding: 1rem 2.25rem; font-size: 1.1875rem; }
.btn--sm { min-height: 44px; padding: 0.5rem 1.15rem; font-size: 1rem; }

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

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

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(251, 244, 238, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(235, 217, 204, 0.8);
}

.site-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;
    text-decoration: none;
    color: var(--color-coral-strong);
    flex-shrink: 0;
}
.site-brand:hover { color: var(--color-coral-deep); }

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

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

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

.header-actions .header-cta { white-space: nowrap; }

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

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-heading);
    border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--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) { transform: scaleX(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);
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    z-index: 99;
    background: var(--color-bg);
    overflow-y: auto;
    padding: 1.5rem var(--gutter) 2.5rem;
    border-top: 1px solid var(--color-border);
}

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

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--r-sm);
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-heading);
    text-decoration: none;
}

.site-nav__link:hover { background: var(--color-coral-tint); color: var(--color-coral-deep); }

@media (max-width: 359px) {
    .site-brand__text { font-size: 1.35rem; }
    .brand-mark { width: 30px; }
    .header-actions .header-cta { padding-inline: 0.85rem; font-size: 0.9375rem; }
}

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

    .site-nav {
        display: block;
        position: static;
        padding: 0;
        border: 0;
        background: transparent;
        overflow: visible;
    }

    .site-nav__list { flex-direction: row; gap: 0.25rem; }

    .site-nav__link {
        min-height: 44px;
        font-size: 1rem;
        font-weight: 500;
        padding: 0.5rem 0.75rem;
    }

    .header-actions .header-cta { padding-inline: 1.4rem; }
}

@media (min-width: 1024px) {
    .site-nav__list { gap: 0.75rem; }
    .site-nav__link { font-size: 1.0625rem; }
}

/* ============ Footer ============ */
.site-footer {
    position: relative;
    overflow: clip;
    background: var(--color-surface-2);
    border-top: 1px solid var(--color-border);
    padding-block: 4rem 2rem;
    color: var(--color-text);
}

.site-footer__arcs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    pointer-events: none;
}

.site-footer__inner { position: relative; z-index: 1; }

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
}

.site-footer__brand p { max-width: 36ch; margin-top: 0.75rem; color: var(--color-text-muted); }

.site-footer__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

.site-footer__col li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--color-text);
    text-decoration: none;
}
.site-footer__col li a:hover { color: var(--color-coral-deep); text-decoration: underline; }

.site-footer__col p { color: var(--color-text-muted); max-width: 34ch; }

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

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

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

/* ============ Chips ============ */
.chip-list {
    list-style: none;
    margin: 0 0 0.9rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border: 1.5px solid currentColor;
    border-radius: var(--r-pill);
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--color-surface);
}
.chip--coral { color: var(--color-coral-deep); }
.chip--honey { color: var(--color-honey-deep); }
.chip--sage { color: var(--color-sage-deep); }

/* ============ Profile card ============ */
.profile-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.4rem 1.75rem;
    background: var(--color-surface);
    border: 1px solid rgba(224, 122, 98, 0.35);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.profile-card:hover { transform: translateY(-4px); }

.profile-card__ribbon {
    position: absolute;
    inset: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    z-index: -1;
    pointer-events: none;
}

.profile-card__portrait {
    width: min(170px, 62%);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.1rem;
    background: var(--color-sky);
    box-shadow: 0 0 0 6px var(--color-surface), var(--shadow-sm);
}
.profile-card--coral .profile-card__portrait { background: #F4B9A8; }
.profile-card--honey .profile-card__portrait { background: var(--color-honey); }

.profile-card__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.profile-card__name { font-size: 1.375rem; margin-bottom: 0.5rem; }
.profile-card__age { font-weight: 500; color: var(--color-text-muted); }

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

.profile-card__video {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-coral-deep);
    background: var(--color-surface);
    padding-right: 0.5rem;
    border-radius: var(--r-pill);
}

.profile-card__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-coral-strong);
    box-shadow: 0 8px 18px -8px rgba(194, 78, 57, 0.8);
}

/* ============ Store badges ============ */
.store-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 60px;
    min-width: 188px;
    padding: 0.55rem 1.25rem;
    background: var(--color-plum);
    color: #FFFFFF;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 12px 24px -14px rgba(46, 31, 39, 0.8);
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
    user-select: none;
}
.store-badge:hover { background: #47303C; transform: translateY(-2px); }
.store-badge:focus-visible { outline: 3px solid var(--color-coral-strong); outline-offset: 3px; border-radius: 14px; }

.store-badge__text { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.store-badge__small { font-size: 0.875rem; }
.store-badge__big { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }

/* ============ FAQ accordion ============ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 860px;
    margin-inline: auto;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

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

.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 60px;
    padding: 0.9rem 1.25rem 0.9rem 1.5rem;
    border: 0;
    background: var(--color-coral-strong);
    color: #FFFFFF;
    font-family: var(--font-head);
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: filter 0.2s var(--ease);
}
.faq-item--sage .faq-item__trigger { background: var(--color-sage-deep); }
.faq-item--honey .faq-item__trigger { background: var(--color-honey); color: var(--color-heading); }

.faq-item__trigger:hover { filter: brightness(1.06); }
.faq-item__trigger:focus-visible { outline: 3px solid var(--color-plum); outline-offset: -5px; border-radius: var(--r-md); }

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

.faq-item__body { padding: 1.15rem 1.5rem 1.35rem; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ============ Legal pages ============ */
.legal-hero {
    position: relative;
    overflow: clip;
    padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
    background:
        radial-gradient(ellipse 70% 90% at 15% 20%, rgba(248, 220, 205, 0.95), transparent 70%),
        radial-gradient(ellipse 60% 80% at 90% 80%, rgba(220, 237, 231, 0.9), transparent 70%),
        var(--color-peach);
    border-radius: 0 0 50% 50% / 0 0 40px 40px;
}

.legal-hero__ribbons {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.55;
}

.legal-hero__inner { position: relative; z-index: 1; max-width: 900px; }

.legal-hero__title { margin-bottom: 0.4em; }

.legal-hero__updated {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: var(--r-pill);
    background: var(--color-surface);
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--color-heading);
    margin-bottom: 1rem;
}

.legal-hero__summary {
    max-width: 62ch;
    font-size: 1.125rem;
    color: var(--color-text);
    background: rgba(255, 250, 245, 0.85);
    padding: 0.75rem 1rem;
    border-radius: var(--r-sm);
    margin-bottom: 0;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--space-section);
}

@media (min-width: 1024px) {
    .legal-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 3.5rem; }
    .legal-layout .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
}

.toc {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: 0.25rem 1rem;
}

.toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--color-heading);
    cursor: pointer;
    list-style: none;
}
.toc__summary::-webkit-details-marker { display: none; }
.toc__chevron { transition: transform 0.25s var(--ease); }
.toc[open] .toc__chevron { transform: rotate(180deg); }

.toc__list {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    counter-reset: toc;
}

.toc__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.75rem;
    border-left: 3px solid transparent;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9875rem;
    line-height: 1.35;
}
.toc__link:hover { background: var(--color-coral-tint); color: var(--color-coral-deep); }
.toc__link[aria-current="true"] { border-left-color: var(--color-coral-strong); color: var(--color-coral-deep); font-weight: 700; background: var(--color-coral-tint); }

.legal-prose { max-width: 74ch; }
.legal-prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 2.5rem; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { margin-top: 1.75rem; margin-bottom: 0.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 li::marker { color: var(--color-coral-strong); }
.legal-prose a:not([class]) { color: var(--color-coral-deep); }

.callout {
    margin: 1.5rem 0;
    padding: 1.15rem 1.35rem;
    border-radius: var(--r-md);
    background: var(--color-sage-tint);
    border-left: 4px solid var(--color-sage-deep);
}
.callout p:last-child { margin-bottom: 0; }

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 1rem;
}
.legal-table th, .legal-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--color-border);
}
.legal-table thead th { background: var(--color-surface-2); font-family: var(--font-head); color: var(--color-heading); }

.legal-back { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ============ Home: hero ============ */
.hero {
    position: relative;
    overflow: clip;
    padding-block: 1.25rem 4.5rem;
    background:
        radial-gradient(ellipse 80% 70% at 8% 10%, rgba(248, 220, 205, 0.95), transparent 70%),
        radial-gradient(ellipse 70% 80% at 95% 75%, rgba(220, 237, 231, 0.95), transparent 70%),
        #FAE9DF;
    border-radius: 0 0 50% 50% / 0 0 56px 56px;
}

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

.hero__card {
    position: relative;
    z-index: 3;
    padding: 1.5rem 1.35rem;
    border-radius: var(--r-lg);
    background: rgba(255, 250, 245, 0.84);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-glow);
}

.hero__title { margin-bottom: 0.45em; }
.hero__accent { color: var(--color-coral-strong); }
.hero__lead { font-size: 1.0625rem; margin-bottom: 1.25rem; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-bottom: 0.9rem; }

.hero__note {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--color-text-muted);
}
.hero__note .icon { color: var(--color-sage-deep); }

.hero__media {
    position: relative;
    width: min(100%, 520px);
    margin-inline: auto;
    aspect-ratio: 600 / 640;
}

.hero__heart {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.hero__heart--back { z-index: 0; }
.hero__heart--front { z-index: 2; }

.hero__photo {
    position: absolute;
    z-index: 1;
    left: 22%;
    top: 14%;
    width: 56%;
    aspect-ratio: 6 / 7;
    margin: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-peach);
}
.hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

@media (min-width: 768px) {
    .hero__card { padding: 2.5rem 2.25rem; }
    .hero__lead { font-size: 1.1875rem; }
}

@media (min-width: 1024px) {
    .hero { padding-block: 2.5rem 6rem; border-radius: 0 0 50% 50% / 0 0 90px 90px; }
    .hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 2.5rem; }
    .hero__media { width: 100%; max-width: 600px; }
}

/* ============ Home: value proposition ============ */
.vp__stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    padding-block: 1rem;
}

.vp__ribbon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.75rem;
    border-radius: 56px 120px 64px 140px / 70px 90px 80px 120px;
    box-shadow: var(--shadow-md);
}
.blob h3 { margin: 0; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); }
.blob p { margin: 0; font-size: 1.0625rem; }

.blob--coral { background: var(--color-coral-strong); color: #FFFFFF; }
.blob--coral h3 { color: #FFFFFF; }
.blob--honey { background: var(--color-honey); color: var(--color-heading); }

.blob__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.blob__window {
    width: 70%;
    aspect-ratio: 1;
    margin: 0.5rem 0 0;
    overflow: hidden;
    border: 6px solid #FFF8F2;
    border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%;
    background: var(--color-peach);
}
.blob__window img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blob--honey .blob__window { align-self: flex-end; margin: 0 0 0.5rem; }

.benefits {
    list-style: none;
    margin: 3.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem 2rem;
}
.benefits li { display: flex; gap: 0.9rem; align-items: flex-start; }
.benefits p { margin: 0; }
.benefits strong { display: block; font-family: var(--font-head); color: var(--color-heading); font-size: 1.125rem; }

.benefits__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-coral-tint);
    color: var(--color-coral-strong);
}

@media (min-width: 768px) {
    .vp__stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; align-items: start; }
    .blob--honey { margin-top: 3.5rem; }
    .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .blob { padding: 2.75rem 2.5rem; }
    .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============ Home: discover ============ */
.profiles {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 1rem var(--gutter) 1.75rem;
    scroll-padding-inline: var(--gutter);
}
.profiles > * { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }
.profiles:focus-visible { outline-offset: -3px; }

.discover__note { text-align: center; color: var(--color-text-muted); font-size: var(--fs-small); margin: 0.5rem 0 1.5rem; }
.discover__cta { display: flex; justify-content: center; }

@media (min-width: 1024px) {
    .profiles {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.5rem;
        overflow: visible;
        margin-inline: 0;
        padding: 1rem 1rem 1.5rem;
    }
}

/* ============ Home: how it works ============ */
.steps-wrap { position: relative; max-width: 420px; margin-inline: auto; }

.steps__chain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(237, 186, 90, 0.45));
}
.steps__chain--wide { display: none; }

.steps {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 340px;
    padding: 3rem 17%;
}
.step h3 { font-size: 1.15rem; margin: 0.2em 0 0.4em; }
.step p { margin: 0; font-size: 0.9375rem; line-height: 1.55; }

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-coral-strong);
    color: #FFFFFF;
    font-family: var(--font-head);
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.step:nth-child(even) .step__num { background: var(--color-sage-deep); }
.step__icon { color: var(--color-coral-strong); }

@media (min-width: 1024px) {
    .steps-wrap { max-width: none; }
    .steps__chain--wide { display: block; }
    .steps__chain--tall { display: none; }
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
    .step { min-height: 380px; padding: 3rem 2.25rem; }
}

/* ============ Home: features ============ */
.feat__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-block: 2.5rem 1rem;
}

.feat__band {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.feat-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    padding: 3.75rem 1.75rem 2rem;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    color: #FFF8F2;
}
.feat-card h3 { color: #FFF8F2; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); }
.feat-card p { font-size: 1.0625rem; }
.feat-card--coral { background: var(--color-coral-strong); color: #FFFFFF; }
.feat-card--coral h3 { color: #FFFFFF; }
.feat-card--sage { background: var(--color-sage-deep); margin-left: auto; }
.feat-card--sage p { margin-bottom: 0; }

.feat-card__medallion {
    position: absolute;
    top: -42px;
    left: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #FFF8F2;
    border: 3px solid var(--color-honey);
    box-shadow: var(--shadow-md);
    color: var(--color-coral-strong);
}
.feat-card__medallion .icon { width: 44px; height: 44px; }
.feat-card--sage .feat-card__medallion { color: var(--color-sage-deep); }

.feat-mini {
    list-style: none;
    margin: 3.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem 2rem;
}
.feat-mini li { display: flex; gap: 0.85rem; align-items: flex-start; }
.feat-mini h3 { font-size: 1.0625rem; margin: 0.35rem 0 0.2em; }
.feat-mini p { margin: 0; font-size: 1rem; }

.feat-mini__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-coral);
    border-radius: 50%;
    color: var(--color-coral-strong);
    background: var(--color-surface);
}

@media (min-width: 768px) {
    .feat-card { width: min(84%, 720px); padding: 2.5rem 3rem; }
    .feat-card--coral { padding-right: 8.5rem; }
    .feat-card--sage { padding-left: 8.5rem; }
    .feat-card__medallion { top: 50%; transform: translateY(-50%); width: 136px; height: 136px; }
    .feat-card__medallion .icon { width: 60px; height: 60px; }
    .feat-card--coral .feat-card__medallion { left: auto; right: -48px; }
    .feat-card--sage .feat-card__medallion { left: -48px; }
    .feat-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

/* ============ Home: safety ============ */
.safety { background: var(--color-surface-2); }

.safety__shield { display: flex; justify-content: center; color: var(--color-coral-strong); margin-bottom: 0.75rem; }

.safety__grid {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.safety__item {
    padding: 1.5rem 1.4rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}
.safety__item h3 { font-size: 1.15rem; margin: 0.6rem 0 0.4em; }
.safety__item p { margin: 0; font-size: 1rem; }
.safety__icon { color: var(--color-coral-strong); }

.safety__links { text-align: center; max-width: 62ch; margin: 0 auto; }
.safety__links a { color: var(--color-coral-deep); }

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

/* ============ Home: emotional ============ */
.emotional {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-block: clamp(5rem, 4rem + 6vw, 8.5rem);
    text-align: center;
    color: #FFF8F2;
}

.emotional::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("./assets/f98506b6e89a59de2286dd5ce5f23dee.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #D9967E;
}

.emotional::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 100% 80% at 50% 50%, rgba(150, 58, 42, 0.84), rgba(170, 72, 52, 0.62) 65%, rgba(170, 72, 52, 0.4) 100%);
}

.emotional__threads {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(255, 236, 200, 0.9));
}

.emotional__inner { position: relative; z-index: 1; max-width: 720px; }
.emotional h2 { color: #FFF8F2; text-shadow: 0 2px 14px rgba(80, 30, 20, 0.45); }
.emotional p { font-size: 1.1875rem; max-width: 54ch; margin: 0 auto 2rem; text-shadow: 0 1px 8px rgba(80, 30, 20, 0.4); }

@media (min-width: 1024px) {
    .emotional::after { background: radial-gradient(ellipse 52% 75% at 50% 50%, rgba(150, 58, 42, 0.84), rgba(170, 72, 52, 0.5) 70%, rgba(170, 72, 52, 0.15) 100%); }
}

/* ============ Home: app download ============ */
.app__stage {
    position: relative;
    display: flex;
    justify-content: center;
    padding-block: 2rem 3rem;
    margin-bottom: 1rem;
}

.app__stage::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 520px;
    height: 520px;
    max-width: 100vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(237, 186, 90, 0.45), rgba(237, 186, 90, 0) 65%);
    z-index: 0;
    pointer-events: none;
}

.app__wave {
    position: absolute;
    left: 50%;
    top: 55%;
    width: 100vw;
    height: 340px;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.phone {
    position: relative;
    z-index: 1;
    width: 240px;
    aspect-ratio: 9 / 18.5;
    padding: 10px;
    background: var(--color-plum);
    border-radius: 42px;
    transform: rotate(-6deg);
    box-shadow: 0 30px 60px -20px rgba(46, 31, 39, 0.55), inset 0 0 0 2px #5A4050;
}

.phone__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 3;
    width: 34%;
    height: 22px;
    transform: translateX(-50%);
    background: var(--color-plum);
    border-radius: 0 0 14px 14px;
}

.phone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #EAD8CC;
}
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.phone__brand {
    position: absolute;
    top: 38px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.1rem 0.85rem;
    border-radius: var(--r-pill);
    background: #FFF8F2;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-coral-strong);
}

.phone__pip {
    position: absolute;
    top: 82px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    background: #FFF4EA;
    border: 2px solid #FFFFFF;
    box-shadow: var(--shadow-sm);
}

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

.phone__ctrl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFF8F2;
    color: var(--color-heading);
    box-shadow: var(--shadow-sm);
}
.phone__ctrl--end { background: var(--color-coral-strong); }

.app__curl {
    position: absolute;
    z-index: 2;
    left: calc(50% - 175px);
    bottom: 1.25rem;
    width: 200px;
    height: auto;
    overflow: visible;
    pointer-events: none;
}

@media (min-width: 768px) {
    .phone { width: 270px; }
    .app__curl { left: calc(50% - 200px); width: 230px; }
}

/* ============ Home: FAQ & final CTA ============ */
.faq .faq-item__body a { color: var(--color-coral-deep); }

.final {
    position: relative;
    overflow: clip;
    text-align: center;
    padding-block: clamp(6rem, 5rem + 6vw, 9.5rem);
}

.final__ribbons {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.final__inner {
    position: relative;
    z-index: 1;
    max-width: 660px;
    padding-block: 1.5rem;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(251, 244, 238, 0.95), rgba(251, 244, 238, 0.7) 70%, rgba(251, 244, 238, 0));
}
.final__inner p { font-size: 1.125rem; margin-bottom: 1.75rem; }

@media (max-width: 767px) {
    .final__inner { padding-inline: 1.75rem; background: rgba(251, 244, 238, 0.92); border-radius: var(--r-lg); width: calc(100% - 2 * var(--gutter)); }
}

/* ============ Reveal (one-way, transform only) ============ */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { transform: translateY(18px); transition: transform 0.7s var(--ease); }
    .js .reveal.is-visible { transform: none; }
}

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

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