/*
 * Sitch - shared stylesheet
 * Canonical design tokens live in this file.
 */

:root {
    /* Palette */
    --cream: #FAF5EE;
    --cream-deep: #F3EADF;
    --paper: #FFFBF5;
    --charcoal: #2B2A28;
    --ink-muted: #5B5650;
    --sage-deep: #4E6550;
    --sage-darker: #3F5442;
    --sage: #8FA58A;
    --sage-soft: #DCE5D6;
    --sage-mist: #E9EFE4;
    --blue-dust: #9DB1C4;
    --blue-mist: #E3EAF0;
    --terracotta: #B5643F;
    --cta: #A65736;
    --cta-hover: #8E4A2E;
    --peach: #F2D3BC;
    --blush: #F1D5CC;
    --gold: #E9CD8C;
    --gold-core: #F3DDA4;
    --gold-glow: rgba(244, 222, 170, 0.6);
    --focus: #557055;

    /* Type */
    --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-h1: clamp(2.25rem, 1.55rem + 3.2vw, 3.75rem);
    --fs-h2: clamp(1.75rem, 1.35rem + 1.9vw, 2.625rem);
    --fs-h3: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);

    /* Shape & depth */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --shadow-soft: 0 10px 30px -14px rgba(62, 58, 48, 0.2);
    --shadow-card: 0 18px 40px -20px rgba(62, 58, 48, 0.3);
    --glow-gold: 0 0 36px rgba(240, 214, 150, 0.45);

    /* Layout */
    --container: 1180px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-y: clamp(4rem, 8vw, 7.5rem);
    --header-h: 64px;
    --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-padding-top: calc(var(--header-bottom, var(--header-h)) + 16px);
}

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

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

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--charcoal);
    margin: 0 0 0.75rem;
    text-wrap: balance;
}

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

p {
    margin: 0 0 1rem;
}

a {
    color: var(--sage-darker);
}

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

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

[tabindex="-1"]:focus,
main:focus {
    outline: none;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.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;
}

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

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

/* ============================================
   LAYOUT PRIMITIVES
   ============================================ */

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

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

.layer-top {
    position: relative;
    z-index: 2;
}

.section-head {
    position: relative;
    z-index: 2;
    max-width: 46rem;
    margin: 0 auto clamp(2rem, 4vw, 3.5rem);
    text-align: center;
}

