/*
 * Emmadate - Organic Premium design system
 * Canonical design tokens live in this file.
 */

:root {
    /* Sage */
    --sage-50: #F1F3EC;
    --sage-100: #E5E9DF;
    --sage-200: #CBD5C6;
    --sage-300: #A9B9A5;
    --sage-400: #8A9E87;
    --sage-500: #71876F;
    --sage-600: #566C56;
    --sage-700: #435743;
    --sage-800: #2F3F31;
    --sage-900: #223024;

    /* Cream */
    --cream-50: #FFFBF3;
    --cream-100: #FBF5EA;
    --cream-200: #F6EEDF;
    --cream-300: #EDE2CC;

    /* Gold */
    --gold-100: #F6EBCF;
    --gold-200: #EED9A6;
    --gold-300: #E3C47F;
    --gold-400: #D4AF62;
    --gold-500: #C49A47;
    --gold-600: #A9843D;
    --gold-ink: #7E6024;

    /* Terracotta */
    --terra-100: #F3DED5;
    --terra-200: #EBCFC2;
    --terra-500: #B8664C;
    --terra-600: #A4553E;
    --terra-700: #8C4632;

    --mist: #E7EAE2;

    /* Text */
    --ink: #2E3A2F;
    --ink-strong: #263228;
    --ink-muted: #5C5A4E;
    --on-dark: #FBF5EA;

    /* Type */
    --font-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    /* Shape */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --shadow-soft: 0 10px 30px rgba(67, 60, 38, 0.12);
    --shadow-card: 0 16px 36px rgba(60, 52, 30, 0.16);
    --gold-gradient: linear-gradient(135deg, #F5E3AE 0%, #DDB869 38%, #C9A04F 62%, #EED39A 100%);
    --gold-text-gradient: linear-gradient(180deg, #F6E6B8 0%, #E3C47F 60%, #D9B76E 100%);

    /* Layout */
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(56px, 8vw, 104px);
    --header-h: 64px;
    --ease: cubic-bezier(0.22, 0.7, 0.2, 1);

    --grain: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%27220%27%20height=%27220%27%3E%3Cfilter%20id=%27n%27%3E%3CfeTurbulence%20type=%27fractalNoise%27%20baseFrequency=%27.85%27%20numOctaves=%273%27%20stitchTiles=%27stitch%27/%3E%3CfeColorMatrix%20values=%270%200%200%200%20.45%200%200%200%200%20.38%200%200%200%200%20.25%200%200%200%20.14%200%27/%3E%3C/filter%3E%3Crect%20width=%27100%25%27%20height=%27100%25%27%20filter=%27url%28%23n%29%27/%3E%3C/svg%3E");
    --leaf-bullet: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M4%2020C6%2011%2012%205%2021%204c-1%209-7%2015-17%2016z%27%20fill=%27%23EED9A6%27%20stroke=%27%23A9843D%27%20stroke-width=%271.4%27%20stroke-linejoin=%27round%27/%3E%3Cpath%20d=%27M4%2020%2015%209%27%20stroke=%27%23A9843D%27%20stroke-width=%271.4%27%20fill=%27none%27%20stroke-linecap=%27round%27/%3E%3C/svg%3E");
    --warn-bullet: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M12%203%2022%2020H2z%27%20fill=%27%23F3DED5%27%20stroke=%27%23A4553E%27%20stroke-width=%271.5%27%20stroke-linejoin=%27round%27/%3E%3Cpath%20d=%27M12%209v5M12%2016.8v.2%27%20stroke=%27%23A4553E%27%20stroke-width=%271.8%27%20stroke-linecap=%27round%27/%3E%3C/svg%3E");
    --check-bullet: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Ccircle%20cx=%2712%27%20cy=%2712%27%20r=%2710%27%20fill=%27%23E5E9DF%27%20stroke=%27%23566C56%27%20stroke-width=%271.4%27/%3E%3Cpath%20d=%27M7.5%2012.5l3%203%206-7%27%20stroke=%27%23435743%27%20stroke-width=%271.8%27%20fill=%27none%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E");

    interpolate-size: allow-keywords;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

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

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

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

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--cream-100);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

main:focus {
    outline: none;
}

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

h1 { font-size: clamp(2.35rem, 1.7rem + 3vw, 3.9rem); }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.85rem); }
h3 { font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.65rem); }

p {
    margin: 0 0 1em;
}

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

a {
    color: var(--sage-700);
    text-decoration-color: var(--gold-500);
    text-underline-offset: 0.18em;
    transition: color 0.2s var(--ease);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--gold-400);
    outline-offset: 3px;
    border-radius: 6px;
}

img {
    display: block;
}

strong {
    font-weight: 600;
    color: var(--ink-strong);
}

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

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 12px 18px;
    background: var(--cream-50);
    color: var(--sage-800);
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gold-400);
    transition: top 0.2s;
}

.skip-link:focus {
    top: 12px;
}

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

.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 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto clamp(28px, 5vw, 52px);
    text-align: center;
}

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

.section-lead {
    font-size: 1.075rem;
    color: var(--ink-muted);
    max-width: 62ch;
    margin-inline: auto;
}

.prose {
    max-width: 68ch;
}

.prose > :last-child {
    margin-bottom: 0;
}

.band--cream {
    background-color: var(--cream-100);
    background-image: var(--grain);
}

.band--ivory {
    background-color: var(--cream-50);
    background-image: var(--grain);
}

.band--mist {
    background-color: var(--mist);
}

.band--sage {
    background-color: var(--sage-600);
    color: var(--on-dark);
    border-top: 1px solid var(--gold-400);
    border-bottom: 1px solid var(--gold-400);
}

