/*
 * 2nd Chances Review - shared design system
 * Warm ivory surfaces, deep navy type, one honey-gold accent.
 */

:root {
    --color-bg: #F8F3E9;
    --color-panel: #F1E8D8;
    --color-surface: #FBF7EF;
    --color-card: #FFFCF6;
    --color-navy: #1F3352;
    --color-navy-deep: #16263E;
    --color-navy-soft: #2B4466;
    --color-text: #2B2F36;
    --color-muted: #555B66;
    --color-gold: #C79A4A;
    --color-gold-light: #E2C07E;
    --color-gold-deep: #7F5B1C;
    --color-gold-line: rgba(199, 154, 74, 0.55);
    --color-gold-soft: rgba(199, 154, 74, 0.14);
    --color-ivory: #F8F3E9;
    --color-on-dark-muted: #C9D1DE;

    --gradient-gold: linear-gradient(180deg, #E0BC78 0%, #C79A4A 100%);
    --gradient-gold-hover: linear-gradient(180deg, #E6C687 0%, #CFA457 100%);

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

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

    --shadow-sm: 0 2px 8px rgba(31, 51, 82, 0.06);
    --shadow-md: 0 12px 30px rgba(31, 51, 82, 0.09);
    --shadow-lg: 0 24px 60px rgba(22, 38, 62, 0.24);
    --shadow-gold: 0 8px 22px rgba(199, 154, 74, 0.35);

    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-space: clamp(4rem, 8vw, 6.5rem);
    --header-bottom: 64px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 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%;
}

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

body {
    margin: 0;
    min-width: 320px;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

h1 { font-size: clamp(2.25rem, 4.5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.75rem, 2.4vw + 1rem, 2.5rem); }
h3 { font-size: clamp(1.1875rem, 0.6vw + 1rem, 1.375rem); font-weight: 600; }

p {
    margin: 0 0 1em;
}

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

a {
    color: var(--color-navy);
    text-decoration-color: var(--color-gold);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--color-gold-deep);
}

img {
    display: block;
}

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

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

::selection {
    background: var(--color-gold-light);
    color: var(--color-navy-deep);
}

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

main:focus {
    outline: none;
}

[id] {
    scroll-margin-top: 5.5rem;
}

.visually-hidden {
    position: absolute;
    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;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 200;
    padding: 0.75rem 1rem;
    background: var(--color-navy);
    color: var(--color-ivory);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
    color: var(--color-ivory);
}

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

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

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

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

.section--navy {
    background: var(--color-navy);
    color: var(--color-ivory);
}

.section--navy h2,
.section--navy h3 {
    color: var(--color-ivory);
}

.section-header {
    position: relative;
    max-width: 760px;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-header--center {
    margin-inline: auto;
    text-align: center;
}

.section-header--left {
    text-align: left;
}

.section-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.section-header--left .section-title {
    justify-content: flex-start;
}

.section-title__icon {
    display: inline-flex;
    color: var(--color-gold);
}

.section-title__icon .icon {
    width: 1.1em;
    height: 1.1em;
}

.section-header__intro {
    color: var(--color-muted);
    font-size: 1.0625rem;
}

.section-header--dark .section-title {
    color: var(--color-ivory);
}

.section-header--dark .section-header__intro {
    color: var(--color-on-dark-muted);
}

.eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-deep);
}

.section-header--dark .eyebrow {
    color: var(--color-gold-light);
}

.lead {
    font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
    line-height: 1.7;
}

.fine-print {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--color-gold-line);
    border-radius: var(--radius-pill);
    background: rgba(248, 243, 233, 0.94);
    color: var(--color-navy);
    font-size: 0.875rem;
    line-height: 1.45;
}

/* ============================================
   ICONS & HAIRLINES
   ============================================ */

.icon {
    width: 1.5em;
    height: 1.5em;
    flex-shrink: 0;
}

.hairline {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    pointer-events: none;
    overflow: visible;
}

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

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

.btn:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
}

