/*
 * Cheers - shared design system
 */

:root {
    --cream: #FBF4EE;
    --cream-deep: #F4E9DF;
    --white: #FFFFFF;
    --blush: #F6DCD8;
    --blush-soft: #FAE8E3;
    --peach: #F8E1D3;
    --honey: #D99A3E;
    --honey-deep: #B97A22;
    --honey-light: #F1C987;
    --rose: #C27D74;
    --rose-deep: #9E5850;
    --sage: #3F5A4C;
    --sage-tint: #E5ECE6;
    --ink: #3A2420;
    --ink-soft: #5E4740;
    --black: #1E1513;

    --font-head: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 6px rgba(58, 36, 32, 0.06), 0 1px 2px rgba(58, 36, 32, 0.05);
    --shadow: 0 10px 30px rgba(58, 36, 32, 0.10), 0 2px 8px rgba(58, 36, 32, 0.06);
    --shadow-lg: 0 24px 60px rgba(58, 36, 32, 0.16), 0 6px 18px rgba(58, 36, 32, 0.08);

    --gutter: clamp(16px, 4vw, 32px);
    --container: 1200px;
    --section-y: clamp(64px, 9vw, 112px);
    --header-h: 64px;
    --header-bottom: 64px;
    --action-bar-h: 72px;

    --focus-ring: 0 0 0 3px var(--cream), 0 0 0 6px var(--ink);
    --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) + 32px);
}

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: hidden;
    padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom, 0px));
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

h1 { font-size: clamp(2.4rem, 6.2vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

p { margin: 0 0 1em; }

a {
    color: var(--rose-deep);
    text-underline-offset: 0.15em;
}

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

img { display: block; }

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

:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 6px;
}

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

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

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

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--ink);
    color: var(--cream);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-decoration: none;
}

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

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

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { box-shadow: var(--focus-ring); border-radius: var(--radius-pill); }

.btn--primary {
    background: var(--honey);
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(185, 122, 34, 0.28);
}

.btn--primary:hover { background: #E2A64C; color: var(--ink); }

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

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

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

.btn--text {
    background: transparent;
    color: inherit;
    padding-inline: 0.4em;
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.btn--sm { min-height: 44px; padding: 0 1.15em; font-size: 0.95rem; }
.btn--lg { min-height: 56px; padding: 0 2.2em; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .btn, .btn:hover { transition: none; transform: none; }
}

/* ============================================
   Header
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--honey);
}

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

.site-header__wave {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 22px;
    pointer-events: none;
    display: block;
}

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

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

.logo-mark {
    width: 34px;
    height: auto;
    flex-shrink: 0;
}

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

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

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

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

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s var(--ease), opacity .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) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.site-nav__link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
}

.site-nav__link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }

/* Mobile drawer */
@media (max-width: 1023px) {
    .site-nav {
        display: none;
        position: fixed;
        top: var(--header-bottom);
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        z-index: 60;
        background: var(--cream);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 24px var(--gutter) 40px;
        border-top: 1px solid rgba(58, 36, 32, 0.12);
    }

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

    .site-nav__link {
        display: flex;
        align-items: center;
        min-height: 56px;
        font-family: var(--font-head);
        font-size: 1.35rem;
        font-weight: 600;
        border-bottom: 1px solid rgba(58, 36, 32, 0.12);
    }

    .site-nav__drawer-cta { margin-top: 28px; }

    .site-nav__note {
        margin: 12px 0 0;
        font-size: 0.9375rem;
        color: var(--ink-soft);
        text-align: center;
    }
}

@media (max-width: 359px) {
    .site-brand__text { font-size: 1.25rem; }
    .logo-mark { width: 28px; }
    .header-actions .header-cta { padding: 0 0.8em; font-size: 0.875rem; }
}

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

    .site-header__wave { height: 30px; }

    .site-nav {
        margin-left: auto;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: clamp(16px, 2.2vw, 32px);
    }

    .site-nav__link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size: 0.98rem;
    }

    .site-nav__drawer-cta { display: none; }

    .header-actions { margin-left: clamp(16px, 2.5vw, 36px); }
    .header-actions .header-cta { padding: 0 1.4em; font-size: 1rem; }

    .menu-toggle { display: none; }

    .site-brand__text { font-size: 1.65rem; }
    .logo-mark { width: 40px; }
}