.band--terracotta {
    background-color: var(--terra-600);
    color: var(--on-dark);
}

.band--sage h2, .band--sage h3,
.band--terracotta h2, .band--terracotta h3 {
    color: var(--on-dark);
}

.band--sage .section-lead,
.band--terracotta .section-lead {
    color: var(--on-dark);
}

.band--sage a,
.band--terracotta a {
    color: var(--on-dark);
    text-decoration: underline;
    text-decoration-color: var(--gold-300);
}

.split {
    display: grid;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.grid-3 {
    display: grid;
    gap: clamp(24px, 4vw, 40px);
}

.card-panel {
    position: relative;
    background-color: var(--cream-50);
    background-image: var(--grain);
    border: 1px solid var(--gold-300);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 4vw, 40px);
    box-shadow: var(--shadow-soft);
}

.eyebrow-bar {
    display: block;
    width: 132px;
    height: 9px;
    border-radius: var(--radius-pill);
    background: var(--gold-gradient);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    background: var(--gold-100);
    border: 1px solid var(--gold-400);
    color: var(--gold-ink);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    min-height: 44px;
    color: var(--sage-700);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--gold-500);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.22em;
}

.text-link::after {
    content: "\2192";
    transition: transform 0.2s var(--ease);
}

.text-link:hover::after {
    transform: translateX(3px);
}

.partner-note {
    margin: 0.85rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--ink-muted);
}

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

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65em;
    min-height: 48px;
    padding: 0 1.6em;
    border: 0;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

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

.btn--gold {
    background: var(--gold-gradient);
    color: #2A271B;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -2px 0 rgba(140, 100, 30, 0.25), 0 6px 16px rgba(120, 90, 30, 0.22);
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(140, 100, 30, 0.25), 0 12px 24px rgba(120, 90, 30, 0.3);
}

.btn--sage {
    background: var(--sage-600);
    color: var(--on-dark);
    border: 2px solid var(--gold-400);
    box-shadow: inset 0 0 0 3px rgba(251, 245, 234, 0.12), 0 8px 20px rgba(67, 87, 67, 0.22);
}

.btn--sage:hover {
    background: var(--sage-700);
    transform: scale(1.03);
    box-shadow: 0 0 0 5px rgba(212, 175, 98, 0.28), 0 12px 30px rgba(196, 154, 71, 0.38);
}

.btn:active {
    transform: scale(0.98);
}

.btn--lg {
    min-height: 58px;
    padding: 0 2em;
    font-size: 1.075rem;
}

.btn--sm {
    min-height: 46px;
    padding: 0 1.25em;
    font-size: 0.95rem;
}

.btn__accent {
    width: 34px;
    height: 7px;
    border-radius: var(--radius-pill);
    background: var(--gold-gradient);
}

.btn__arrow {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow {
    transform: translateX(3px);
}

.btn--shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: shimmer 4.5s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 65% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

@keyframes cta-pulse {
    0%, 80%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 6px 16px rgba(120, 90, 30, 0.22), 0 0 0 0 rgba(227, 196, 127, 0.5); }
    90% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 6px 16px rgba(120, 90, 30, 0.22), 0 0 0 12px rgba(227, 196, 127, 0); }
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--sage-600);
    border-bottom: 1px solid var(--gold-400);
    box-shadow: 0 1px 0 rgba(212, 175, 98, 0.35), 0 6px 18px rgba(34, 48, 36, 0.12);
}

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

.site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    flex: 0 0 auto;
}

.site-brand__text {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--gold-300);
    line-height: 1;
}

.site-brand:hover .site-brand__text {
    color: var(--gold-200);
}

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

.header-actions-placeholder {
    display: none;
}

.site-header__actions .header-cta {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.875rem;
}

.site-header__actions .header-cta .btn__arrow {
    display: none;
}

.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(227, 196, 127, 0.7);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--on-dark);
    transition: transform 0.3s 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, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 45;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--sage-700);
    padding: 12px var(--gutter) 32px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

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

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

.site-nav__list li {
    border-bottom: 1px solid rgba(227, 196, 127, 0.35);
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 56px;
    color: var(--on-dark);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
    color: var(--gold-200);
}

/* ============================================
   BOTANICAL ORNAMENTS
   ============================================ */

