/* ============================================================
   Sweetnlively - Light Elegance design system
   Tokens, layout, components, responsive rules
   ============================================================ */

:root {
    /* Palette */
    --cream-50:  #FFFCF8;
    --cream-100: #FDF6EE;
    --cream-200: #F9EEE2;
    --blush-50:  #FDF3F0;
    --blush-100: #FAE9E4;
    --blush-200: #F4D8D1;
    --blush-300: #EBC2BB;
    --rose-500:  #B1565F;
    --rose-600:  #9C4551;
    --gold-200:  #EFDDB8;
    --gold-300:  #E0C796;
    --gold-400:  #C9A86E;
    --gold-500:  #B08D4F;
    --gold-600:  #866832;
    --sage-400:  #8FA288;
    --sage-600:  #5F7259;
    --ink-900:   #3A2A27;
    --ink-700:   #5A4542;
    --ink-500:   #6E5954;

    /* Typography */
    --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Shape & depth */
    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 28px;
    --r-pill: 999px;
    --hairline: 1px solid rgba(176, 141, 79, .34);
    --shadow-soft: 0 18px 38px -26px rgba(142, 99, 78, .55);
    --shadow-lift: 0 26px 52px -28px rgba(142, 99, 78, .62);

    /* Rhythm */
    --maxw: 1180px;
    --gutter: clamp(1.1rem, 4vw, 2.5rem);
    --section-y: clamp(3.25rem, 8vw, 6rem);
    --header-bottom: 66px;
}

/* ============================================
   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 {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-bottom) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--cream-50);
    color: var(--ink-700);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.68;
    letter-spacing: .005em;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--ink-900);
    font-weight: 600;
    line-height: 1.16;
    margin: 0 0 .6em;
    letter-spacing: .005em;
}

h1 { font-size: clamp(2.1rem, 6.2vw, 3.5rem); }
h2 { font-size: clamp(1.68rem, 4.2vw, 2.5rem); }
h3 { font-size: clamp(1.18rem, 2.4vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--rose-600); }
a:hover { color: var(--rose-500); }

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

ul, ol { padding-left: 1.2rem; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--cream-50);
    color: var(--ink-900);
    padding: .75rem 1.1rem;
    border: var(--hairline);
    border-radius: var(--r-sm);
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

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

.section {
    position: relative;
    padding-block: var(--section-y);
}
.section--blush {
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--blush-50) 45%, var(--cream-50) 100%);
}
.section--cream {
    background: var(--cream-100);
}
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }

.narrow { max-width: 760px; margin-inline: auto; }

.kicker {
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin: 0 0 .7rem;
}

.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head--center { text-align: center; margin-inline: auto; max-width: 760px; }
.section-head--left { text-align: left; }
.section-title { margin-bottom: .5rem; }
.section-lead {
    font-size: 1.04rem;
    color: var(--ink-700);
    margin: 0;
}

.prose p { max-width: 68ch; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--xs { width: 16px; height: 16px; }
.icon--sm { width: 20px; height: 20px; }

/* ============================================
   Buttons
   ============================================ */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 48px;
    padding: .85rem 1.9rem;
    border: 0;
    border-radius: var(--r-pill);
    overflow: hidden;
    isolation: isolate;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .015em;
    color: #FFFDFA;
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-600) 58%, #A85A62 100%);
    box-shadow: 0 16px 30px -18px rgba(120, 52, 62, .9);
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: inherit;
    border: 1px solid rgba(255, 246, 226, .55);
    pointer-events: none;
}
.btn__label { position: relative; z-index: 2; }
.btn__shimmer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 38%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: skewX(-18deg);
    z-index: 1;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px -18px rgba(120, 52, 62, .95);
}
.btn:hover .btn__shimmer { animation: shimmer 1.05s ease; }
.btn:active { transform: translateY(1px); }

.btn--sm { min-height: 44px; padding: .6rem 1.35rem; font-size: .92rem; }
.btn--md { min-height: 48px; padding: .8rem 1.7rem; }
.btn--lg { min-height: 56px; padding: 1rem 2.4rem; font-size: 1.06rem; }
.btn--block { width: 100%; }

.btn--ghost {
    color: var(--rose-600);
    background: var(--cream-50);
    box-shadow: inset 0 0 0 1px rgba(176, 141, 79, .5);
}
.btn--ghost::after { border-color: rgba(176, 141, 79, .25); }