/* ============================================
   Section heading
   ============================================ */
.section-heading {
    margin-bottom: clamp(32px, 5vw, 56px);
    max-width: 760px;
}

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

.section-heading__eyebrow {
    margin: 0 0 10px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A4A43;
}

.section-heading__title {
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 18px;
}

.section-heading__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 180px;
    height: 10px;
    background:
        linear-gradient(var(--rose), var(--rose)) 0 0 / 100% 3px no-repeat,
        linear-gradient(var(--rose), var(--rose)) 20px 7px / 140px 3px no-repeat;
    border-radius: 3px;
}

.section-heading--center .section-heading__title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-heading__intro {
    font-size: 1.125rem;
    color: var(--ink-soft);
    margin: 0;
}

.section-heading--light .section-heading__title,
.section-heading--light .section-heading__intro,
.section-heading--light .section-heading__eyebrow { color: var(--cream); }

.section-heading--light .section-heading__title::after {
    background:
        linear-gradient(var(--honey-light), var(--honey-light)) 0 0 / 100% 3px no-repeat,
        linear-gradient(var(--honey-light), var(--honey-light)) 20px 7px / 140px 3px no-repeat;
}

/* ============================================
   Chips & profile card
   ============================================ */
.chip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
}

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

.profile-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.profile-card__media {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 600 / 720;
    background: var(--blush-soft);
}

.profile-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

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

.profile-card__name {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

.profile-card__intro {
    font-size: 1rem;
    color: var(--ink-soft);
    margin-bottom: 12px;
}

.profile-card__friend {
    margin: auto 0 0;
    padding-top: 12px;
    border-top: 1px dashed rgba(158, 88, 80, 0.4);
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1rem;
    color: var(--rose-deep);
}

.profile-card__friend-by {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.875rem;
    color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
    .profile-card { transition: none; }
}

/* ============================================
   Store badges
   ============================================ */
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 8px 18px 8px 14px;
    border-radius: 14px;
    background: var(--black);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    user-select: none;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store-badge:focus-visible { box-shadow: var(--focus-ring); border-radius: 14px; }

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

.store-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.store-badge__top { font-size: 0.75rem; letter-spacing: 0.02em; }
.store-badge__bottom { font-size: 1.15rem; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
    .store-badge, .store-badge:hover { transition: none; transform: none; }
}

/* ============================================
   FAQ (native details)
   ============================================ */
.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    max-width: 820px;
    margin-inline: auto;
}

.faq-item {
    background: var(--cream);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(58, 36, 32, 0.06);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 16px 22px;
    cursor: pointer;
    list-style: none;
    border-radius: 18px;
}

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

.faq-item__title {
    margin: 0;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.faq-item__chevron {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--honey-deep);
    transition: transform .25s var(--ease);
}

.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }

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

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

@media (prefers-reduced-motion: reduce) {
    .faq-item__chevron { transition: none; }
}

/* ============================================
   Waves (shared)
   ============================================ */
.wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 36px;
    display: block;
    pointer-events: none;
}

.wave--bottom { bottom: -1px; }
.wave--top { bottom: 100%; margin-bottom: -1px; }
.wave--under { top: 100%; margin-top: -1px; }

/* ============================================
   CTA band
   ============================================ */
.cta-band {
    position: relative;
    background: var(--blush);
    padding-block: clamp(56px, 8vw, 96px);
}

.cta-band__panel {
    position: relative;
    background: var(--honey);
    margin-block: 36px;
}

.cta-band__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-block: clamp(40px, 6vw, 72px);
    max-width: 760px;
}

.cta-band__title {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    color: var(--ink);
}

.cta-band__text {
    font-size: 1.125rem;
    color: var(--ink);
    margin: 0 auto 28px;
    max-width: 58ch;
}

.cta-band__art {
    position: absolute;
    width: clamp(90px, 14vw, 180px);
    opacity: 0.35;
    pointer-events: none;
}

.cta-band__art--left { left: 3%; top: 8%; transform: rotate(-12deg); }
.cta-band__art--right { right: 3%; bottom: 6%; transform: rotate(10deg); }

@media (max-width: 600px) {
    .cta-band__art--left { top: 2%; left: -20px; }
    .cta-band__art--right { bottom: 2%; right: -20px; }
}

