/*
 * Widow Singles - shared design system
 * Canonical design tokens live in this file.
 */

:root {
    /* Palette */
    --ivory: #F7F1E6;
    --cream: #FBF7EF;
    --cream-deep: #F2EADB;
    --paper: #F4EEE2;
    --sage: #A9C4A0;
    --sage-light: #C5D8BD;
    --sage-card: #B9CFAF;
    --sage-pale: #E4EDDD;
    --sage-mid: #8FAE86;
    --sage-deep: #6F8F6A;
    --sage-forest: #56744F;
    --sage-ink: #44603F;
    --bark: #7B5B45;
    --bark-dark: #5C4332;
    --ink: #1F2A36;
    --ink-soft: #3E4A56;
    --rose: #A85F6B;
    --rose-soft: #EBD3CF;
    --blush: #E9D6C8;
    --line: #E2D6C1;
    --line-art: #D6C8AE;

    /* Type */
    --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
    --font-body: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
    --fs-h1: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem);
    --fs-h2: clamp(2.05rem, 1.5rem + 2.4vw, 3.25rem);
    --fs-h3: clamp(1.45rem, 1.25rem + 0.8vw, 1.75rem);

    /* Shape & depth */
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 8px rgba(52, 62, 44, 0.08);
    --shadow: 0 10px 30px rgba(52, 62, 44, 0.12);
    --shadow-lg: 0 24px 60px rgba(40, 48, 34, 0.18);

    /* Layout */
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-y: clamp(4rem, 3rem + 5vw, 7rem);
    --header-h: 69px;
    --ease: cubic-bezier(0.22, 0.61, 0.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%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--ink);
    background: var(--ivory);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    color: var(--ink);
    margin: 0 0 0.5em;
    letter-spacing: 0.005em;
    text-wrap: balance;
}

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

p {
    margin: 0 0 1em;
}

a {
    color: var(--sage-ink);
    transition: color 0.2s;
}

a:hover {
    color: var(--bark-dark);
}

button {
    font: inherit;
    color: inherit;
}

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

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

main:focus {
    outline: none;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--ink);
    color: var(--cream);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

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

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

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

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

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(2rem, 4vw, 3.25rem);
    text-align: center;
}

.section-title {
    font-size: var(--fs-h2);
}

