/*
 * 2nd Chances Review - design system
 * Warm off-white, charcoal-brown text, single terracotta accent,
 * champagne-gold seams as connectors and dividers.
 */

:root {
    --color-bg: #FAF4EF;
    --color-bg-alt: #F3E9E1;
    --color-surface: #FFFDFB;
    --color-cream: #F7EEE6;
    --color-greige: #DDD3CC;
    --color-greige-soft: #EDE5DF;
    --color-greige-deep: #CFC4BC;
    --color-taupe: #8C7B72;
    --color-taupe-deep: #6E5F58;
    --color-rose: #C79A8A;
    --color-text: #2E2420;
    --color-text-muted: #5B4D47;
    --color-accent: #A85C3E;
    --color-accent-hover: #934D32;
    --color-accent-text: #8E4A2F;
    --color-accent-soft: #F1DDD2;
    --color-gold: #C9A14A;
    --color-gold-light: #E8CF8E;
    --color-gold-pale: #F7EBC8;
    --color-white: #FFFFFF;

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

    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-xs: 0.875rem;
    --fs-h1: clamp(2.1rem, 1.5rem + 3vw, 3.6rem);
    --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.6rem);
    --fs-h3: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(46, 36, 32, 0.06);
    --shadow-md: 0 10px 30px rgba(46, 36, 32, 0.08);
    --shadow-lg: 0 24px 60px rgba(46, 36, 32, 0.12);
    --shadow-cta: inset 0 0 0 1px rgba(232, 207, 142, 0.9), 0 6px 20px rgba(168, 92, 62, 0.32), 0 0 26px rgba(232, 190, 120, 0.35);

    --gradient-rule: linear-gradient(90deg, #D9B866 0%, #E8CF8E 35%, #C98A5E 70%, #A85C3E 100%);
    --gradient-gold-underline: linear-gradient(90deg, #C9A14A 0%, #E8CF8E 55%, #F7EBA8 100%);

    --container: 1160px;
    --gutter: 20px;
    --section-y: clamp(56px, 8vw, 104px);
    --header-h: 68px;
    --header-bottom: 70px;
    --action-bar-h: 76px;
    --focus-ring: 0 0 0 3px #FFFFFF, 0 0 0 6px #2E2420;
}

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

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

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

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

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

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

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

html.menu-open,
html.menu-open body {
    overflow: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom));
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-text);
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

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

p { margin: 0 0 1em; }

a {
    color: var(--color-accent-text);
}

a:hover {
    color: var(--color-accent-hover);
}

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

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

img {
    display: block;
}

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

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

.section--alt {
    background: var(--color-bg-alt);
}

.section__head {
    max-width: 720px;
    margin: 0 auto clamp(32px, 5vw, 56px);
    text-align: center;
}

.section__intro {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-text);
}

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

.skip-link:focus {
    top: 12px;
    color: var(--color-white);
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ============================================
   ICONS
   ============================================ */

.icon {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 28px;
    border: 0;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

.btn--secondary {
    background: transparent;
    color: var(--color-accent-text);
    box-shadow: inset 0 0 0 1.5px var(--color-accent);
}

.btn--secondary:hover {
    background: var(--color-accent-soft);
}

.btn--sm {
    min-height: 44px;
    padding: 0 20px;
    font-size: 0.9375rem;
}

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

.btn--block {
    width: 100%;
}

.btn:focus-visible {
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-pill);
}

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

/* Store buttons */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 26px 8px 20px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-cta);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.store-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

.store-btn:focus-visible {
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-pill);
}

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

.store-btn__top {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.store-btn__label {
    font-size: 1.0625rem;
    font-weight: 600;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--color-bg);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--gradient-rule);
    pointer-events: none;
}

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

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

.site-brand__text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--color-accent-text);
    letter-spacing: -0.005em;
    white-space: nowrap;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

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

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

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

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

/* Mobile drawer */
.site-nav {
    display: none;
}

.site-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 60;
    padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--color-bg);
    overflow-y: auto;
    overscroll-behavior: contain;
}

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

.site-nav__list li {
    border-bottom: 1px solid var(--color-greige);
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 4px 4px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--color-accent-text);
}

.site-nav__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-nav__note {
    margin: 0;
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    text-align: center;
}

