/*
 * Cheers Review: design tokens and shared styles
 */

:root {
    --bg: #F7F3EC;
    --bg-alt: #EFE9DF;
    --surface: #FFFDF9;
    --border: #E3DACB;
    --taupe: #CDBFAA;
    --text: #2B2D2F;
    --text-muted: #55575A;

    --sage: #6F8F5E;
    --sage-strong: #55744A;
    --sage-deep: #44603B;
    --sage-pale: #E3EBDA;
    --sage-mist: #D5E2D3;
    --teal-pale: #D6E4E1;
    --cream: #F6EEDC;
    --terracotta: #C9785B;
    --terracotta-strong: #A85A3F;
    --terracotta-pale: #F5E1D7;
    --amber: #D9A44A;
    --amber-pale: #F2DDB0;

    --footer-bg: #2E2A27;
    --footer-text: #F4EFE7;
    --footer-muted: #CFC6BA;

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

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(43, 45, 47, 0.06), 0 2px 8px rgba(43, 45, 47, 0.05);
    --shadow: 0 10px 30px rgba(43, 45, 47, 0.08);
    --shadow-lg: 0 18px 50px rgba(43, 45, 47, 0.12);

    --container: 1180px;
    --gutter: 20px;
    --header-h: 68px;
    --header-bottom: 68px;
    --section-space: 72px;
    --focus: 0 0 0 3px var(--surface), 0 0 0 5px var(--sage-strong);
}

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

/* ============ 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, h1, h2, h3 { overflow-wrap: break-word; }

details { height: fit-content; }

:where(p, li, blockquote, figcaption, dd, .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%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }

body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: 0.35em; }

a { color: var(--sage-deep); }
a:hover { color: var(--text); }

img { display: block; }

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

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--text);
    color: var(--surface);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

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

.section {
    position: relative;
    padding-block: var(--section-space);
}
.section--alt { background: var(--bg-alt); }
.section--surface { background: var(--surface); }

/* ============ Section heading pill ============ */
.section-head {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.section-head--center { align-items: center; text-align: center; }
.section-head--left { align-items: flex-start; text-align: left; }

.section-pill {
    display: inline-block;
    margin: 0;
    padding: 10px 22px;
    background: var(--sage-strong);
    color: #FFFFFF;
    border-radius: 14px;
    border: 2px solid var(--sage-deep);
    box-shadow: var(--shadow-sm);
    font-size: clamp(1.3rem, 1.1rem + 1vw, 2rem);
    line-height: 1.25;
    max-width: 100%;
}
.section-pill--label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-width: 1px;
    border-radius: 999px;
}
.section-pill--terracotta {
    background: var(--terracotta-strong);
    border-color: #8E4A33;
}
.section-head__intro {
    max-width: 640px;
    color: var(--text-muted);
    margin: 0;
}

/* ============ Buttons ============ */
.btn {
    --btn-bg: var(--sage-strong);
    --btn-fg: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border: 0;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(85, 116, 74, 0.25);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: var(--sage-deep); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(85, 116, 74, 0.3); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { box-shadow: var(--focus); border-radius: 999px; }

.btn--secondary {
    --btn-bg: var(--surface);
    --btn-fg: var(--sage-deep);
    border: 1.5px solid var(--sage-strong);
    box-shadow: none;
}
.btn--secondary:hover { --btn-bg: var(--sage-pale); --btn-fg: var(--sage-deep); box-shadow: none; }

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

.btn__arrow { flex: none; transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--capsule {
    min-height: 60px;
    padding: 8px 8px 8px 32px;
    gap: 22px;
    font-size: 1.125rem;
    border: 2px solid var(--sage-deep);
}
.btn__chip {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--sage-deep);
    flex: none;
    transition: transform 0.2s ease;
}
.btn--capsule:hover .btn__chip { transform: rotate(-35deg); }

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.25s ease;
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(247, 243, 236, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(43, 45, 47, 0.08); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: var(--header-h);
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    color: var(--text);
    flex: none;
    padding: 4px 2px;
}
.site-brand__name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}
.site-brand__sub {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--sage-deep);
    margin-top: 3px;
    padding-left: 2px;
}
.site-brand:hover { color: var(--text); }
.site-brand--light,
.site-brand--light:hover { color: var(--footer-text); }
.site-brand--light .site-brand__sub { color: #B9CDAA; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}
.header-actions .header-cta {
    min-height: 44px;
    padding: 10px 16px 10px 18px;
    font-size: 0.9375rem;
    gap: 8px;
}

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

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    background: var(--bg);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px var(--gutter) 40px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    z-index: 99;
}
.site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav__list li + li { margin-top: 0; border-top: 1px solid var(--border); }
.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 8px 4px;
    color: var(--text);
    font-weight: 500;
    font-size: 1.125rem;
    text-decoration: none;
}
.site-nav__link:hover { color: var(--sage-deep); }