.lead {
    font-size: var(--fs-lead);
    color: var(--ink-soft);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0.5rem 1.9rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
    background: var(--sage);
    color: var(--ink);
    border-color: #97B58D;
    box-shadow: 0 8px 20px rgba(70, 96, 64, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--primary:hover {
    background: #B7D0AD;
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(70, 96, 64, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

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

.btn--ghost:hover {
    background: rgba(31, 42, 54, 0.06);
    color: var(--ink);
    transform: translateY(-2px);
}

.btn--ghost-light {
    background: rgba(20, 30, 24, 0.18);
    color: var(--cream);
    border-color: var(--cream);
}

.btn--ghost-light:hover {
    background: rgba(251, 247, 239, 0.16);
    color: var(--cream);
    transform: translateY(-2px);
}

.btn--link {
    min-height: 44px;
    padding: 0.25rem 0.25rem;
    background: none;
    border: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--sage-ink);
    text-decoration: underline;
    text-underline-offset: 0.22em;
    box-shadow: none;
}

.btn--link:hover {
    color: var(--bark-dark);
}

.btn--sm {
    min-height: 44px;
    padding: 0.35rem 1.15rem;
    font-size: 1.12rem;
}

.btn--lg {
    min-height: 58px;
    padding: 0.6rem 2.4rem;
    font-size: 1.45rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 68px;
}

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

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

.brand-mark {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.site-brand__text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.05rem);
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

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

.header-actions .header-cta {
    display: inline-flex;
}

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

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

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

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

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

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom, 69px);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 99;
    padding: 1.5rem var(--gutter) 2.5rem;
    background: var(--cream);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    transform: translateY(-12px);
    transition: transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

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

.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: 52px;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.site-nav__link:hover {
    background: var(--sage-pale);
    color: var(--ink);
}

.site-nav__cta {
    margin-top: 1.75rem;
}

.site-nav__cta .btn {
    width: 100%;
}

@media (max-width: 399px) {
    .site-brand .brand-mark {
        display: none;
    }
}

@media (min-width: 1024px) {
    .site-header__inner {
        min-height: 82px;
        gap: 1.5rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .site-nav {
        position: static;
        margin-inline: auto;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .site-nav__list {
        flex-direction: row;
        gap: 2px;
        padding: 4px;
        background: var(--sage);
        border-radius: var(--radius-pill);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--shadow-sm);
    }

    .site-nav__link {
        min-height: 44px;
        padding: 0 1.1rem;
        border: 0;
        border-radius: var(--radius-pill);
        font-family: var(--font-body);
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--ink);
    }

    .site-nav__link:hover {
        background: var(--sage-light);
    }

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

    .header-actions {
        margin-left: 0;
    }
}

/* ============================================
   BRANCH DIVIDER & LINE ART
   ============================================ */

.branch-divider {
    --h: clamp(56px, 8vw, 110px);
    position: relative;
    z-index: 5;
    height: var(--h);
    margin-block: calc(var(--h) / -2);
    pointer-events: none;
}

.branch-divider .branch-divider__svg {
    display: block;
    width: 100%;
    height: 100%;
}

.branch-divider--flip .branch-divider__svg {
    transform: scaleX(-1);
}

.has-line-art {
    position: relative;
    isolation: isolate;
}

.line-art {
    position: absolute;
    z-index: -1;
    width: clamp(140px, 22vw, 320px);
    height: auto;
    color: var(--line-art);
    pointer-events: none;
}

.line-art--bl { left: 0; bottom: 0; }
.line-art--tl { left: 0; top: 0; transform: scaleY(-1); }
.line-art--tr { right: 0; top: 0; transform: scale(-1, -1); }
.line-art--br { right: 0; bottom: 0; transform: scaleX(-1); }

.leaf-sprig {
    flex-shrink: 0;
}

/* ============================================
   STORE BADGES
   ============================================ */

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 60px;
    padding: 0.55rem 1.6rem 0.55rem 1.2rem;
    border: 1px solid rgba(31, 42, 54, 0.12);
    border-radius: var(--radius-pill);
    background: var(--cream);
    color: #111111;
    text-align: left;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.store-badge__glyph {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.store-badge__text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
}

.store-badge__small {
    font-size: 0.875rem;
    line-height: 1.15;
}

.store-badge__big {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* ============================================
   PROFILE CARDS
   ============================================ */

.profile-grid {
    display: flex;
    gap: 1rem;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0.75rem var(--gutter) 1.5rem;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--sage-mid) transparent;
}

.profile-grid > * {
    flex: 0 0 min(80%, 300px);
    scroll-snap-align: center;
}

.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 1.9rem 1.35rem 1.9rem;
    text-align: center;
    background: var(--sage-card);
    border-radius: 72px 14px 72px 14px;
    box-shadow: 0 14px 30px rgba(60, 80, 55, 0.16), 0 2px 6px rgba(60, 80, 55, 0.1);
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1.5px solid #86A57E;
    border-radius: 66px 10px 66px 10px;
    pointer-events: none;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px rgba(60, 80, 55, 0.2), 0 3px 8px rgba(60, 80, 55, 0.12);
}

.profile-card__portrait {
    position: relative;
    display: grid;
    place-items: center;
    width: 150px;
    aspect-ratio: 1;
    margin-bottom: 0.9rem;
}

.profile-card__portrait::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 248, 236, 0.95) 0 50%, rgba(255, 248, 236, 0) 72%);
}