@media (min-width: 768px) {
    .header-actions .header-cta {
        display: inline-flex;
    }
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .site-nav,
    .site-nav.is-open {
        display: block;
        position: static;
        padding: 0;
        background: transparent;
        overflow: visible;
    }

    .site-nav__cta {
        display: none;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: clamp(14px, 1.8vw, 28px);
    }

    .site-nav__list li {
        border: 0;
    }

    .site-nav__link {
        position: relative;
        min-height: 44px;
        padding: 6px 0 12px;
        font-family: var(--font-body);
        font-size: 0.9375rem;
        font-weight: 500;
        color: var(--color-text-muted);
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 4px;
        width: 28px;
        height: 3px;
        border-radius: 2px;
        background: var(--color-greige-deep);
        transform: translateX(-50%);
        transition: background-color 0.2s ease, width 0.2s ease;
    }

    .site-nav__link:hover::after,
    .site-nav__link.is-active::after {
        width: 36px;
        background: var(--color-accent);
    }
}

/* ============================================
   GOLD SEAM (signature connector)
   ============================================ */

.seam {
    display: block;
    width: 100%;
    height: clamp(60px, 9vw, 140px);
    overflow: visible;
    pointer-events: none;
    fill: none;
}

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

.seam__glow {
    stroke: #E9C87A;
    stroke-width: 8;
    stroke-opacity: 0.45;
}

.seam__core {
    stroke: url(#seam-gold);
    stroke-width: 2.5;
}

.seam__branch {
    stroke: url(#seam-gold);
    stroke-width: 1.25;
    stroke-opacity: 0.7;
}

/* ============================================
   EDITORIAL TAG
   ============================================ */

.editorial-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-text);
}

.editorial-tag__swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: var(--color-greige-deep);
    box-shadow: inset 0 0 0 1px rgba(110, 95, 88, 0.35);
}

/* ============================================
   PROFILE CARD
   ============================================ */

.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 251, 0.88);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(168, 92, 62, 0.35);
    border-radius: calc(var(--radius-lg) - 6px);
    pointer-events: none;
}

.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.profile-card__media {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--color-greige-soft);
}

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

.profile-card__body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 10px;
    padding: 18px 10px 10px;
    text-align: center;
}

.profile-card__name {
    margin: 0;
    font-size: 1.4rem;
}

.profile-card__age {
    font-weight: 500;
    color: var(--color-text-muted);
}

.profile-card__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.chip {
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--color-greige-soft);
    border: 1px solid var(--color-greige);
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--color-text);
}

.profile-card__intro {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

.profile-card__btn {
    margin-top: auto;
}

/* ============================================
   STEPS
   ============================================ */

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step__medallion {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--color-white);
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.4), transparent 45%), var(--step-tone, var(--color-taupe));
    box-shadow: 0 12px 28px rgba(46, 36, 32, 0.22), inset 0 -6px 14px rgba(0, 0, 0, 0.12), 0 0 0 4px var(--color-bg);
}

