/*
 * OnlySingles Review - design tokens and shared styles
 */

:root {
    --color-bg: #FAF6F0;
    --color-sand: #F1EAE0;
    --color-sand-deep: #E6DCCD;
    --color-surface: #FFFFFF;
    --color-ink: #1F2633;
    --color-muted: #4A5263;
    --color-accent: #C8873A;
    --color-accent-hover: #B87A2F;
    --color-accent-text: #8F5718;
    --color-line: rgba(31, 38, 51, 0.12);
    --color-line-strong: rgba(31, 38, 51, 0.2);
    --color-on-dark: #FAF6F0;
    --color-on-dark-muted: #D3CCC2;

    --font-heading: "DM Serif 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 1px 2px rgba(31, 38, 51, 0.06), 0 4px 12px rgba(31, 38, 51, 0.05);
    --shadow-md: 0 2px 4px rgba(31, 38, 51, 0.06), 0 12px 32px rgba(31, 38, 51, 0.09);
    --shadow-lg: 0 4px 8px rgba(31, 38, 51, 0.06), 0 24px 56px rgba(31, 38, 51, 0.13);

    --container: 1200px;
    --gutter: 20px;
    --section-y: 64px;
    --header-h: 68px;
    --header-bottom: 68px;

    --focus-ring: 0 0 0 3px var(--color-bg), 0 0 0 6px var(--color-accent);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    interpolate-size: allow-keywords;
}

/* ============================================
   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 & TYPOGRAPHY
   ============================================ */

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

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--color-ink);
    margin: 0 0 0.5em;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.625rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }

p { margin: 0 0 1em; }

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

a {
    color: var(--color-ink);
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

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

strong { font-weight: 600; }

img { display: block; }

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.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: -60px;
    z-index: 200;
    background: var(--color-ink);
    color: var(--color-on-dark);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s;
}

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

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

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

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

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

.section--sand { background: var(--color-sand); }
.section--white { background: var(--color-surface); }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.4em; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-text);
    margin: 0 0 12px;
}

.eyebrow--dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

.lead {
    font-size: 1.125rem;
    color: var(--color-muted);
    margin: 0;
}

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

@media (min-width: 768px) {
    :root {
        --gutter: 32px;
        --section-y: 88px;
    }
}

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

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

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

.btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-ink);
    box-shadow: 0 6px 16px rgba(200, 135, 58, 0.28);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-ink);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(200, 135, 58, 0.34);
}

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

.btn--secondary:hover {
    border-color: var(--color-ink);
    color: var(--color-ink);
}

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

.btn--dark:hover { background: #2C3445; color: var(--color-on-dark); }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
    color: var(--color-ink);
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25em;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 20px;
    background: var(--color-ink);
    color: var(--color-on-dark);
    border-radius: var(--radius-sm);
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s;
}

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

.store-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.store-btn__icon { width: 24px; height: 24px; flex: 0 0 auto; }

.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn__small { font-size: 0.75rem; color: var(--color-on-dark-muted); }
.store-btn__big { font-size: 1.0625rem; font-weight: 600; }

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

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

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

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

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

.site-brand__text {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.site-brand__accent { color: var(--color-accent-text); font-style: italic; }

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

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

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

.menu-toggle:focus-visible { outline: none; box-shadow: var(--focus-ring); }

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

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

.site-nav {
    display: none;
    position: fixed;
    top: var(--header-bottom);
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    z-index: 99;
    background: var(--color-bg);
    overflow-y: auto;
    padding: 16px var(--gutter) 32px;
    border-top: 1px solid var(--color-line);
}

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

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

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

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

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

.site-nav__cta { margin-top: 24px; }

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

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

    .site-nav {
        display: block;
        position: static;
        padding: 0;
        border: 0;
        background: transparent;
        overflow: visible;
        margin-left: auto;
    }

    .site-nav__list { display: flex; gap: 4px; }
    .site-nav__list li { border: 0; }

    .site-nav__link {
        min-height: 44px;
        padding: 0 12px;
        font-size: 0.9375rem;
        color: var(--color-muted);
        border-radius: var(--radius-pill);
    }

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

    .site-nav .site-nav__cta { display: none; }
    .header-actions .menu-toggle { display: none; }
}

/* ============================================
   SHARED CONTENT COMPONENTS
   ============================================ */

.label-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 6px 14px;
    background: var(--color-sand);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-ink);
}

.label-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

.section--sand .label-pill { background: var(--color-surface); }

.fact-box {
    background: var(--color-sand);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 20px 24px;
    margin: 0 0 32px;
}

.fact-box__label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-text);
    margin: 0 0 8px;
}

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

.callout {
    background: var(--color-sand);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 20px 24px;
    margin: 24px 0;
}

.callout__title {
    font-weight: 600;
    margin: 0 0 6px;
}

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

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.tag {
    padding: 4px 12px;
    background: var(--color-sand);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-ink);
}

/* Profile cards */
.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

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

.profile-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.profile-card__media { aspect-ratio: 4 / 5; background: var(--color-sand); }

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

.profile-card__body { padding: 20px 20px 24px; }

.profile-card__name { font-size: 1.5rem; margin-bottom: 12px; }

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