@media (max-width: 359px) {
    .header-actions .header-cta .btn__arrow { display: none; }
    .header-actions .header-cta { padding-inline: 14px; }
    .site-brand__name { font-size: 1.4rem; }
}

@media (min-width: 768px) {
    .menu-toggle { display: none; }
    .site-nav {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        background: none;
        border: 0;
        padding: 0;
        overflow: visible;
        transition: none;
        flex: 1 1 auto;
    }
    .site-nav__list {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }
    .site-nav__list li + li { border-top: 0; }
    .site-nav__link {
        min-height: 44px;
        padding: 8px 10px;
        font-size: 0.9375rem;
        border-radius: 999px;
        color: var(--text-muted);
        transition: color 0.2s ease, background-color 0.2s ease;
    }
    .site-nav__link:hover { color: var(--text); background: var(--sage-pale); }
    .header-actions .header-cta { padding: 12px 22px 12px 24px; font-size: 1rem; }
}
@media (min-width: 1024px) {
    .site-nav__list { gap: 10px; }
    .site-nav__link { padding: 8px 14px; }
    .site-brand__name { font-size: 1.75rem; }
}

/* ============ Disclosure note ============ */
.disclosure-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--taupe);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
}
.disclosure-note__icon { flex: none; margin-top: 2px; color: var(--sage-deep); }
.disclosure-note p { margin: 0; }
.disclosure-note a { color: var(--sage-deep); }

