/*
 * 2nd Chances - shared design system
 * Warm cream surfaces, deep navy ink, terracotta accent, sand-gold detailing.
 */

:root {
    /* Color */
    --cream: #F7F1E8;
    --cream-2: #EFE6D8;
    --paper: #FFFBF5;
    --navy: #1E2448;
    --navy-2: #2A3163;
    --navy-3: #161B38;
    --ink-muted: #474C6B;
    --on-dark: #F7F1E8;
    --on-dark-muted: #D5D1E3;
    --terracotta: #C0694C;
    --terracotta-surface: #A9563A;
    --terracotta-ink: #9C4A30;
    --on-terracotta: #FFF8EE;
    --gold: #D6B26F;
    --gold-light: #E8CD94;
    --gold-deep: #B48A45;
    --hairline: rgba(214, 178, 111, 0.45);
    --umber: #3B2414;

    /* Type */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --fs-body: 1rem;
    --fs-lead: 1.0625rem;
    --fs-h2: clamp(2rem, 2.6vw + 1.2rem, 3rem);
    --fs-h3: 1.25rem;

    /* Shape & depth */
    --radius-sm: 12px;
    --radius: 16px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 10px rgba(30, 36, 72, 0.06);
    --shadow: 0 14px 34px -14px rgba(30, 36, 72, 0.28);
    --shadow-lg: 0 28px 60px -24px rgba(30, 36, 72, 0.45);
    --glow-gold: 0 0 30px -6px rgba(214, 178, 111, 0.55);

    /* Layout */
    --container: 1200px;
    --gutter: clamp(20px, 5vw, 40px);
    --header-h: 68px;
    --header-bottom: 68px;
    --section-y: clamp(64px, 9vw, 112px);

    --focus-ring: var(--navy);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 1024px) {
    :root {
        --header-h: 80px;
        --header-bottom: 80px;
        --fs-body: 1.0625rem;
        --fs-lead: 1.125rem;
        --fs-h3: 1.375rem;
    }
}

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

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

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

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

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

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

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

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

details {
    height: fit-content;
}

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

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

section {
    overflow: clip;
}

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

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

body {
    margin: 0;
    min-width: 320px;
    background: var(--cream);
    color: var(--navy);
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.menu-locked {
    overflow: hidden;
}

img {
    display: block;
}

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

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

p {
    margin: 0 0 1em;
}

a {
    color: inherit;
}

button {
    font: inherit;
    color: inherit;
}

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

main:focus {
    outline: none;
}

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

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 200;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    background: var(--navy);
    color: var(--on-dark);
    font-weight: 600;
    text-decoration: none;
    --focus-ring: var(--gold);
}

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

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

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

.surface-navy {
    background: var(--navy);
    color: var(--on-dark);
    --focus-ring: var(--gold);
}

.surface-terracotta {
    background: var(--terracotta-surface);
    color: var(--on-terracotta);
    --focus-ring: var(--on-terracotta);
}

.surface-cream {
    background: var(--cream);
    color: var(--navy);
}

/* Shared connection-line motif layer */
.has-lines {
    position: relative;
    isolation: isolate;
}

.has-lines > :not(.connect-lines) {
    position: relative;
    z-index: 1;
}

.connect-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    pointer-events: none;
    z-index: 0;
    color: var(--gold);
}

.connect-lines path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
}

.connect-lines__line {
    stroke-width: 1.5;
    opacity: var(--line-opacity, 0.38);
}

.connect-lines__glow {
    stroke-width: 7;
    opacity: var(--glow-opacity, 0.1);
}

.connect-lines--features { --line-opacity: 0.32; }
.connect-lines--emotional { --line-opacity: 0.45; --glow-opacity: 0.14; }
.connect-lines--legal { --line-opacity: 0.4; --glow-opacity: 0.12; }
.connect-lines--footer { --line-opacity: 0.4; }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 28px;
    border: 1.5px 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-align: center;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
    transform: translateY(-1px);
}

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

.btn--gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    box-shadow: 0 8px 24px -10px rgba(180, 138, 69, 0.75);
}

.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 12px 30px -10px rgba(180, 138, 69, 0.85), var(--glow-gold);
}

.btn--outline {
    background: transparent;
    border-color: var(--gold);
    color: inherit;
}

.btn--outline:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn--ghost {
    background: transparent;
    color: inherit;
    padding-inline: 12px;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.3em;
}