.section-head p {
    color: var(--ink-muted);
    margin-top: 0.75rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(250, 245, 238, 0.92);
    color: var(--sage-darker);
    font: 600 0.875rem/1.2 var(--font-body);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lead {
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
    color: var(--ink-muted);
}

.muted-note {
    font-size: var(--fs-small);
    color: var(--ink-muted);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.6rem;
    border: 0;
    border-radius: var(--radius-pill);
    font: 600 1rem/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.btn--primary {
    background: var(--cta);
    color: #FFFFFF;
    box-shadow: 0 10px 24px -12px rgba(166, 87, 54, 0.75);
}

.btn--primary:hover {
    background: var(--cta-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -12px rgba(142, 74, 46, 0.7);
}

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

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

.btn--text {
    background: transparent;
    color: var(--sage-darker);
    padding-inline: 0.75rem;
    text-decoration: underline;
    text-decoration-color: rgba(78, 101, 80, 0.45);
    text-underline-offset: 0.25em;
}

.btn--text:hover {
    color: var(--sage-deep);
    text-decoration-color: currentColor;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    box-shadow: 0 1px 0 rgba(43, 42, 40, 0.08);
    transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
    box-shadow: 0 1px 0 rgba(43, 42, 40, 0.08), 0 10px 24px -18px rgba(43, 42, 40, 0.35);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: var(--header-h);
}

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

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

.site-brand__mark {
    width: 30px;
    height: 30px;
    flex: none;
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
}

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

.header-actions .header-cta {
    min-height: 44px;
    padding: 0.5rem 1.05rem;
    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: 1px solid rgba(78, 101, 80, 0.28);
    border-radius: 12px;
    background: var(--paper);
    color: var(--sage-darker);
    cursor: pointer;
}

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

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

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    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(--charcoal);
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .site-nav {
        position: fixed;
        top: var(--header-bottom, var(--header-h));
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        z-index: 99;
        display: none;
        padding: 1rem var(--gutter) 2.5rem;
        background: var(--cream);
        border-top: 1px solid rgba(43, 42, 40, 0.08);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

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

    .site-nav__link {
        display: flex;
        align-items: center;
        min-height: 56px;
        padding-inline: 0.25rem;
        border-bottom: 1px solid rgba(78, 101, 80, 0.15);
        font: 500 1.25rem/1.2 var(--font-display);
    }

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

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

    .site-header__inner {
        gap: 1.5rem;
    }

    .site-brand {
        margin-right: 0;
    }

    .menu-toggle {
        display: none;
    }

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

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

    .site-nav__link {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0.5rem 0.8rem;
        border-radius: var(--radius-pill);
        font-size: 0.9875rem;
        font-weight: 500;
        color: #3D3A36;
        transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
    }

    .site-nav__link:hover {
        color: var(--sage-darker);
        background: var(--sage-mist);
    }

    .header-actions .header-cta {
        min-height: 46px;
        padding: 0.65rem 1.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   WAVY EDGES
   ============================================ */

.wave {
    position: absolute;
    left: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: clamp(40px, 6vw, 96px);
    fill: currentColor;
    color: var(--wave-color, var(--cream));
    pointer-events: none;
}

.wave--bottom {
    bottom: -1px;
}

.wave--top {
    top: -1px;
    transform: scaleY(-1);
}

/* ============================================
   LUMINOUS VINE (signature motif)
   ============================================ */

.vine {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    overflow: visible;
    pointer-events: none;
}

.vine path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.vine__glow {
    stroke: rgba(244, 220, 160, 0.8);
    stroke-width: 14;
}

.vine__stem {
    stroke: var(--sage);
    stroke-width: 3;
}

.vine__core {
    stroke: var(--gold-core);
    stroke-width: 1.5;
}

@media (max-width: 767.98px) {
    .vine__glow {
        stroke-width: 8;
        opacity: 0.7;
    }

    .vine__stem {
        stroke-width: 2.25;
    }

    .vine__core {
        stroke-width: 1.1;
    }
}

/* ============================================
   CHIPS, PILLS, LISTS
   ============================================ */

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

.chip {
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(78, 101, 80, 0.22);
    border-radius: var(--radius-pill);
    background: rgba(255, 251, 245, 0.92);
    color: var(--sage-darker);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
}

.why-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.25rem 0 0;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    background: #E3EBDD;
    color: var(--sage-darker);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
}

.why-pill svg {
    width: 16px;
    height: 16px;
    flex: none;
}

.check-list,
.dash-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.dash-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-list svg {
    width: 24px;
    height: 24px;
    flex: none;
    margin-top: 0.1em;
    color: var(--sage-deep);
}

.dash-list li::before {
    content: "";
    flex: none;
    width: 14px;
    height: 2px;
    margin-top: 0.8em;
    border-radius: 2px;
    background: var(--terracotta);
}

/* ============================================
   MATCH CARDS (leaf / petal shapes)
   ============================================ */

.match-card {
    --card-tint: rgba(246, 222, 214, 0.82);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
    padding: 2.75rem 1.75rem 3.25rem;
    text-align: center;
    background: var(--card-tint);
    border: 1px solid rgba(255, 249, 236, 0.95);
    border-radius: 60% 12px 46% 46% / 38% 12px 28% 28%;
    box-shadow: 0 0 0 1px rgba(233, 205, 140, 0.28), var(--glow-gold), 0 24px 40px -28px rgba(62, 58, 48, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px rgba(233, 205, 140, 0.45), 0 0 48px rgba(240, 214, 150, 0.6), 0 28px 44px -28px rgba(62, 58, 48, 0.45);
}

.match-card--blush {
    --card-tint: rgba(246, 222, 214, 0.82);
}

.match-card--sage {
    --card-tint: rgba(222, 232, 214, 0.84);
    border-radius: 12px 60% 46% 46% / 12px 38% 28% 28%;
}

.match-card--peach {
    --card-tint: rgba(248, 226, 205, 0.84);
}

.match-card__portrait {
    width: 132px;
    aspect-ratio: 1;
    padding: 5px;
    border-radius: 50%;
    background: linear-gradient(145deg, #FFF8EA, #E9D4A6);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8), 0 10px 22px -12px rgba(62, 58, 48, 0.5);
}

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

.match-card__title {
    margin: 0.25rem 0 0;
    font-size: 1.25rem;
    color: var(--charcoal);
}

.match-card__note {
    max-width: 26rem;
    margin: 0;
    color: #3A3835;
    font-size: 1.0625rem;
    line-height: 1.55;
}

/* ============================================
   APP STORE BUTTONS
   ============================================ */

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 178px;
    min-height: 58px;
    padding: 0.55rem 1.25rem 0.55rem 1rem;
    border: 1px solid var(--charcoal);
    border-radius: 14px;
    background: var(--charcoal);
    color: #FFFFFF;
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.store-btn:hover {
    background: #3B3A37;
    transform: translateY(-1px);
}

.store-btn__glyph {
    width: 26px;
    height: 26px;
    flex: none;
}

.store-btn__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.store-btn__small {
    font-size: 0.875rem;
}

.store-btn__big {
    font: 600 1.1875rem/1.15 var(--font-display);
}

/* ============================================
   FAQ ACCORDION (leaf ribbons)
   ============================================ */

.faq-list {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: start;
    gap: 1rem;
    max-width: 52rem;
    margin-inline: auto;
}

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

.faq-item__trigger {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 1rem 5.5rem 1rem 1.5rem;
    border: 0;
    border-radius: 32px 4px 160px 32px / 50% 4px 100% 50%;
    background: linear-gradient(90deg, #44594A 0%, #4E6550 70%, #62795F 100%);
    box-shadow: inset 0 2px 0 rgba(233, 205, 140, 0.6), 0 12px 24px -18px rgba(43, 58, 46, 0.6);
    color: #FAF5EE;
    font: 600 1.125rem/1.35 var(--font-display);
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq-item__trigger:hover,
.faq-item__trigger:focus-visible {
    transform: translateY(-2px);
    box-shadow: inset 0 2px 0 rgba(246, 222, 160, 0.95), 0 16px 28px -18px rgba(43, 58, 46, 0.7);
}

.faq-item__chevron {
    position: absolute;
    right: 3.25rem;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    color: #FAF5EE;
    transition: transform 0.25s var(--ease);
}

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

.faq-item__panel {
    margin: -0.5rem 1.25rem 0;
    padding: 1.5rem 1.5rem 1.25rem;
    border-radius: 0 0 22px 22px;
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(78, 101, 80, 0.12);
    border-top: 0;
}

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

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

.faq-item__body a {
    color: var(--sage-darker);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

@media (max-width: 479.98px) {
    .faq-item__trigger {
        padding: 0.95rem 4rem 0.95rem 1.15rem;
        font-size: 1.0625rem;
        border-radius: 26px 4px 110px 26px / 50% 4px 100% 50%;
    }

    .faq-item__chevron {
        right: 2.25rem;
    }

    .faq-item__panel {
        margin-inline: 0.5rem;
        padding: 1.25rem 1.1rem 1rem;
    }
}

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

.legal-hero {
    position: relative;
    background-color: var(--cream);
    background-image: url("./assets/502f58fdae750238b058435d0453c7d7.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 20% center;
}

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

.legal-hero__vine {
    -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 72%);
    mask-image: linear-gradient(to left, #000 30%, transparent 72%);
}

@media (max-width: 767.98px) {
    .legal-hero__vine {
        opacity: 0.55;
    }
}

.legal-hero__inner {
    position: relative;
    z-index: 2;
    padding-top: clamp(3.25rem, 7vw, 6rem);
    padding-bottom: clamp(5rem, 9vw, 8rem);
}

.legal-hero__inner > * {
    max-width: 40rem;
}

.legal-hero__title {
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.legal-hero__updated {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(250, 245, 238, 0.92);
    color: var(--sage-darker);
    font-size: var(--fs-small);
    font-weight: 600;
}

.legal-hero__intro {
    margin: 0;
    color: #45423E;
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.legal-layout {
    display: grid;
    gap: 2rem;
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    padding-bottom: var(--section-y);
}

.legal-aside {
    align-self: start;
}

.legal-content {
    min-width: 0;
    max-width: 760px;
}

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

    .legal-aside {
        position: sticky;
        top: calc(var(--header-bottom, var(--header-h)) + 24px);
    }
}

/* Table of contents */
.toc {
    border: 1px solid rgba(78, 101, 80, 0.14);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    padding: 0.75rem 1.25rem;
    color: var(--sage-darker);
    font: 600 1rem/1.3 var(--font-display);
    list-style: none;
    cursor: pointer;
    border-radius: var(--radius);
}

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

.toc__chevron {
    width: 20px;
    height: 20px;
    flex: none;
    transition: transform 0.25s var(--ease);
}

.toc[open] .toc__chevron {
    transform: rotate(180deg);
}

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

.toc__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.45rem 0.6rem;
    border-radius: var(--radius-sm);
    color: var(--ink-muted);
    font-size: var(--fs-small);
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.toc__link:hover {
    background: var(--sage-mist);
    color: var(--sage-darker);
}

/* Prose */
.prose h2 {
    margin: 3rem 0 1rem;
    font-size: clamp(1.5rem, 1.3rem + 0.9vw, 1.875rem);
    color: var(--charcoal);
    scroll-margin-top: calc(var(--header-bottom, var(--header-h)) + 20px);
}

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

.prose h3 {
    margin: 1.75rem 0 0.5rem;
    font-size: 1.1875rem;
    color: var(--sage-darker);
    scroll-margin-top: calc(var(--header-bottom, var(--header-h)) + 20px);
}

.prose p,
.prose li {
    color: #393734;
}

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

.prose li {
    margin-bottom: 0.5rem;
}

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

.prose a {
    color: var(--sage-darker);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.prose strong {
    color: var(--charcoal);
    font-weight: 600;
}

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

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

.placeholder-block {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border: 2px dashed var(--terracotta);
    border-radius: var(--radius);
    background: #FFF8F1;
}

.placeholder-block__label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--cta-hover);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

/* Responsive data table */
.data-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    font-size: 0.9875rem;
}

.data-table th,
.data-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(78, 101, 80, 0.12);
    text-align: left;
    vertical-align: top;
}

.data-table thead th {
    background: var(--sage-deep);
    color: var(--cream);
    font-family: var(--font-display);
    font-weight: 600;
}

.data-table tbody th {
    color: var(--sage-darker);
    font-weight: 600;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 767.98px) {
    .data-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .data-table,
    .data-table tbody,
    .data-table tr,
    .data-table th,
    .data-table td {
        display: block;
        width: 100%;
    }

    .data-table tr {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(78, 101, 80, 0.14);
    }

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

    .data-table th,
    .data-table td {
        padding: 0.35rem 1rem;
        border-bottom: 0;
    }

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

/* Related policies */
.related {
    position: relative;
    padding-bottom: var(--section-y);
}

.related__title {
    margin-bottom: 1.25rem;
    font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
}

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

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

.related-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem 1rem;
    height: 100%;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(78, 101, 80, 0.14);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    color: var(--charcoal);
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    color: var(--charcoal);
}

.related-card__title {
    color: var(--sage-darker);
    font: 600 1.125rem/1.3 var(--font-display);
}

.related-card__text {
    grid-column: 1;
    color: var(--ink-muted);
    font-size: var(--fs-small);
}

.related-card__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--cta);
    font-size: 1.25rem;
}

.related__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    color: var(--sage-darker);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

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

.site-footer {
    position: relative;
    overflow: clip;
    padding: clamp(5rem, 9vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem);
    background-color: var(--sage-mist);
    background-image: url("./assets/fcab14c5d2982b6f538bae8687ed5c5a.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    color: var(--charcoal);
    text-align: center;
}

.site-footer__wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: clamp(36px, 5vw, 80px);
    fill: currentColor;
    color: var(--cream);
    transform: scaleY(-1);
    pointer-events: none;
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    justify-items: center;
}

.site-footer__brand {
    order: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    max-width: 22rem;
}

.site-brand--footer {
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
}

.site-footer__mark {
    width: 44px;
    height: 44px;
}

.site-brand--footer .site-brand__text {
    font-size: 1.75rem;
}

.site-footer__desc {
    margin: 0;
    color: #3E3B37;
    font-size: var(--fs-small);
    line-height: 1.55;
}

.site-footer__label {
    margin: 0 0 0.35rem;
    color: var(--sage-darker);
    font: 600 0.875rem/1.3 var(--font-body);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--charcoal);
    font-size: var(--fs-small);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--sage-darker);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-footer__copy {
    position: relative;
    z-index: 1;
    display: table;
    margin: 2rem auto 0;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(250, 245, 238, 0.9);
    color: #3E3B37;
    font-size: 0.875rem;
}

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

    .site-footer__brand {
        order: 0;
    }

    .site-footer__col--sections {
        justify-self: start;
        text-align: left;
    }

    .site-footer__col--legal {
        justify-self: end;
        text-align: right;
    }
}

/* ============================================
   HOME - SHARED
   ============================================ */

.section-head a,
.lead a,
.tip a {
    color: var(--sage-darker);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

@media (max-width: 767.98px) {
    .home-vine {
        opacity: 0.55;
    }
}

/* ============================================
   HOME - HERO
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    background-color: var(--sage-mist);
    background-image: url("./assets/5a9d9edaadbdeda15ded06fa40af6082.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 30% center;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2.5rem;
    padding-top: clamp(1.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(5.5rem, 10vw, 8.5rem);
}

.hero__copy h1 {
    margin-bottom: 1rem;
}

.hero__lead {
    max-width: 34rem;
    color: #3E3B37;
}

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

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

.hero__media {
    display: flex;
    justify-content: center;
    padding-block: 1.5rem;
}

.orb {
    position: relative;
    width: min(280px, 76vw);
    aspect-ratio: 1;
}

.orb__glow {
    position: absolute;
    inset: -24%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 246, 220, 0.95) 0%, rgba(244, 222, 170, 0.55) 40%, rgba(244, 222, 170, 0) 70%);
}

.orb__halo {
    position: absolute;
    inset: -6%;
    border-radius: 50%;
    background: rgba(255, 248, 232, 0.6);
    filter: blur(18px);
}

.orb__frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(255, 250, 238, 0.85), 0 0 44px rgba(244, 222, 170, 0.75), 0 30px 60px -30px rgba(62, 58, 48, 0.45);
}

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

.orb__ring {
    position: absolute;
    top: -9%;
    left: -9%;
    width: 118%;
    height: 118%;
    max-width: none;
    overflow: visible;
    pointer-events: none;
}

.orb__hands {
    display: none;
}

@media (min-width: 768px) {
    .orb {
        width: 340px;
    }

    .orb__hands {
        position: absolute;
        left: -20%;
        bottom: -16%;
        z-index: 3;
        display: block;
        width: 34%;
        height: auto;
    }
}

@media (min-width: 1024px) {
    .hero__inner {
        grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
        align-items: center;
        min-height: 640px;
    }

    .orb {
        width: 430px;
    }
}

/* ============================================
   HOME - VALUE CONTRAST
   ============================================ */

.contrast {
    position: relative;
    padding-top: var(--section-y);
    background: var(--cream);
}

.contrast__vine {
    z-index: 1;
}

.contrast__vine .vine__glow {
    stroke-width: 22;
}

.contrast__panes {
    position: relative;
    display: grid;
}

.contrast__pane {
    position: relative;
    padding: 0 var(--gutter) 62vw;
}

.contrast__pane::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("./assets/7d48041c4046bd1b12726eb401e13514.webp");
    background-repeat: no-repeat;
    background-size: 200% auto;
    background-position: left bottom;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 88%, transparent 100%);
}

.contrast__pane--curated::before {
    background-position: right bottom;
}

.contrast__text {
    position: relative;
    z-index: 2;
    max-width: 28rem;
    margin-inline: auto;
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse at center, rgba(250, 245, 238, 0.92) 55%, rgba(250, 245, 238, 0) 100%);
}

.contrast__title {
    color: var(--sage-darker);
    font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
}

.contrast__title--swipe {
    color: var(--cta-hover);
}

@media (min-width: 1024px) {
    .contrast__panes {
        grid-template-columns: minmax(0, 40fr) minmax(0, 15fr) minmax(0, 45fr);
        min-height: min(47vw, 900px);
    }

    .contrast__panes::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image: url("./assets/7d48041c4046bd1b12726eb401e13514.webp");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center bottom;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
    }

    .contrast__pane {
        padding: 0 1.5rem;
    }

    .contrast__pane::before {
        display: none;
    }

    .contrast__pane--swipe {
        grid-column: 1;
    }

    .contrast__pane--curated {
        grid-column: 3;
    }

    .contrast__text {
        padding: 0.25rem 1rem;
    }

    .contrast__text li {
        line-height: 1.45;
    }

    .contrast__text .check-list,
    .contrast__text .dash-list {
        gap: 0.4rem;
    }
}

/* ============================================
   HOME - PILLARS & STEPS
   ============================================ */

.growth {
    position: relative;
    overflow: clip;
    background-color: var(--cream);
    background-image: url("./assets/b6f5b0a149138469cefe1783d0c26437.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

.pillars {
    position: relative;
    z-index: 2;
    padding-top: var(--section-y);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.pillars__grid {
    display: grid;
    gap: 2.5rem;
    max-width: 64rem;
    margin-inline: auto;
}

.pillar {
    max-width: 22rem;
    margin-inline: auto;
    text-align: center;
}

.pillar__disc {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #F1F5EC 0%, var(--sage-soft) 60%, #CAD7C3 100%);
    box-shadow: inset 0 0 18px rgba(255, 250, 235, 0.95), 0 10px 24px -14px rgba(62, 58, 48, 0.35);
    color: var(--sage-deep);
}

.pillar__disc svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pillar p {
    margin: 0;
    color: #45423E;
}

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

.steps {
    position: relative;
    z-index: 2;
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: var(--section-y);
}

.steps__strip {
    position: relative;
    margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
}

.steps__strip img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
}

.steps__ext {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 0;
    width: 50vw;
}

.steps__ext--left {
    right: 98%;
}

.steps__ext--right {
    left: 98%;
}

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

.step {
    text-align: center;
}

.step__icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
    color: var(--sage-deep);
}

.step__icon--line {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.step__num {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--cta-hover);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.step p {
    margin: 0;
    color: #45423E;
}

.steps__cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3rem);
}

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

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

/* ============================================
   HOME - MATCHES
   ============================================ */

.matches {
    background-color: var(--cream);
    background-image: url("./assets/7d23eb6d305ea20c47822a80946d29f7.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.matches__label {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    border: 1px dashed rgba(78, 101, 80, 0.5);
    border-radius: var(--radius-pill);
    background: var(--paper);
    color: var(--sage-darker);
    font-size: var(--fs-small);
    font-weight: 600;
}

.section-head .matches__label {
    color: var(--sage-darker);
}

.matches__grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2.5rem;
}

.matches__cta {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
}

.matches__cta .muted-note {
    margin: 0;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(250, 245, 238, 0.92);
    color: #45423E;
}

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

    .matches__grid > :nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .matches__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
        gap: 2rem;
    }

    .matches__grid > :nth-child(2) {
        margin-top: 10rem;
    }

    .matches__grid > :nth-child(3) {
        margin-top: 5rem;
    }
}