.profile-card__portrait img {
    position: relative;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--cream);
    box-shadow: 0 6px 16px rgba(60, 50, 40, 0.18);
}

.profile-card__name {
    position: relative;
    margin: 0 0 0.6rem;
    font-size: 1.7rem;
}

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

.profile-card__tags {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 0 0.9rem;
    padding: 0;
    list-style: none;
}

.profile-card__tags li {
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--cream);
    color: var(--sage-ink);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

.profile-card__intro {
    position: relative;
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink);
}

@media (min-width: 768px) {
    .profile-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        margin: 0;
        padding: 0.75rem 0 1rem;
        overflow: visible;
    }

    .profile-grid > * {
        flex: none;
    }
}

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

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    max-width: 820px;
    margin-inline: auto;
}

.faq-item__heading {
    margin: 0;
    font-family: var(--font-body);
    font-size: inherit;
    line-height: inherit;
}

.faq-item__trigger {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    min-height: 56px;
    padding: 0.7rem 1.35rem;
    border: 1px solid var(--sage-mid);
    border-radius: 30px;
    background: var(--sage-light);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-item__trigger:hover {
    background: #D0E1C9;
}

.faq-item__q {
    flex: 1;
    min-width: 0;
}

.faq-item__plus {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-item__plus::before,
.faq-item__plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--sage-ink);
    transform: translate(-50%, -50%);
    transition: transform 0.2s var(--ease);
}

.faq-item__plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__plus::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__chev {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--sage-ink);
    transition: transform 0.2s var(--ease);
}

.faq-item.is-open .faq-item__chev {
    transform: rotate(180deg);
}

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

.faq-item__answer {
    min-height: 0;
    overflow: hidden;
}

.faq-item__answer-inner {
    padding: 0.9rem 1.5rem 0.4rem 3.4rem;
    color: var(--ink-soft);
}

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

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

@media (max-width: 479px) {
    .faq-item__answer-inner {
        padding-left: 1.35rem;
    }
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.page-banner {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: clamp(320px, 42vh, 460px);
    padding-block: 4rem 4.75rem;
    text-align: center;
    background: var(--cream-deep);
}

.page-banner__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(247, 241, 230, 0.84);
}

.page-banner__inner {
    max-width: 860px;
}

.page-banner__title {
    font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.25rem);
    margin-bottom: 0.4em;
}

.page-banner__sub {
    max-width: 60ch;
    margin: 0 auto 1.25rem;
    font-size: var(--fs-lead);
    color: var(--ink);
}

.page-banner__updated {
    display: inline-block;
    margin: 0;
    padding: 0.35rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--cream);
    color: var(--ink-soft);
    font-size: 0.9375rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .page-banner::before {
        background: radial-gradient(ellipse 62% 75% at 50% 50%, rgba(247, 241, 230, 0.94) 0%, rgba(247, 241, 230, 0.82) 50%, rgba(247, 241, 230, 0.2) 100%);
    }
}

.legal-layout {
    display: grid;
    gap: 2rem;
    padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) clamp(4rem, 3rem + 4vw, 6rem);
}

.legal-toc__details {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.legal-toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

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

.legal-toc__summary::after {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: -4px;
    border-right: 2px solid var(--sage-ink);
    border-bottom: 2px solid var(--sage-ink);
    transform: rotate(45deg);
    transition: transform 0.2s var(--ease);
}

.legal-toc__details[open] .legal-toc__summary::after {
    margin-top: 4px;
    transform: rotate(-135deg);
}

.legal-toc__list {
    margin: 0;
    padding: 0 0.75rem 1rem;
    list-style: none;
}

.legal-toc__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.3;
    text-decoration: none;
}

.legal-toc__link:hover,
.legal-toc__link[aria-current="true"] {
    background: var(--sage-pale);
    color: var(--sage-ink);
}

.legal-toc__link[aria-current="true"] {
    font-weight: 600;
}