.btn--ghost:hover {
    text-decoration-color: currentColor;
}

.btn--terracotta {
    background: var(--terracotta-ink);
    border-color: var(--terracotta-ink);
    color: var(--on-terracotta);
}

.btn--terracotta:hover {
    background: #873E27;
    border-color: #873E27;
}

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

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

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    isolation: isolate;
    color: var(--navy);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--cream);
    border-bottom: 1px solid rgba(214, 178, 111, 0.35);
    transition: opacity 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled::before {
    box-shadow: 0 8px 24px -16px rgba(30, 36, 72, 0.35);
}

.site-header--overlay {
    position: fixed;
    left: 0;
    right: 0;
    color: var(--on-dark);
    --focus-ring: var(--gold);
}

.site-header--overlay::before {
    opacity: 0;
}

.site-header--overlay::after {
    content: "";
    position: absolute;
    inset: 0 0 -24px;
    z-index: -2;
    background: linear-gradient(180deg, rgba(22, 27, 56, 0.55) 0%, rgba(22, 27, 56, 0) 100%);
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}

.site-header--overlay.is-scrolled,
.site-header--overlay.menu-open {
    color: var(--navy);
    --focus-ring: var(--navy);
}

.site-header--overlay.is-scrolled::before,
.site-header--overlay.menu-open::before {
    opacity: 1;
}

.site-header--overlay.is-scrolled::after,
.site-header--overlay.menu-open::after {
    opacity: 0;
}

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

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

.site-brand__mark {
    width: 28px;
    height: 28px;
    color: var(--gold);
    flex-shrink: 0;
}

.site-brand__text {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
    color: var(--navy);
}

.site-header--overlay .site-brand__text {
    color: var(--gold);
}

.site-header--overlay.is-scrolled .site-brand__text,
.site-header--overlay.menu-open .site-brand__text {
    color: var(--navy);
}

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

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

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

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

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

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

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    transform: scaleX(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);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 16px var(--gutter) 40px;
    background: var(--cream);
    color: var(--navy);
    border-top: 1px solid rgba(214, 178, 111, 0.35);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    transform: translateY(-8px);
    transition: transform 0.25s var(--ease), visibility 0s linear 0.25s;
    --focus-ring: var(--navy);
}

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

.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: 52px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(214, 178, 111, 0.35);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s var(--ease);
}

.site-nav__link:hover {
    color: var(--terracotta-ink);
}

.site-nav__cta .btn {
    width: 100%;
}

@media (min-width: 1024px) {
    .site-header__inner {
        gap: 20px;
    }

    .site-brand__mark {
        width: 32px;
        height: 32px;
    }

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

    .site-nav {
        position: static;
        z-index: auto;
        flex-direction: row;
        align-items: center;
        gap: 0;
        margin-left: auto;
        padding: 0;
        background: none;
        color: inherit;
        border: 0;
        overflow: visible;
        visibility: visible;
        transform: none;
        transition: none;
        --focus-ring: inherit;
    }

    .site-nav__list {
        flex-direction: row;
        gap: 2px;
    }

    .site-nav__link {
        min-height: 44px;
        padding: 0 14px;
        border: 0;
        border-radius: var(--radius-pill);
        font-family: var(--font-sans);
        font-size: 0.9375rem;
        font-weight: 500;
    }

    .site-nav__link:hover {
        color: inherit;
        text-decoration: underline;
        text-decoration-color: var(--gold);
        text-decoration-thickness: 1.5px;
        text-underline-offset: 0.4em;
    }

    .site-nav .site-nav__cta {
        display: none;
    }

    .header-actions {
        margin-left: 12px;
    }

    .header-actions .header-cta {
        min-height: 44px;
        padding: 0 24px;
        font-size: 0.9375rem;
    }

    .menu-toggle {
        display: none;
    }
}

/* ============================================
   SECTION HEADINGS
   ============================================ */

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

.section-head--left {
    margin-inline: 0;
    text-align: left;
}

.section-head__eyebrow {
    margin: 0 0 12px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta-ink);
}

.section-head__title {
    margin: 0 0 16px;
}

.section-head__intro {
    margin: 0;
    font-size: var(--fs-lead);
    color: var(--ink-muted);
}

.section-head--dark .section-head__eyebrow {
    color: var(--gold);
}

.section-head--dark .section-head__intro {
    color: var(--on-dark-muted);
}