.btn--primary {
    background: var(--gradient-gold);
    color: var(--color-navy-deep);
    border-color: #B88B3E;
    box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
    background: var(--gradient-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(199, 154, 74, 0.42);
}

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

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

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

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

.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-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 60px;
    min-width: 220px;
    padding: 0.6rem 1.4rem 0.6rem 1.1rem;
    border: 1.5px solid #B88B3E;
    border-radius: var(--radius-md);
    background: var(--gradient-gold);
    color: var(--color-navy-deep);
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.store-btn:hover {
    background: var(--gradient-gold-hover);
    transform: translateY(-2px);
}

.store-btn:focus-visible {
    outline: 3px solid var(--color-gold-light);
    outline-offset: 3px;
}

.store-btn__icon .icon {
    width: 1.75rem;
    height: 1.75rem;
}

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

.store-btn__small {
    font-size: 0.875rem;
    font-weight: 500;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-gold);
}

.site-header__note-bar {
    display: none;
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
}

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

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

.site-brand__text {
    font-family: var(--font-heading);
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.site-brand__accent {
    color: var(--color-gold-deep);
}

.site-brand--light,
.site-brand--light:hover {
    color: var(--color-ivory);
}

.site-brand--light .site-brand__accent {
    color: var(--color-gold-light);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.menu-toggle__bar {
    display: block;
    width: 20px;
    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) {
    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);
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    z-index: 99;
    display: none;
    padding: 1rem var(--gutter) 2rem;
    background: var(--color-bg);
    border-top: 1px solid var(--color-gold-line);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.site-nav.is-open {
    display: block;
}

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

.site-nav__list li {
    border-bottom: 1px solid rgba(199, 154, 74, 0.3);
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding-block: 0.5rem;
    color: var(--color-navy);
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
}

.site-nav__link:hover {
    color: var(--color-gold-deep);
}

.site-nav__extra {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.site-nav__note {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-muted);
}

@media (min-width: 640px) {
    .site-header__actions .header-cta {
        display: inline-flex;
    }

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

@media (min-width: 1024px) {
    .site-header {
        top: -36px;
    }

    .site-header__note-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 36px;
        background: var(--color-panel);
        border-bottom: 1px solid rgba(199, 154, 74, 0.3);
    }

    .site-header__note {
        margin: 0;
        font-size: 0.875rem;
        color: var(--color-muted);
        letter-spacing: 0.01em;
    }

    .site-header__bar {
        min-height: 76px;
        gap: 1.5rem;
    }

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

    .site-nav {
        position: static;
        display: block;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .site-nav__list li {
        border: 0;
    }

    .site-nav__link {
        position: relative;
        min-height: 44px;
        font-size: 0.9375rem;
        white-space: nowrap;
    }

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

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

    .site-nav__extra,
    .menu-toggle {
        display: none;
    }

    [id] {
        scroll-margin-top: 6.5rem;
    }
}

@media (min-width: 1280px) {
    .site-nav__list {
        gap: 1.75rem;
    }
}

/* ============================================
   SMALL SHARED COMPONENTS
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.6rem;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-pill);
    background: var(--color-card);
    color: var(--color-navy);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    vertical-align: middle;
}

.badge--inline {
    margin-left: 0.25rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 0 0.9rem;
    padding: 0;
    list-style: none;
}

.tag {
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--color-panel);
    color: var(--color-navy);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Profile card */
.profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 1.75rem 1.5rem 1.6rem;
    border: 1px solid var(--color-gold-line);
    border-top: 2px solid var(--color-gold);
    border-radius: var(--radius-lg);
    background: var(--color-card);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(31, 51, 82, 0.13);
}

.profile-card__avatar {
    width: 136px;
    height: 136px;
    margin-bottom: 1.1rem;
    padding: 4px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    background: var(--color-card);
}

.profile-card__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
}

.profile-card__name {
    margin-bottom: 0.6rem;
    font-size: 1.375rem;
}

.profile-card__age {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-muted);
}

.profile-card__intro {
    flex-grow: 1;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-muted);
}

/* Steps */
.steps {
    position: relative;
    display: grid;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.step__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 0.75rem;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    background: var(--color-navy);
    color: var(--color-ivory);
    font-size: 0.9375rem;
    font-weight: 600;
}

.step__circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    background: var(--color-surface);
    color: var(--color-navy);
    box-shadow: var(--shadow-md);
}

