/*
 * 2nd Chances design system
 * Warm cream surfaces, deep brown-charcoal text, one bronze-gold accent,
 * taupe and muted sage organic surfaces, gold connector lines.
 */

:root {
    --cream: #FBF6EE;
    --cream-deep: #F4EBDE;
    --surface: #FFFCF7;
    --taupe: #DCD2C6;
    --taupe-light: #EAE2D7;
    --taupe-dark: #CBBDAC;
    --sage: #8E9983;
    --sage-deep: #7F8A74;
    --ink: #3B2F2A;
    --ink-soft: #5C4E47;
    --bronze: #B4884F;
    --bronze-deep: #8A5F2E;
    --bronze-deeper: #734E24;
    --bronze-text: #7F5628;
    --gold-hi: #E6C68C;
    --gold-mid: #CFA265;
    --hairline: rgba(180, 136, 79, 0.32);
    --focus: #9A6B33;
    --white: #FFFFFF;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-lead: clamp(1.0625rem, 0.35vw + 1rem, 1.1875rem);
    --fs-h1: clamp(2.25rem, 4.2vw + 1rem, 3.75rem);
    --fs-h2: clamp(1.75rem, 2.4vw + 1rem, 2.625rem);
    --fs-h3: clamp(1.1875rem, 0.4vw + 1.05rem, 1.375rem);

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(74, 52, 32, 0.06), 0 3px 10px rgba(74, 52, 32, 0.05);
    --shadow-md: 0 14px 30px -16px rgba(74, 52, 32, 0.32), 0 2px 6px rgba(74, 52, 32, 0.05);
    --shadow-lg: 0 28px 54px -24px rgba(74, 52, 32, 0.42), 0 4px 12px rgba(74, 52, 32, 0.06);

    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-y: clamp(4rem, 9vw, 7rem);
    --header-h: 64px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

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

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

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

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

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

/* ============================================
   Base
   ============================================ */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

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

@media (min-width: 1024px) {
    body {
        font-size: 1.125rem;
    }
}

[hidden] {
    display: none !important;
}

img {
    display: block;
}

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

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

p {
    margin: 0 0 1em;
}

a {
    color: var(--bronze-text);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--bronze-deeper);
}

ul, ol {
    margin: 0 0 1em;
}

::selection {
    background: #EBD8B8;
    color: var(--ink);
}

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

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

.on-dark :focus-visible {
    outline-color: #FFF1D9;
}

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

.skip-link:focus {
    top: 1rem;
    color: var(--white);
}

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

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

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

/* ============================================
   Layout primitives
   ============================================ */

.site-main {
    overflow-x: clip;
}

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

.container--narrow {
    max-width: calc(52rem + var(--gutter) * 2);
}

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

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