/* ============================================
   HOME - FEATURES (leaf banners)
   ============================================ */

.features {
    background-color: var(--cream);
    background-image: url("./assets/cb7d3cc8eeb25d52387b9e7ba317df88.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
}

.features__entry {
    display: none;
}

.features__grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.5rem;
    max-width: 68rem;
    margin-inline: auto;
}

.feature-col {
    --art: 72px;
    position: relative;
    display: grid;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-col__stem {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--art);
    z-index: 0;
}

.feature {
    position: relative;
    z-index: 1;
    padding-left: calc(var(--art) / 2);
}

.feature__art {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 2;
    width: var(--art);
    height: var(--art);
    object-fit: contain;
    transform: translateY(-50%);
}

.feature__leaf {
    position: relative;
    padding: 1.25rem 2.75rem 1.35rem calc(var(--art) / 2 + 1.25rem);
    border-radius: 44px 14px 140px 44px / 50% 14px 100% 50%;
    background:
        radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
        linear-gradient(100deg, #43584A 0%, #4E6550 62%, #587056 100%);
    box-shadow: inset 0 2px 0 rgba(233, 205, 140, 0.5), 0 14px 26px -18px rgba(43, 58, 46, 0.6);
    color: #FAF5EE;
}

.feature__leaf h3 {
    margin-bottom: 0.3rem;
    color: #FFFFFF;
    font-size: 1.1875rem;
}

.feature__leaf p {
    margin: 0;
    color: #F3EFE6;
    font-size: 1.0625rem;
    line-height: 1.55;
}

@media (min-width: 768px) {
    .feature-col {
        --art: 104px;
    }

    .feature__leaf {
        padding-right: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .features__entry {
        display: block;
    }

    .features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 2rem 3.5rem;
    }

    .feature-col--right {
        padding-top: 5rem;
    }
}

/* ============================================
   HOME - TRUST & SAFETY
   ============================================ */

.trust {
    background:
        radial-gradient(45% 35% at 0% 0%, rgba(220, 229, 214, 0.6), transparent 70%),
        var(--cream);
}

.trust__layout {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2.5rem;
}

.trust__visual {
    order: -1;
}

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

.tip {
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(78, 101, 80, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 251, 245, 0.94);
    box-shadow: var(--shadow-soft);
}

.tip h3 {
    margin-bottom: 0.4rem;
    color: var(--sage-darker);
    font-size: 1.125rem;
}

.tip p {
    margin: 0;
    color: #45423E;
    font-size: 1.0625rem;
    line-height: 1.55;
}

.shield {
    position: relative;
    isolation: isolate;
    width: min(300px, 82vw);
    margin-inline: auto;
}

.shield::before {
    content: "";
    position: absolute;
    right: -14%;
    bottom: -8%;
    z-index: -1;
    width: 75%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(181, 100, 63, 0.38), rgba(181, 100, 63, 0));
    filter: blur(8px);
}