/* ============================================
   Legal pages
   ============================================ */
.legal-hero {
    position: relative;
    background: var(--honey);
    padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px);
}

.legal-hero__inner { max-width: 860px; }

.legal-hero__title { color: var(--ink); margin-bottom: 16px; }

.legal-hero__intro {
    font-size: 1.125rem;
    max-width: 62ch;
    color: var(--ink);
}

.legal-hero__updated {
    display: inline-block;
    margin: 4px 0 0;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--cream);
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 500;
}

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

.legal-content {
    max-width: 68ch;
}

.legal-content h2 {
    position: relative;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 2.2em;
    padding-bottom: 14px;
    scroll-margin-top: calc(var(--header-h) + 32px);
}

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

.legal-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--honey);
}

.legal-content h3 {
    margin-top: 1.6em;
    font-size: 1.2rem;
}

.legal-content ul,
.legal-content ol { margin: 0 0 1.2em; }

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

.legal-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 0 1.5em;
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(58, 36, 32, 0.08);
}

.legal-table thead th {
    background: var(--blush);
    font-weight: 700;
}

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

/* TOC */
.toc--desktop { display: none; }

.toc--mobile {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 12px 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    border-radius: var(--radius);
}

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

.toc__chevron { color: var(--honey-deep); transition: transform .2s var(--ease); }
.toc--mobile[open] .toc__chevron { transform: rotate(180deg); }

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

.toc-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 10px;
    border-radius: 10px;
    border-left: 3px solid transparent;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.975rem;
    line-height: 1.35;
}

.toc-link:hover { background: var(--blush-soft); color: var(--ink); }

.toc-link.is-active {
    color: var(--rose-deep);
    font-weight: 700;
    border-left-color: var(--rose);
    background: var(--blush-soft);
}

.toc__heading {
    margin: 0 0 8px;
    padding-left: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

@media (min-width: 1024px) {
    .legal-layout {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: clamp(40px, 5vw, 80px);
        align-items: start;
    }

    .toc--mobile { display: none; }

    .toc--desktop {
        display: block;
        position: sticky;
        top: calc(var(--header-h) + 40px);
        max-height: calc(100vh - var(--header-h) - 60px);
        overflow-y: auto;
    }

    .toc--desktop .toc__list { padding: 0; }
}

/* Callout */
.callout {
    margin: 1.5em 0;
    padding: 20px 24px;
    border-radius: var(--radius);
    border-left: 5px solid var(--sage);
    background: var(--sage-tint);
}

.callout__title {
    margin: 0 0 6px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--sage);
}

.callout__body { color: var(--ink); }
.callout__body p:last-child { margin-bottom: 0; }

.callout--honey { background: #FBEBD3; border-left-color: var(--honey-deep); }
.callout--honey .callout__title { color: var(--ink); }

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--honey);
    color: var(--ink);
    padding-top: clamp(48px, 6vw, 72px);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
}

.site-footer__desc {
    margin: 14px 0 0;
    max-width: 42ch;
    font-size: 1rem;
}

.site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.site-footer__heading {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

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

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

.site-footer__col a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.site-footer__bottom {
    margin-top: 36px;
    padding-block: 20px 28px;
    border-top: 1px solid rgba(58, 36, 32, 0.2);
    font-size: 0.9375rem;
}

.site-footer__bottom p { margin: 0; }

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

/* ============================================
   HOME - Hero
   ============================================ */
.hero {
    position: relative;
    background: var(--cream);
    padding-bottom: 40px;
}

.hero__media {
    position: relative;
    height: clamp(300px, 72vw, 520px);
    background: var(--peach) url("./assets/355c529f833cc31549f32718e07fe1c7.webp") 72% center / cover no-repeat;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-block: 32px 40px;
}

.hero__inner { max-width: 560px; }

.hero__title { margin-bottom: 18px; font-size: clamp(2rem, 5.4vw, 3.6rem); }

.hero__brand {
    display: block;
    font-size: 1.45em;
    line-height: 1;
    margin-bottom: 8px;
}

.hero__lead {
    font-size: 1.15rem;
    max-width: 52ch;
    color: var(--ink-soft);
}

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

.hero__secondary,
.hero__secondary:hover { color: var(--ink); }

.hero__meta {
    margin: 18px 0 0;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rose-deep);
}