.surface-terracotta .section-head--dark .section-head__eyebrow,
.surface-terracotta .section-head--dark .section-head__intro {
    color: var(--on-terracotta);
}

/* ============================================
   PROFILE CARDS
   ============================================ */

.profile-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 78%);
    gap: 18px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 8px var(--gutter) 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
}

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

@media (min-width: 768px) {
    .profile-grid {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        margin-inline: 0;
        padding: 0;
        overflow: visible;
    }
}

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

.profile-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px;
    background: var(--paper);
    color: var(--navy);
    border: 2px solid var(--gold);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 44px -20px rgba(22, 27, 56, 0.55), 0 0 32px -10px rgba(214, 178, 111, 0.6);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    --focus-ring: var(--navy);
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px -22px rgba(22, 27, 56, 0.6), 0 0 40px -8px rgba(214, 178, 111, 0.7);
}

.profile-card__media {
    aspect-ratio: 4 / 4.5;
    border-radius: 14px;
    overflow: hidden;
    background: var(--cream-2);
}

.profile-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    transition: transform 0.6s var(--ease);
}

.profile-card:hover .profile-card__media img {
    transform: scale(1.03);
}

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

.profile-card__title {
    margin: 0;
    font-size: 1.1875rem;
    line-height: 1.25;
}

.profile-card__age {
    color: var(--terracotta-ink);
}

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

.chip {
    padding: 4px 12px;
    border: 1px solid rgba(180, 138, 69, 0.55);
    border-radius: var(--radius-pill);
    background: var(--cream);
    color: var(--navy);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
}

.profile-card__intro {
    flex: 1;
    margin: 0;
    font-size: 1rem;
    color: var(--ink-muted);
}

.profile-card__cta {
    width: 100%;
}

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

.steps {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 48px;
}

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

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

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

.step__icon {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #3A4280 0%, var(--navy) 72%);
    color: var(--gold-light);
    box-shadow: 0 0 0 7px rgba(214, 178, 111, 0.08), 0 0 40px -4px rgba(214, 178, 111, 0.5);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step:hover .step__icon {
    transform: translateY(-3px);
    box-shadow: 0 0 0 7px rgba(214, 178, 111, 0.12), 0 0 52px -2px rgba(214, 178, 111, 0.6);
}

.step__label {
    margin: 0 0 6px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.step__title {
    margin: 0 0 10px;
    color: var(--on-dark);
}

.step__text {
    max-width: 280px;
    margin: 0;
    color: var(--on-dark-muted);
}

/* ============================================
   FEATURES
   ============================================ */

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

.feature-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.feature-item__icon {
    width: 28px;
    height: 28px;
    margin-top: 2px;
    color: var(--gold-deep);
    filter: drop-shadow(0 0 6px rgba(214, 178, 111, 0.55));
}

.feature-item__title {
    margin: 0 0 6px;
    font-size: 1.25rem;
}

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

/* ============================================
   SAFETY CARDS
   ============================================ */

.safety-card {
    height: 100%;
    padding: 28px 24px;
    background: var(--paper);
    color: var(--navy);
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s var(--ease);
}

.safety-card:hover {
    transform: translateY(-3px);
}

.safety-card__title {
    margin: 0 0 10px;
    font-size: 1.3125rem;
}

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

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

.faq {
    max-width: 760px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.faq__item {
    background: var(--paper);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s var(--ease);
}

.faq__item.is-open {
    box-shadow: var(--shadow);
}

.faq__question {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
}

.faq__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 56px;
    padding: 14px 20px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--navy);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq__trigger:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 2px;
}

.faq__trigger .chevron {
    flex-shrink: 0;
    color: var(--gold-deep);
    transition: transform 0.2s var(--ease);
}

.faq__trigger[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.faq__panel {
    padding: 0 20px 20px;
}

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

.faq__panel a {
    color: var(--terracotta-ink);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.has-js .faq__panel.is-collapsed {
    display: none;
}

/* ============================================
   STORE BADGES
   ============================================ */

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    min-width: 168px;
    padding: 8px 20px 8px 14px;
    border: 1.5px solid rgba(247, 241, 232, 0.4);
    border-radius: var(--radius-sm);
    background: #0F1226;
    color: #FFFFFF;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 24px -12px rgba(15, 18, 38, 0.7);
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.store-badge:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: 0 14px 30px -12px rgba(15, 18, 38, 0.8);
}

.store-badge__glyph {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

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

.store-badge__small {
    font-size: 0.875rem;
    font-weight: 400;
}

.store-badge__big {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

.legal-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(48px, 8vw, 96px) 0 clamp(96px, 12vw, 150px);
    background: var(--navy);
    color: var(--on-dark);
    clip-path: ellipse(120% 100% at 50% 0%);
    --focus-ring: var(--gold);
}

.legal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 80% at 22% 20%, rgba(214, 178, 111, 0.16) 0%, rgba(214, 178, 111, 0) 70%),
        radial-gradient(50% 70% at 85% 90%, rgba(58, 66, 128, 0.7) 0%, rgba(58, 66, 128, 0) 70%);
}

.legal-hero > .connect-lines {
    z-index: -1;
}

.legal-hero__inner {
    max-width: calc(860px + 2 * var(--gutter));
    text-align: center;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    font-size: 0.9375rem;
    color: var(--on-dark-muted);
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--gold);
}