.legal-content {
    min-width: 0;
}

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

    .legal-toc {
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
    }
}

/* Prose */
.prose {
    max-width: 72ch;
}

.prose h2 {
    font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.5rem);
}

.prose h3 {
    font-size: var(--fs-h3);
    margin: 1.75rem 0 0.5rem;
}

.prose p,
.prose li {
    color: var(--ink-soft);
}

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

.prose li + li {
    margin-top: 0.45rem;
}

.prose li::marker {
    color: var(--sage-deep);
}

.prose strong {
    color: var(--ink);
}

.legal-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.legal-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.callout {
    margin: 1.5rem 0;
    padding: 1.1rem 1.35rem;
    border-left: 4px solid var(--sage-deep);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--cream-deep);
}

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

/* Summary card */
.summary-card {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 2.25rem 1.5rem 1.6rem;
    border: 1px solid var(--sage-mid);
    border-radius: var(--radius);
    background: var(--sage-pale);
    box-shadow: var(--shadow-sm);
}

.summary-card .summary-card__sprig {
    position: absolute;
    top: -18px;
    left: 18px;
    width: 46px;
    height: 46px;
    padding: 4px;
    border-radius: 50%;
    background: var(--ivory);
    border: 1px solid var(--sage-mid);
}

.summary-card .summary-card__title {
    font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.summary-card__list {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prose .summary-card__list {
    padding-left: 0;
}

.summary-card__list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--ink);
}

.prose .summary-card__list li + li {
    margin-top: 0;
}

.summary-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 11px;
    height: 11px;
    border-radius: 0 70% 0 70%;
    background: var(--sage-deep);
}

@media (min-width: 768px) {
    .summary-card {
        padding: 2.5rem 2.25rem 1.9rem;
    }
}

/* Info table (cookie categories etc.) */
.info-table {
    width: 100%;
    margin: 1.5rem 0;
    border: 1px solid var(--sage-mid);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--cream);
    font-size: 1rem;
}

.info-table caption {
    padding-bottom: 0.6rem;
    text-align: left;
    font-weight: 600;
    color: var(--ink);
}

.info-table th {
    padding: 0.85rem 1rem;
    background: var(--sage-light);
    color: var(--ink);
    font-weight: 600;
    text-align: left;
}

.info-table td {
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    vertical-align: top;
}

.info-table tbody tr:nth-child(even) td {
    background: var(--ivory);
}

@media (max-width: 767px) {
    .info-table,
    .info-table tbody,
    .info-table tr,
    .info-table td {
        display: block;
        width: 100%;
    }

    .info-table {
        border: 0;
        background: none;
        overflow: visible;
    }

    .info-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .info-table tr {
        margin-bottom: 0.85rem;
        border: 1px solid var(--sage-mid);
        border-radius: 16px;
        background: var(--cream);
        overflow: hidden;
    }

    .info-table td {
        padding: 0.55rem 1rem;
        border-top: 0;
    }

    .info-table tbody tr:nth-child(even) td {
        background: transparent;
    }

    .info-table tbody td:first-child {
        background: var(--sage-light);
        color: var(--ink);
        font-weight: 600;
    }

    .info-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--sage-ink);
    }
}

/* Legal closing actions */
.legal-cta {
    margin-top: 2rem;
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream-deep);
}

.legal-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.legal-cta .btn {
    font-size: 1.2rem;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: clamp(3.5rem, 3rem + 3vw, 5rem) 0 2rem;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.footer-branch {
    display: none;
    position: absolute;
    bottom: 0;
    z-index: -1;
    width: min(11vw, 200px);
    pointer-events: none;
}

.footer-branch--left { left: 0; }
.footer-branch--right { right: 0; transform: scaleX(-1); }

.site-footer__inner {
    display: grid;
    gap: 2.5rem;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    color: var(--sage-ink);
    text-decoration: none;
}

.footer-logo .brand-mark {
    width: 44px;
    height: 44px;
}

.footer-logo__text {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1;
}

.site-footer__about p {
    max-width: 40ch;
    margin: 1rem 0 0;
    color: var(--ink-soft);
}

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

.footer-col__title {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--ink);
}

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