.botanical {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.botanical--inline {
    position: static;
    display: block;
}

.botanical .b-stem {
    fill: none;
    stroke: var(--gold-400);
    stroke-width: 1.6;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.botanical .b-stem--thin {
    stroke-width: 1.1;
}

.botanical .b-leaf--fill {
    fill: var(--sage-200);
    stroke: var(--gold-400);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.botanical .b-leaf--line {
    fill: none;
    stroke: var(--gold-400);
    stroke-width: 1.15;
    vector-effect: non-scaling-stroke;
}

.botanical .b-rib {
    fill: none;
    stroke: var(--gold-500);
    stroke-width: 0.8;
    vector-effect: non-scaling-stroke;
}

.botanical .b-berry {
    fill: var(--gold-400);
}

.botanical--soft .b-leaf--fill {
    fill: var(--sage-100);
}

/* ============================================
   SPLIT HERO
   ============================================ */

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 2px solid var(--gold-400);
    background-color: var(--cream-100);
}

.hero__media {
    position: relative;
    aspect-ratio: 6 / 5;
    overflow: hidden;
    background: var(--sage-200);
}

.hero--portrait .hero__media {
    aspect-ratio: 4 / 5;
}

.hero__img,
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__img {
    object-fit: cover;
}

.hero__bg {
    background-size: cover;
    background-repeat: no-repeat;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    background: linear-gradient(to top, rgba(20, 24, 18, 0.78), rgba(20, 24, 18, 0));
    pointer-events: none;
}

.hero__caption {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero__panel {
    position: relative;
    overflow: hidden;
    background-color: var(--cream-100);
    background-image: var(--grain);
    padding: clamp(36px, 8vw, 56px) var(--gutter) clamp(44px, 9vw, 64px);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 36rem;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.hero__title {
    margin-bottom: 0.45em;
}

.hero__sub {
    font-size: 1.075rem;
    color: var(--ink-muted);
    max-width: 34rem;
}

.hero__tagline {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 600;
    font-style: italic;
    color: var(--sage-700);
    margin-bottom: 1.1em;
}

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

.hero__micro {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--sage-700);
}

.hero__vine--seam {
    display: none;
}

.hero__vine--tr {
    top: -6px;
    right: -6px;
    width: 104px;
}

.hero__vine--br {
    bottom: -6px;
    right: -6px;
    width: 120px;
    transform: scaleY(-1);
}

.jump-chips {
    margin-top: 22px;
}

.jump-chips__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jump-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--gold-400);
    background: var(--cream-50);
    color: var(--sage-800);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s var(--ease);
}

.jump-chip:hover {
    background: var(--gold-100);
    color: var(--sage-900);
    transform: translateY(-1px);
}

/* ============================================
   MEDALLIONS, ICONS, SPROUTS
   ============================================ */

.medallion {
    display: inline-block;
    flex: none;
    width: 84px;
    height: 84px;
    transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}

.medallion svg {
    display: block;
    width: 100%;
    height: 100%;
}

.medallion--sm { width: 44px; height: 44px; }
.medallion--lg { width: 108px; height: 108px; }

.medallion__rim { fill: var(--gold-400); }
.medallion__sheen { fill: var(--gold-200); }
.medallion__core {
    fill: var(--cream-50);
    stroke: var(--gold-600);
    stroke-width: 1.6;
}

.medallion__icon {
    fill: none;
    stroke: var(--sage-700);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.medallion__num {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 700;
    fill: var(--gold-ink);
}

.icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.sprout {
    display: block;
    width: 76px;
    height: 76px;
    margin-inline: auto;
}

.sprout .sp-stem,
.sprout .sp-vein {
    fill: none;
    stroke: var(--gold-500);
    stroke-width: 2;
    stroke-linecap: round;
}

.sprout .sp-vein {
    stroke-width: 1.2;
}

.sprout .sp-leaf {
    fill: var(--gold-100);
    stroke: var(--gold-500);
    stroke-width: 2;
    stroke-linejoin: round;
}

/* ============================================
   TRUST BADGES
   ============================================ */

.trust-grid {
    display: grid;
    gap: clamp(28px, 4vw, 40px);
}

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

.trust-badge .medallion {
    margin-bottom: 14px;
}

.trust-badge:hover .medallion {
    transform: translateY(-4px);
    filter: drop-shadow(0 8px 14px rgba(201, 155, 72, 0.45));
}

.trust-badge__title {
    margin-bottom: 0.35em;
}

.trust-badge__text {
    color: var(--ink-muted);
    margin-bottom: 0.4em;
}

/* ============================================
   CAROUSEL & PROFILE CARDS
   ============================================ */

.carousel {
    --card-w: min(290px, 76vw);
    position: relative;
    z-index: 1;
}

.carousel__track {
    position: relative;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 26px calc(50% - var(--card-w) / 2) 30px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
}

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

.carousel__controls {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

.js .carousel__controls {
    display: flex;
}

.carousel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 50%;
    border: 2px solid var(--gold-300);
    background: var(--sage-600);
    color: var(--on-dark);
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(34, 48, 36, 0.2);
    transition: transform 0.2s var(--ease), background-color 0.2s;
}

.carousel__btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carousel__btn:hover:not(:disabled) {
    background: var(--sage-700);
    transform: scale(1.06);
}

.carousel__btn:disabled {
    cursor: default;
    background: var(--sage-400);
    color: var(--sage-900);
    box-shadow: none;
}

.carousel__btn:focus-visible {
    border-radius: 50%;
}

.carousel__dots {
    display: flex;
    align-items: center;
}

.carousel__dot {
    position: relative;
    width: 32px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.carousel__dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: var(--radius-pill);
    background: var(--sage-300);
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), background-color 0.3s;
}

.carousel__dot[aria-current="true"]::before {
    width: 26px;
    background: var(--sage-600);
}

.profile-card {
    flex: 0 0 var(--card-w);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    background: var(--cream-50);
    border: 1px solid var(--gold-400);
    border-radius: 22px;
    padding: 10px;
    box-shadow: 0 0 0 4px var(--cream-50), 0 0 0 5px var(--gold-300), var(--shadow-card);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.profile-card.is-active {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 0 4px var(--cream-50), 0 0 0 5px var(--gold-400), 0 22px 44px rgba(60, 52, 30, 0.22);
}

.profile-card__media {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid var(--gold-300);
    aspect-ratio: 4 / 5;
}

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

.media-label {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(34, 48, 36, 0.76);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

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

.profile-card__title {
    font-size: 1.35rem;
    margin: 0;
}

.profile-card__age {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sage-700);
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip {
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: var(--sage-100);
    border: 1px solid var(--sage-200);
    color: var(--sage-800);
    font-size: 0.875rem;
    font-weight: 500;
}

.profile-card__activity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.profile-card__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--sage-500);
    box-shadow: 0 0 0 3px var(--sage-100);
    flex: none;
}

.profile-card__icons {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.interest-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--gold-400);
    background: var(--gold-100);
    color: var(--gold-ink);
}