.step--1 { --step-tone: #A85C3E; }
.step--2 { --step-tone: #A59288; }
.step--3 { --step-tone: #8A786F; }
.step--4 { --step-tone: #5F514B; }

.step__num {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-text);
    margin-bottom: 6px;
}

.step__title {
    margin-bottom: 8px;
}

.step__text {
    margin: 0;
    max-width: 30ch;
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

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

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
    margin-inline: auto;
}

.faq-item {
    border: 1px solid #C6B8AE;
    border-radius: var(--radius-lg);
    background: var(--color-greige-soft);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-open {
    border: 1.5px solid var(--color-gold);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

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

.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 60px;
    padding: 14px 22px;
    border: 0;
    border-radius: var(--radius-lg);
    background: transparent;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
}

.faq-item__trigger:focus-visible {
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-lg);
}

.faq-item__q {
    padding-bottom: 4px;
    background-image: var(--gradient-gold-underline);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 3px;
    transition: background-size 0.3s ease;
}

.faq-item.is-open .faq-item__q {
    background-size: 100% 3px;
}

.faq-item__chevron {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--color-taupe-deep);
    transition: transform 0.25s ease;
}

.faq-item.is-open .faq-item__chevron {
    transform: rotate(180deg);
    color: var(--color-accent-text);
}

.faq-item__panel {
    padding: 0 22px 20px;
    color: var(--color-text-muted);
}

.faq-item__panel p {
    margin: 0;
}

/* ============================================
   LEGAL PAGES (shared)
   ============================================ */

.legal-hero {
    position: relative;
    padding-top: clamp(48px, 7vw, 88px);
    background: var(--color-cream);
}

.legal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.legal-hero--left::before {
    background: radial-gradient(ellipse 60% 90% at 0% 30%, rgba(199, 154, 138, 0.35), transparent 70%);
}

.legal-hero--right::before {
    background: radial-gradient(ellipse 60% 90% at 100% 30%, rgba(207, 196, 188, 0.6), transparent 70%);
}

.legal-hero--center::before {
    background: radial-gradient(ellipse 50% 90% at 50% 40%, rgba(232, 207, 142, 0.35), transparent 70%);
}

.legal-hero__inner {
    position: relative;
    max-width: 880px;
}

.legal-hero__date {
    margin-bottom: 10px;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-accent-text);
}

.legal-hero__summary {
    max-width: 680px;
    color: var(--color-text-muted);
}

.legal-hero__seam {
    position: relative;
    height: clamp(40px, 5vw, 64px);
    margin-top: 12px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: clamp(40px, 6vw, 72px) var(--section-y);
}

.legal-toc {
    padding: 20px 22px;
    border: 1px solid var(--color-greige);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.legal-toc__title {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.legal-toc__list {
    margin: 0;
    padding-left: 1.2em;
    font-size: var(--fs-small);
}

.legal-toc__list li {
    margin: 2px 0;
}

.legal-toc__list a {
    display: inline-block;
    padding: 6px 0;
    color: var(--color-text-muted);
    text-decoration: none;
}

.legal-toc__list a:hover {
    color: var(--color-accent-text);
    text-decoration: underline;
}

.legal-prose {
    max-width: 720px;
}

.legal-prose h2 {
    margin-top: 2.2em;
    padding-top: 0.6em;
    font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.85rem);
    border-top: 1px solid var(--color-greige);
}

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

.legal-prose h3 {
    margin-top: 1.6em;
    font-size: 1.2rem;
}

.legal-prose ul,
.legal-prose ol {
    padding-left: 1.3em;
    margin: 0 0 1em;
}

.legal-prose li {
    margin-bottom: 0.4em;
}

.legal-callout {
    margin: 1.5em 0;
    padding: 18px 22px;
    border-left: 3px solid var(--color-gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: var(--color-cream);
}

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

.table-wrapper {
    margin: 1.5em 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-greige);
    box-shadow: var(--shadow-sm);
}

.legal-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: var(--fs-small);
}

.legal-table th,
.legal-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.legal-table thead th {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-gold);
}

.legal-table tbody tr:nth-child(odd) {
    background: var(--color-cream);
}

.legal-table tbody tr:nth-child(even) {
    background: var(--color-greige-soft);
}

@media (min-width: 1024px) {
    .legal-layout {
        grid-template-columns: 250px minmax(0, 720px);
        justify-content: center;
        gap: 56px;
        align-items: start;
    }

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

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

.site-footer {
    position: relative;
    padding: clamp(48px, 6vw, 72px) 0 32px;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-greige);
}

.site-footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--gradient-rule);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.site-footer__desc {
    margin: 10px 0 0;
    max-width: 42ch;
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

.site-footer__heading {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

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

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: var(--fs-small);
    color: var(--color-text-muted);
    text-decoration: none;
}

.site-footer__links a:hover {
    color: var(--color-accent-text);
    text-decoration: underline;
}

.site-footer__disclosure {
    padding: 18px 20px;
    border: 1px solid var(--color-gold-light);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

.site-footer__disclosure p {
    margin: 0;
}

.site-footer__disclosure strong {
    color: var(--color-text);
}

.site-footer__copy {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--color-greige);
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

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

    .site-footer__disclosure,
    .site-footer__copy {
        grid-column: 1 / -1;
    }
}

/* ============================================
   MOBILE ACTION BAR
   ============================================ */

.action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--action-bar-h);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--color-surface);
    border-top: 1px solid var(--color-gold-light);
    box-shadow: 0 -8px 24px rgba(46, 36, 32, 0.08);
}

.action-bar__text {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: var(--fs-xs);
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text);
}

.action-bar .action-bar__btn {
    flex-shrink: 0;
    padding: 0 18px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .action-bar {
        display: none;
    }
}

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

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

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