.footer-col a,
.footer-link-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink-soft);
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.footer-col a:hover,
.footer-link-btn:hover {
    color: var(--sage-ink);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    margin-top: 2.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.site-footer__bottom p {
    margin: 0;
}

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

@media (min-width: 768px) {
    .site-footer__inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
        gap: 3rem;
    }
}

@media (min-width: 1280px) {
    .footer-branch {
        display: block;
    }

    .site-footer .container {
        max-width: 1080px;
    }
}

/* ============================================
   HOMEPAGE
   ============================================ */

/* Hero - mobile: copy on ivory, photo as a panel below */
.hero {
    --hero-media: min(68vw, 360px);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 0 var(--hero-media);
    background: var(--ivory);
}

.hero__bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(var(--hero-media) + 110px);
    z-index: -1;
    background-color: var(--sage-pale);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 90% 35%;
}

.hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--ivory) 0%, rgba(247, 241, 230, 0.85) 18%, rgba(247, 241, 230, 0) 42%);
}

.hero__text {
    max-width: 620px;
}

.hero__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8E4A57;
}

.hero__title {
    font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.6rem);
    margin-bottom: 0.4em;
}

.hero__lead {
    font-size: var(--fs-lead);
    color: var(--ink);
    max-width: 52ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero__note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.1rem 0 0;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--ink);
}

.hero__note svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .hero {
        justify-content: center;
        min-height: min(78vh, 760px);
        padding: clamp(4rem, 8vh, 6rem) 0 clamp(5rem, 10vh, 7rem);
    }

    .hero__bg {
        top: 0;
        height: auto;
        background-position: 72% center;
    }

    .hero__bg::before {
        background: linear-gradient(90deg, rgba(247, 241, 230, 0.96) 0%, rgba(247, 241, 230, 0.88) 38%, rgba(247, 241, 230, 0.3) 62%, rgba(247, 241, 230, 0) 78%);
    }

    .hero__text {
        max-width: 470px;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: min(85vh, 860px);
    }

    .hero__bg::before {
        background: linear-gradient(90deg, rgba(247, 241, 230, 0.95) 0%, rgba(247, 241, 230, 0.82) 34%, rgba(247, 241, 230, 0.25) 55%, rgba(247, 241, 230, 0) 68%);
    }

    .hero__text {
        max-width: 600px;
    }
}

/* Intro band */
.intro-band {
    padding: clamp(3.75rem, 3rem + 3vw, 5.5rem) 0 clamp(3rem, 2.5rem + 2vw, 4.25rem);
    background: var(--ivory);
    text-align: center;
}

.intro-band p {
    max-width: 760px;
    margin: 0 auto;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem);
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
}

/* Value proposition */
.why {
    background: var(--cream-deep);
}

.why__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.why__art {
    order: -1;
}

.why__art img {
    width: min(100%, 320px);
    height: auto;
    margin-inline: auto;
    object-fit: contain;
}

.benefit-list {
    display: grid;
    gap: 1.35rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit h3 {
    margin: 0 0 0.2rem;
    font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.55rem);
}

.benefit p {
    margin: 0;
    color: var(--ink-soft);
}

@media (min-width: 1024px) {
    .why__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 4rem;
    }

    .why__art {
        order: 2;
    }

    .why__art img {
        width: min(100%, 480px);
    }
}

/* Profiles */
.profiles {
    background: var(--ivory);
}

.profiles__note {
    margin: 0;
    font-size: var(--fs-small);
    font-style: italic;
    color: var(--ink-soft);
}

.profiles__cta {
    margin-top: 2rem;
    text-align: center;
}

/* How it works */
.how {
    background: var(--cream);
}