/* Steps */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.steps::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 22px;
    bottom: 22px;
    width: 1px;
    background: var(--color-line-strong);
}

.step-card {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.step-card__num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-size: 1.375rem;
    line-height: 1;
    box-shadow: 0 0 0 6px var(--color-bg);
}

.section--sand .step-card__num { box-shadow: 0 0 0 6px var(--color-sand); }

.step-card__title { font-size: 1.375rem; margin: 6px 0 8px; }

.step-card__body p { color: var(--color-muted); margin-bottom: 0; }

.step-card__body .callout { margin-top: 16px; }
.step-card__body .callout p { color: var(--color-ink); }

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

    .steps::before {
        left: 22px;
        right: 22px;
        top: 22px;
        bottom: auto;
        width: auto;
        height: 1px;
    }

    .step-card { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

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

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

.feature-card {
    height: 100%;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.feature-icon { width: 44px; height: 44px; margin-bottom: 16px; }

.feature-card__title { font-size: 1.375rem; margin-bottom: 8px; }

.feature-card p { margin: 0; color: var(--color-muted); font-size: 1rem; }

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid var(--color-line);
}

.faq-item { border-bottom: 1px solid var(--color-line); }

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
    padding: 18px 4px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 1.0625rem;
    border-radius: var(--radius-sm);
}

.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { content: ""; }

.faq-item__q:hover { color: var(--color-accent-text); }

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

.faq-item__icon {
    position: relative;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-sand);
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: var(--color-ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease);
}

.faq-item__icon::after { transform: rotate(90deg); }

.faq-item[open] .faq-item__icon::after { transform: rotate(0deg); }

.faq-item__a { padding: 0 4px 22px; color: var(--color-muted); }
.faq-item__a > :last-child { margin-bottom: 0; }

.faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.3s var(--ease), content-visibility 0.3s allow-discrete;
}

.faq-item[open]::details-content { block-size: auto; }

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

.legal-hero {
    background: var(--color-sand);
    padding: 56px 0 48px;
}

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

.legal-hero h1 { margin-bottom: 12px; }

.legal-hero__date { font-size: 0.9375rem; font-weight: 500; color: var(--color-muted); margin-bottom: 16px; }

.legal-hero__summary { font-size: 1.125rem; max-width: 720px; margin: 0; }

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

.toc {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
}

.toc__title {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-text);
    margin: 0 0 8px;
}

.toc ol { list-style: none; margin: 0; padding: 0; }

.toc a {
    display: flex;
    align-items: center;
    min-height: 40px;
    font-size: 0.9375rem;
    color: var(--color-muted);
    text-decoration: none;
}

.toc a:hover { color: var(--color-ink); text-decoration: underline; }

.legal-body { max-width: 760px; }

.legal-body h2 {
    font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    margin-top: 48px;
    padding-top: 8px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body h3 { font-size: 1.25rem; margin-top: 28px; }

.legal-body ul, .legal-body ol { padding-left: 1.4em; }
.legal-body li { margin-bottom: 0.5em; }

@media (min-width: 1024px) {
    .legal-layout {
        grid-template-columns: 240px minmax(0, 760px);
        gap: 64px;
        align-items: start;
        padding-top: 64px;
    }

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

/* Cookie table */
.cookie-table-wrap {
    margin: 24px 0 32px;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-surface);
}

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

.cookie-table thead { display: none; }

.cookie-table tr { display: block; padding: 12px 16px; border-top: 1px solid var(--color-line); }
.cookie-table tbody tr:first-child { border-top: 0; }

.cookie-table th,
.cookie-table td {
    display: block;
    padding: 6px 0;
    text-align: left;
    font-weight: 400;
}

.cookie-table tbody th { font-weight: 600; }

.cookie-table td::before,
.cookie-table tbody th::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-text);
}

@media (min-width: 768px) {
    .cookie-table thead { display: table-header-group; background: var(--color-sand); }
    .cookie-table tr { display: table-row; padding: 0; }
    .cookie-table th,
    .cookie-table td { display: table-cell; padding: 14px 16px; vertical-align: top; border-top: 1px solid var(--color-line); }
    .cookie-table thead th { border-top: 0; font-weight: 600; }
    .cookie-table td::before,
    .cookie-table tbody th::before { display: none; }
}

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

.site-footer {
    background: var(--color-sand);
    border-top: 1px solid var(--color-line);
    padding: 56px 0 32px;
    font-size: 0.9375rem;
}

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

.site-footer__desc { color: var(--color-muted); margin: 12px 0 0; max-width: 420px; }

.site-footer__title {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-ink);
    margin: 0 0 8px;
}

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

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

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

.site-footer__disclosure {
    margin-top: 40px;
    padding: 20px 24px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    color: var(--color-muted);
}

.site-footer__disclosure p { margin: 0; }
.site-footer__disclosure strong { color: var(--color-ink); }

.site-footer__copy {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--color-line);
    color: var(--color-muted);
    font-size: 0.875rem;
}

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

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

/* Hero */
.hero { padding: 40px 0 72px; }

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.hero__note {
    max-width: 560px;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;
    align-items: flex-start;
}