.section-head {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.section-head h2 {
    margin-bottom: 0.4em;
}

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

.section-head .lead {
    margin: 0;
}

.micro {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: var(--fs-small);
    line-height: 1.5;
    color: var(--ink-soft);
}

.micro .icon {
    color: var(--bronze-text);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--bronze-text);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.text-link .icon {
    transition: transform 0.2s var(--ease);
}

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

/* Organic blobs */
.blob {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%;
}

.blob--taupe { background: var(--taupe); }
.blob--taupe-light { background: var(--taupe-light); }
.blob--taupe-dark { background: var(--taupe-dark); }
.blob--sage { background: var(--sage); }

/* Gold connector lines (signature motif) */
.gold-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.gold-lines__glow {
    fill: none;
    stroke: #E2B877;
    stroke-width: 8;
    stroke-opacity: 0.2;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.gold-lines__core {
    fill: none;
    stroke: url(#g-gold-line) #C9995A;
    stroke-width: 1.6;
    stroke-opacity: 0.85;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.gold-lines--bright .gold-lines__glow {
    stroke: #F3D394;
    stroke-width: 10;
    stroke-opacity: 0.28;
}

.gold-lines--bright .gold-lines__core {
    stroke: #F0CF8E;
    stroke-width: 1.8;
    stroke-opacity: 1;
}

.gold-lines--soft .gold-lines__glow {
    stroke-opacity: 0.12;
}

.gold-lines--soft .gold-lines__core {
    stroke-opacity: 0.6;
}

/* Taupe band with wavy top and bottom edges */
.wave-band {
    --wave-h: clamp(36px, 6vw, 90px);
    position: relative;
    background: var(--taupe);
    padding-block: calc(var(--wave-h) + clamp(2.5rem, 5vw, 4rem));
    isolation: isolate;
    overflow: clip;
}

.wave-band::before,
.wave-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: var(--wave-h);
    z-index: 2;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.wave-band::before {
    top: -1px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20100'%20preserveAspectRatio='none'%3E%3Cpath%20fill='%23FBF6EE'%20d='M0%200H1440V38C1280%2072%201110%2090%20920%2072C700%2052%20540%208%20340%2020C200%2028%2090%2056%200%2070Z'/%3E%3C/svg%3E");
}

.wave-band::after {
    bottom: -1px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20100'%20preserveAspectRatio='none'%3E%3Cpath%20fill='%23FBF6EE'%20d='M0%20100H1440V40C1300%2010%201150%206%20960%2026C760%2048%20600%2088%20400%2078C230%2070%20110%2040%200%2052Z'/%3E%3C/svg%3E");
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.6rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn .icon {
    transition: transform 0.2s var(--ease);
}

.btn--primary {
    background: linear-gradient(180deg, #96683A 0%, var(--bronze-deep) 100%);
    color: var(--white);
    border-color: #7A5226;
    box-shadow: inset 0 1px 0 rgba(255, 236, 200, 0.35), 0 10px 22px -12px rgba(138, 95, 46, 0.75);
}

.btn--primary:hover {
    background: linear-gradient(180deg, var(--bronze-deep) 0%, var(--bronze-deeper) 100%);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 236, 200, 0.3), 0 14px 26px -12px rgba(115, 78, 36, 0.8);
}

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

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

.btn--secondary:hover {
    background: var(--cream-deep);
    color: var(--ink);
}

.btn--text {
    background: transparent;
    color: var(--ink);
    padding-inline: 0.75rem;
    text-decoration: underline;
    text-decoration-color: var(--bronze);
    text-underline-offset: 0.25em;
}

.btn--text:hover {
    color: var(--bronze-text);
}

.btn--text:hover .icon {
    transform: translateY(2px);
}

.btn--choice {
    background: var(--surface);
    color: var(--ink);
    border: 1.5px solid var(--bronze);
}

.btn--choice:hover {
    background: var(--cream-deep);
    color: var(--ink);
}

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

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

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

/* Store-style app buttons */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 60px;
    min-width: 200px;
    padding: 0.6rem 1.5rem 0.6rem 1.15rem;
    border: 1px solid #2C231F;
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-sans);
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.store-btn:hover {
    background: #2C231F;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.store-btn__glyph {
    width: 26px;
    height: 26px;
    fill: currentColor;
    flex-shrink: 0;
}

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

.store-btn__small {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.store-btn__big {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ============================================
   Header & navigation
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--cream);
    box-shadow: 0 1px 0 rgba(180, 136, 79, 0.18), 0 8px 20px -16px rgba(74, 52, 32, 0.4);
}

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

.site-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding-block: 0.5rem;
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1.1vw + 1rem, 1.75rem);
    font-weight: 600;
    line-height: 1;
    color: var(--bronze-text);
    text-decoration: none;
    isolation: isolate;
}

.site-brand:hover {
    color: var(--bronze-deeper);
}

.site-brand__text {
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.site-brand__arc {
    position: absolute;
    z-index: 0;
    left: 36%;
    top: -2px;
    width: 66%;
    height: calc(100% + 8px);
    max-width: none;
    overflow: visible;
    pointer-events: none;
}

.site-brand__arc path {
    fill: none;
    stroke: url(#g-arc) var(--bronze);
    stroke-width: 1.4;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

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

.header-actions .header-cta {
    min-height: 44px;
}

.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(180, 136, 79, 0.5);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

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

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

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

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

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 49;
    display: none;
    flex-direction: column;
    gap: 1.75rem;
    padding: 1rem var(--gutter) 2rem;
    background: var(--cream);
    border-top: 1px solid var(--hairline);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.site-nav.is-open {
    display: flex;
    animation: nav-in 0.22s var(--ease);
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 56px;
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(180, 136, 79, 0.22);
}

.site-nav__link:hover {
    color: var(--bronze-text);
}

.site-nav__cta {
    display: grid;
    gap: 0.75rem;
}

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

@keyframes nav-in {
    from { transform: translateY(-8px); }
    to { transform: none; }
}

@media (max-width: 1023.98px) {
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 359.98px) {
    .site-brand {
        font-size: 1.15rem;
    }

    .header-actions .header-cta {
        padding-inline: 0.85rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .header-inner {
        min-height: 76px;
        gap: 1.5rem;
    }

    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0;
        margin-left: auto;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
        z-index: auto;
    }

    .site-nav.is-open {
        animation: none;
    }

    .site-nav__list {
        flex-direction: row;
        align-items: center;
        gap: clamp(1.25rem, 2.2vw, 2.25rem);
    }

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

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8px;
        height: 1.5px;
        background: var(--bronze);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s var(--ease);
    }

    .site-nav__link:hover::after,
    .site-nav__link:focus-visible::after {
        transform: scaleX(1);
    }

    .site-nav__cta {
        display: none;
    }

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

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

    .menu-toggle {
        display: none;
    }
}

/* ============================================
   Profile cards & carousel
   ============================================ */

.carousel {
    position: relative;
}

.carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 1rem;
    margin: -0.5rem -0.25rem 0;
    padding: 0.5rem 0.25rem 1.5rem;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

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

.carousel__track > * {
    scroll-snap-align: start;
}

.carousel__track:focus-visible {
    outline-offset: 4px;
    border-radius: var(--radius-lg);
}

.carousel__controls {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.js .carousel__controls {
    display: flex;
}

.carousel__btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(180, 136, 79, 0.5);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.carousel__btn:hover:not(:disabled) {
    background: var(--cream-deep);
    transform: translateY(-1px);
}

.carousel__btn:disabled {
    cursor: default;
    color: #9C8D80;
    background: var(--cream-deep);
    box-shadow: none;
}

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

.carousel__dot {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.carousel__dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    background: #A99A8B;
    transition: width 0.25s var(--ease), background-color 0.25s var(--ease);
}

.carousel__dot.is-active::before {
    width: 22px;
    background: var(--bronze-deep);
}

@media (min-width: 768px) {
    .carousel__track {
        grid-auto-columns: calc((100% - 1.25rem) / 2.15);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .carousel__track {
        grid-auto-columns: calc((100% - 3rem) / 3);
        gap: 1.5rem;
    }

    .carousel__btn--prev,
    .carousel__btn--next {
        position: absolute;
        top: 36%;
        z-index: 2;
    }

    .carousel__btn--prev {
        left: -1.75rem;
    }

    .carousel__btn--next {
        right: -1.75rem;
    }
}

.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid rgba(180, 136, 79, 0.18);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.profile-card__media {
    aspect-ratio: 1 / 1;
    background: var(--taupe-light);
    overflow: hidden;
}

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

.profile-card__body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem 1.75rem;
}

.profile-card__body > *:not(.profile-card__arc) {
    position: relative;
    z-index: 1;
}

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

.profile-card__age {
    color: var(--bronze-text);
}

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

.profile-card__arc {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 70px;
    height: 28px;
    z-index: 0;
    pointer-events: none;
}

.profile-card__arc path {
    fill: none;
    stroke: url(#g-gold-line) var(--bronze);
    stroke-width: 1.25;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

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

.chip {
    padding: 0.3rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    background: #F2E9DC;
    border: 1px solid rgba(180, 136, 79, 0.28);
    border-radius: var(--radius-pill);
}

/* ============================================
   Steps & feature cards
   ============================================ */

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

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

.step__badge {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border: 2px solid var(--gold-mid);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 42%, #FFFDF8 0%, var(--cream) 58%, #F2E4CE 100%);
    color: var(--bronze-deep);
    box-shadow: inset 0 0 18px rgba(228, 194, 133, 0.5), 0 14px 28px -16px rgba(74, 52, 32, 0.45);
}

.step__badge .icon {
    stroke-width: 1;
}

.step__title {
    margin-bottom: 0.4rem;
}

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

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

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

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

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

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

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

.feature-card {
    height: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid rgba(180, 136, 79, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (hover: hover) {
    .feature-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }
}

.feature-card__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 198, 140, 0.38) 0%, rgba(230, 198, 140, 0) 70%);
}

.feature-card__icon .icon {
    stroke-width: 1;
}

.feature-card__title {
    margin-bottom: 0.5rem;
}

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

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

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

.faq-item {
    background: var(--surface);
    border: 1px solid rgba(180, 136, 79, 0.55);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px -16px rgba(180, 136, 79, 0.7);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq-item:has([aria-expanded="true"]) {
    border-color: var(--bronze);
    box-shadow: var(--shadow-md);
}

.faq-item__heading {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 60px;
    padding: 1rem 1.25rem;
    border: 0;
    border-radius: var(--radius-md);
    background: none;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.faq-item__trigger:hover {
    color: var(--bronze-text);
}

.faq-item__chevron {
    color: var(--bronze-text);
    transition: transform 0.25s var(--ease);
}

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

.faq-item__panel {
    padding: 0 1.25rem 1.25rem;
    color: var(--ink-soft);
}

.faq-item__panel:not([hidden]) {
    animation: faq-in 0.25s var(--ease);
}

.faq-item__panel p {
    margin: 0;
}

@keyframes faq-in {
    from { transform: translateY(-4px); }
    to { transform: none; }
}

@media (min-width: 1024px) {
    .faq-item__trigger {
        padding: 1.1rem 1.5rem;
        font-size: 1.125rem;
    }

    .faq-item__panel {
        padding: 0 1.5rem 1.4rem;
    }
}

/* ============================================
   Legal pages
   ============================================ */

.legal-hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 4rem);
    background: var(--cream);
}

.legal-hero__blob--taupe {
    width: clamp(220px, 36vw, 520px);
    aspect-ratio: 1.25;
    top: -38%;
    right: -10%;
}

.legal-hero__blob--sage {
    width: clamp(140px, 20vw, 280px);
    aspect-ratio: 1.2;
    bottom: -45%;
    left: -8%;
}

.legal-hero--left .legal-hero__blob--taupe {
    right: auto;
    left: -10%;
}

.legal-hero--left .legal-hero__blob--sage {
    left: auto;
    right: -8%;
}

.legal-hero__lines .gold-lines__glow {
    stroke-opacity: 0.14;
}

.legal-hero__lines .gold-lines__core {
    stroke-opacity: 0.6;
}

.legal-hero__inner {
    position: relative;
    z-index: 1;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    font-size: var(--fs-small);
    color: var(--ink-soft);
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--bronze-text);
}

.breadcrumb a {
    color: var(--ink-soft);
}

.breadcrumb a:hover {
    color: var(--bronze-text);
}

.legal-hero__title {
    max-width: 18ch;
    font-size: clamp(2.25rem, 3.6vw + 1rem, 3.5rem);
}

.legal-hero__updated {
    display: inline-flex;
    gap: 0.3rem;
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.9rem;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--bronze-text);
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
}

.legal-hero__intro {
    max-width: 62ch;
    margin: 0;
    font-size: var(--fs-lead);
    color: var(--ink-soft);
}

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

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

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

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

.legal-toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    padding: 0.75rem 1.1rem;
    font-weight: 600;
    color: var(--ink);
    list-style: none;
    cursor: pointer;
    border-radius: var(--radius-md);
}

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

.legal-toc__chevron {
    color: var(--bronze-text);
    transition: transform 0.25s var(--ease);
}

.legal-toc__details[open] .legal-toc__chevron {
    transform: rotate(180deg);
}

.legal-toc__list {
    margin: 0;
    padding: 0 0.6rem 0.8rem;
    list-style: none;
}

.legal-toc__list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.45rem 0.6rem;
    font-size: var(--fs-small);
    line-height: 1.4;
    color: var(--ink-soft);
    text-decoration: none;
    border-radius: 10px;
}

.legal-toc__list a:hover {
    color: var(--bronze-text);
    background: var(--cream-deep);
}

.legal-toc__list a.is-active {
    color: var(--bronze-text);
    background: #F3E9DA;
    font-weight: 600;
}

@media (min-width: 1024px) {
    .legal-toc__summary {
        font-size: 0.875rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--bronze-text);
    }

    .legal-toc__list a {
        min-height: 40px;
    }
}