.steps-wrap {
    position: relative;
    max-width: 640px;
    margin-inline: auto;
}

.steps-wrap .steps__branch {
    display: none;
}

.steps-wrap .steps__vine {
    position: absolute;
    left: 0;
    top: 0;
    width: 88px;
    height: 100%;
    max-width: none;
    z-index: 0;
    pointer-events: none;
}

.steps {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.step__medallion {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--sage-light);
    border: 5px solid var(--cream);
    box-shadow: 0 0 0 2px var(--sage-mid), var(--shadow);
}

.step__medallion svg {
    width: 48px;
    height: 48px;
}

.step__label {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--bark-dark);
}

.step__title {
    margin: 0.1rem 0 0.35rem;
    font-size: clamp(1.4rem, 1.25rem + 0.5vw, 1.6rem);
}

.step__body p {
    margin: 0;
    color: var(--ink-soft);
}

.how__cta {
    margin-top: 2.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .steps-wrap {
        max-width: none;
    }

    .steps-wrap .steps__vine {
        display: none;
    }

    .steps-wrap .steps__branch {
        display: block;
        position: absolute;
        top: 0;
        left: -8%;
        width: 116%;
        height: 200px;
        max-width: none;
        z-index: 0;
        pointer-events: none;
    }

    .steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.75rem;
    }

    .step {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .step:nth-child(even) {
        padding-top: 70px;
    }

    .step__medallion {
        width: 110px;
        height: 110px;
        border-width: 6px;
    }

    .step__medallion svg {
        width: 58px;
        height: 58px;
    }
}

/* Features */
.features {
    position: relative;
    isolation: isolate;
    background: #4F6C49;
    color: var(--cream);
}

.features .features__pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    max-width: none;
    pointer-events: none;
}

.features h2,
.features h3 {
    color: var(--cream);
}

.features .lead {
    color: #F1EBDD;
}

.feature-grid {
    display: grid;
    gap: 2.25rem;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

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

.feature .feature__icon {
    width: 76px;
    height: 76px;
}

.feature h3 {
    margin: 0.35rem 0 0.35rem;
    font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.8rem);
}

.feature p {
    margin: 0;
    color: #F1EBDD;
}

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

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

    .feature .feature__icon {
        width: 90px;
        height: 90px;
    }
}

/* Safety */
.safety {
    background: var(--ivory);
}

.safety__grid {
    display: grid;
    gap: 2rem;
}

.safety__art img {
    width: min(100%, 280px);
    height: auto;
    margin-inline: auto;
    object-fit: contain;
}

.safety-tips {
    display: grid;
    gap: 1rem;
    margin: 1.75rem 0;
    padding: 0;
    list-style: none;
    counter-reset: tip;
}

.safety-tip {
    position: relative;
    padding: 1.15rem 1.25rem 1.15rem 4.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: var(--shadow-sm);
    counter-increment: tip;
}

.safety-tip::before {
    content: counter(tip);
    position: absolute;
    left: 1.1rem;
    top: 1.15rem;
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0 60% 0 60%;
    background: var(--sage-light);
    color: var(--sage-ink);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.safety-tip h3 {
    margin: 0 0 0.25rem;
    font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.55rem);
}

.safety-tip p {
    margin: 0;
    color: var(--ink-soft);
}

.safety__links {
    margin: 0;
    color: var(--ink-soft);
}

@media (min-width: 1024px) {
    .safety__grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 4rem;
        align-items: start;
    }

    .safety__art {
        position: sticky;
        top: calc(var(--header-h) + 2rem);
    }

    .safety__art img {
        width: min(100%, 440px);
    }
}

/* Emotional brand */
.season {
    position: relative;
    isolation: isolate;
    padding: clamp(6rem, 4.5rem + 6vw, 10rem) 0;
    background: #26342B;
    color: var(--cream);
}

.season__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 30% center;
}