.interest-icon .icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   FRAMED PHOTO & STORY CARD
   ============================================ */

.framed-photo {
    margin: 0;
}

.framed-photo__frame {
    position: relative;
    padding: 6px;
    background: var(--cream-50);
    border: 2px solid var(--gold-300);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.framed-photo__frame img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.framed-photo__caption {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 6px;
    padding: 26px 14px 10px;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(to top, rgba(20, 24, 18, 0.82), rgba(20, 24, 18, 0));
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.framed-photo--pill .framed-photo__caption {
    left: -8px;
    right: auto;
    bottom: 18px;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: var(--sage-600);
    border: 1px solid var(--gold-300);
    color: var(--on-dark);
    text-align: left;
}

.story-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(22px, 4vw, 36px);
    max-width: 980px;
    margin-inline: auto;
}

.story-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: var(--cream-50);
    background-image: var(--grain);
    border: 1px solid var(--gold-300);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 36px);
    box-shadow: var(--shadow-soft);
}

.story-card__mark {
    position: absolute;
    top: 6px;
    font-family: var(--font-serif);
    font-size: 4.5rem;
    line-height: 1;
    color: var(--gold-300);
}

.story-card__mark--open { left: 16px; }
.story-card__mark--close { right: 16px; }

.story-card__sprig {
    width: 96px;
}

.story-card__title {
    margin: 0;
}

.story-card__text {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink-strong);
}

/* ============================================
   DATA TABLES
   ============================================ */

.table-wrap {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-400);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-wrap:focus-visible {
    outline: 3px solid var(--gold-300);
    outline-offset: 3px;
    border-radius: var(--radius-lg);
}

.data-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 0.975rem;
    line-height: 1.5;
}

.data-table th,
.data-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: middle;
    border-right: 1px solid;
    border-bottom: 1px solid;
}

.data-table tr > :last-child {
    border-right: 0;
}

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

.data-table thead th {
    font-weight: 600;
    font-size: 1rem;
}

.data-table tbody th {
    font-weight: 600;
}

.data-table td.is-icon {
    text-align: center;
}

.cell-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.cell-icon + .cell-text {
    margin-left: 8px;
}

.cell-icon .icon {
    width: 24px;
    height: 24px;
}

/* Terracotta variant */
.table-wrap--terracotta {
    border-color: var(--gold-300);
    background: rgba(140, 70, 50, 0.25);
}

.data-table--terracotta {
    color: var(--on-dark);
}

.data-table--terracotta th,
.data-table--terracotta td {
    border-color: rgba(227, 196, 127, 0.7);
}

.data-table--terracotta thead th {
    background: var(--terra-700);
    color: var(--on-dark);
}

.data-table--terracotta tbody th {
    color: var(--on-dark);
}

.data-table--terracotta .cell-icon--check { color: var(--gold-300); }
.data-table--terracotta .cell-icon--cross,
.data-table--terracotta .cell-icon--dash { color: var(--terra-200); }
.data-table--terracotta .cell-icon:not(.cell-icon--check):not(.cell-icon--cross):not(.cell-icon--dash) { color: var(--gold-300); }

.data-table--terracotta a {
    color: var(--on-dark);
    text-decoration: underline;
    text-decoration-color: var(--gold-300);
}

/* Cream variant */
.table-wrap--cream {
    border-color: var(--gold-400);
    background: var(--cream-50);
    box-shadow: var(--shadow-soft);
}

.data-table--cream th,
.data-table--cream td {
    border-color: var(--gold-200);
}

.data-table--cream thead th {
    background: var(--sage-600);
    color: var(--on-dark);
    border-color: rgba(227, 196, 127, 0.6);
}

.data-table--cream tbody th {
    color: var(--ink-strong);
}

.data-table--cream tbody tr:nth-child(even) {
    background: var(--cream-100);
}

.data-table--cream .cell-icon--check { color: var(--gold-600); }
.data-table--cream .cell-icon--cross,
.data-table--cream .cell-icon--dash { color: var(--terra-600); }
.data-table--cream .cell-icon:not(.cell-icon--check):not(.cell-icon--cross):not(.cell-icon--dash) { color: var(--gold-ink); }

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

.faq-grid {
    display: grid;
    gap: 14px;
    align-items: start;
}

.faq-item {
    align-self: start;
    border: 1px solid var(--sage-300);
    border-radius: var(--radius-md);
    background: var(--cream-50);
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(60, 52, 30, 0.06);
}

.faq-item__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 14px 18px;
    background: var(--sage-600);
    color: var(--on-dark);
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s var(--ease);
}

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

.faq-item__summary::marker {
    content: "";
}

.faq-item__summary:hover {
    background: var(--sage-700);
}

.faq-item__summary:focus-visible {
    outline: 3px solid var(--gold-300);
    outline-offset: -3px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.faq-item__q {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--on-dark);
}

.faq-item__chevron {
    display: inline-flex;
    flex: none;
    width: 28px;
    height: 28px;
    color: var(--gold-300);
    transition: transform 0.3s var(--ease);
}

.faq-item__chevron svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.faq-item__answer {
    padding: 16px 20px 18px;
    color: var(--ink);
}

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

.faq-item__answer ul {
    padding-left: 1.2em;
}

.faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete;
}

.faq-item[open]::details-content {
    block-size: auto;
}

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

/* ============================================
   LISTS
   ============================================ */

.leaf-list,
.check-list {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
}

.leaf-list li,
.check-list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 0.7em;
}

.leaf-list li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 22px;
    height: 22px;
    background: var(--leaf-bullet) center / contain no-repeat;
}

.check-list li::before {
    background-image: var(--check-bullet);
}