@keyframes shimmer {
    from { left: -45%; }
    to { left: 115%; }
}

/* Inline text link with arrow */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    color: var(--rose-600);
    text-decoration: underline;
    text-underline-offset: .18em;
}

/* ============================================
   Header
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    background: linear-gradient(180deg, var(--cream-100), var(--cream-50));
    border-bottom: 1px solid rgba(176, 141, 79, .3);
}
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 110, .35), transparent);
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding-block: .55rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    color: var(--gold-500);
}
.site-brand__text {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 4.6vw, 1.95rem);
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--ink-900);
    line-height: 1;
}
.site-brand__flourish { display: none; width: 72px; height: 20px; color: var(--gold-400); }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(176, 141, 79, .4);
    border-radius: var(--r-pill);
    background: var(--cream-50);
    cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 5px; }
.nav-toggle__bars span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink-900);
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
    display: none;
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 65;
    overflow-y: auto;
    background: var(--cream-50);
    border-top: 1px solid rgba(176, 141, 79, .25);
    padding: 1.1rem var(--gutter) 2.4rem;
}
.site-nav.is-open { display: block; }

.nav-list {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
}
.nav-list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: .35rem .25rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink-900);
    text-decoration: none;
    border-bottom: 1px solid rgba(235, 194, 187, .55);
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--rose-600); }

.header-actions { display: none; }

/* ============================================
   Hero
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    min-height: clamp(520px, 86vw, 640px);
    display: flex;
    align-items: flex-end;
    background: var(--blush-50);
}
.hero--compact { min-height: clamp(400px, 70vw, 480px); }

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: var(--bg-pos, 72% 40%);
    background-repeat: no-repeat;
    z-index: 0;
}
.hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(255, 252, 248, .92) 0%, rgba(255, 252, 248, .72) 32%, rgba(255, 252, 248, .34) 58%, rgba(255, 252, 248, .9) 100%);
}
.hero__ribbon {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: 56%;
    z-index: 2;
    color: var(--gold-400);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    z-index: 3;
    padding-block: clamp(2.5rem, 9vw, 4.5rem);
    max-width: var(--maxw);
}
.hero__title {
    max-width: 16ch;
    margin-bottom: .7rem;
}
.hero__lead {
    max-width: 52ch;
    font-size: 1.06rem;
    color: var(--ink-700);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.5rem;
}

/* Reassurance chips */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .9rem;
    border-radius: var(--r-pill);
    background: rgba(255, 252, 248, .94);
    border: 1px solid rgba(201, 168, 110, .5);
    color: var(--ink-900);
    font-size: .88rem;
    font-weight: 500;
}
.chip .icon { color: var(--gold-500); }

/* Jump links (FAQ hub) */
.jump-chips {
    display: flex;
    gap: .55rem;
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0 0 .4rem;
    overflow-x: auto;
    scrollbar-width: thin;
}
.jump-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    white-space: nowrap;
    padding: .5rem 1rem;
    border-radius: var(--r-pill);
    background: var(--blush-50);
    border: 1px solid rgba(201, 168, 110, .5);
    color: var(--ink-900);
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
}
.jump-chips a:hover,
.jump-chips a:focus-visible {
    background: var(--blush-100);
    box-shadow: 0 0 0 3px rgba(224, 199, 150, .45);
}

/* ============================================
   Petal cards & grids
   ============================================ */

.petal-card {
    position: relative;
    background: linear-gradient(170deg, var(--blush-50), var(--cream-50) 70%);
    border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .42), var(--shadow-soft);
    padding: 1.6rem 1.4rem 1.5rem;
    overflow: hidden;
}
.petal-card::before,
.petal-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
    background:
        radial-gradient(circle at 30% 30%, rgba(235, 194, 187, .55), transparent 62%),
        radial-gradient(circle at 70% 55%, rgba(239, 221, 184, .5), transparent 60%);
}
.petal-card::before { top: -46px; left: -36px; }
.petal-card::after { bottom: -52px; right: -40px; }

.step-grid {
    position: relative;
    display: grid;
    gap: 1.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.step-grid > li { position: relative; }
.step-grid > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1.1rem;
    width: 2px;
    height: 1.1rem;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(201, 168, 110, .85), rgba(201, 168, 110, .2));
}