.legal-content {
    max-width: 72ch;
    min-width: 0;
    counter-reset: legal;
}

.legal-content p,
.legal-content li {
    line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.25rem;
}

.legal-content li {
    margin-bottom: 0.45rem;
}

.legal-content li::marker {
    color: var(--bronze);
}

.legal-content h3 {
    margin-top: 1.75rem;
    font-size: 1.25rem;
}

.legal-section {
    margin-bottom: 2.75rem;
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.legal-section > h2 {
    counter-increment: legal;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-size: clamp(1.5rem, 1.4vw + 1.1rem, 2rem);
}

.legal-section > h2::before {
    content: counter(legal, decimal-leading-zero);
    flex-shrink: 0;
    font-family: var(--font-sans);
    font-size: 0.6em;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--bronze-text);
}

.legal-summary {
    margin-bottom: 2.75rem;
    padding: 1.5rem 1.5rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.legal-summary h2 {
    font-size: clamp(1.375rem, 1vw + 1.1rem, 1.75rem);
}

@media (min-width: 768px) {
    .legal-summary {
        padding: 1.75rem 2rem 1.5rem;
    }
}

.legal-note {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    background: var(--taupe-light);
    border-left: 3px solid var(--bronze);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

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

/* Policy table: rows become stacked cards on mobile */
.policy-table__frame {
    margin: 1.5rem 0;
}

.policy-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
}

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

.policy-table tr {
    display: block;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
}

.policy-table td,
.policy-table th[scope="row"] {
    display: block;
    padding: 0.35rem 0;
    text-align: left;
    vertical-align: top;
}

.policy-table td::before,
.policy-table th[scope="row"]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bronze-text);
}