@media (min-width: 1024px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: clamp(600px, 86vh, 800px);
        padding-bottom: 0;
        background: var(--ink);
    }

    .hero__media {
        position: absolute;
        inset: 0;
        height: auto;
        background-position: 65% center;
    }

    .hero__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(46, 28, 24, 0.88) 0%, rgba(46, 28, 24, 0.7) 34%, rgba(46, 28, 24, 0.2) 58%, rgba(46, 28, 24, 0) 72%);
    }

    .hero__content { padding-block: 120px 140px; }

    .hero__title,
    .hero__lead,
    .hero__secondary,
    .hero__secondary:hover { color: var(--cream); }

    .hero__meta { color: var(--honey-light); }
}

/* ============================================
   HOME - Value plates
   ============================================ */
.value { background: var(--blush); }

.value__stage { position: relative; }

.value__ribbon { display: none; }

.plates {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.plate {
    width: min(100%, 340px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 26px 44px;
    border-radius: 170px;
    background: var(--white);
    box-shadow:
        0 0 0 10px rgba(255, 255, 255, 0.55),
        0 18px 40px rgba(158, 88, 80, 0.2),
        0 4px 10px rgba(58, 36, 32, 0.08);
}

.plate__photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 14px;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px var(--blush-soft), 0 8px 18px rgba(58, 36, 32, 0.18);
}

.plate__photo img { width: 100%; height: 100%; object-fit: cover; }

.plate__title { font-size: 1.1rem; margin-bottom: 8px; max-width: 230px; }

.plate__text {
    margin: 0;
    max-width: 240px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.value__closing {
    max-width: 640px;
    margin: clamp(32px, 5vw, 56px) auto 0;
    text-align: center;
    font-family: var(--font-head);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.45;
}

@media (min-width: 640px) {
    .plate {
        width: 340px;
        height: 340px;
        border-radius: 50%;
        padding: 30px 40px;
    }
}

@media (min-width: 1024px) {
    .value__stage { padding-block: 40px; }

    .value__ribbon {
        display: block;
        position: absolute;
        left: 0;
        top: -10px;
        width: 100%;
        height: calc(100% + 20px);
        z-index: 0;
        overflow: visible;
    }

    .plates { flex-direction: row; justify-content: center; gap: 0; }

    .plate {
        width: clamp(320px, 30vw, 360px);
        height: clamp(320px, 30vw, 360px);
    }

    .plate + .plate { margin-left: -28px; }
}

/* ============================================
   HOME - Discover carousel
   ============================================ */
.discover { background: var(--cream); }

.carousel { --card: min(300px, 78vw); position: relative; }

.carousel__track {
    position: relative;
    list-style: none;
    margin: 0;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 28px max(var(--gutter), calc(50% - var(--card) / 2)) 36px;
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__track:focus-visible { border-radius: var(--radius); }

.carousel__slide {
    flex: 0 0 var(--card);
    scroll-snap-align: center;
    transition: transform .35s var(--ease);
}

.carousel__slide:not(.is-active) .profile-card { box-shadow: var(--shadow-sm); }

.carousel__slide.is-active { transform: translateY(-12px) scale(1.03); }

.carousel__slide.is-active .profile-card { box-shadow: var(--shadow-lg); }

.carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.carousel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: background-color .2s var(--ease);
}

.carousel__btn:hover { background: var(--peach); }
.carousel__btn:focus-visible { border-radius: 50%; }

.carousel__btn:disabled {
    border-color: #B9A9A2;
    color: #8A7770;
    background: var(--cream);
    cursor: default;
}

.carousel__dots { display: flex; gap: 2px; }

.carousel__dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.carousel__dot::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 6px;
    background: #CDB5AB;
    transition: width .25s var(--ease), background-color .25s var(--ease);
}

.carousel__dot.is-active::before { width: 24px; background: var(--honey); }

.discover__footer { text-align: center; margin-top: 24px; }

.discover__note {
    margin: 0 auto 20px;
    font-size: 0.9375rem;
    color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
    .carousel__slide, .carousel__dot::before { transition: none; }
    .carousel__slide.is-active { transform: none; }
}

/* ============================================
   HOME - How it works
   ============================================ */
.how { background: var(--blush-soft); }

.steps-wrap { position: relative; }

.steps-line { display: none; }

.steps {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 48px;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
}

.step + .step::before {
    content: "";
    position: absolute;
    top: -48px;
    left: 50%;
    width: 4px;
    height: 48px;
    transform: translateX(-50%);
    border-radius: 4px;
    background: var(--honey);
    box-shadow: 0 0 8px rgba(217, 154, 62, 0.55);
}

.step__circle {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 20px;
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.65),
        0 14px 34px rgba(158, 88, 80, 0.18);
}