.hero__note::before { flex: 0 0 8px; margin-top: 0.4em; }

.hero__lead {
    font-size: 1.125rem;
    color: var(--color-muted);
    max-width: 580px;
    margin-bottom: 28px;
}

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

.hero__meta { margin: 20px 0 0; font-size: 0.875rem; color: var(--color-muted); }

.hero__media {
    position: relative;
    margin: 0 0 16px 16px;
}

.hero__media::before {
    content: "";
    position: absolute;
    left: -16px;
    bottom: -16px;
    width: 42%;
    height: 34%;
    background: var(--color-accent);
    border-radius: var(--radius-xl);
}

.hero__media img {
    position: relative;
    width: 100%;
    aspect-ratio: 6 / 7;
    object-fit: cover;
    object-position: 60% 30%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .hero { padding: 64px 0 104px; }
    .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 72px; }
    .hero__media { margin: 0 0 24px 24px; }
    .hero__media::before { left: -24px; bottom: -24px; }
}

/* Overview */
.split--top { align-items: start; }

.overview__copy h3 { margin-top: 28px; }

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

@media (min-width: 1024px) {
    .overview__media { position: sticky; top: calc(var(--header-h) + 32px); }
    .overview__media img { aspect-ratio: 4 / 5; }
}

.section-cta { display: flex; justify-content: center; margin-top: 40px; }

.features__note { margin: 32px 0 0; font-size: 0.9375rem; color: var(--color-muted); }

/* Pros & cons */
.pc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

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

.pc-card {
    height: 100%;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
}

.pc-card--pros { background: var(--color-surface); box-shadow: var(--shadow-sm); }
.pc-card--cons { background: var(--color-sand); }

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

.pc-list li {
    position: relative;
    padding: 10px 0 10px 36px;
    border-top: 1px solid var(--color-line);
}

.pc-list li:first-child { border-top: 0; }

.pc-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.pc-list--plus li::before {
    background:
        linear-gradient(var(--color-accent), var(--color-accent)) center / 10px 2px no-repeat,
        linear-gradient(var(--color-accent), var(--color-accent)) center / 2px 10px no-repeat,
        var(--color-sand);
}

.pc-list--minus li::before {
    background:
        linear-gradient(var(--color-ink), var(--color-ink)) center / 10px 2px no-repeat,
        var(--color-surface);
}

.bottom-line {
    margin-top: 32px;
    padding: 24px;
    border-left: 4px solid var(--color-accent);
    background: var(--color-surface);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    max-width: 860px;
}

.bottom-line p { margin: 0; }

/* Safety */
.safety-block { margin-top: 40px; }
.safety-block h3 { margin-bottom: 10px; }
.safety-block > :last-child { margin-bottom: 0; }
.safety__close { margin: 40px 0 0; font-weight: 600; }

/* Why consider */
.why__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 70% center;
    border-radius: var(--radius-xl);
}

.why__card {
    position: relative;
    margin-top: 24px;
    padding: 28px 24px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

@media (min-width: 1024px) {
    .why__card {
        max-width: 600px;
        margin: -220px 0 0 40px;
        padding: 40px;
    }
}

/* Mobile app */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }

.phone-stage {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 24px 0;
}

.phone-stage::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(380px, 92%);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--color-accent);
}

.phone {
    position: relative;
    width: 270px;
    max-width: 100%;
    margin: 0;
    padding: 12px;
    background: var(--color-ink);
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

.phone__screen {
    position: relative;
    padding: 34px 16px 20px;
    background: var(--color-bg);
    border-radius: 30px;
}

.phone__notch {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 72px;
    height: 8px;
    transform: translateX(-50%);
    background: var(--color-ink);
    border-radius: var(--radius-pill);
}

.phone__screen img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
}

.phone__name { font-family: var(--font-heading); font-size: 1.375rem; line-height: 1.1; margin: 0 0 10px; }
.phone__screen .tag { font-size: 0.75rem; padding: 3px 10px; }
.phone__screen .tag-list { gap: 6px; margin-bottom: 10px; }
.phone__intro { font-size: 0.8125rem; color: var(--color-muted); margin: 0 0 14px; line-height: 1.45; }

.phone__pill {
    display: block;
    padding: 10px;
    text-align: center;
    background: var(--color-accent);
    color: var(--color-ink);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Final CTA */
.final-cta {
    position: relative;
    background: var(--color-ink);
    color: var(--color-on-dark);
    padding: var(--section-y) 0;
    text-align: center;
}

.final-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 900px;
    height: 520px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(200, 135, 58, 0.08), rgba(200, 135, 58, 0));
    pointer-events: none;
}

.final-cta__inner { position: relative; max-width: calc(720px + 2 * var(--gutter)); }
.final-cta h2 { color: var(--color-on-dark); }
.final-cta p { color: var(--color-on-dark-muted); font-size: 1.125rem; margin-bottom: 32px; }
.final-cta .final-cta__small { font-size: 0.875rem; margin: 24px 0 0; }
.final-cta a:not([class]) { color: var(--color-on-dark); }

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

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

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

    .faq-item::details-content { transition: none; }

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