.check-list li.is-warn::before,
.check-list--warn li::before {
    background-image: var(--warn-bullet);
}

.num-list {
    list-style: none;
    counter-reset: num;
    margin: 0 0 1em;
    padding: 0;
}

.num-list li {
    position: relative;
    counter-increment: num;
    padding-left: 46px;
    margin-bottom: 0.9em;
    min-height: 32px;
}

.num-list li::before {
    content: counter(num);
    position: absolute;
    left: 0;
    top: -2px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid var(--gold-400);
    background: var(--gold-100);
    color: var(--gold-ink);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============================================
   CLOSING CTA
   ============================================ */

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

.closing-cta--cream {
    background-color: var(--cream-100);
    background-image: var(--grain);
}

.closing-cta--sage {
    background-color: var(--sage-600);
    border-top: 1px solid var(--gold-400);
    color: var(--on-dark);
}

.closing-cta__panel {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
    background-color: var(--cream-50);
    background-image: var(--grain);
    border: 1px solid var(--gold-300);
    border-radius: var(--radius-xl);
    padding: clamp(32px, 6vw, 64px) clamp(22px, 5vw, 56px);
    box-shadow: var(--shadow-soft);
}

.closing-cta__text {
    font-size: 1.075rem;
    color: var(--ink-muted);
    max-width: 52ch;
    margin-inline: auto;
}

.closing-cta__action {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.closing-cta--sage .closing-cta__panel {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.closing-cta--sage .closing-cta__title {
    color: var(--on-dark);
}

.closing-cta--sage .closing-cta__text,
.closing-cta--sage .partner-note {
    color: var(--on-dark);
}

.closing-cta--sage .closing-cta__action::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 360px;
    max-width: 100%;
    height: 160px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(251, 245, 234, 0.22), rgba(251, 245, 234, 0));
    pointer-events: none;
}

.closing-cta--sage .btn {
    animation: cta-pulse 4.5s ease-in-out infinite;
}

.closing-cta__vine {
    width: clamp(110px, 18vw, 230px);
}

.closing-cta__vine--l {
    left: -6px;
    bottom: -6px;
    transform: scale(-1, -1);
}

.closing-cta__vine--r {
    right: -6px;
    bottom: -6px;
    transform: scaleY(-1);
}

.closing-cta--sage .botanical .b-leaf--fill {
    fill: var(--sage-500);
}

/* ============================================
   STICKY CTA
   ============================================ */

.sticky-cta {
    z-index: 40;
    background-color: var(--sage-600);
    border-top: 1px solid var(--gold-400);
    color: var(--on-dark);
}

.sticky-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    padding-block: 10px;
}

.sticky-cta__text {
    flex: 1 1 140px;
    min-width: 0;
}

.sticky-cta__title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--on-dark);
}

.sticky-cta__note {
    margin: 2px 0 0;
    font-size: 0.875rem;
    line-height: 1.35;
    color: var(--on-dark);
}

.sticky-cta__btn {
    flex: none;
}

@media (max-width: 1023px) {
    .js .sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        box-shadow: 0 -8px 24px rgba(34, 48, 36, 0.18);
        transform: translateY(110%);
        visibility: hidden;
        transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
    }

    .js .sticky-cta.is-shown {
        transform: none;
        visibility: visible;
        transition: transform 0.45s var(--ease), visibility 0s;
    }

    .js body:has(.sticky-cta) {
        padding-bottom: 92px;
    }
}

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

.site-footer {
    background-color: var(--sage-700);
    color: var(--on-dark);
    border-top: 1px solid var(--gold-400);
    padding-top: clamp(44px, 6vw, 72px);
}

.site-footer__top {
    display: grid;
    gap: 32px;
    padding-bottom: 32px;
}

.site-footer__logo {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold-300);
    text-decoration: none;
}

.site-footer__tagline {
    max-width: 36ch;
    margin: 6px 0 14px;
    color: var(--on-dark);
}

.site-footer__sprig {
    width: 120px;
}

.site-footer__sprig .b-leaf--fill {
    fill: var(--sage-500);
}

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

.site-footer__heading {
    margin: 0 0 6px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-300);
}

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

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

.site-footer__col a:hover {
    color: var(--gold-200);
    text-decoration: underline;
    text-decoration-color: var(--gold-300);
}

.site-footer__bottom {
    border-top: 1px solid rgba(227, 196, 127, 0.55);
    padding-block: 22px 28px;
    font-size: 0.875rem;
}

.site-footer__privacy {
    max-width: 80ch;
    margin-bottom: 8px;
    color: var(--on-dark);
}

.site-footer__copy {
    margin: 0;
    color: var(--on-dark);
}

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

.home-band > .container {
    position: relative;
    z-index: 1;
}

/* Sign-up steps */
.steps-grid {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 36px;
    max-width: 1040px;
}

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

.step .sprout {
    margin-bottom: 14px;
    transition: transform 0.4s var(--ease);
}

.step:hover .sprout {
    transform: translateY(-4px) rotate(-3deg);
}

.step__title {
    margin-bottom: 0.35em;
}

.step__text {
    margin: 0;
    color: var(--ink-muted);
}

.steps__more {
    margin: 28px 0 0;
    text-align: center;
}

/* Section vines */
.section-vine {
    top: 0;
    bottom: 0;
    height: 100%;
    width: clamp(70px, 12vw, 150px);
    opacity: 0.6;
}

.section-vine--l {
    left: -28px;
}

.section-vine--r {
    right: -28px;
    transform: scaleX(-1);
}

.carousel-note {
    position: relative;
    z-index: 1;
    max-width: 60ch;
    margin: 14px auto 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--ink-muted);
}