.step__icon { width: 40px; height: 40px; color: var(--rose); margin-bottom: 4px; }

.step__num {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rose-deep);
}

.step__title { margin: 0; font-size: 1.05rem; line-height: 1.25; max-width: 150px; }

.step__text {
    margin: 18px 0 0;
    max-width: 240px;
    font-size: 1rem;
    color: var(--ink-soft);
}

@media (min-width: 1024px) {
    .steps-line {
        display: block;
        position: absolute;
        z-index: 0;
        top: 0;
        left: calc(-1 * var(--gutter));
        width: calc(100% + 2 * var(--gutter));
        height: 300px;
        overflow: visible;
        filter: drop-shadow(0 0 6px rgba(217, 154, 62, 0.6));
    }

    .steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: start;
        gap: 0 16px;
        padding-bottom: 20px;
    }

    .step:nth-child(even) { margin-top: 90px; }

    .step + .step::before { display: none; }

    .step__text { max-width: 220px; }
}

/* ============================================
   HOME - Features + Trust blobs
   ============================================ */
.ft {
    background: var(--cream);
    padding-block: var(--section-y);
}

.ft__grid { display: grid; grid-template-columns: minmax(0, 1fr); }

.ft__panel {
    position: relative;
    padding: clamp(48px, 7vw, 80px) var(--gutter);
    color: var(--cream);
}

.ft__panel--rose {
    background: var(--rose-deep);
    border-radius: 0 140px 160px 0 / 0 90px 120px 0;
    padding-bottom: 96px;
}

.ft__panel--sage {
    z-index: 1;
    margin-top: -56px;
    background: var(--sage);
    border-radius: 160px 0 0 140px / 100px 0 0 110px;
}

.ft__inner { position: relative; z-index: 1; max-width: 540px; }

.ft__panel--sage .ft__inner { margin-left: auto; }

.ft__shield {
    position: absolute;
    width: clamp(90px, 14vw, 170px);
    opacity: 0.14;
    pointer-events: none;
}

.ft__shield--tl { top: 18px; left: 10px; }
.ft__shield--br { right: 16px; bottom: 18px; }

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

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

.feature__icon { width: 40px; height: 40px; color: var(--cream); margin-top: 2px; }

.feature__title { color: var(--cream); font-size: 1.15rem; margin-bottom: 4px; }

.feature__text { margin: 0; color: var(--cream); }

.trust-item + .trust-item { margin-top: 22px; }

.trust-item__title { color: var(--cream); font-size: 1.15rem; margin-bottom: 6px; }

.trust-item p { color: var(--cream); margin-bottom: 0.6em; }

.trust-item a { color: var(--honey-light); font-weight: 700; }
.trust-item a:hover { color: var(--white); }

.trust-list { margin: 0; color: var(--cream); }
.trust-list li { margin-bottom: 4px; }

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

    .ft__panel--rose {
        border-radius: 0 280px 340px 0 / 0 220px 380px 0;
        padding: 88px 150px 120px max(var(--gutter), calc((100vw - var(--container)) / 2));
    }

    .ft__panel--sage {
        margin-top: 72px;
        margin-left: -120px;
        border-radius: 320px 0 0 360px / 260px 0 0 400px;
        padding: 88px max(var(--gutter), calc((100vw - var(--container)) / 2)) 96px 150px;
    }
}

/* ============================================
   HOME - Emotional checkerboard
   ============================================ */
.emo { background: var(--cream); }

.emo__grid { display: grid; grid-template-columns: minmax(0, 1fr); }

.emo__photo { margin: 0; overflow: hidden; }