@media (min-width: 768px) {
    .policy-table__frame {
        border: 1px solid var(--hairline);
        border-radius: var(--radius-md);
        background: var(--surface);
        overflow: hidden;
    }

    .policy-table thead {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        display: table-header-group;
    }

    .policy-table tr {
        display: table-row;
        margin: 0;
        padding: 0;
        background: none;
        border: 0;
        border-radius: 0;
    }

    .policy-table th,
    .policy-table td,
    .policy-table th[scope="row"] {
        display: table-cell;
        padding: 0.9rem 1rem;
        border-bottom: 1px solid var(--hairline);
    }

    .policy-table thead th {
        background: var(--taupe-light);
        font-family: var(--font-sans);
        font-size: 0.9375rem;
        font-weight: 600;
        text-align: left;
        color: var(--ink);
    }

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

    .policy-table td::before,
    .policy-table th[scope="row"]::before {
        content: none;
    }
}

/* Consent choice preview (non-functional, shows equal-weight Accept / Decline) */
.consent-demo {
    display: grid;
    gap: 1.25rem;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--taupe-light);
    border-radius: var(--radius-lg);
}

.consent-preview {
    padding: 1.1rem 1.25rem;
    background: var(--cream);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.consent-preview__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ink);
}

.consent-preview__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.consent-preview__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1.5px solid var(--bronze);
    border-radius: var(--radius-pill);
    font-weight: 600;
    color: var(--ink);
}