.breadcrumb a {
    color: var(--on-dark);
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 0.2em;
}

.legal-hero__title {
    margin: 0 0 16px;
    font-size: clamp(2.25rem, 4.5vw + 1rem, 3.75rem);
}

.legal-hero__updated {
    margin: 0 0 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
}

.legal-hero__summary {
    max-width: 680px;
    margin: 0 auto;
    font-size: var(--fs-lead);
    color: var(--on-dark-muted);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 8px;
    padding-bottom: var(--section-y);
}

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

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

.toc {
    background: var(--paper);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.toc__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 12px 20px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    border-radius: var(--radius);
}

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

.toc__summary .chevron {
    color: var(--gold-deep);
    transition: transform 0.2s var(--ease);
}

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

.toc__nav ol {
    list-style: none;
    margin: 0;
    padding: 0 10px 14px;
}

.toc__nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.9375rem;
    line-height: 1.35;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.toc__nav a:hover {
    color: var(--navy);
    background: var(--cream);
}

.toc__nav a.is-active {
    color: var(--terracotta-ink);
    background: rgba(192, 105, 76, 0.08);
    font-weight: 600;
}

@media (min-width: 1024px) {
    .toc__summary {
        padding-bottom: 6px;
        font-family: var(--font-serif);
        font-size: 1.125rem;
    }

    .toc__nav a {
        min-height: 38px;
    }
}

.prose {
    max-width: 760px;
    color: var(--navy);
}

.prose h2 {
    margin: 2.4em 0 0.6em;
    font-size: clamp(1.625rem, 1.6vw + 1.1rem, 2.125rem);
    line-height: 1.2;
}

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

.prose h3 {
    margin: 1.8em 0 0.5em;
    font-family: var(--font-sans);
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: 0;
}

.prose p,
.prose li {
    color: #33385A;
}

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

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

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

.prose a {
    color: var(--terracotta-ink);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.prose a:hover {
    color: var(--navy);
}

.prose strong {
    color: var(--navy);
}

.callout {
    margin: 0 0 2em;
    padding: 24px 28px;
    background: var(--paper);
    border-left: 4px solid var(--terracotta);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.prose .legal-return {
    margin: 2.5em 0 0;
}

.prose a.btn {
    color: var(--navy);
    text-decoration: none;
}

.prose a.btn:hover {
    color: var(--navy);
}

/* Cookie category table */
.cookie-table-wrap {
    margin: 1.5em 0 2em;
    background: var(--paper);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.cookie-table thead th {
    padding: 14px 16px;
    background: var(--navy);
    color: var(--on-dark);
    font-weight: 600;
    text-align: left;
}

.cookie-table tbody th,
.cookie-table tbody td {
    padding: 14px 16px;
    vertical-align: top;
    text-align: left;
    color: #33385A;
    border-top: 1px solid var(--hairline);
}

.cookie-table tbody tr:first-child th,
.cookie-table tbody tr:first-child td {
    border-top: 0;
}

.cookie-table tbody th {
    color: var(--navy);
    font-weight: 600;
}

@media (max-width: 767px) {
    .cookie-table,
    .cookie-table tbody,
    .cookie-table tr,
    .cookie-table th,
    .cookie-table td {
        display: block;
        width: 100%;
    }

    .cookie-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .cookie-table tbody tr {
        padding: 8px 0;
        border-top: 1px solid var(--hairline);
    }

    .cookie-table tbody tr:first-child {
        border-top: 0;
    }

    .cookie-table tbody th,
    .cookie-table tbody td {
        padding: 6px 16px;
        border-top: 0;
    }

    .cookie-table tbody tr:first-child th,
    .cookie-table tbody tr:first-child td {
        border-top: 0;
    }

    .cookie-table tbody th::before,
    .cookie-table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--terracotta-ink);
    }
}

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

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: var(--navy);
    color: var(--on-dark);
    --focus-ring: var(--gold);
}