.step-card { text-align: center; }
.step-card__num {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--gold-600);
}
.step-card__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: .55rem auto .85rem;
    border-radius: var(--r-pill);
    color: var(--gold-500);
    background: rgba(255, 252, 248, .9);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .5);
}
.step-card__icon .icon { width: 28px; height: 28px; }
.step-card__title { margin-bottom: .4rem; }
.step-card p { margin: 0; }

.flow-connector { display: none; }

/* Trust columns */
.trust-grid {
    display: grid;
    gap: 1.6rem;
}
.trust-col { text-align: center; }
.trust-col__emblem {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto .8rem;
    color: var(--gold-500);
}
.trust-col__emblem .icon { width: 36px; height: 36px; }
.trust-col h3 { margin-bottom: .45rem; }
.trust-col p { margin: 0; }

/* Feature cards */
.feature-grid {
    position: relative;
    display: grid;
    gap: 1.1rem;
}
.feature-grid::before {
    content: "";
    position: absolute;
    inset: -8% -4%;
    background: radial-gradient(ellipse at 50% 45%, rgba(239, 221, 184, .5), transparent 68%);
    pointer-events: none;
    z-index: -1;
}
.feature-card {
    background: var(--cream-50);
    border-radius: var(--r-md);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .45), var(--shadow-soft);
    padding: 1.35rem 1.25rem;
}
.feature-card__emblem { display: inline-grid; color: var(--gold-500); margin-bottom: .5rem; }
.feature-card__emblem .icon { width: 30px; height: 30px; }
.feature-card h3 { margin-bottom: .4rem; }
.feature-card p { margin: 0; }

/* ============================================
   Carousel + profile cards
   ============================================ */

.carousel { position: relative; }
.carousel__viewport { margin-inline: calc(var(--gutter) * -1); }
.carousel__track {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: .6rem var(--gutter) 1.2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.profile-card {
    flex: 0 0 min(252px, 72vw);
    scroll-snap-align: center;
    background: linear-gradient(175deg, var(--blush-50), var(--cream-50) 65%);
    border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .5), var(--shadow-soft);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .6), var(--shadow-lift); }
.profile-card__media { position: relative; }
.profile-card__media img {
    display: block;
    width: 100%;
    height: 290px;
    object-fit: cover;
    object-position: 50% 28%;
}
.profile-card__flag {
    position: absolute;
    left: .6rem;
    bottom: .6rem;
    right: .6rem;
    font-size: .72rem;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--ink-900);
    background: rgba(255, 252, 248, .95);
    border: 1px solid rgba(201, 168, 110, .55);
    border-radius: var(--r-sm);
    padding: .3rem .5rem;
    text-align: center;
}
.profile-card__body { padding: .95rem 1rem 1.2rem; }
.profile-card__name { font-size: 1.22rem; margin-bottom: .15rem; }
.profile-card__meta { font-size: .9rem; margin-bottom: .6rem; color: var(--ink-500); }

.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.tag {
    font-size: .78rem;
    font-weight: 500;
    color: var(--gold-600);
    background: rgba(255, 252, 248, .95);
    border: 1px solid rgba(201, 168, 110, .5);
    border-radius: var(--r-pill);
    padding: .22rem .65rem;
}

.carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: .4rem;
}
.carousel__btn {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: var(--r-pill);
    background: var(--cream-50);
    border: 1px solid rgba(201, 168, 110, .6);
    color: var(--gold-600);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.carousel__btn:hover { background: var(--blush-50); transform: translateY(-1px); }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__dots { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.carousel__dots button {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.carousel__dots button::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(45deg);
    background: var(--blush-300);
    transition: background .2s ease, transform .2s ease;
}
.carousel__dots button[aria-current="true"]::before { background: var(--gold-500); transform: rotate(45deg) scale(1.25); }

/* ============================================
   Tables
   ============================================ */

.table-shell {
    position: relative;
    border-radius: var(--r-md);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .5), var(--shadow-soft);
    background: var(--cream-50);
    overflow: hidden;
}
.table-shell::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 36px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 252, 248, 0), rgba(255, 252, 248, .95));
}
.table-wrapper { padding: 0; }
.data-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: .95rem;
}
.data-table caption {
    caption-side: top;
    text-align: left;
    padding: .9rem 1rem .2rem;
    font-size: .88rem;
    color: var(--ink-500);
}
.data-table thead th {
    background: linear-gradient(180deg, var(--blush-100), var(--blush-50));
    color: var(--ink-900);
    font-family: var(--font-sans);
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: left;
    padding: .85rem 1rem;
    border-bottom: 1px solid rgba(201, 168, 110, .5);
}
.data-table tbody th,
.data-table tbody td {
    padding: .85rem 1rem;
    vertical-align: top;
    border-bottom: 1px solid rgba(235, 194, 187, .5);
    text-align: left;
}
.data-table tbody th {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--ink-900);
}
.data-table tbody tr:nth-child(even) { background: var(--cream-100); }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