/* Stat band */
.stat-band {
    padding-block: clamp(44px, 6vw, 72px);
    text-align: center;
}

.stat-band .section-head {
    margin-bottom: 26px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
    margin: 0 auto;
}

.stat {
    padding: 4px 12px;
}

.stat + .stat {
    border-left: 1px solid var(--gold-400);
}

.stat__value {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(2.6rem, 1.9rem + 4vw, 4.75rem);
    line-height: 1;
    color: var(--gold-300);
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat__label {
    margin: 10px 0 0;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--on-dark);
}

.faq-more__text {
    max-width: 60ch;
    margin: 0 auto 6px;
    color: var(--ink-muted);
}

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

    .step {
        max-width: none;
        padding-inline: clamp(16px, 3vw, 40px);
    }

    .step + .step::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        background: linear-gradient(to bottom, transparent, var(--gold-400) 18%, var(--gold-400) 82%, transparent);
    }
}

@media (min-width: 1200px) {
    .home-mosaic {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        padding-top: 20px;
        background: var(--cream-50);
    }

    .home-mosaic__col {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .home-mosaic__col > :last-child {
        flex: 1 1 auto;
    }

    .home-mosaic .section {
        padding-block: 56px;
    }

    .home-mosaic .container {
        padding-inline: clamp(24px, 3vw, 48px);
    }

    .home-mosaic .section-head {
        margin-bottom: 28px;
    }

    .home-mosaic h2 {
        font-size: 2.35rem;
    }

    .home-mosaic .carousel {
        --card-w: 250px;
    }

    .home-mosaic .story-card__text {
        font-size: 1.15rem;
    }

    .home-mosaic .data-table {
        min-width: 0;
        font-size: 0.925rem;
    }

    .home-mosaic .data-table th,
    .home-mosaic .data-table td {
        padding: 12px 14px;
    }

    .home-mosaic .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .step:hover .sprout {
        transform: none;
    }

    .faq-item::details-content {
        transition: none;
    }
}

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

.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.is-page-hidden *,
.is-page-hidden *::before,
.is-page-hidden *::after {
    animation-play-state: paused !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   HOW IT WORKS
   ============================================ */

.flow {
    position: relative;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1040px;
    display: grid;
    gap: 28px;
}

.flow__vine {
    position: absolute;
    left: 20px;
    top: 22px;
    width: 4px;
    height: calc(100% - 44px);
    z-index: 0;
    overflow: visible;
}

.flow__vine path {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.flow__vine-base {
    stroke: var(--gold-200);
}

.flow__vine-draw {
    stroke: var(--gold-500);
    transform-box: fill-box;
    transform-origin: 50% 0;
}

.js .flow__vine-draw {
    transform: scaleY(var(--vine-progress, 0));
}

.flow-step {
    position: relative;
    padding-left: 64px;
}

.flow-step__marker {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: block;
    line-height: 0;
}

.flow-step__leaf {
    position: absolute;
    left: 46px;
    top: 14px;
    z-index: 1;
    width: 18px;
    height: 12px;
    fill: var(--sage-300);
    stroke: var(--gold-500);
    stroke-width: 1.5;
}

.flow-card {
    background-color: var(--cream-50);
    background-image: var(--grain);
    border: 1px solid var(--gold-300);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 4vw, 34px);
    box-shadow: var(--shadow-soft);
}

.flow-card h3 {
    margin-bottom: 0.4em;
}

.flow-card__body > :last-child {
    margin-bottom: 0;
}

.flow-card__media {
    margin-top: 22px;
}

.after-register > .container,
.tips > .container {
    position: relative;
    z-index: 1;
}

.after-grid {
    display: grid;
    gap: 32px;
    align-items: center;
    max-width: 1040px;
    margin-inline: auto;
}

.route-card {
    background-color: var(--cream-50);
    background-image: var(--grain);
    border: 1px solid var(--gold-300);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 4vw, 34px);
    box-shadow: var(--shadow-soft);
}

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

.route__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 36px;
}

.route__item:last-child {
    padding-bottom: 0;
}

.route__item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 56px;
    height: calc(100% - 56px);
    border-left: 2px dotted var(--gold-500);
}

.route__node {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--gold-500);
    background: var(--cream-50);
    color: var(--sage-700);
}

.route__node .icon {
    width: 34px;
    height: 34px;
    stroke-width: 2.6;
}

.route__label {
    margin: 0;
    font-weight: 600;
    color: var(--ink-strong);
    line-height: 1.3;
}

.route__sub {
    display: block;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--ink-muted);
}

.tips-grid {
    display: grid;
    gap: 32px;
    align-items: start;
    max-width: 1040px;
    margin-inline: auto;
}

.tips-panel h3 {
    margin-top: 1.1em;
    margin-bottom: 0.45em;
}

.tips-panel h3:first-child {
    margin-top: 0;
}

.tips-panel__note {
    margin: 1.2em 0 0;
    color: var(--ink-muted);
}

.tips-media__note {
    margin: 16px 4px 0;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.35;
    color: var(--sage-700);
}

@media (min-width: 900px) {
    .flow-card--media {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 32px;
        align-items: center;
    }

    .flow-card--reverse {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .flow-card--reverse .flow-card__media {
        order: -1;
    }

    .flow-card--media .flow-card__media {
        margin-top: 0;
    }
}

@media (min-width: 1024px) {
    .after-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 48px;
    }

    .tips-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
        gap: 44px;
    }

    .flow-step {
        padding-left: 80px;
    }

    .flow-step__leaf {
        left: 50px;
    }
}

/* ============================================
   SAFETY & PRIVACY
   ============================================ */

.safety-section > .container {
    position: relative;
    z-index: 1;
}