.site-footer > .connect-lines {
    z-index: -1;
}

.site-footer__inner {
    padding-top: clamp(56px, 7vw, 80px);
    padding-bottom: 28px;
}

.site-footer__grid {
    display: grid;
    gap: 40px;
}

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

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-bottom: 14px;
    text-decoration: none;
    color: var(--gold);
}

.footer-brand__mark {
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 0 8px rgba(214, 178, 111, 0.45));
}

.footer-brand__text {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
}

.site-footer__about {
    max-width: 420px;
    margin: 0;
    color: var(--on-dark-muted);
}

.footer-nav__title {
    margin: 0 0 10px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

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

.footer-nav__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--on-dark-muted);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.footer-nav__list a:hover {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
    font-size: 0.9375rem;
    color: var(--on-dark-muted);
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__age {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.age-badge {
    display: inline-grid;
    place-items: center;
    min-width: 40px;
    height: 28px;
    padding: 0 8px;
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
}

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

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-h) + 40px) 0 72px;
    background-color: var(--navy-3);
    color: var(--on-dark);
    --focus-ring: var(--gold);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("./assets/71219420b054f5168800cbf89ff3076c.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 80% 50%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 40% at 30% 72%, rgba(214, 178, 111, 0.16) 0%, rgba(214, 178, 111, 0) 70%),
        linear-gradient(0deg, rgba(22, 27, 56, 0.84) 0%, rgba(22, 27, 56, 0.62) 40%, rgba(22, 27, 56, 0) 70%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    z-index: -1;
    background: linear-gradient(180deg, rgba(247, 241, 232, 0) 0%, var(--cream) 100%);
    pointer-events: none;
}

.hero > .container {
    width: 100%;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    margin: 0 0 18px;
    text-shadow: 0 2px 22px rgba(22, 27, 56, 0.45);
}

.hero__brand {
    display: block;
    font-size: clamp(3rem, 5.5vw + 1.25rem, 5.75rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--gold);
}

.hero__tagline {
    display: block;
    margin-top: 12px;
    font-size: clamp(1.375rem, 1.2vw + 1.05rem, 2.125rem);
    line-height: 1.2;
    color: var(--on-dark);
}

.hero__text {
    max-width: 520px;
    margin: 0 0 28px;
    font-size: var(--fs-lead);
    color: var(--on-dark);
    text-shadow: 0 1px 14px rgba(22, 27, 56, 0.5);
}

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

.hero__secondary {
    color: var(--on-dark);
}

@media (min-width: 1024px) {
    .hero {
        align-items: center;
        min-height: clamp(640px, 92vh, 900px);
        padding: calc(var(--header-h) + 48px) 0 104px;
    }

    .hero__bg {
        background-position: 50% 50%;
    }

    .hero::before {
        background:
            radial-gradient(38% 50% at 22% 52%, rgba(214, 178, 111, 0.18) 0%, rgba(214, 178, 111, 0) 70%),
            linear-gradient(90deg, rgba(22, 27, 56, 0.7) 0%, rgba(22, 27, 56, 0.45) 32%, rgba(22, 27, 56, 0) 55%);
    }

    .hero::after {
        height: 72px;
    }
}

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

.value {
    background: var(--cream);
}

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

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

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.value-item__photo {
    width: clamp(200px, 18vw, 232px);
    aspect-ratio: 1;
    margin-bottom: 24px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    overflow: hidden;
    background: var(--cream-2);
    box-shadow: 0 0 0 8px rgba(214, 178, 111, 0.12), 0 18px 40px -18px rgba(59, 36, 20, 0.45), 0 0 36px -6px rgba(214, 178, 111, 0.55);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

@media (min-width: 768px) and (max-width: 1023px) {
    .value-item__photo {
        width: 184px;
    }
}

.value-item:hover .value-item__photo {
    transform: translateY(-4px);
    box-shadow: 0 0 0 8px rgba(214, 178, 111, 0.16), 0 24px 44px -18px rgba(59, 36, 20, 0.5), 0 0 44px -4px rgba(214, 178, 111, 0.65);
}

.value-item__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
}

.value-item__title {
    margin: 0 0 10px;
}

.value-item__text {
    max-width: 320px;
    margin: 0;
    color: var(--ink-muted);
}

.value__more {
    margin: clamp(40px, 5vw, 56px) 0 0;
    text-align: center;
    font-size: var(--fs-lead);
    color: var(--ink-muted);
}

.value__more a {
    color: var(--terracotta-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.value__more a:hover {
    color: var(--navy);
}

/* ============================================
   HOME - MATCHES (terracotta / navy split)
   ============================================ */

.matches {
    isolation: isolate;
    padding-bottom: clamp(48px, 6vw, 72px);
    background-image:
        radial-gradient(circle at 6% 14%, rgba(255, 228, 186, 0.3) 0 2px, rgba(255, 228, 186, 0) 8px),
        radial-gradient(circle at 15% 34%, rgba(255, 228, 186, 0.2) 0 3px, rgba(255, 228, 186, 0) 10px),
        radial-gradient(circle at 28% 7%, rgba(255, 228, 186, 0.22) 0 2px, rgba(255, 228, 186, 0) 7px),
        radial-gradient(circle at 74% 9%, rgba(255, 228, 186, 0.24) 0 2px, rgba(255, 228, 186, 0) 8px),
        radial-gradient(circle at 88% 20%, rgba(255, 228, 186, 0.3) 0 3px, rgba(255, 228, 186, 0) 10px),
        radial-gradient(circle at 95% 38%, rgba(255, 228, 186, 0.2) 0 2px, rgba(255, 228, 186, 0) 7px);
}

.matches__stage {
    position: relative;
}

.matches__stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 3000px;
    transform: translateX(-50%);
    background: var(--navy);
    pointer-events: none;
}

.matches__cta {
    margin-top: 40px;
    text-align: center;
    --focus-ring: var(--gold);
}

/* ============================================
   HOME - HOW IT WORKS
   ============================================ */

.how {
    isolation: isolate;
    padding-top: clamp(40px, 5vw, 64px);
}

.how::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 55%;
    width: min(1200px, 160%);
    aspect-ratio: 2 / 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(58, 66, 128, 0.7) 0%, rgba(58, 66, 128, 0) 100%);
    pointer-events: none;
}