.emo__photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.emo__photo--a {
    margin-right: var(--gutter);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

.emo__photo--a img { object-position: 40% center; }

.emo__photo--b {
    margin-left: var(--gutter);
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    order: 3;
}

.emo__text--b { order: 4; }

.emo__text {
    padding: 40px var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.emo__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

.emo__pull {
    font-family: var(--font-head);
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--rose-deep);
    margin-bottom: 14px;
}

.emo__text p:last-child { margin-bottom: 0; color: var(--ink-soft); }

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

    .emo__photo { min-height: 380px; }
    .emo__photo img { aspect-ratio: auto; }

    .emo__photo--a { margin-right: 0; border-radius: 0 var(--radius-xl) 0 0; }
    .emo__photo--b { margin-left: 0; border-radius: 0 0 0 var(--radius-xl); order: 0; }
    .emo__text--b { order: 0; text-align: right; align-items: flex-end; }

    .emo__text { padding: 56px clamp(32px, 5vw, 72px); }
    .emo__text > * { max-width: 520px; }
}

/* ============================================
   HOME - App download
   ============================================ */
.download { background: var(--cream); padding-block: var(--section-y); }

.download__panel {
    position: relative;
    isolation: isolate;
    width: min(100% - 2 * var(--gutter), 1280px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 48px var(--gutter) 56px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #4A2E26;
}

.download__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("./assets/d4bbb8b53f857dd1a9bc7550b12c9526.webp") 30% center / cover no-repeat;
}

.download__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(46, 28, 24, 0.2) 0%, rgba(46, 28, 24, 0.8) 50%, rgba(46, 28, 24, 0.92) 100%);
}

.download__device { display: flex; justify-content: center; padding-block: 8px; }

.phone {
    position: relative;
    width: min(260px, 72vw);
    aspect-ratio: 9 / 19;
    padding: 10px;
    border-radius: 40px;
    background: var(--black);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 2px #4A3A35;
    transform: rotate(-6deg);
}

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

.phone__screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 31px;
    overflow: hidden;
    background: var(--cream);
}

.phone__top {
    padding: 42px 16px 12px;
    background: var(--honey);
    text-align: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--ink);
}

.phone__body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 12px;
}

.phone__photo { border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; }

.phone__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.phone__name {
    margin: 10px 0 6px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.2;
}

.phone__chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }

.phone__chips span {
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--peach);
    font-size: 0.7rem;
    font-weight: 500;
}

.phone__intro { margin: 0; font-size: 0.75rem; line-height: 1.4; color: var(--ink-soft); }

.phone__tabs {
    display: flex;
    justify-content: space-around;
    padding: 10px 8px 14px;
    background: var(--white);
    border-top: 1px solid rgba(58, 36, 32, 0.1);
    color: var(--ink-soft);
}

.phone__tabs .is-on { color: var(--honey-deep); }

.download__copy { color: var(--cream); max-width: 540px; }

.download__eyebrow {
    margin: 0 0 10px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--honey-light);
}

.download__title { color: var(--cream); font-size: clamp(2rem, 4vw, 3rem); }

.download__text { font-size: 1.0625rem; color: var(--cream); }

.download__badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }

@media (min-width: 1024px) {
    .download__panel {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: center;
        gap: 48px;
        padding: 72px 80px;
    }

    .download__panel::after {
        background: linear-gradient(90deg, rgba(46, 28, 24, 0.1) 0%, rgba(46, 28, 24, 0.35) 40%, rgba(46, 28, 24, 0.86) 58%, rgba(46, 28, 24, 0.92) 100%);
    }

    .phone { width: 270px; }
}

/* ============================================
   HOME - FAQ
   ============================================ */
.faq { background: var(--blush); padding-bottom: clamp(24px, 4vw, 40px); }

.faq-item__answer a { color: var(--rose-deep); font-weight: 700; }

/* ============================================
   Mobile action bar
   ============================================ */
.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: var(--action-bar-h);
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--cream);
    border-top: 1px solid rgba(58, 36, 32, 0.1);
    box-shadow: 0 -8px 24px rgba(58, 36, 32, 0.08);
}

.mobile-cta-bar__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.3;
    color: var(--ink);
}

@media (min-width: 768px) {
    .mobile-cta-bar { display: none; }
    body { padding-bottom: 0; }
}