.step__circle .icon {
    width: 48px;
    height: 48px;
    stroke-width: 1.3;
}

.step__title {
    position: relative;
    margin-bottom: 0.5rem;
    padding-bottom: 0.6rem;
}

.step__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: var(--color-navy);
    transform: translateX(-50%);
}

.step__text {
    max-width: 30ch;
    font-size: 1rem;
    color: var(--color-muted);
}

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

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

/* Feature cards */
.feature-grid {
    display: grid;
    gap: 1rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    height: 100%;
    padding: 1.5rem;
    border: 1px solid var(--color-gold-line);
    border-radius: var(--radius-md);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.feature-card--light {
    background: var(--color-surface);
}

.feature-card--dark {
    background: var(--color-navy);
    box-shadow: inset 0 0 48px rgba(199, 154, 74, 0.14);
}

.feature-card--dark:hover {
    box-shadow: inset 0 0 48px rgba(199, 154, 74, 0.14), var(--shadow-md);
}

.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-gold-soft);
    color: var(--color-gold-deep);
}

.feature-card--dark .feature-card__icon {
    background: rgba(226, 192, 126, 0.14);
    color: var(--color-gold-light);
}

.feature-card__icon .icon {
    width: 30px;
    height: 30px;
}

.feature-card__title {
    margin-bottom: 0.4rem;
    font-size: 1.1875rem;
}

.feature-card__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.feature-card--dark .feature-card__title {
    color: var(--color-ivory);
}

.feature-card--dark .feature-card__text {
    color: var(--color-on-dark-muted);
}

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

/* Pros & cons points */
.review-list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.review-point {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1rem;
    line-height: 1.6;
}

.review-point__marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 0.05rem;
    border-radius: 50%;
}

.review-point__marker .icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}

.review-point--pro .review-point__marker {
    background: var(--color-gold);
    color: var(--color-navy-deep);
}

.review-point--con .review-point__marker {
    border: 1.5px solid var(--color-navy);
    color: var(--color-navy);
}

/* Data table */
.data-table {
    margin: 0;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-sm);
    background: var(--color-card);
    overflow-x: auto;
}

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

.data-table caption {
    padding: 0.85rem 1rem;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-navy);
    border-bottom: 1px solid var(--color-gold-line);
}

.data-table th,
.data-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
}

.data-table--navy thead th {
    background: var(--color-navy);
    color: var(--color-ivory);
    font-weight: 600;
}

.data-table--outline thead th {
    background: var(--color-surface);
    color: var(--color-navy);
    font-weight: 600;
    border-bottom: 1px solid var(--color-gold);
}

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

.data-table tbody tr + tr {
    border-top: 1px solid rgba(199, 154, 74, 0.22);
}

.data-table tbody th {
    font-weight: 600;
    color: var(--color-navy);
    white-space: nowrap;
}

.data-table:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
}

/* FAQ accordion */
.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
    max-width: 860px;
    margin-inline: auto;
}

.faq-item {
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    transition: box-shadow 0.25s var(--ease);
}

.faq-item.is-open {
    box-shadow: var(--shadow-sm);
}

.faq-item__heading {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
}

.faq-item__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 56px;
    padding: 1rem 1.25rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-navy);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.faq-item__trigger:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 2px;
}

.faq-item__icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-gold-deep);
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease);
}

.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__panel {
    display: grid;
    grid-template-rows: 1fr;
}

.js .faq-item__panel {
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 0.3s var(--ease), visibility 0.3s;
}

.js .faq-item.is-open .faq-item__panel {
    grid-template-rows: 1fr;
    visibility: visible;
}

.faq-item__inner {
    min-height: 0;
    overflow: hidden;
}

.faq-item__answer {
    margin: 0;
    padding: 0 1.25rem 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* Notice card */
.notice-card {
    margin-bottom: 2.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-lg);
    background: var(--color-panel);
}

.notice-card__title {
    font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
}

.notice-card__body p {
    font-size: 1rem;
}

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

.legal-page {
    padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-space);
}

.legal-header {
    max-width: 760px;
    margin: 0 auto clamp(2rem, 5vw, 3.5rem);
    text-align: center;
}