@media (min-width: 1280px) {
    :root {
        --gutter: 40px;
    }
}

/* ============================================
   HOME PAGE
   ============================================ */

.seam-svg {
    position: absolute;
    pointer-events: none;
    overflow: visible;
    fill: none;
    max-width: none;
}

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

.section__cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(32px, 5vw, 48px);
}

/* Hero */
.hero {
    position: relative;
    background: #85594C;
    color: var(--color-white);
}

.hero__media {
    position: relative;
    height: clamp(300px, 72vw, 480px);
    background-image: url("./assets/e54ce772c25804e431602480ee728670.webp");
    background-size: cover;
    background-position: 74% 30%;
    background-repeat: no-repeat;
    order: 2;
}

.hero {
    display: flex;
    flex-direction: column;
}

.hero__content {
    position: relative;
    z-index: 2;
    order: 1;
    padding-block: 32px 36px;
}

.hero__text {
    max-width: 580px;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.hero__intro {
    color: #FCF3EE;
    font-size: 1.0625rem;
}

.hero__note {
    margin-bottom: 22px;
    padding-left: 12px;
    border-left: 2px solid var(--color-gold-light);
    font-size: var(--fs-xs);
    line-height: 1.5;
    color: #F8EAE3;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}

.hero__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-color: var(--color-gold-light);
}

.hero__link:hover {
    color: var(--color-gold-pale);
}

.hero__updated {
    margin: 18px 0 0;
    font-size: var(--fs-xs);
    color: #F8EAE3;
}

.hero__seam {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -18px;
    z-index: 1;
}

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

    .hero__media {
        position: absolute;
        inset: 0;
        height: auto;
        background-position: right center;
    }

    .hero__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(122, 80, 68, 0.9) 0%, rgba(133, 89, 76, 0.78) 34%, rgba(150, 104, 90, 0.3) 50%, rgba(150, 104, 90, 0) 60%);
    }

    .hero__content {
        padding-block: 110px 170px;
    }

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

/* Overview */
.overview {
    background: radial-gradient(ellipse 60% 70% at 85% 40%, rgba(232, 207, 142, 0.18), transparent 70%), var(--color-bg);
}

.overview__trail {
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    opacity: 0.5;
}

.overview__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.glance {
    margin-top: 24px;
    padding: 22px 22px 18px;
    border: 1px solid var(--color-gold-light);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.glance__title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.glance__list,
.band__list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.glance__list li,
.band__list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.glance__list .icon {
    margin-top: 3px;
    color: var(--color-accent);
}

.glance__note {
    margin: 0;
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

.overview__figure {
    position: relative;
    margin: 0 auto;
    width: min(100%, 440px);
}

.overview__veins {
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: none;
}

.overview__circle {
    position: relative;
    z-index: 1;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(110, 72, 56, 0.22), 0 0 0 10px rgba(255, 253, 251, 0.7);
    background: var(--color-greige-soft);
}

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

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

    .overview__figure {
        width: 600px;
        max-width: none;
        margin: 0 min(-60px, calc((var(--container) - 100vw) / 2 - 80px)) 0 auto;
    }

    .overview__veins {
        display: block;
        inset: 0 auto 0 -120px;
        width: 600px;
    }
}

/* Profiles */
.profiles__stage {
    position: relative;
}

.profiles__net {
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 70%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    z-index: 0;
}

.profiles__track {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    max-width: none;
}

.profiles__track > .profile-card {
    flex: 0 0 min(80%, 320px);
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .profiles__track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        margin-inline: 0;
        padding-inline: 0;
        overflow: visible;
    }
}

@media (min-width: 1024px) {
    .profiles__track {
        gap: 36px;
        max-width: 1000px;
        margin-inline: auto;
    }
}

/* How it works */
.steps-wrap {
    position: relative;
}

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

.steps .step {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    text-align: left;
}

.steps .step > :not(.step__medallion) {
    grid-column: 2;
}

.steps .step__medallion {
    grid-row: 1 / span 3;
    width: 80px;
    height: 80px;
    margin: 0;
}

.steps .step__medallion::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(115deg, transparent 38%, rgba(232, 207, 142, 0.55) 48%, rgba(232, 207, 142, 0.55) 52%, transparent 62%);
    opacity: 0.7;
}