.consent-demo__action {
    display: grid;
    justify-items: start;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .consent-demo {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2rem;
        padding: 1.5rem;
    }
}

/* Related policies card */
.related-card {
    margin-top: 2rem;
    padding: 1.5rem 1.5rem 1.25rem;
    background: var(--taupe-light);
    border-radius: var(--radius-lg);
}

.related-card__title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

.legal-content .related-card__list {
    padding-left: 0;
}

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

.related-card__link .icon {
    transition: transform 0.2s var(--ease);
}

.related-card__link:hover .icon {
    transform: translateX(3px);
}

.related-card__text {
    margin: 0 0 0.5rem;
    font-size: var(--fs-small);
    color: var(--ink-soft);
}

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

.site-footer {
    position: relative;
    padding-top: clamp(3rem, 6vw, 4.5rem);
    background: var(--taupe-light);
    color: var(--ink);
    overflow: clip;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
}

.footer-about p {
    max-width: 34ch;
    margin: 1rem 0 0;
    color: var(--ink-soft);
}

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

.footer-title {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bronze-text);
}

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

.footer-links a,
.footer-link-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--ink);
    text-decoration: none;
}

.footer-link-btn {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: var(--bronze);
    text-underline-offset: 0.2em;
}

.footer-links a:hover,
.footer-link-btn:hover {
    color: var(--bronze-text);
    text-decoration: underline;
}

.footer-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.footer-divider::before,
.footer-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--taupe-dark);
}

.footer-divider__heart {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.5rem;
    padding: 1.25rem 0 2rem;
    font-size: var(--fs-small);
    text-align: center;
    color: var(--ink-soft);
}

.footer-bottom p {
    margin: 0;
}

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

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        justify-content: space-between;
        text-align: left;
    }
}

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

    .footer-about {
        grid-column: auto;
    }
}

/* ============================================
   Cookie notice
   ============================================ */

.cookie-notice {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    display: grid;
    gap: 0.75rem;
    max-width: 30rem;
    margin-inline: auto;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid rgba(180, 136, 79, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: notice-in 0.3s var(--ease);
}

.cookie-notice__title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--ink);
}

.cookie-notice__text {
    margin: 0;
    font-size: var(--fs-small);
    line-height: 1.55;
    color: var(--ink-soft);
}

.cookie-notice__status {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
}

.cookie-notice__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@keyframes notice-in {
    from { transform: translateY(12px); }
    to { transform: none; }
}