.shield__art {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.shield__list {
    position: absolute;
    top: 30%;
    left: 23%;
    right: 21%;
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shield__list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--charcoal);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
}

.shield__list svg {
    width: 22px;
    height: 22px;
    flex: none;
    color: var(--sage-deep);
}

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

    .shield {
        width: 380px;
    }

    .shield__list {
        gap: 1rem;
    }

    .shield__list li {
        font-size: 1.0625rem;
    }
}

@media (min-width: 1024px) {
    .trust__layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
        align-items: center;
        gap: 3.5rem;
    }

    .trust__visual {
        order: 0;
    }

    .shield {
        width: 100%;
        max-width: 440px;
    }
}

/* ============================================
   HOME - EMOTIONAL BRAND
   ============================================ */

.story {
    position: relative;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(143, 165, 138, 0.5), transparent 60%),
        radial-gradient(90% 70% at 100% 100%, rgba(157, 177, 196, 0.3), transparent 65%),
        linear-gradient(160deg, #4E6550 0%, #3F5442 100%);
    color: #FAF5EE;
}

.story .wave {
    z-index: 3;
}

.story__vine {
    z-index: 1;
}

.story__layout {
    position: relative;
    z-index: 2;
    display: grid;
}

.story__media {
    position: relative;
    aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

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

.story__panel {
    max-width: 38rem;
    margin-top: -1.5rem;
    padding: 0 var(--gutter) clamp(5rem, 9vw, 7rem);
}

.story__panel h2 {
    color: #FAF5EE;
}

.story__panel p {
    color: #EEF1E9;
}

.story__quote {
    margin: 1.5rem 0 0;
    font: italic 500 clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem)/1.3 var(--font-display);
}