/* ============ Tag cards ============ */
.tag-card {
    --tag-bg: var(--cream);
    --tag-border: #D9C9A6;
    --tag-rule: #B79A5F;
    position: relative;
    margin-top: 26px;
    padding: 34px 22px 24px;
    background: var(--tag-bg);
    border: 2px solid var(--tag-border);
    border-radius: 26px 26px 18px 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.tag-card::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 50%;
    width: 52%;
    height: 48px;
    transform: translateX(-50%);
    background: var(--tag-bg);
    border: 2px solid var(--tag-border);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
}
.tag-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: calc(24% + 2px);
    right: calc(24% + 2px);
    height: 26px;
    background: var(--tag-bg);
}
.tag-card > * { position: relative; z-index: 1; }
.tag-card__hole {
    position: absolute;
    top: -12px;
    left: 50%;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--tag-border);
    z-index: 2;
}
.tag-card__title {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    position: relative;
}
.tag-card__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 3px;
    margin-left: -28px;
    border-radius: 3px;
    background: var(--tag-rule);
}
.tag-card ul { margin: 0; padding-left: 1.1em; }
.tag-card--sage { --tag-bg: var(--sage-pale); --tag-border: #A9BF98; --tag-rule: var(--sage-strong); }
.tag-card--cream { --tag-bg: var(--cream); --tag-border: #D9C9A6; --tag-rule: #9A7E45; }
.tag-card--terracotta { --tag-bg: var(--terracotta-pale); --tag-border: #E0A88F; --tag-rule: var(--terracotta-strong); }
.tag-card--teal { --tag-bg: var(--teal-pale); --tag-border: #9FC0BA; --tag-rule: #4F7E77; }

/* ============ Store buttons ============ */
.store-plate {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 20px 16px;
    background: var(--amber-pale);
    border: 2px solid var(--amber);
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 4px var(--amber-pale), inset 0 0 0 5px #C99335, var(--shadow-sm);
}
.store-plate__caption {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4A3A1C;
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    min-width: 172px;
    padding: 8px 18px 8px 14px;
    background: #111111;
    color: #FFFFFF;
    border: 1px solid #3A3A3A;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-body);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22); }
.store-badge:focus-visible { box-shadow: var(--focus); border-radius: 12px; }
.store-badge__glyph { flex: none; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge__text small { font-size: 0.75rem; letter-spacing: 0.02em; }
.store-badge__text strong { font-size: 1.2rem; font-weight: 600; }

/* ============ FAQ accordion ============ */
.faq-item {
    background: var(--sage-strong);
    color: #FFFFFF;
    border-radius: 28px 4px 28px 4px;
    box-shadow: var(--shadow);
    align-self: start;
}
.faq-item--mirror { border-radius: 4px 28px 4px 28px; }
.faq-item__heading { margin: 0; font-size: inherit; }
.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 60px;
    padding: 18px 22px;
    border: 0;
    background: none;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    border-radius: inherit;
}
.faq-item__trigger:focus-visible { box-shadow: inset 0 0 0 3px #FFFFFF; }
.faq-item__icon {
    position: relative;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface);
}
.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    background: var(--sage-deep);
    border-radius: 2px;
    transition: transform 0.25s ease;
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-item__icon::after { transform: rotate(0deg); }
.faq-item__body {
    padding: 0 22px 20px;
    color: #F4F7F1;
    font-size: 1rem;
}
.faq-item__body p:last-child { margin-bottom: 0; }
.faq-item__body a { color: #FFFFFF; }
.js .faq-item:not(.is-open) .faq-item__panel { display: none; }

/* ============ Legal pages ============ */
.legal-hero {
    position: relative;
    background: var(--bg);
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--border);
}
.legal-hero__network {
    position: absolute;
    right: -40px;
    top: 10px;
    width: 200px;
    height: auto;
    pointer-events: none;
}
.legal-hero__inner { position: relative; z-index: 1; max-width: 860px; }
.legal-hero__title { margin: 16px 0 14px; }
.legal-hero__summary { font-size: 1.125rem; color: var(--text-muted); max-width: 680px; }
.legal-hero__updated { font-size: 0.9375rem; font-weight: 600; color: var(--sage-deep); }
.legal-hero__disclosure { margin-top: 20px; max-width: 720px; }
@media (min-width: 768px) {
    .legal-hero { padding: 80px 0 56px; }
    .legal-hero__network { right: 2%; width: 260px; top: 24px; }
}

.legal-layout {
    max-width: 860px;
    padding-block: 48px var(--section-space);
}
.legal-toc {
    background: var(--surface);
    border: 1px solid var(--taupe);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-sm);
}
.legal-toc__title { font-size: 1.25rem; margin-bottom: 14px; }
.legal-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px 28px;
    counter-reset: toc;
}
.legal-toc__list li { margin: 0; counter-increment: toc; }
.legal-toc__list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}
.legal-toc__list a::before {
    content: counter(toc);
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--sage-pale);
    color: var(--sage-deep);
    font-size: 0.8125rem;
    font-weight: 600;
}
.legal-toc__list a:hover { color: var(--sage-deep); text-decoration: underline; }
@media (min-width: 768px) {
    .legal-toc { padding: 28px 32px; }
    .legal-toc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.legal-section { padding-top: 8px; margin-bottom: 40px; }
.legal-section h2 {
    font-size: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.legal-section h3 { font-size: 1.15rem; margin-top: 1.4em; }
.legal-section p,
.legal-section li { color: var(--text); }
.legal-section ul { padding-left: 1.2em; }
.legal-section li::marker { color: var(--sage-strong); }

/* ============ Cookie policy cards ============ */
.cookie-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 24px 0 32px; }
.cookie-card {
    --ck-bg: var(--cream);
    --ck-border: #D9C9A6;
    padding: 28px 20px 20px;
    background: var(--ck-bg);
    border: 2px solid var(--ck-border);
    border-radius: 26px 26px 18px 18px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.cookie-card::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--ck-border);
}
.cookie-card h3 { margin: 10px 0 4px; font-size: 1.15rem; }
.cookie-card__tag { margin: 0 0 10px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sage-deep); }
.cookie-card p:last-child { margin-bottom: 0; font-size: 0.9375rem; }
.cookie-card--sage { --ck-bg: var(--sage-pale); --ck-border: #A9BF98; }
.cookie-card--cream { --ck-bg: var(--cream); --ck-border: #D9C9A6; }
.cookie-card--terracotta { --ck-bg: var(--terracotta-pale); --ck-border: #E0A88F; }
@media (min-width: 768px) {
    .cookie-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============ Footer ============ */
.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 88px 0 36px;
}
.site-footer__network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 240px;
    max-width: none;
    pointer-events: none;
}
.site-footer__inner { position: relative; z-index: 1; }
.site-footer__grid {
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr);
}
.site-footer__desc {
    margin: 16px 0 0;
    color: var(--footer-muted);
    max-width: 360px;
    font-size: 0.9375rem;
}
.site-footer__heading {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #B9CDAA;
    margin-bottom: 10px;
}
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin: 0; }
.site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9375rem;
}
.site-footer__links a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer a:focus-visible { box-shadow: 0 0 0 3px #B9CDAA; }
.site-footer__disclosure {
    margin-top: 40px;
    padding: 18px 20px;
    border: 1px solid #4A443E;
    border-radius: var(--radius);
    background: #36312D;
}
.site-footer__disclosure p { margin: 0; font-size: 0.9375rem; color: var(--footer-muted); }
.site-footer__disclosure strong { color: var(--footer-text); }
.site-footer__copy {
    margin: 28px 0 0;
    padding-top: 20px;
    border-top: 1px solid #47413B;
    font-size: 0.875rem;
    color: var(--footer-muted);
}
@media (min-width: 768px) {
    .site-footer { padding-top: 120px; }
    .site-footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}

/* ============ Home: Hero ============ */
.hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: 150px 0 28px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("./assets/0f191868042583b79efcf0ce28ef0b38.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 74% 20%;
    background-color: var(--bg-alt);
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(247, 243, 236, 0) 15%, rgba(247, 243, 236, 0.75) 55%, rgba(247, 243, 236, 0.95) 100%);
}
.hero__network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    max-width: none;
    z-index: -1;
    opacity: 0.85;
    pointer-events: none;
}
.hero__network-desk { display: none; }
.hero__inner { position: relative; }
.hero__plate {
    max-width: 640px;
    padding: 24px 20px;
    background: rgba(255, 253, 249, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(227, 218, 203, 0.9);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.hero__eyebrow {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sage-deep);
}
.hero__plate h1 { margin-bottom: 14px; }
.hero__lead { color: var(--text); margin-bottom: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--sage-deep);
    font-weight: 600;
    text-underline-offset: 0.2em;
}
.hero__note { margin-top: 14px; max-width: 640px; font-size: 0.875rem; }