.how-track {
    position: relative;
}

.how-track__line {
    display: none;
}

.how-track__line path {
    fill: none;
    stroke: var(--gold);
}

.how-track__glow {
    stroke-width: 8;
    opacity: 0.18;
}

.how-track__stroke {
    stroke-width: 2;
    opacity: 0.85;
}

@media (max-width: 767px) {
    .how .step {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        column-gap: 20px;
        align-items: start;
        text-align: left;
    }

    .how .step__icon {
        grid-row: 1 / span 3;
        width: 88px;
        height: 88px;
        margin: 0;
    }

    .how .step__icon svg {
        width: 40px;
        height: 40px;
    }

    .how .step > :not(.step__icon) {
        grid-column: 2;
    }

    .how .step__label {
        margin-top: 10px;
    }

    .how .step:not(:last-child)::before {
        content: "";
        position: absolute;
        z-index: -1;
        left: 43px;
        top: 44px;
        width: 2px;
        height: calc(100% + 48px);
        background: var(--gold);
        box-shadow: 0 0 8px rgba(214, 178, 111, 0.55);
    }
}

@media (min-width: 1024px) {
    .how-track__line {
        display: block;
        position: absolute;
        z-index: 0;
        top: 56px;
        left: 12.5%;
        width: 75%;
        height: 8px;
        max-width: none;
        overflow: visible;
    }
}

.how__cta {
    margin-top: clamp(48px, 6vw, 64px);
    text-align: center;
}

/* ============================================
   HOME - FEATURES
   ============================================ */

.features {
    background: var(--cream);
}

.features__grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 1024px) {
    .features__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: 80px;
        align-items: center;
    }
}

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

.feature-list {
    padding: 4px 0;
}

/* ============================================
   HOME - SAFETY
   ============================================ */

.safety {
    isolation: isolate;
    background: var(--cream);
    padding-bottom: clamp(40px, 5vw, 56px);
}