/* ============================================
   Home: hero
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    padding-block: 1rem clamp(3rem, 6vw, 5rem);
}

.hero__blob--a {
    width: clamp(220px, 32vw, 460px);
    aspect-ratio: 1.35;
    top: -6%;
    left: -14%;
}

.hero__blob--b {
    width: clamp(180px, 24vw, 340px);
    aspect-ratio: 1.7;
    bottom: -8%;
    left: -8%;
}

.hero__lines {
    display: none;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.hero__media {
    position: relative;
    order: -1;
}

.hero__frame {
    position: relative;
    z-index: 1;
    height: clamp(200px, 32vh, 320px);
    height: clamp(200px, 32svh, 320px);
    border: 2px solid var(--gold-mid);
    border-radius: 44% 56% 38% 62% / 58% 46% 54% 42%;
    overflow: hidden;
    background: var(--taupe-light);
    box-shadow: 0 0 0 5px rgba(230, 198, 140, 0.18), 0 0 34px rgba(226, 184, 119, 0.45), var(--shadow-lg);
}

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

.hero__title {
    font-size: clamp(2rem, 3.4vw + 1.1rem, 3.625rem);
    margin-bottom: 0.45em;
}

.hero__lead {
    max-width: 34rem;
    margin-bottom: 1.5rem;
    font-size: var(--fs-lead);
    color: var(--ink-soft);
}

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

@media (min-width: 768px) {
    .hero__frame {
        height: clamp(340px, 52vw, 460px);
    }
}

@media (min-width: 1024px) {
    .hero {
        padding-block: 1.5rem 5.5rem;
    }

    .hero__lines {
        display: block;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
        gap: 3rem;
        min-height: min(calc(100vh - 76px), 760px);
    }

    .hero__media {
        order: 0;
        margin-right: calc(-1 * var(--gutter));
    }

    .hero__frame {
        width: calc(100% + max(0px, (100vw - 1264px) / 2));
        height: clamp(500px, 48vw, 660px);
    }
}

/* ============================================
   Home: value proposition
   ============================================ */

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

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

.value-card {
    text-align: center;
}

.value-card__icon {
    display: grid;
    place-items: center;
    width: 160px;
    height: 160px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 198, 140, 0.45) 0%, rgba(230, 198, 140, 0) 68%);
}

.value-card__icon .icon {
    width: 110px;
    height: 110px;
    stroke-width: 1;
}

.value-card p {
    max-width: 30rem;
    margin-inline: auto;
    color: var(--ink-soft);
}

.check-list {
    display: inline-grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

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

.check-list .icon {
    margin-top: 0.25em;
    color: var(--bronze-text);
}

/* ============================================
   Home: matches band
   ============================================ */

.matches__blob--taupe {
    width: clamp(200px, 26vw, 360px);
    aspect-ratio: 1.2;
    top: 6%;
    right: -9%;
}

.matches__blob--sage {
    width: clamp(200px, 28vw, 380px);
    aspect-ratio: 1.1;
    left: -11%;
    bottom: 4%;
}

.matches__cta {
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    margin-top: 2rem;
    text-align: center;
}

.matches__prompt {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.1875rem, 0.6vw + 1rem, 1.375rem);
    font-weight: 500;
    color: var(--ink);
}

.matches .micro {
    color: var(--ink);
}

/* ============================================
   Home: how it works
   ============================================ */

.how__steps {
    position: relative;
}

.gold-lines.how__line {
    display: none;
}

.how__cta {
    display: grid;
    justify-items: center;
    margin-top: 3rem;
}

@media (max-width: 767.98px) {
    .steps .step + .step::before {
        content: "";
        position: absolute;
        left: 50%;
        top: -2.25rem;
        width: 2px;
        height: 2rem;
        transform: translateX(-50%);
        border-radius: 2px;
        background: linear-gradient(180deg, rgba(207, 162, 101, 0), var(--gold-mid) 30%, var(--gold-mid) 70%, rgba(207, 162, 101, 0));
        box-shadow: 0 0 6px rgba(226, 184, 119, 0.5);
    }
}

@media (min-width: 1024px) {
    .gold-lines.how__line {
        display: block;
        inset: auto;
        top: 0;
        left: 50%;
        width: 100vw;
        height: 120px;
        transform: translateX(-50%);
    }
}

/* ============================================
   Home: features band
   ============================================ */

.features__blob {
    width: clamp(240px, 34vw, 480px);
    aspect-ratio: 1.3;
    top: -4%;
    right: -10%;
}

.feature-grid > li {
    min-width: 0;
}