.steps .step__medallion .icon {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
}

.steps .step__text {
    max-width: none;
}

.steps__seam--h {
    display: none;
}

.steps__seam--v {
    top: 0;
    bottom: 0;
    left: 20px;
    width: 40px;
    height: 100%;
    z-index: 0;
    opacity: 0.85;
}

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

    .steps .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .steps .step__medallion {
        width: 112px;
        height: 112px;
        margin-bottom: 18px;
    }

    .steps .step__medallion .icon {
        width: 34px;
        height: 34px;
    }

    .steps .step__text {
        max-width: 30ch;
    }

    .steps__seam--v {
        display: none;
    }

    .steps__seam--h {
        display: block;
        top: 56px;
        left: 50%;
        width: 100vw;
        height: 60px;
        transform: translate(-50%, -50%);
        z-index: 0;
    }
}

/* Features panel */
.fb-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--radius-lg);
    background: linear-gradient(110deg, var(--color-greige-soft) 0%, #EFE6DF 45%, var(--color-cream) 100%);
    box-shadow: var(--shadow-md);
}

.fb-panel__seam {
    display: none;
}

.fb-col h3 {
    margin-bottom: 18px;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}

.feature-badge {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-taupe);
    color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(255, 253, 251, 0.8);
}

.benefit {
    position: relative;
    margin: 0;
    padding-block: 16px;
    color: var(--color-text-muted);
}

.benefit:first-child {
    padding-top: 0;
}

.benefit + .benefit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-gold-underline);
}

.fb-panel__note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid var(--color-greige-deep);
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

.fb-panel__note .icon {
    margin-top: 2px;
    color: var(--color-accent-text);
}

@media (min-width: 1024px) {
    .fb-panel {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 96px;
    }

    .fb-panel__note {
        grid-column: 1 / -1;
    }

    .fb-panel__seam {
        display: block;
        top: 24px;
        bottom: 90px;
        left: 50%;
        width: 40px;
        height: calc(100% - 114px);
        transform: translateX(-50%);
    }
}

/* Pros & cons */
.pros-cons {
    background: var(--color-bg);
}

.pc__seam {
    display: none;
}

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

.pc-col {
    margin-inline: calc(-1 * var(--gutter));
    padding: 32px var(--gutter);
}

.pc-col--pros {
    background: radial-gradient(ellipse 80% 90% at 30% 40%, rgba(247, 235, 200, 0.95), transparent 70%), #FBF1DF;
}

.pc-col--cons {
    background: var(--color-greige);
}

.pc-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    gap: 16px;
}

.pc-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.pc-icon {
    display: inline-flex;
    margin-top: 2px;
}

.pc-icon--up { color: var(--color-accent); }
.pc-icon--down { color: var(--color-taupe-deep); }

@media (min-width: 1024px) {
    .pros-cons {
        background: radial-gradient(ellipse 40% 70% at 22% 55%, rgba(247, 235, 200, 0.95), transparent 70%), linear-gradient(90deg, #FBF1DF 0 50%, var(--color-greige) 50% 100%);
    }

    .pros-cons .section__head {
        padding: 18px 28px;
        border-radius: var(--radius-md);
        background: rgba(250, 244, 239, 0.92);
        position: relative;
        z-index: 1;
    }

    .pc__seam {
        display: block;
        top: 0;
        left: 50%;
        width: 220px;
        height: 100%;
        transform: translateX(-50%);
        z-index: 0;
    }

    .pc__core {
        stroke-width: 3;
    }

    .pc-grid {
        position: relative;
        z-index: 1;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 160px;
    }

    .pc-col {
        margin: 0;
        padding: 0;
        background: none;
    }

    .pc-col--pros,
    .pc-col--cons {
        background: none;
    }
}

/* Safety */
.safety-frame {
    padding: clamp(20px, 4vw, 40px);
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
}

.safety__head {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.safety__head p:last-child {
    color: var(--color-text-muted);
}

.safety-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.safety-card {
    position: relative;
    padding: 26px 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.safety-card--advice {
    background-image: linear-gradient(rgba(250, 244, 239, 0.86), rgba(250, 244, 239, 0.86)), url("./assets/069099bdbbc1aa2913942a3bb22248ae.webp");
    background-size: cover;
    background-position: 70% 70%;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-sm);
}

.safety-card--facts {
    background: var(--color-surface);
    border: 1px solid var(--color-gold);
}

.safety-card__icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--color-taupe);
    color: var(--color-white);
}