.safety__top {
    background: var(--navy);
    color: var(--on-dark);
    text-align: center;
    --focus-ring: var(--gold);
}

.safety__shield {
    width: 64px;
    height: 72px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 14px rgba(214, 178, 111, 0.45));
}

.safety__cards {
    position: relative;
    display: grid;
    gap: 20px;
    max-width: 560px;
    margin-inline: auto;
}

.safety__cards::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: calc(100% - 96px);
    width: 120vw;
    height: 4000px;
    transform: translateX(-50%);
    background: var(--navy);
    border-radius: 0 0 50% 50% / 0 0 140px 140px;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .safety__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        max-width: none;
    }

    .safety__cards::before {
        bottom: 50%;
    }
}

.safety__tips {
    list-style: none;
    display: grid;
    gap: 16px;
    max-width: 980px;
    margin: clamp(40px, 5vw, 56px) auto 0;
    padding: 0;
}

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

.safety__tip {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.safety__tip-icon {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    color: var(--gold-deep);
}

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

.safety__tip strong {
    color: var(--navy);
}

.safety__more {
    margin: 28px 0 0;
    text-align: center;
    color: var(--ink-muted);
}

.safety__more a {
    color: var(--terracotta-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.safety__more a:hover {
    color: var(--navy);
}

/* ============================================
   HOME - DATING AGAIN (PAA)
   ============================================ */

.dating-again {
    padding-top: clamp(40px, 5vw, 64px);
    background: var(--cream);
}

.dating-again__inner {
    max-width: calc(720px + 2 * var(--gutter));
    text-align: center;
}

.dating-again__mark {
    width: 44px;
    height: 44px;
    margin: 0 auto 20px;
    color: var(--gold-deep);
    filter: drop-shadow(0 0 10px rgba(214, 178, 111, 0.6));
}

.dating-again h2 {
    margin-bottom: 20px;
}

.dating-again p {
    color: var(--ink-muted);
}

.dating-again .dating-again__answer {
    font-size: 1.1875rem;
    font-weight: 500;
    color: var(--navy);
}

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

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

.emotional {
    position: relative;
    isolation: isolate;
    padding: 290px 0 64px;
    background: var(--umber);
    color: var(--on-dark);
    text-align: center;
    --focus-ring: var(--gold);
}

.emotional__media {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 440px;
    z-index: 0;
    background-image: url("./assets/886efa7ba682612fb2da0e4c5f5943f0.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.emotional__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--cream) 0, rgba(247, 241, 232, 0) 40px),
        linear-gradient(180deg, rgba(59, 36, 20, 0) 48%, rgba(59, 36, 20, 0.72) 70%, var(--umber) 100%);
}

.emotional > .connect-lines {
    z-index: 1;
}

.emotional__inner {
    position: relative;
    z-index: 2;
    max-width: calc(780px + 2 * var(--gutter));
}

.emotional__title {
    margin: 0 0 18px;
    font-size: var(--fs-h2);
    color: var(--on-dark);
    text-shadow: 0 2px 20px rgba(59, 36, 20, 0.6);
}

.emotional__text {
    margin: 0 auto 28px;
    font-size: var(--fs-lead);
    color: var(--on-dark);
    text-shadow: 0 1px 12px rgba(59, 36, 20, 0.6);
}

@media (min-width: 768px) {
    .emotional {
        padding: 36vw 0 clamp(64px, 7vw, 96px);
    }

    .emotional__media {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

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

.app {
    isolation: isolate;
    background-image:
        radial-gradient(circle at 8% 18%, rgba(255, 228, 186, 0.28) 0 2px, rgba(255, 228, 186, 0) 8px),
        radial-gradient(circle at 18% 82%, rgba(255, 228, 186, 0.22) 0 3px, rgba(255, 228, 186, 0) 10px),
        radial-gradient(circle at 42% 12%, rgba(255, 228, 186, 0.2) 0 2px, rgba(255, 228, 186, 0) 7px),
        radial-gradient(circle at 90% 86%, rgba(255, 228, 186, 0.24) 0 2px, rgba(255, 228, 186, 0) 8px);
}

.app__grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

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

    .app__visual {
        order: -1;
    }
}

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

.app__visual {
    position: relative;
    width: min(100%, 440px);
    height: 520px;
    margin-inline: auto;
}

.app__visual::before {
    content: "";
    position: absolute;
    inset: 6% -10%;
    background: radial-gradient(closest-side, rgba(255, 222, 176, 0.45) 0%, rgba(255, 222, 176, 0) 100%);
    pointer-events: none;
}

.phone {
    position: absolute;
    padding: 9px;
    border-radius: 40px;
    background: #14172E;
    box-shadow: 0 30px 60px -24px rgba(40, 16, 6, 0.65), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.phone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
}

.phone--back {
    left: 2%;
    top: 34px;
    width: 210px;
    height: 430px;
    transform: rotate(-8deg);
}

.phone--front {
    right: 4%;
    top: 8px;
    z-index: 1;
    width: 244px;
    height: 496px;
}

.phone__screen--splash {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(165deg, #D9876A 0%, var(--terracotta) 45%, #8F4630 100%);
    color: var(--on-terracotta);
}

.phone__splash-mark {
    width: 64px;
    height: 64px;
    color: var(--gold-light);
    filter: drop-shadow(0 0 12px rgba(255, 226, 170, 0.6));
}

.phone__splash-word {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
}

.phone__screen--profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 18px 64px;
    background: var(--paper);
    color: var(--navy);
}

.phone__notch {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 72px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: var(--radius-pill);
    background: #14172E;
}

.app-ui__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    font-weight: 600;
}

.app-ui__logo {
    width: 18px;
    height: 18px;
    color: var(--gold-deep);
}

.app-ui__avatar {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    object-fit: cover;
    box-shadow: 0 0 22px -6px rgba(214, 178, 111, 0.7);
}

.app-ui__name {
    margin: 14px 0 10px;
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
}

.app-ui__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.app-ui__chips li {
    padding: 2px 9px;
    border: 1px solid rgba(180, 138, 69, 0.55);
    border-radius: var(--radius-pill);
    background: var(--cream);
    font-size: 0.6875rem;
    font-weight: 500;
}

.app-ui__bio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-bottom: 16px;
}

.app-ui__bio span {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: #DCD5C9;
}

.app-ui__bio span:first-child { width: 88%; }
.app-ui__bio span:last-child { width: 64%; }

.app-ui__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    border-radius: var(--radius-pill);
    background: var(--terracotta-ink);
    color: var(--on-terracotta);
    font-size: 0.8125rem;
    font-weight: 600;
}

.app-ui__tabs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 52px;
    border-top: 1px solid rgba(214, 178, 111, 0.35);
    background: var(--paper);
    color: var(--ink-muted);
}

.app-ui__tabs svg:first-child {
    color: var(--terracotta-ink);
}

.app-ui__tabs svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 400px) {
    .app__visual {
        height: 470px;
    }

    .phone--back {
        width: 190px;
        height: 390px;
    }

    .phone--front {
        right: 0;
        width: 226px;
        height: 456px;
    }

    .app-ui__avatar {
        width: 96px;
        height: 96px;
    }
}

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