.legal-header::after {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    margin: 1.75rem auto 0;
    background: var(--color-gold);
}

.legal-header__title {
    font-size: clamp(2rem, 3.5vw + 1rem, 3.25rem);
}

.legal-header__summary {
    color: var(--color-muted);
}

.legal-header__updated {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-navy);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.legal-toc {
    padding: 1.25rem 1.25rem 1rem;
    border: 1px solid var(--color-gold-line);
    border-radius: var(--radius-md);
    background: var(--color-surface);
}

.legal-toc__title {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-deep);
}

.legal-toc__list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.legal-toc__list li {
    padding-block: 0.3rem;
}

.legal-toc__list a {
    color: var(--color-navy);
    text-decoration: none;
}

.legal-toc__list a:hover,
.legal-toc__list a:focus-visible {
    text-decoration: underline;
    color: var(--color-gold-deep);
}

.legal-content {
    max-width: 720px;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.legal-content > section + section {
    margin-top: 2.5rem;
}

.legal-content > .notice-card + section {
    margin-top: 0;
}

.legal-content h2 {
    font-size: clamp(1.4rem, 1.2vw + 1rem, 1.875rem);
}

.legal-content h3 {
    margin-top: 1.5rem;
    font-size: 1.1875rem;
}

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

.legal-content li + li {
    margin-top: 0.4rem;
}

.legal-content .data-table {
    margin-block: 1.5rem;
}

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

    .legal-toc {
        position: sticky;
        top: 6.5rem;
    }
}

.back-link-wrap {
    margin-top: 3rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--color-gold);
}

.back-link .icon {
    width: 1.1em;
    height: 1.1em;
    color: var(--color-gold-deep);
    transition: transform 0.2s var(--ease);
}

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

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

.site-footer {
    position: relative;
    margin-top: 0;
    background: var(--color-navy);
    color: var(--color-ivory);
    overflow: clip;
}

.site-footer__line {
    display: block;
    width: 100%;
    height: 48px;
    max-width: none;
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.site-footer__title {
    margin-bottom: 0.85rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-ivory);
}

.site-footer__text {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-on-dark-muted);
}

.site-footer__col--brand .site-brand {
    margin-bottom: 0.75rem;
}

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

.site-footer__list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--color-on-dark-muted);
    font-size: 1rem;
    text-decoration: none;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
    color: var(--color-gold-light);
    text-decoration: underline;
}

.site-footer a:focus-visible {
    outline-color: var(--color-gold-light);
}

.site-footer__bottom {
    background: var(--color-navy-deep);
    border-top: 1px solid rgba(199, 154, 74, 0.35);
}

.site-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-block: 1.1rem;
    font-size: 0.875rem;
    color: var(--color-on-dark-muted);
    text-align: center;
}

.site-footer__bottom-inner p {
    margin: 0;
}

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

    .site-footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
        gap: 3rem;
        padding-top: 2rem;
        padding-bottom: 3.5rem;
    }
}

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

.hero {
    --hero-media-h: clamp(220px, 58vw, 360px);
    position: relative;
    isolation: isolate;
    background: var(--color-bg);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--hero-media-h) + 160px);
    z-index: -3;
    background-image: url("./assets/90249cc91432e66b75f5cde02e86f0e3.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 74% 30%;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(180deg,
        rgba(248, 243, 233, 0) calc(var(--hero-media-h) - 110px),
        rgba(248, 243, 233, 0.9) calc(var(--hero-media-h) + 10px),
        var(--color-bg) calc(var(--hero-media-h) + 140px));
}

.hero__line {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: none;
    opacity: 0.6;
    pointer-events: none;
}