.story__panel .story__quote {
    color: var(--gold-core);
}

@media (min-width: 1024px) {
    .story__layout {
        grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
        min-height: 620px;
    }

    .story__media {
        grid-column: 2;
        grid-row: 1;
        aspect-ratio: auto;
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28%);
        mask-image: linear-gradient(to right, transparent 0, #000 28%);
    }

    .story__media img {
        position: absolute;
        inset: 0;
    }

    .story__panel {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        max-width: none;
        margin: 0;
        padding: 7rem 2.5rem 7rem max(var(--gutter), calc((100vw - var(--container)) / 2));
    }
}

/* ============================================
   HOME - APP DOWNLOAD
   ============================================ */

.app {
    background-color: var(--cream);
    background-image: url("./assets/40138bef82e8ea857cde536678ef2e97.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.app__layout {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2rem;
    align-items: center;
}

.app__stage {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    width: min(100%, 400px);
    margin-inline: auto;
    padding: 2rem 0;
}

.app__glow {
    position: absolute;
    inset: 10% 8%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 244, 214, 0.95), rgba(244, 222, 170, 0.4) 55%, rgba(244, 222, 170, 0));
}

.app__art {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.phone {
    position: relative;
    z-index: 1;
    width: 220px;
    aspect-ratio: 9 / 18.5;
    padding: 10px;
    border-radius: 40px;
    background: linear-gradient(160deg, #3D4A40, #2F3A32);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -28px rgba(43, 42, 40, 0.55), var(--glow-gold);
}

.phone__notch {
    position: absolute;
    top: 18px;
    left: 50%;
    z-index: 2;
    width: 74px;
    height: 20px;
    margin-left: -37px;
    border-radius: var(--radius-pill);
    background: #2F3A32;
}

.phone__screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 2.75rem 1rem 1.5rem;
    border-radius: 30px;
    background: linear-gradient(180deg, #FFFBF5, #F6EEE3);
    text-align: center;
}

.phone__mark {
    width: 28px;
    height: 28px;
}

.phone__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.phone__calendar {
    width: 96px;
    height: 96px;
}

.phone__label {
    color: var(--charcoal);
    font: 600 1.25rem/1.2 var(--font-display);
}

.phone__text {
    color: #4A4642;
    font-size: 0.875rem;
    line-height: 1.4;
}

.phone__pill {
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-pill);
    background: var(--cta);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
}

.app__note {
    margin: 1rem 0 0;
}

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

    .app__stage {
        width: 460px;
        max-width: 100%;
    }

    .phone {
        width: 250px;
    }
}