/* ============================================
   Home: trust and safety
   ============================================ */

.trust__blob {
    width: clamp(240px, 34vw, 460px);
    aspect-ratio: 1.4;
    right: -10%;
    bottom: -14%;
}

.trust__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.trust__visual {
    position: relative;
    display: grid;
    place-items: center;
    order: 1;
}

.trust__visual::before {
    content: "";
    position: absolute;
    width: 90%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 201, 140, 0.55) 0%, rgba(236, 201, 140, 0) 68%);
}

.trust__shield {
    position: relative;
    z-index: 1;
    width: clamp(170px, 50vw, 240px);
    filter: drop-shadow(0 18px 24px rgba(74, 52, 32, 0.2));
}

.trust__copy .lead {
    margin-bottom: 0;
}

.scam-callout {
    margin: 1.75rem 0;
    padding: 1.25rem 1.25rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--bronze);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.scam-callout__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.scam-callout__title .icon {
    color: var(--bronze-text);
}

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

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

.safety-list li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.safety-list__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
    background: #F3E9DA;
    color: var(--bronze-text);
}

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

.safety-list strong {
    display: block;
    font-weight: 600;
    color: var(--ink);
}

.trust__note {
    margin: 0;
}

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

    .trust__visual {
        order: 0;
    }

    .trust__shield {
        width: clamp(260px, 24vw, 320px);
    }
}

/* ============================================
   Home: emotional photo band
   ============================================ */

.emotional {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-start;
    min-height: 60vh;
    min-height: 60svh;
    padding-block: clamp(3.5rem, 8vw, 6rem) clamp(9rem, 20vw, 14rem);
    color: #FFF8EE;
}

.emotional::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: #8B6A4E;
    background-image: url("./assets/f84c59c566665311fa8acd26b0e36ab7.webp");
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
}

.emotional::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(52, 36, 26, 0.64) 0%, rgba(52, 36, 26, 0.56) 62%, rgba(52, 36, 26, 0.18) 100%);
}

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

.emotional__lines {
    display: none;
}

.emotional__inner {
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
    text-shadow: 0 1px 14px rgba(40, 26, 18, 0.45);
}

.emotional h2 {
    color: #FFF8EE;
}

.emotional__quote {
    margin: 0.5rem 0 1rem;
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.3;
    color: #FFF1D9;
}

.emotional__text {
    margin: 0;
    font-size: var(--fs-lead);
    color: #FFF8EE;
}

@media (min-width: 768px) {
    .emotional__lines {
        display: block;
    }
}

@media (min-width: 1024px) {
    .emotional {
        min-height: 70vh;
        min-height: 70svh;
    }

    .emotional::after {
        background: linear-gradient(180deg, rgba(52, 36, 26, 0.6) 0%, rgba(52, 36, 26, 0.5) 48%, rgba(52, 36, 26, 0.1) 78%, rgba(52, 36, 26, 0) 100%);
    }
}

/* ============================================
   Home: app download
   ============================================ */

.app {
    text-align: center;
}

.gold-lines.app__lines {
    display: none;
}

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

.app__device {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    order: -1;
    margin-bottom: 1.25rem;
}

.app__legal {
    max-width: 40rem;
    margin: 2rem auto 0;
    font-size: var(--fs-small);
    color: var(--ink-soft);
}

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

    .app__device {
        grid-column: 1 / -1;
    }

    .app__store--google {
        justify-self: end;
    }

    .app__store--apple {
        justify-self: start;
    }
}

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

    .app__stage {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        column-gap: clamp(2.5rem, 5vw, 5rem);
        align-items: center;
    }

    .app__device {
        grid-column: auto;
        order: 0;
        margin-bottom: 0;
    }
}

.phone {
    position: relative;
    width: min(270px, 78vw);
    aspect-ratio: 9 / 18.5;
    margin: 0;
    padding: 11px;
    border: 1px solid #9A8F84;
    border-radius: 44px;
    background: linear-gradient(145deg, #3A332F, #1F1A18);
    box-shadow: inset 0 0 0 2px #514843, inset 0 0 0 4px #1B1715, 0 34px 60px -28px rgba(74, 52, 32, 0.6), 0 10px 24px -12px rgba(74, 52, 32, 0.35);
}

.phone__screen {
    position: relative;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(170deg, #B3BCA6 0%, #CEC6B7 60%, #DCD2C6 100%);
    text-align: left;
}

.phone__screen::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: 2;
    width: 84px;
    height: 22px;
    transform: translateX(-50%);
    border-radius: var(--radius-pill);
    background: #1B1715;
}

.phone__view {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 46px 14px 18px;
}

.phone__view:not([hidden]) {
    animation: view-in 0.35s var(--ease);
}

@keyframes view-in {
    from { transform: translateY(8px); }
    to { transform: none; }
}

.phone__view--welcome {
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.app-tile {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 26px;
    background: var(--surface);
    box-shadow: 0 12px 24px -12px rgba(59, 47, 42, 0.5);
}

.app-tile svg {
    width: 60px;
    height: 60px;
}

.phone__brand {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--ink);
}

.phone__tagline {
    max-width: 18ch;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--ink);
}