.mark { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.mark--yes { color: var(--gold-600); }
.mark--no { color: var(--ink-500); }

/* ============================================
   FAQ accordion
   ============================================ */

.faq-list {
    display: grid;
    align-items: start;
    gap: .75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.faq-item { align-self: start; }
.faq-item details {
    background: linear-gradient(100deg, var(--blush-100), var(--cream-50) 55%);
    border-radius: var(--r-pill) var(--r-md) var(--r-md) var(--r-pill);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .45);
    overflow: hidden;
}
.faq-item summary {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 56px;
    padding: .8rem 1.1rem .8rem .75rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-serif);
    font-size: 1.14rem;
    font-weight: 600;
    color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__cap {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: var(--r-pill);
    color: var(--gold-600);
    background: var(--cream-50);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .55);
}
.faq-item__cap .icon { width: 20px; height: 20px; }
.faq-item--sage .faq-item__cap { color: var(--sage-600); box-shadow: inset 0 0 0 1px rgba(143, 162, 136, .7); }
.faq-item__q { flex: 1; }
.faq-item__chev { color: var(--gold-500); display: inline-grid; transition: transform .25s ease; }
.faq-item details[open] .faq-item__chev { transform: rotate(180deg); }
.faq-item__a {
    padding: 0 1.2rem 1.15rem 4.35rem;
    font-size: .98rem;
}
.faq-item details[open] .faq-item__a { animation: faqOpen .28s ease both; }
@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* ============================================
   Takeaways, checklist, quotes, steps, flags
   ============================================ */

.takeaways {
    position: relative;
    background: linear-gradient(165deg, var(--blush-50), var(--cream-50) 72%);
    border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .5), var(--shadow-soft);
    padding: 1.5rem 1.4rem 1.6rem;
}
.takeaways__emblem {
    position: absolute;
    top: 1.1rem;
    left: 1.2rem;
    color: var(--gold-400);
}
.takeaways__title {
    font-size: 1.35rem;
    margin: 0 0 .85rem 2.3rem;
}
.takeaways__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.takeaways__list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: .99rem;
}
.takeaways__list li::before {
    content: "";
    position: absolute;
    left: .15rem;
    top: .55em;
    width: 9px;
    height: 9px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(45deg);
    background: var(--gold-400);
}

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(235, 194, 187, .6);
}
.checklist li:last-child { border-bottom: 0; }
.checklist .icon { color: var(--gold-500); margin-top: .18rem; }

.split {
    display: grid;
    gap: 1.6rem;
    align-items: stretch;
}
.split__media {
    position: relative;
    min-height: 260px;
    border-radius: var(--r-lg);
    background-size: cover;
    background-position: center;
}
.split__panel {
    background: var(--cream-50);
    border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .45), var(--shadow-soft);
    padding: 1.4rem 1.3rem;
}

.quote-grid { display: grid; gap: 1.1rem; }
.quote-card {
    position: relative;
    margin: 0;
    padding: 2.1rem 1.4rem 1.4rem;
    background: linear-gradient(170deg, var(--blush-50), var(--cream-50) 70%);
    border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .45), var(--shadow-soft);
}
.quote-card__glyph {
    position: absolute;
    top: 1rem;
    left: 1.2rem;
    width: 38px;
    height: 28px;
    color: var(--gold-300);
}
.quote-card blockquote {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.16rem;
    line-height: 1.5;
    color: var(--ink-900);
}
.quote-card figcaption {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(235, 194, 187, .7);
    font-size: .84rem;
    color: var(--ink-500);
}
.quote-card__avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: var(--r-pill);
    color: var(--gold-500);
    background: var(--cream-50);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .5);
}
.quote-card__avatar svg { width: 26px; height: 26px; }