/* ============================================
   HOME - FAQ & FINAL CTA
   ============================================ */

.faq {
    background:
        radial-gradient(55% 40% at 0% 10%, rgba(220, 229, 214, 0.7), transparent 70%),
        radial-gradient(50% 40% at 100% 90%, rgba(241, 213, 204, 0.55), transparent 70%),
        var(--cream);
}

.final-cta {
    background: var(--cream);
    text-align: center;
}

.final-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 46rem;
}

.final-cta__action {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0 1.25rem;
}

.final-cta__glow {
    position: absolute;
    inset: -40px 10%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(246, 224, 170, 0.8), rgba(246, 224, 170, 0));
}

.final-cta__sprig {
    flex: 0 1 auto;
    width: clamp(64px, 16vw, 170px);
    min-width: 0;
    height: auto;
}

.final-cta__sprig--right {
    transform: scaleX(-1);
}

.final-cta .btn {
    flex: none;
}

@media (max-width: 419.98px) {
    .final-cta__sprig {
        display: none;
    }
}

/* ============================================
   MOTION
   ============================================ */

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.75;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.reveal.is-revealed {
    animation: fade-up 0.8s var(--ease) both;
}

.glow-pulse {
    animation: glow-pulse 6s ease-in-out infinite;
}

.float {
    animation: float 7s ease-in-out infinite;
}

.glow-pulse.is-offscreen,
.float.is-offscreen,
.is-hidden-tab .glow-pulse,
.is-hidden-tab .float {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}