.safety-copy {
    max-width: 760px;
    margin: 0 auto clamp(28px, 5vw, 44px);
}

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

.safety-verify__more {
    max-width: 760px;
    margin: 28px auto 0;
    text-align: center;
    color: var(--ink-muted);
}

.answer-capsule {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto 28px;
    padding: 18px 22px;
    border-left: 4px solid var(--gold-400);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: var(--cream-50);
    box-shadow: var(--shadow-soft);
    font-size: 1.075rem;
}

.checklist-card,
.next-steps {
    max-width: 1040px;
    margin-inline: auto;
}

.checklist-card__cols {
    display: grid;
    gap: 28px 44px;
}

.checklist-card h3,
.next-steps h3 {
    font-size: 1.45rem;
    margin-bottom: 0.6em;
}

.checklist-card .check-list li {
    margin-bottom: 0.9em;
}

.safety-hint {
    margin: 1em 0 0;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--sage-100);
    color: var(--ink);
    font-size: 0.95rem;
}

.next-steps {
    margin-top: 24px;
    max-width: 760px;
}

.next-steps .num-list {
    margin-bottom: 0;
}

.safety-split {
    max-width: 1040px;
    margin-inline: auto;
    align-items: start;
}

.safety-split .prose {
    max-width: none;
}

.safety-split h3 {
    margin-top: 1.2em;
    margin-bottom: 0.4em;
    font-size: 1.45rem;
}

.safety-split .framed-photo {
    max-width: 560px;
    margin-inline: auto;
}

.safety-split .framed-photo--pill .framed-photo__caption {
    left: 10px;
}

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

@media (min-width: 1024px) {
    .safety-split .framed-photo {
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }
}

/* ============================================
   PRICING
   ============================================ */

.pricing-section > .container {
    position: relative;
    z-index: 1;
}

/* Plans */
.plans__hint {
    margin: 0 0 6px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--on-dark);
}

.plans-grid {
    display: flex;
    gap: 18px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 22px var(--gutter) 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.plans-grid::-webkit-scrollbar {
    display: none;
}

.plan-card {
    flex: 0 0 min(300px, 82vw);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 22px 24px;
    background-color: var(--cream-50);
    background-image: var(--grain);
    color: var(--ink);
    border: 1px solid var(--gold-400);
    border-radius: 22px;
    box-shadow: 0 0 0 4px var(--cream-50), 0 0 0 5px var(--gold-300), var(--shadow-card);
}

.plan-card--featured {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px var(--cream-50), 0 0 0 5px var(--gold-500), 0 0 34px rgba(227, 196, 127, 0.55), var(--shadow-card);
}

.plan-card__tag {
    align-self: flex-start;
    margin: 0;
    padding: 3px 14px;
    border-radius: var(--radius-pill);
    background: var(--gold-100);
    border: 1px solid var(--gold-400);
    color: var(--gold-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plans .plan-card__title {
    margin: 0;
    color: var(--ink-strong);
}

.plan-card__price {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--sage-700);
}

.plans .plan-card__price--note {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--terra-700);
}

.plan-card__facts {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--gold-300);
}

.plan-card__facts dt {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.plan-card__facts dd {
    margin: 2px 0 10px;
    color: var(--ink);
}

.plan-card .plan-card__btn {
    margin-top: auto;
    width: 100%;
}

.plans__foot {
    margin: 4px auto 0;
    max-width: 60ch;
    text-align: center;
    color: var(--on-dark);
}

.plans .partner-note {
    text-align: center;
    color: var(--on-dark);
}

/* Billing */
.bill-grid {
    display: grid;
    gap: 24px;
    max-width: 1040px;
    margin-inline: auto;
}

.bill-group {
    padding: clamp(22px, 4vw, 30px);
    background-color: var(--cream-50);
    background-image: var(--grain);
    border: 1px solid var(--gold-300);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.bill-group .medallion {
    margin-bottom: 12px;
}

.bill-group h3 {
    font-size: 1.45rem;
}

.bill-group .check-list {
    margin-bottom: 0;
}

.bill-more {
    max-width: 760px;
    margin: 28px auto 0;
    text-align: center;
    color: var(--ink);
}

/* Value */
.value-panel {
    max-width: 920px;
    margin-inline: auto;
}

.value-panel .answer-capsule {
    max-width: none;
    box-shadow: none;
    background: var(--gold-100);
}

.value-list {
    display: grid;
    gap: 0 36px;
    margin-bottom: 0.4em;
}

.value-panel__more {
    margin: 0.6em 0 0;
}

/* Reviews */
.review-split {
    display: grid;
    gap: 28px;
    align-items: center;
    max-width: 1040px;
    margin-inline: auto;
}

.review-copy h3 {
    margin-bottom: 0.5em;
}

.review-photo .framed-photo {
    max-width: 560px;
    margin-inline: auto;
}

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

@media (min-width: 900px) {
    .plans__hint {
        display: none;
    }

    .plans-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
        margin-inline: auto;
        max-width: 1040px;
        padding: 26px 8px 30px;
        overflow: visible;
    }

    .plan-card {
        flex: none;
    }

    .plan-card--featured {
        transform: translateY(-14px);
    }

    .bill-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .review-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 48px;
    }
}

/* ============================================
   FAQ PAGE
   ============================================ */

.faq-group > .container,
.quick-answers > .container {
    position: relative;
    z-index: 1;
}

.faq-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    max-width: 860px;
    margin-inline: auto;
}

.faq-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    max-width: 1100px;
    margin-inline: auto;
}

.faq-split .faq-stack {
    max-width: none;
    margin: 0;
}