.hero__inner {
    padding-top: var(--hero-media-h);
    padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.hero__content {
    max-width: 640px;
}

.hero__title {
    font-size: clamp(2rem, 2.6vw + 1.1rem, 3.25rem);
    line-height: 1.12;
    margin-bottom: 0.9rem;
}

.hero__intro {
    font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
    line-height: 1.65;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

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

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

.hero__chip {
    margin: 0;
}

@media (min-width: 1024px) {
    .hero {
        min-height: 600px;
        display: flex;
        align-items: center;
        background: var(--color-navy-deep);
    }

    .hero__bg {
        bottom: 0;
        height: auto;
        background-position: 70% center;
    }

    .hero__scrim {
        background: linear-gradient(90deg,
            rgba(22, 38, 62, 0.66) 0%,
            rgba(31, 51, 82, 0.5) 32%,
            rgba(31, 51, 82, 0) 58%);
    }

    .hero__line {
        display: block;
    }

    .hero__inner {
        padding-block: 5rem;
    }

    .hero__content {
        max-width: 600px;
    }

    .hero__title {
        color: var(--color-ivory);
        text-shadow: 0 2px 18px rgba(22, 38, 62, 0.35);
    }

    .hero__intro {
        color: var(--color-surface);
        text-shadow: 0 1px 12px rgba(22, 38, 62, 0.4);
    }

    .hero__micro {
        color: var(--color-panel);
        text-shadow: 0 1px 10px rgba(22, 38, 62, 0.45);
    }
}

/* ============================================
   HOME - OVERVIEW
   ============================================ */

.overview__grid {
    display: grid;
    gap: 2.5rem;
}

.overview__updated {
    margin: -1.25rem 0 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-muted);
}

.overview .data-table {
    margin-top: 2rem;
}

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

.overview .data-table tbody th {
    white-space: normal;
    width: 38%;
}

.overview__note {
    margin-top: 0.85rem;
}

.overview__media {
    position: relative;
}

.overview__media img {
    width: 100%;
    height: auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to top, transparent 0, #000 16%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 16%), linear-gradient(to top, transparent 0, #000 16%);
    mask-composite: intersect;
}

.overview__line {
    position: absolute;
    top: -4%;
    bottom: -4%;
    left: 0;
    width: 22%;
    pointer-events: none;
    opacity: 0.85;
}

@media (min-width: 1024px) {
    .overview__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 3.5rem;
        align-items: start;
    }

    .overview__media {
        position: sticky;
        top: 7.5rem;
    }
}

/* ============================================
   HOME - PROFILES
   ============================================ */

.profiles__stage {
    position: relative;
    max-width: 1040px;
    margin-inline: auto;
}

.profiles__line {
    position: absolute;
    top: 8%;
    bottom: 8%;
    left: -12%;
    right: -12%;
    opacity: 0.7;
    pointer-events: none;
}

.profiles__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.5rem;
    max-width: 400px;
    margin-inline: auto;
}

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

@media (min-width: 1024px) {
    .profiles__grid {
        gap: 2rem;
    }
}

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

.steps-wrap {
    position: relative;
    max-width: 1080px;
    margin-inline: auto;
}

.steps-wrap .steps {
    position: relative;
    z-index: 1;
}

.steps-line {
    position: absolute;
    display: none;
    opacity: 0.7;
    pointer-events: none;
}

.how__note {
    margin-top: 2.5rem;
    text-align: center;
}

@media (max-width: 767px) {
    .steps-line--vertical {
        display: block;
        top: 24px;
        bottom: 24px;
        left: 24px;
        width: 40px;
    }

    .steps-wrap .step {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        column-gap: 1.25rem;
        align-items: start;
        text-align: left;
    }

    .steps-wrap .step__badge {
        position: absolute;
        top: -6px;
        left: -4px;
        z-index: 2;
        margin: 0;
    }

    .steps-wrap .step__circle {
        grid-row: 1 / span 2;
        width: 88px;
        height: 88px;
        margin: 0;
    }

    .steps-wrap .step__circle .icon {
        width: 38px;
        height: 38px;
    }

    .steps-wrap .step__title {
        grid-column: 2;
        padding-top: 0.4rem;
    }

    .steps-wrap .step__title::after {
        left: 0;
        transform: none;
    }

    .steps-wrap .step__text {
        grid-column: 2;
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .steps-line--wave {
        display: block;
        top: 20px;
        left: 0;
        right: 0;
        height: 140px;
    }

    .steps-wrap .steps {
        column-gap: 0;
    }

    .steps-wrap .step {
        padding-inline: 0.75rem;
    }
}

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

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

.features__note {
    max-width: 1040px;
    margin: 1.75rem auto 0;
    text-align: center;
}

/* ============================================
   HOME - PROS & CONS
   ============================================ */

.proscons {
    position: relative;
    display: grid;
    gap: 2.5rem;
    max-width: 1040px;
    margin-inline: auto;
}

.proscons__head {
    margin-bottom: 1.5rem;
}

.proscons__title {
    margin-bottom: 0.25rem;
    font-size: clamp(1.5rem, 1vw + 1.1rem, 1.875rem);
    font-weight: 700;
}

.proscons__title--pros {
    color: var(--color-gold-deep);
}

.proscons__sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-navy);
}