@media (min-width: 768px) {
    .hero { padding: 120px 0 48px; min-height: 620px; display: flex; align-items: flex-end; }
    .hero > .container { width: 100%; }
    .hero::before { background-position: 70% center; }
    .hero::after { background: linear-gradient(90deg, rgba(247, 243, 236, 0.9) 0%, rgba(247, 243, 236, 0.6) 45%, rgba(247, 243, 236, 0) 72%); }
    .hero__network { height: 280px; opacity: 0.7; }
    .hero__network-desk { display: inline; }
    .hero__plate { padding: 36px 36px 32px; }
}
@media (min-width: 1024px) {
    .hero { min-height: 680px; padding-bottom: 64px; }
}

/* ============ Home: Split + blob media ============ */
.lead-capsule { font-size: 1.0625rem; color: var(--text); }
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.split-grid__text > .btn { margin-top: 8px; }
.blob-media {
    position: relative;
    max-width: 460px;
    margin-inline: auto;
    padding: 28px 12px 0;
}
.blob-media__halo {
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, var(--teal-pale), var(--sage-mist));
}
.blob-media__lines {
    position: absolute;
    left: -30px;
    top: 10%;
    width: 120px;
    height: 80%;
    z-index: 1;
}
.blob-media--mirror .blob-media__lines { left: auto; right: -30px; }
.blob-media__img {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
    box-shadow: var(--shadow);
}
.blob-media--mirror .blob-media__img { border-radius: 42% 58% 45% 55% / 56% 48% 52% 44%; aspect-ratio: 6 / 5; object-position: center; }
.blob-media--mirror .blob-media__halo { left: auto; right: 4%; }
.quick-facts {
    margin-top: 24px;
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--sage-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.quick-facts__title { font-size: 1.1rem; margin-bottom: 10px; }
.quick-facts ul { margin: 0; }
.quick-facts li::marker { color: var(--sage-strong); }
.pill-note {
    display: inline-block;
    margin: -20px 0 16px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--terracotta-pale);
    color: #8E4A33;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
@media (min-width: 1024px) {
    .split-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; }
    .split-grid--reverse .split-grid__media { order: 2; }
}