.faq-split__media .framed-photo {
    max-width: 520px;
    margin-inline: auto;
}

.faq-item__answer .check-list,
.faq-item__answer .num-list {
    margin-bottom: 0.9em;
}

.faq-item__answer .check-list li,
.faq-item__answer .num-list li {
    margin-bottom: 0.55em;
}

/* Quick answers */
.quick-answers__lead {
    max-width: 66ch;
    margin: 0 auto 32px;
    text-align: center;
    font-size: 1.075rem;
    color: var(--on-dark);
}

.seal-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    max-width: 960px;
    margin: 0 auto 38px;
    padding: 0;
    list-style: none;
}

.seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 17rem;
    margin-inline: auto;
    text-align: center;
}

.seal:hover .medallion {
    transform: translateY(-4px);
    filter: drop-shadow(0 8px 14px rgba(34, 24, 12, 0.35));
}

.seal__text {
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    color: var(--on-dark);
}

.quick-answers__table {
    max-width: 1040px;
    margin-inline: auto;
}

.quick-answers .data-table td,
.quick-answers .data-table th {
    vertical-align: top;
}

/* Pricing checklist */
.before-pay {
    max-width: 860px;
    margin: 28px auto 0;
}

.before-pay h3 {
    font-size: 1.45rem;
}

.before-pay .check-list {
    margin-bottom: 0;
}

/* Tips table */
.tips-table {
    max-width: 860px;
    margin: 34px auto 0;
}

.tips-table .data-table {
    min-width: 0;
}

.tips-table .data-table thead th .icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    color: var(--on-dark);
}

.tips-more {
    max-width: 860px;
    margin: 18px auto 0;
    text-align: center;
}

/* Help note */
.help-card {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.help-card__sprig {
    width: 120px;
    margin: 0 auto 12px;
}

.help-card .leaf-list {
    display: inline-block;
    margin-bottom: 1em;
    text-align: left;
}

.help-card__foot {
    margin: 0;
    color: var(--ink-muted);
}

/* Decorative vine: desktop only */
.faq-vine {
    display: none;
}

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

@media (min-width: 1024px) {
    .faq-vine {
        display: block;
        opacity: 0.4;
    }

    .faq-split {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
        gap: 44px;
    }

    .faq-split .faq-split__media {
        order: 2;
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .seal:hover .medallion {
        transform: none;
    }
}

@media (max-width: 359px) {
    .site-brand__text {
        font-size: 1.4rem;
    }

    .site-header__actions .header-cta {
        padding: 0 12px;
        font-size: 0.8125rem;
    }
}

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

    .site-brand__text {
        font-size: 2rem;
    }

    .site-header__actions .header-cta {
        min-height: 46px;
        padding: 0 22px;
        font-size: 0.95rem;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        min-height: 560px;
    }

    .hero__media,
    .hero--portrait .hero__media {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .hero__caption {
        left: 20px;
        bottom: 18px;
    }

    .hero__panel {
        display: flex;
        align-items: center;
        padding: 56px clamp(32px, 5vw, 96px) 56px clamp(56px, 8vw, 140px);
    }

    .hero__vine--seam {
        display: block;
        left: -10px;
        bottom: 0;
        height: 100%;
        width: clamp(90px, 10vw, 170px);
    }

    .hero__vine--tr {
        width: clamp(130px, 15vw, 240px);
    }

    .hero__vine--br {
        width: clamp(140px, 16vw, 250px);
    }

    .grid-3,
    .trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .carousel {
        --card-w: 300px;
    }

    .site-footer__top {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
        gap: 48px;
    }

    .site-footer__nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    .site-header__inner {
        gap: 28px;
    }

    .site-brand__text {
        font-size: 2.35rem;
    }

    .menu-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        inset: auto;
        z-index: auto;
        overflow: visible;
        background: transparent;
        padding: 0;
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: none;
        margin-left: auto;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .site-nav__list li {
        border: 0;
    }

    .site-nav__link {
        position: relative;
        min-height: 44px;
        padding: 0 14px;
        font-family: var(--font-sans);
        font-size: 0.975rem;
        font-weight: 500;
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 6px;
        height: 2px;
        border-radius: 2px;
        background: var(--gold-300);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s var(--ease);
    }

    .site-nav__link:hover::after,
    .site-nav__link[aria-current="page"]::after {
        transform: scaleX(1);
    }

    .site-header__actions {
        margin-left: 0;
    }

    .site-header__actions .header-cta {
        min-height: 50px;
        padding: 0 28px;
        font-size: 1rem;
    }

    .site-header__actions .header-cta .btn__arrow {
        display: inline-block;
    }

    .hero {
        min-height: min(680px, calc(100vh - var(--header-h)));
    }

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

    .split--reverse > :first-child {
        order: 2;
    }

    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 22px;
    }

    .carousel__controls {
        margin-top: 8px;
    }

    .carousel__btn {
        position: absolute;
        top: calc(50% - 30px);
        z-index: 2;
    }

    .carousel__btn--prev {
        left: 0;
    }

    .carousel__btn--next {
        right: 0;
    }

    .sticky-cta__inner {
        justify-content: center;
        gap: 28px;
        padding-block: 16px;
    }

    .sticky-cta__text {
        flex: 0 1 auto;
        display: flex;
        align-items: baseline;
        gap: 18px;
    }

    .sticky-cta__title {
        font-size: 1.9rem;
    }
}

@media (min-width: 1280px) {
    .hero__panel {
        padding-right: 120px;
    }
}

@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: 0ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }

    .carousel__track {
        scroll-behavior: auto;
    }

    .btn--shimmer::after {
        display: none;
    }

    .profile-card.is-active {
        transform: none;
    }
}