.proscons__editorial {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-gold-line);
    font-size: 1rem;
    line-height: 1.6;
}

.proscons__note {
    max-width: 1040px;
    margin: 2.5rem auto 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--color-gold-line);
    border-left: 3px solid var(--color-gold);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    font-size: 1rem;
    line-height: 1.65;
}

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

    .proscons::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        background: linear-gradient(180deg, rgba(199, 154, 74, 0), var(--color-gold) 15%, var(--color-gold-light) 85%, rgba(199, 154, 74, 0));
    }
}

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

.safety__grid {
    display: grid;
    gap: 2.5rem;
    max-width: 1100px;
    margin-inline: auto;
}

.safety__photo {
    margin: 0;
}

.safety__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 30%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.safety__block + .safety__block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gold-line);
}

.safety__list {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.safety__list li {
    padding-left: 0.25rem;
}

.safety__list li + li {
    margin-top: 0.45rem;
}

.safety__list li::marker {
    color: var(--color-gold);
}

@media (min-width: 1024px) {
    .safety__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 4rem;
        align-items: start;
    }

    .safety__photo {
        position: sticky;
        top: 7.5rem;
    }

    .safety__photo img {
        aspect-ratio: 3 / 4;
    }
}

/* ============================================
   HOME - WHY CONSIDER
   ============================================ */

.why-card {
    display: grid;
    border: 1px solid var(--color-gold-line);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.why-card__media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 30% center;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

.why-card__body {
    position: relative;
    z-index: 1;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
}

.why-card__body .section-header {
    margin-bottom: 1.25rem;
}

.why-card__cta {
    margin-top: 1.5rem;
}

@media (min-width: 1024px) {
    .why-card {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .why-card__media {
        grid-column: 1 / 8;
        grid-row: 1;
        min-height: 520px;
    }

    .why-card__media img {
        aspect-ratio: auto;
        object-position: 25% center;
        -webkit-mask-image: linear-gradient(to right, #000 72%, transparent 100%);
        mask-image: linear-gradient(to right, #000 72%, transparent 100%);
    }

    .why-card__body {
        grid-column: 7 / 13;
        grid-row: 1;
        align-self: center;
        padding: 3.5rem 3.5rem 3.5rem 1.5rem;
    }
}

/* ============================================
   HOME - MOBILE APP
   ============================================ */

.app-section__lines {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    pointer-events: none;
}

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

.app__text {
    order: -1;
}

.app__text .lead {
    color: var(--color-on-dark-muted);
}

.app__note {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--color-on-dark-muted);
}

.store-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.phones {
    position: relative;
    width: min(100%, 300px);
    height: 380px;
    margin-inline: auto;
}

.phone {
    position: absolute;
    padding: 9px;
    border-radius: 34px;
    background: #121418;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(226, 192, 126, 0.25);
}

.phone--front {
    top: 0;
    left: 0;
    z-index: 2;
    width: 180px;
    height: 370px;
}

.phone--back {
    top: 26px;
    right: 0;
    width: 160px;
    height: 330px;
}

.phone__screen {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 34px 14px 14px;
    border-radius: 26px;
    background: var(--color-ivory);
    overflow: hidden;
}

.phone__notch {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 64px;
    height: 16px;
    border-radius: 10px;
    background: #121418;
    transform: translateX(-50%);
}

.mock-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-panel);
}

.mock-bar {
    display: block;
    height: 9px;
    border-radius: 6px;
    align-self: center;
}

.mock-bar--title {
    width: 56px;
    background: var(--color-panel);
}

.mock-bar--name {
    width: 76px;
    background: var(--color-navy);
}

.mock-bar--meta {
    width: 50px;
    height: 7px;
    background: #D9CDB6;
}

.mock-avatar {
    position: relative;
    flex-shrink: 0;
    align-self: center;
    width: 76px;
    height: 76px;
    border: 3px solid var(--color-gold);
    border-radius: 50%;
    background: linear-gradient(160deg, #F1E8D8, #E2C07E);
    overflow: hidden;
}

.mock-avatar::before {
    content: "";
    position: absolute;
    top: 18%;
    left: 50%;
    width: 34%;
    height: 34%;
    border-radius: 50%;
    background: var(--color-navy-soft);
    transform: translateX(-50%);
}

.mock-avatar::after {
    content: "";
    position: absolute;
    bottom: -18%;
    left: 50%;
    width: 72%;
    height: 48%;
    border-radius: 50% 50% 0 0;
    background: var(--color-navy-soft);
    transform: translateX(-50%);
}

.mock-avatar--sm {
    width: 30px;
    height: 30px;
    border-width: 2px;
}

.mock-label {
    margin-top: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-gold-deep);
}

.mock-line {
    display: block;
    height: 6px;
    border-radius: 4px;
    background: #E3D8C4;
}

.mock-line--short {
    width: 62%;
}

.mock-tags {
    display: flex;
    gap: 5px;
    margin-top: 4px;
}

.mock-tags span {
    width: 34px;
    height: 14px;
    border-radius: 999px;
    background: var(--color-panel);
    border: 1px solid var(--color-gold-line);
}

.mock-cta {
    margin-top: auto;
    padding: 8px 0;
    border-radius: 999px;
    background: var(--gradient-gold);
    color: var(--color-navy-deep);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
}

.mock-thread-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--color-panel);
}