.safety-card__icon--gold {
    background: var(--color-gold-pale);
    color: var(--color-accent-text);
    box-shadow: inset 0 0 0 1px var(--color-gold);
}

.safety-list {
    margin: 0;
    padding-left: 1.2em;
}

.safety-list li {
    margin-bottom: 8px;
}

.safety__foot {
    margin: 24px 0 0;
    text-align: center;
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

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

/* Why consider band */
.band {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #6E5F58;
    color: var(--color-white);
}

.band__media {
    order: 2;
    height: clamp(260px, 64vw, 420px);
    background-image: url("./assets/d0a4e347bd23771e53e05d7c6396dfac.webp");
    background-size: cover;
    background-position: 80% center;
    background-repeat: no-repeat;
}

.band__content {
    position: relative;
    z-index: 1;
    order: 1;
    padding-block: var(--section-y) 40px;
}

.band__text {
    max-width: 540px;
}

.band h2 {
    color: var(--color-white);
}

.band__text > p {
    color: #F7EFEA;
}

.band__list .icon {
    margin-top: 3px;
    color: var(--color-gold-light);
}

.band__small {
    font-size: var(--fs-small);
    margin-bottom: 22px;
}

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

    .band__media {
        position: absolute;
        inset: 0;
        height: auto;
        background-position: right center;
    }

    .band__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(100, 86, 80, 0.88) 0%, rgba(110, 95, 88, 0.75) 32%, rgba(110, 95, 88, 0.2) 48%, rgba(110, 95, 88, 0) 56%);
    }

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

/* Mobile app */
.app__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.app__copy {
    order: 1;
}

.app__device {
    order: 2;
    position: relative;
    display: flex;
    justify-content: center;
}

.app__veins {
    top: 50%;
    left: 50%;
    width: 500px;
    height: 600px;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    z-index: 0;
}

.phone {
    position: relative;
    z-index: 1;
    width: 250px;
    height: 510px;
    padding: 11px;
    border-radius: 42px;
    background: #2B2321;
    box-shadow: var(--shadow-lg), inset 0 0 0 2px #4A3F3B;
}

.phone::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    z-index: 2;
    width: 78px;
    height: 20px;
    border-radius: 12px;
    background: #2B2321;
    transform: translateX(-50%);
}

.phone__screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(170deg, #FBF5F0 0%, #EFE4DC 100%);
}

.phone__seams {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.55;
}

.phone__ui {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 56px 18px 18px;
}

.phone__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(140deg, #C27352, var(--color-accent));
    box-shadow: 0 6px 14px rgba(168, 92, 62, 0.35);
}

.phone__bar {
    display: block;
    width: 80%;
    height: 9px;
    border-radius: 5px;
    background: var(--color-greige-deep);
}

.phone__bar--title {
    width: 50%;
    background: var(--color-taupe);
}

.phone__bar--short {
    width: 55%;
}

.phone__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
    padding: 12px 12px 16px;
    border-radius: 20px;
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
}

.phone__photo {
    display: block;
    width: 100%;
    height: 170px;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 38%, #E9C9B6 0 18%, transparent 19%), radial-gradient(ellipse 45% 35% at 50% 85%, #C79A8A 0 99%, transparent 100%), linear-gradient(160deg, #F1DDD2, #DDC3B5);
}

.phone__btn {
    display: block;
    width: 70%;
    height: 30px;
    margin-top: 4px;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
}

.app__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 8px 0 14px;
}

.app__note {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

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

    .app__device {
        order: 1;
    }

    .app__copy {
        order: 2;
    }
}

/* Final CTA */
.final-cta {
    position: relative;
    overflow: clip;
    padding-block: clamp(96px, 12vw, 150px);
    background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(241, 221, 210, 0.95), transparent 72%), var(--color-cream);
    text-align: center;
}

.final-cta__seam {
    position: absolute;
    left: 0;
    right: 0;
}

.final-cta__seam--top { top: 0; }
.final-cta__seam--bottom { bottom: 0; }

.final-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.final-cta__inner > p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.final-cta__inner > .final-cta__small {
    margin: 20px 0 0;
    font-size: var(--fs-xs);
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

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