.step-flow {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .9rem;
}
.step-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(120deg, var(--blush-50), var(--cream-50) 62%);
    border-radius: var(--r-md);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .4);
    padding: 1.1rem 1.1rem 1.15rem;
    transition: transform .25s ease, box-shadow .25s ease;
}
.step-row:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .6), var(--shadow-soft); }
.step-row__medal {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    color: var(--gold-400);
}
.step-row__medal svg { width: 48px; height: 48px; }
.step-row__num {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-600);
}
.step-row__body h3 { margin-bottom: .35rem; }
.step-row__body p { margin: 0; }

.flag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.flag-row {
    display: flex;
    gap: .9rem;
    padding: 1rem 1.1rem;
    background: var(--blush-50);
    border-left: 4px solid var(--gold-400);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease;
}
.flag-row:hover { transform: translateY(-2px); }
.flag-row__icon { color: var(--gold-600); }
.flag-row h3 { margin-bottom: .3rem; font-size: 1.1rem; }
.flag-row p { margin: 0; }

.aside-note {
    border-left: 5px solid var(--gold-400);
    background: var(--cream-100);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: 1.1rem 1.2rem;
    margin: 1.5rem 0;
    font-size: .99rem;
}
.aside-note cite { display: block; margin-top: .6rem; font-style: normal; font-size: .86rem; color: var(--ink-500); }

.template-card {
    background: var(--cream-50);
    border-radius: var(--r-md);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .45);
    padding: 1.3rem;
}
.template-card > ol,
.template-card > ul { margin: 0; }
.template-card li { padding: .55rem .7rem; border-radius: var(--r-sm); }
.template-card li:nth-child(odd) { background: var(--blush-50); }

.pros-cons { display: grid; gap: 1rem; }
.pros-cons__panel {
    background: linear-gradient(170deg, var(--blush-50), var(--cream-50) 70%);
    border-radius: var(--r-md);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .45);
    padding: 1.2rem 1.2rem 1.3rem;
}
.pros-cons__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.pros-cons__panel li { display: flex; gap: .6rem; align-items: flex-start; }
.pros-cons__panel li .icon { margin-top: .2rem; }
.pros-cons__panel--do li .icon { color: var(--gold-500); }
.pros-cons__panel--dont li .icon { color: var(--ink-500); }

.gold-divider { color: var(--gold-400); margin: clamp(2rem, 5vw, 3rem) auto; max-width: 420px; }
.gold-divider svg { width: 100%; height: 24px; }

.media-frame {
    border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px rgba(201, 168, 110, .5), var(--shadow-soft);
    overflow: hidden;
    background: var(--cream-100);
}
.media-frame img { display: block; width: 100%; height: auto; }
.media-frame figcaption {
    padding: .7rem 1rem .9rem;
    font-size: .84rem;
    color: var(--ink-500);
}

/* ============================================
   Closing CTA band
   ============================================ */

.band { position: relative; isolation: isolate; overflow: clip; }
.band__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.band__inner { position: relative; z-index: 2; }

.cta-band { padding-block: clamp(3rem, 8vw, 5rem); background: var(--blush-100); }
.cta-band .band__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(140, 62, 74, .92) 0%, rgba(152, 78, 80, .88) 46%, rgba(150, 110, 68, .86) 100%);
}
.cta-band__title { color: #FFFBF4; margin-bottom: .55rem; }
.cta-band__text {
    color: #FBEFE6;
    max-width: 56ch;
    margin-inline: auto;
    font-size: 1.04rem;
}
.cta-band .band__inner { text-align: center; }
.cta-band__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    margin-top: 1.6rem;
}
.cta-band__flourish { display: none; width: 110px; height: 36px; color: rgba(248, 225, 186, .9); }
.cta-band__flourish--flip { transform: scaleX(-1); }
.cta-band .btn {
    background: linear-gradient(135deg, #FFFCF6, #F6E6CC);
    color: var(--rose-600);
    box-shadow: 0 18px 32px -20px rgba(60, 20, 26, .85);
}
.cta-band .btn::after { border-color: rgba(176, 141, 79, .5); }
.cta-band .btn__shimmer { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); }

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, var(--cream-50), var(--cream-200));
    border-top: 1px solid rgba(201, 168, 110, .45);
    padding-top: 1rem;
}
.footer-ornament { color: var(--gold-400); max-width: 640px; margin: 0 auto 1.4rem; padding-inline: var(--gutter); }
.footer-ornament svg { width: 100%; height: 26px; }