.mock-thread-head .mock-bar--name {
    width: 60px;
}

.bubble {
    display: block;
    height: 24px;
    border-radius: 12px;
}

.bubble--in {
    width: 68%;
    align-self: flex-start;
    background: #EDE3D1;
    border-bottom-left-radius: 4px;
}

.bubble--out {
    width: 58%;
    align-self: flex-end;
    background: var(--color-navy);
    border-bottom-right-radius: 4px;
}

.bubble--short {
    width: 44%;
}

.bubble--long {
    width: 74%;
    height: 34px;
}

.mock-input {
    display: block;
    height: 24px;
    margin-top: auto;
    border: 1px solid var(--color-gold-line);
    border-radius: 999px;
    background: var(--color-card);
}

@media (min-width: 480px) {
    .phones {
        width: min(100%, 380px);
        height: 450px;
    }

    .phone--front {
        width: 220px;
        height: 450px;
    }

    .phone--back {
        top: 32px;
        right: 10px;
        width: 190px;
        height: 390px;
    }

    .mock-avatar {
        width: 88px;
        height: 88px;
    }

    .mock-avatar--sm {
        width: 32px;
        height: 32px;
    }

    .phone__screen {
        gap: 10px;
        padding: 38px 16px 16px;
    }
}

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

    .app__text {
        order: 0;
    }
}

/* ============================================
   HOME - FINAL CTA
   ============================================ */

.final-cta {
    padding-top: 0;
}

.final-cta__card {
    position: relative;
    max-width: 960px;
    margin-inline: auto;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
    border-radius: var(--radius-xl);
    background: var(--color-navy);
    color: var(--color-ivory);
    text-align: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.final-cta__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, rgba(199, 154, 74, 0), var(--color-gold-light) 30%, var(--color-gold) 70%, rgba(199, 154, 74, 0));
}

.final-cta__title {
    max-width: 22ch;
    margin-inline: auto;
    color: var(--color-ivory);
}

.final-cta__text {
    max-width: 620px;
    margin: 0 auto 1.75rem;
    font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
    color: var(--color-on-dark-muted);
}

.final-cta__action {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.final-cta__fine {
    max-width: 620px;
    margin-inline: auto;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-on-dark-muted);
}

.final-cta__fine a {
    color: var(--color-ivory);
    text-decoration-color: var(--color-gold-light);
}

.final-cta__fine a:hover {
    color: var(--color-gold-light);
}

.final-cta__fine a:focus-visible {
    outline-color: var(--color-gold-light);
}

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

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

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