.phone__title {
    margin: 0 0 2px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
}

.phone-msg {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding: 9px;
    border-radius: 16px;
    background: #FBF7F0;
}

.phone-msg > * {
    min-width: 0;
}

.phone-msg__avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E9DCC8;
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--bronze-text);
}

.phone-msg__name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink);
}

.phone-msg__text {
    display: block;
    overflow: hidden;
    font-size: 0.8125rem;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ink-soft);
}

.phone-msg__time {
    align-self: start;
    font-size: 0.75rem;
    color: var(--ink-soft);
}

.phone-pref {
    padding: 11px 12px;
    border-radius: 16px;
    background: #FBF7F0;
}

.phone-pref__label {
    display: flex;
    justify-content: space-between;
    margin: 0 0 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
}

.range {
    position: relative;
    height: 4px;
    margin: 12px 8px 8px;
    border-radius: 4px;
    background: #E2D7C8;
}

.range__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20%;
    right: 30%;
    border-radius: 4px;
    background: var(--bronze);
}

.range__knob {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%);
    border: 2px solid var(--bronze-deep);
    border-radius: 50%;
    background: var(--white);
}

.range__knob--a { left: 20%; }
.range__knob--b { left: 70%; }

.pill-set {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pill {
    padding: 4px 10px;
    border: 1px solid var(--taupe-dark);
    border-radius: var(--radius-pill);
    background: var(--white);
    font-size: 0.75rem;
    line-height: 1.3;
    color: var(--ink);
}

.pill.is-on {
    border-color: var(--bronze-deep);
    background: var(--bronze-deep);
    color: var(--white);
}

.phone-dots {
    display: none;
    justify-content: center;
    gap: 0.125rem;
}

.js .phone-dots {
    display: flex;
}

/* ============================================
   Home: FAQ
   ============================================ */

.gold-lines.faq__lines {
    display: none;
}

@media (min-width: 768px) {
    .gold-lines.faq__lines {
        display: block;
    }
}

/* ============================================
   Home: final CTA
   ============================================ */

.final-cta {
    position: relative;
    padding-block: clamp(0.5rem, 2vw, 1.5rem) var(--section-y);
}

.final-cta__band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 3rem);
    border-radius: clamp(20px, 3vw, 32px);
    background: linear-gradient(120deg, #6B755F 0%, #737059 45%, #7A5D45 100%);
    color: #FFF8EE;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.gold-lines.final-cta__lines {
    display: none;
}

.final-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin-inline: auto;
}

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

.final-cta__text {
    margin-bottom: 1.75rem;
    font-size: var(--fs-lead);
    color: #FFF8EE;
}

.final-cta__action {
    position: relative;
    display: inline-block;
}

.final-cta__action::before {
    content: "";
    position: absolute;
    inset: -40px -60px;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(240, 207, 142, 0.42), rgba(240, 207, 142, 0));
}

.final-cta .btn--primary {
    background: linear-gradient(180deg, #EBCF97 0%, #CFA265 100%);
    border-color: #E6C68C;
    color: var(--ink);
}

.final-cta .btn--primary:hover {
    background: linear-gradient(180deg, #F0D7A4 0%, #D8AE73 100%);
    color: var(--ink);
}

.final-cta__micro {
    justify-content: center;
    margin-top: 1.25rem;
    color: #FFF8EE;
}

.final-cta__micro a {
    color: var(--white);
}

.final-cta__micro a:hover {
    color: #FFF1D9;
}

.final-cta__micro .icon {
    color: #F0CF8E;
}

@media (min-width: 768px) {
    .gold-lines.final-cta__lines {
        display: block;
    }
}

/* ============================================
   Motion
   ============================================ */

.js [data-reveal] {
    transform: translateY(16px);
    transition: transform 0.7s var(--ease);
}

.js [data-reveal].is-visible {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .js [data-reveal] {
        transform: none;
    }
}