/* ============ Home: Profiles ============ */
.chips { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li + li { margin-top: 0; }
.chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--sage-pale);
    color: var(--sage-deep);
    font-size: 0.8125rem;
    font-weight: 500;
}
.profiles__connector { display: none; }
.profiles__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    max-width: 420px;
    margin-inline: auto;
}
.profile-card { padding: 30px 16px 18px; }
.profile-card .tag-card__title { margin-bottom: 12px; }
.profile-card__panel {
    flex: 1;
    background: var(--surface);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}
.profile-card__photo {
    width: 100%;
    aspect-ratio: 4 / 4.2;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 10px;
}
.profile-card__intro { margin: 0; font-size: 0.9375rem; color: var(--text); }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }
.connector-drop {
    display: block;
    width: 2px;
    height: 56px;
    margin: 24px auto -72px;
    background: var(--sage);
    opacity: 0.6;
}
@media (min-width: 768px) {
    .profiles__connector { display: block; width: 100%; height: 44px; margin-top: -24px; }
    .profiles__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 24px; }
    .profiles__grid .tag-card { margin-top: 0; }
}
@media (min-width: 1024px) {
    .profiles__grid { gap: 40px; padding-inline: 40px; }
}

/* ============ Home: How it works ============ */
.hiw {
    position: relative;
    background: var(--sage-mist);
    padding: 96px 0 104px;
}
.hiw__wave { position: absolute; left: 0; width: 100%; height: 40px; max-width: none; }
.hiw__wave--top { top: -1px; }
.hiw__wave--bottom { bottom: -1px; }
.hiw__mound {
    position: absolute;
    width: 320px;
    height: 180px;
    border-radius: 50%;
    background: var(--sage-pale);
    opacity: 0.8;
    pointer-events: none;
}
.hiw__mound--left { left: -140px; top: 60px; }
.hiw__mound--right { right: -140px; top: 90px; }
.hiw__inner { position: relative; z-index: 1; }
.steps-wrap { position: relative; }
.steps__path { display: none; }
.steps {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0;
    position: relative;
    display: grid;
    gap: 28px;
}
.steps::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 20px;
    bottom: 20px;
    border-left: 3px dotted var(--sage-strong);
}
.step { position: relative; padding-left: 84px; margin: 0; }
.step__marker {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #FFFFFF;
    border: 3px solid var(--surface);
    box-shadow: var(--shadow-sm);
}
.step__marker--terracotta { background: var(--terracotta-strong); }
.step__marker--sand { background: #9A7E45; }
.step__marker--teal { background: #4F7E77; }
.step__marker--sage { background: var(--sage-strong); }
.step__num {
    position: absolute;
    right: -6px;
    top: -6px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}
.step__title { margin: 4px 0 6px; font-size: 1.2rem; }
.step p { margin: 0; font-size: 0.9375rem; color: var(--text); }
.hiw__note { margin: 36px auto 0; max-width: 640px; text-align: center; font-size: 0.9375rem; color: var(--text-muted); }
@media (min-width: 1024px) {
    .steps__path { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 80px; }
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
    .steps::before { display: none; }
    .step { padding: 0; text-align: center; }
    .step__marker { position: relative; width: 80px; height: 80px; margin: 0 auto 18px; }
}

/* ============ Home: Features ============ */
.features { background: var(--bg); }
.features .section-head { gap: 10px; }
.features__capsule { max-width: 720px; margin: -16px auto 32px; text-align: center; color: var(--text-muted); }
.features-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background: var(--surface);
    border: 1px solid var(--taupe);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.features-col { padding: 28px 22px; }
.features-col + .features-col { border-top: 1px solid var(--border); }
.features-col__title { font-size: 1.2rem; margin-bottom: 18px; }
.features-col__title span { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feature-list li + li { margin-top: 0; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item__icon {
    flex: none;
    width: 40px;
    height: 40px;
    padding: 7px;
    border-radius: 12px;
    background: var(--sage-pale);
    color: var(--sage-deep);
}
.feature-item p { margin: 0; font-size: 0.9875rem; }
@media (min-width: 768px) {
    .features-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .features-col { padding: 36px 36px; }
    .features-col + .features-col { border-top: 0; border-left: 1px solid var(--border); }
}

/* ============ Home: Pros & cons ============ */
.pc-drop { display: none; }
.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 460px; margin-inline: auto; }
.pc-grid .tag-card li::marker { color: var(--tag-rule); }
.pc-bracket { display: none; }
.pc-opinion { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.pc-opinion__text { margin: 0; max-width: 520px; font-size: 0.9375rem; color: var(--text-muted); }
@media (min-width: 768px) {
    .pc-drop { display: block; width: 2px; height: 28px; margin: -28px auto 0; background: var(--sage); opacity: 0.6; }
    .pc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 24px; align-items: stretch; }
    .pc-bracket { display: block; width: 100%; height: 44px; }
    .pc-opinion { margin-top: 0; }
}

/* ============ Home: Safety ============ */
.safety__capsule { max-width: 720px; margin: -16px auto 36px; text-align: center; color: var(--text); }
.safety-case {
    background: var(--bg-alt);
    border: 2px solid var(--taupe);
    border-radius: 26px;
    padding: 28px 16px;
    box-shadow: var(--shadow);
}
.safety-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.safety-panel {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 20px 20px;
    box-shadow: var(--shadow-sm);
}
.safety-panel h3 { margin-bottom: 4px; padding-right: 48px; }
.safety-panel__tag { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 14px; }
.safety-panel ul { padding-left: 1.1em; }
.safety-panel li::marker { color: var(--sage-strong); }
.safety-panel p:last-child { margin-bottom: 0; }
.check-list { list-style: none; padding-left: 0 !important; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.45em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sage-strong);
    box-shadow: 0 0 0 3px var(--sage-pale);
}
.safety-badge {
    position: absolute;
    top: -16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}
.safety-badge--sage { background: var(--sage-pale); border: 2px solid var(--sage-strong); }
.safety-badge--amber { background: var(--amber-pale); border: 2px solid var(--amber); }
.safety-link { display: none; }
.redflags {
    margin-top: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
}
.redflags__title { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.redflags__title svg { flex: none; }
.redflag-list { list-style: none; padding: 0; }
.redflag-list li { position: relative; padding-left: 24px; }
.redflag-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.5em;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: var(--terracotta);
    transform: rotate(45deg);
}
.kitten-card {
    margin: 20px 0;
    padding: 20px;
    background: var(--terracotta-pale);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.kitten-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.kitten-card p { margin: 0; }
.redflags__close { margin: 0; font-weight: 500; }
@media (min-width: 768px) {
    .safety-case { padding: 40px 32px 32px; }
    .safety-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    .safety-link { display: block; width: 100%; height: 40px; }
    .redflags { margin-top: 0; padding: 32px; }
}

/* ============ Home: Mobile app ============ */
.app-section { background: var(--bg); }
.app-section__capsule { max-width: 680px; margin: -16px auto 24px; text-align: center; }
.app-stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 70px 0 20px; }
.app-glow {
    position: absolute;
    top: 50px;
    left: 50%;
    width: min(620px, 140%);
    aspect-ratio: 1.3;
    transform: translateX(-50%);
    background:
        radial-gradient(ellipse 34% 46% at 28% 58%, rgba(201, 120, 91, 0.32), transparent 70%),
        radial-gradient(ellipse 34% 46% at 72% 58%, rgba(201, 120, 91, 0.32), transparent 70%),
        radial-gradient(ellipse 50% 50% at 50% 50%, var(--teal-pale), transparent 72%);
    pointer-events: none;
}
.app-rays { position: absolute; top: 0; left: 50%; width: 260px; transform: translateX(-50%); }
.phone {
    position: relative;
    width: 250px;
    padding: 12px;
    background: #2B2D2F;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}
.phone__screen {
    position: relative;
    background: var(--surface);
    border-radius: 30px;
    padding: 36px 16px 20px;
    text-align: left;
}
.phone__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 72px;
    height: 18px;
    margin-left: -36px;
    border-radius: 999px;
    background: #2B2D2F;
}
.phone__photo { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 25%; border-radius: 18px; }
.phone__name { margin: 12px 0 0; font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; color: var(--text); }
.chips--small { margin: 8px 0; }
.chips--small .chip { font-size: 0.75rem; padding: 3px 8px; }
.phone__bio { margin: 0 0 14px; font-size: 0.8125rem; line-height: 1.45; color: var(--text-muted); }
.phone__btn {
    display: block;
    padding: 10px;
    border-radius: 999px;
    background: var(--sage-strong);
    color: #FFFFFF;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
}
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 36px; }

/* ============ Home: FAQ ============ */
.faq-section { background: var(--surface); padding-bottom: 48px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; position: relative; }
.faq-col { display: grid; gap: 16px; align-items: start; }
.faq-col .faq-item { position: relative; }
.faq-col--right .faq-item { border-radius: 4px 28px 4px 28px; }
@media (min-width: 1024px) {
    .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 80px; }
    .faq-grid::before {
        content: "";
        position: absolute;
        left: 50%;
        top: -20px;
        bottom: -48px;
        width: 3px;
        margin-left: -1.5px;
        background: var(--sage);
        border-radius: 3px;
    }
    .faq-col { gap: 20px; }
    .faq-col .faq-item::after {
        content: "";
        position: absolute;
        top: 30px;
        width: 40px;
        height: 2px;
        background: var(--sage);
    }
    .faq-col .faq-item::before {
        content: "";
        position: absolute;
        top: 25px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--surface);
        border: 2px solid var(--sage-strong);
        z-index: 1;
    }
    .faq-col--left .faq-item::after { right: -40px; transform: rotate(-8deg); transform-origin: left center; }
    .faq-col--left .faq-item::before { right: -46px; }
    .faq-col--right .faq-item::after { left: -40px; transform: rotate(8deg); transform-origin: right center; }
    .faq-col--right .faq-item::before { left: -46px; }
}

/* ============ Home: Final CTA ============ */
.final-cta {
    position: relative;
    background: var(--surface);
    padding: 64px 0 88px;
    text-align: center;
}
.final-cta::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    height: 48px;
    width: 3px;
    margin-left: -1.5px;
    background: var(--sage);
    border-radius: 3px;
}
.final-cta__inner { max-width: 760px; }
.final-cta p { color: var(--text-muted); margin-bottom: 28px; }

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