.faq-section {
    background: var(--cream);
}

.final-cta {
    padding-top: 0;
    background: var(--cream);
}

.final-cta__card {
    position: relative;
    max-width: 880px;
    margin-inline: auto;
    padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 64px);
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(70% 80% at 50% 0%, rgba(214, 178, 111, 0.18) 0%, rgba(214, 178, 111, 0) 62%),
        radial-gradient(60% 80% at 50% 100%, rgba(58, 66, 128, 0.85) 0%, rgba(58, 66, 128, 0) 70%),
        var(--navy);
    color: var(--on-dark);
    text-align: center;
    box-shadow: var(--shadow-lg), 0 0 40px -14px rgba(214, 178, 111, 0.55);
    --focus-ring: var(--gold);
}

.final-cta__emblem {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 16px rgba(214, 178, 111, 0.6));
}

.final-cta__title {
    margin: 0 0 14px;
    font-size: var(--fs-h2);
}

.final-cta__text {
    max-width: 560px;
    margin: 0 auto 28px;
    font-size: var(--fs-lead);
    color: var(--on-dark-muted);
}

@media (max-width: 374px) {
    .final-cta__btn {
        white-space: normal;
        padding-inline: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .value-item:hover .value-item__photo {
        transform: none;
    }
}

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

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

    .btn:hover,
    .profile-card:hover,
    .profile-card:hover .profile-card__media img,
    .step:hover .step__icon,
    .safety-card:hover,
    .store-badge:hover {
        transform: none;
    }
}