.season::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(22, 34, 27, 0.8) 0%, rgba(22, 34, 27, 0.66) 100%);
}

.season__text {
    max-width: 540px;
}

.season h2 {
    color: var(--cream);
}

.season p {
    margin-bottom: 1.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem);
    font-weight: 500;
    line-height: 1.45;
    color: var(--cream);
}

@media (min-width: 768px) {
    .season__bg {
        background-position: 60% center;
    }

    .season::before {
        background: linear-gradient(90deg, rgba(22, 34, 27, 0.88) 0%, rgba(22, 34, 27, 0.74) 36%, rgba(22, 34, 27, 0.2) 56%, rgba(22, 34, 27, 0) 66%);
    }
}

/* App download */
.app {
    background: var(--ivory);
    padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem);
}

.app .section-head {
    margin-bottom: 0.5rem;
}

.app__stage {
    position: relative;
    isolation: isolate;
    padding: 3rem 0 3.5rem;
}

.app__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
}

.app__layout {
    display: grid;
    grid-template-areas: "phone" "apple" "google";
    justify-items: center;
    align-items: center;
    gap: 1rem;
}

.app__layout .app__apple { grid-area: apple; }
.app__layout .app__google { grid-area: google; }

.phone {
    grid-area: phone;
    position: relative;
    width: 250px;
    margin-bottom: 1rem;
    padding: 10px;
    border-radius: 42px;
    background: #16191D;
    box-shadow: 0 30px 60px rgba(30, 40, 30, 0.35), inset 0 0 0 2px #2B3036;
}

.phone__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 2;
    width: 92px;
    height: 22px;
    border-radius: 0 0 14px 14px;
    background: #16191D;
    transform: translateX(-50%);
}

.phone__screen {
    display: flex;
    flex-direction: column;
    min-height: 470px;
    border-radius: 32px;
    background: var(--cream);
    overflow: hidden;
}

.phone__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 16px 10px;
    border-bottom: 1px solid var(--line);
}

.phone__brand {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--sage-ink);
}

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

.phone__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
}

.phone__row .phone__avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.phone__bars {
    display: grid;
    gap: 7px;
    flex: 1;
}

.phone__bars span {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: var(--sage);
}

.phone__bars span + span {
    background: var(--sage-pale);
}

.phone__tabs {
    display: flex;
    justify-content: space-around;
    margin-top: auto;
    padding: 12px 8px 16px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

@media (min-width: 560px) {
    .app__layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "phone phone" "apple google";
    }

    .app__layout .app__apple { justify-self: end; }
    .app__layout .app__google { justify-self: start; }
}

@media (min-width: 900px) {
    .app__stage {
        padding: 4.5rem 0 5rem;
    }

    .app__layout {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-areas: "apple phone google";
        gap: 2.5rem;
    }

    .phone {
        width: 268px;
        margin-bottom: 0;
    }
}

/* FAQ */
.faq {
    background: var(--cream);
}

/* Final CTA */
.final-cta {
    position: relative;
    isolation: isolate;
    padding: clamp(5.5rem, 4rem + 6vw, 9.5rem) 0;
    background: #7A5A3A;
}

.final-cta__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 60%;
}

.final-cta__panel {
    max-width: 660px;
    margin-inline: auto;
    padding: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(1.35rem, 1rem + 2vw, 2.75rem);
    border: 1px solid rgba(255, 240, 215, 0.42);
    border-radius: 20px;
    background: rgba(80, 54, 32, 0.74);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);
    backdrop-filter: blur(10px) saturate(1.1);
    box-shadow: var(--shadow-lg);
    color: var(--cream);
    text-align: center;
}

.final-cta__panel h2 {
    color: var(--cream);
}

.final-cta__panel p {
    margin-bottom: 1.75rem;
    font-size: var(--fs-lead);
    color: var(--cream);
}

/* ============================================
   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) {
    html {
        scroll-behavior: auto;
    }

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

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