.footer-grid {
    display: grid;
    gap: 1.9rem;
    padding-bottom: 2rem;
}
.footer-brand__name {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink-900);
    display: block;
    margin-bottom: .5rem;
}
.footer-brand p,
.footer-note p { font-size: .94rem; margin: 0; }

.footer-title {
    font-family: var(--font-sans);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: .75rem;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink-700);
    text-decoration: none;
}
.footer-nav a:hover { color: var(--rose-600); text-decoration: underline; text-underline-offset: .18em; }

.footer-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .4rem;
    padding-block: 1rem 1.4rem;
    border-top: 1px solid rgba(201, 168, 110, .35);
    font-size: .84rem;
    color: var(--ink-500);
}
.footer-bar p { margin: 0; }

/* ============================================
   Scroll reveal
   ============================================ */

html.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}
html.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

body.nav-open { overflow: hidden; }

/* ============================================
   Tablet
   ============================================ */

@media (min-width: 768px) {
    .hero { min-height: clamp(560px, 62vw, 660px); align-items: center; }
    .hero__veil {
        background: linear-gradient(100deg, rgba(255, 252, 248, .97) 0%, rgba(255, 252, 248, .93) 36%, rgba(255, 252, 248, .45) 62%, rgba(255, 252, 248, 0) 82%);
    }
    .hero__inner { max-width: var(--maxw); }
    .hero__title { max-width: 14ch; }

    .step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
    .step-grid > li:not(:last-child)::after { display: none; }

    .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
    .trust-col { padding-inline: 1.4rem; }
    .trust-col + .trust-col {
        border-left: 1px solid transparent;
        border-image: linear-gradient(180deg, transparent, rgba(235, 194, 187, .95), transparent) 1;
    }

    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
    .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pros-cons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split { grid-template-columns: 1fr 1fr; }
    .split__media { min-height: 100%; }

    .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.2rem; }
    .cta-band__flourish { display: block; }
    .profile-card { flex: 0 0 262px; }
    .data-table { min-width: 0; }
    .table-shell::after { display: none; }
}

/* ============================================
   Desktop
   ============================================ */

@media (min-width: 1024px) {
    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        min-height: 76px;
    }
    .site-brand { grid-column: 2; grid-row: 1; justify-self: center; }
    .site-brand__flourish { display: block; }
    .nav-toggle { display: none; }
    .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        display: flex;
        align-items: center;
    }
    .site-nav {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        position: static;
        display: block;
        background: none;
        border: 0;
        padding: 0;
        overflow: visible;
    }
    .nav-list {
        display: flex;
        align-items: center;
        gap: 1.4rem;
        margin: 0;
    }
    .nav-list a {
        min-height: 44px;
        border-bottom: 0;
        font-size: .96rem;
        padding: 0;
        position: relative;
    }
    .nav-list a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 6px;
        height: 1px;
        background: var(--gold-400);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s ease;
    }
    .nav-list a:hover::after,
    .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
    .nav-cta { display: none; }

    .hero { min-height: 640px; }
    .hero--compact { min-height: 480px; }
    .hero__title { font-size: clamp(2.8rem, 3.6vw, 3.5rem); }
    .hero__lead { font-size: 1.12rem; }
    .hero__inner { padding-block: 5rem; }

    .step-grid { gap: 1.6rem; }
    .step-flow-wrap { position: relative; padding-bottom: 5rem; }
    .flow-connector {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: min(900px, 100%);
        height: 110px;
        color: var(--gold-400);
        pointer-events: none;
    }

    .feature-grid { gap: 1.5rem; }
    .quote-grid { gap: 1.5rem; }
    .split { gap: 2.4rem; }
    .carousel__viewport { margin-inline: 0; }
    .carousel__track { padding-inline: 0; }
    .profile-card { flex: 0 0 272px; }
    .section-head { margin-bottom: 3rem; }
}

@media (min-width: 1280px) {
    .container { padding-inline: 2rem; }
}

/* ============================================
   Reduced motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .faq-item details[open] .faq-item__a { animation: none; }
}