/*
 * Sitch Review - shared design system
 * Canonical design tokens live in this file.
 */

:root {
    /* Palette */
    --color-page: #D6E0CD;
    --color-bg: #F6F1E7;
    --color-surface: #FBF8F2;
    --color-bg-alt: #EFE9DC;
    --color-sage-mist: #E6ECDF;
    --color-sage-wash: #F0F3EA;
    --color-sage-pale: #C9D6C0;
    --color-sage-mid: #8FA88F;
    --color-accent: #4F6B55;
    --color-accent-dark: #3E5644;
    --color-text: #23271F;
    --color-text-muted: #51574D;
    --color-on-accent: #F6F1E7;
    --color-terracotta: #A85A40;
    --color-terracotta-pale: #F3E1D8;

    /* Type */
    --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-caption: 0.875rem;
    --fs-h1: clamp(2.35rem, 1.5rem + 4vw, 4.25rem);
    --fs-h2: clamp(1.7rem, 1.25rem + 1.9vw, 2.45rem);
    --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);

    /* Shape & depth */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --frame-stroke: 6px;
    --shadow-card: 0 8px 24px -12px rgba(35, 39, 31, 0.2);
    --shadow-soft: 0 18px 40px -22px rgba(35, 39, 31, 0.28);
    --shadow-frame: 0 30px 80px -34px rgba(52, 70, 55, 0.4);

    /* Layout */
    --container: 1080px;
    --container-narrow: 820px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section-space: clamp(3.5rem, 8vw, 6rem);
    --header-bottom: 64px;

    /* Motion */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --focus-color: var(--color-accent);

    /* Decorative data */
    --leaf-pattern: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%27420%27%20height=%27420%27%20viewBox=%270%200%20420%20420%27%20fill=%27none%27%20stroke=%27%23BACAB0%27%20stroke-width=%271.5%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M60%20390C82%20306%20110%20222%20172%20138%27/%3E%3Cpath%20d=%27M78%20330c-20-4-34%200-44%2010M78%20330c6-18%204-32-4-44M94%20290c-20-6-36-2-46%208M94%20290c8-18%208-32%200-44M112%20250c-20-6-34-4-44%206M112%20250c10-16%2012-30%206-42M132%20212c-18-6-32-4-42%204M132%20212c10-14%2014-28%2010-40M152%20176c-16-4-28-2-36%204M152%20176c10-12%2014-24%2012-34%27/%3E%3Cpath%20d=%27M250%20100c40-48%20110-52%20140-34-14%2052-72%2082-140%2034z%27/%3E%3Cpath%20d=%27M250%20100c44-10%2090-24%20140-34M290%2092l10-22M322%2084l12-22M352%2076l10-18M290%2092l14%2014M322%2084l16%2012%27/%3E%3Cpath%20d=%27M262%20334c10-60%2060-100%20120-100-4%2062-52%20104-120%20100z%27/%3E%3Cpath%20d=%27M262%20334c34-30%2074-70%20120-100M300%20300l-4-20M330%20272l-2-22M300%20300l22%202M330%20272l22%200%27/%3E%3Cpath%20d=%27M196%20412c6-30%204-52-10-74M190%20370c-14-4-22%200-28%208M188%20352c12-6%2020-4%2026%202%27/%3E%3C/svg%3E");
    --link-glyph: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27%239DB393%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M10%2013a5%205%200%200%200%207.54.54l3-3a5%205%200%200%200-7.07-7.07l-1.72%201.71%27/%3E%3Cpath%20d=%27M14%2011a5%205%200%200%200-7.54-.54l-3%203a5%205%200%200%200%207.07%207.07l1.71-1.71%27/%3E%3C/svg%3E");
}

@supports (interpolate-size: allow-keywords) {
    :root { 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
   ============================================ */

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 5.5rem;
}

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

html.menu-open {
    overflow: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    display: block;
}

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

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

p {
    margin: 0 0 1rem;
}

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

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

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

strong {
    font-weight: 600;
}

button {
    font: inherit;
}

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

main:focus {
    outline: none;
}

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

.icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.sr-only {
    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;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: var(--color-accent);
    color: var(--color-on-accent);
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s var(--ease);
}

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

/* ============================================
   PAGE FRAME (paper on leafy surface)
   ============================================ */

.page-frame {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: var(--color-bg);
    min-height: 100vh;
}

@media (min-width: 768px) {
    body {
        background-color: var(--color-page);
        background-image: var(--leaf-pattern);
        background-size: 420px 420px;
        background-repeat: repeat;
    }

    .page-frame {
        width: calc(100% - 3rem);
        max-width: 1200px;
        margin: 2rem auto;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-frame);
        overflow: clip;
    }
}

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

.container--narrow {
    max-width: var(--container-narrow);
}

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

.section--dark {
    --focus-color: var(--color-on-accent);
    background: var(--color-accent);
    color: var(--color-on-accent);
}

.section--dark a {
    color: var(--color-on-accent);
}

.section-title {
    text-align: center;
    max-width: 22ch;
    margin-inline: auto;
}

.section-intro {
    max-width: 62ch;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--color-text-muted);
}

.section--dark .section-intro {
    color: var(--color-on-accent);
}

.eyebrow {
    display: inline-block;
    font-size: var(--fs-caption);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin-bottom: 0.75rem;
}

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

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

.btn__icon {
    width: 1.15em;
    height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-on-accent);
    box-shadow: 0 10px 22px -12px rgba(62, 86, 68, 0.75);
}

.btn--primary .btn__icon {
    color: var(--color-sage-pale);
}

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

.btn--light {
    --focus-color: var(--color-on-accent);
    background: var(--color-bg);
    color: var(--color-accent-dark);
    box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.55);
}

.btn--light .btn__icon {
    color: var(--color-accent);
}

.btn--light:hover {
    background: #FFFFFF;
    color: var(--color-accent-dark);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--color-accent-dark);
    border-color: var(--color-sage-pale);
}

.btn--outline:hover {
    border-color: var(--color-accent);
    background: var(--color-sage-mist);
}

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

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

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

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.text-link:hover {
    color: inherit;
    text-decoration-thickness: 2px;
}

/* Store-style buttons (used over photography) */
.store-btn {
    --focus-color: var(--color-on-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 58px;
    min-width: 210px;
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(246, 241, 231, 0.6);
    border-radius: 14px;
    background: rgba(30, 44, 33, 0.62);
    color: var(--color-on-accent);
    text-align: left;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.store-btn:hover {
    background: rgba(30, 44, 33, 0.8);
    transform: translateY(-2px);
}

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

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

.store-btn__top {
    font-size: var(--fs-caption);
}

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

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

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

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 64px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    color: var(--color-text);
    text-decoration: none;
    margin-right: auto;
}

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

.site-brand__text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.site-brand__mark {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: var(--color-sage-mid);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.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-sage-pale);
    border-radius: 12px;
    background: var(--color-surface);
    color: var(--color-text);
    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);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 49;
    padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--color-bg);
    border-top: 1px solid var(--color-sage-pale);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

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

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-bottom: 1px solid var(--color-sage-pale);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
}

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

.site-nav__cta {
    margin-top: 1.75rem;
}

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

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

@media (min-width: 1024px) {
    .site-header__inner {
        min-height: 72px;
        gap: 2rem;
    }

    .site-brand {
        margin-right: 0;
    }

    .site-nav {
        position: static;
        inset: auto;
        z-index: auto;
        margin-left: auto;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: none;
    }

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

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

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

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

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

    .site-nav__cta {
        display: none;
    }

    .menu-toggle {
        display: none;
    }
}

/* ============================================
   CHAIN DIVIDER (signature motif)
   ============================================ */

.chain-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem auto;
    max-width: 420px;
    color: var(--color-sage-mid);
}

.chain-divider__line {
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: var(--color-sage-pale);
}

.chain-divider__glyph {
    width: 2rem;
    height: 2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.chain-divider--start {
    justify-content: flex-start;
    margin: 1.25rem 0 1.5rem;
    max-width: 220px;
}

.chain-divider--start .chain-divider__line:first-child {
    display: none;
}

.chain-divider--plain .chain-divider__line {
    display: none;
}

/* ============================================
   MATCH CARD
   ============================================ */

.match-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 1.75rem 1.5rem 1.25rem;
    text-align: center;
    background: var(--color-surface);
    border: var(--frame-stroke) solid var(--color-sage-pale);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.match-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-sage-mid);
    box-shadow: var(--shadow-soft);
}

.match-card__media {
    width: 132px;
    aspect-ratio: 1;
    padding: 6px;
    margin-bottom: 1.1rem;
    border-radius: 50%;
    background: var(--color-sage-pale);
}

.match-card__portrait {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
}

.match-card__title {
    margin: 0;
    font-size: 1.25rem;
}

.match-card__bar {
    display: block;
    width: 44px;
    height: 4px;
    margin: 0.65rem auto 0.85rem;
    border-radius: 4px;
    background: var(--color-sage-mid);
}

.match-card__age {
    margin: 0 0 0.85rem;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-text-muted);
}

.match-card__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.match-card__tags li {
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--color-sage-mist);
    color: var(--color-accent-dark);
    font-size: var(--fs-caption);
    font-weight: 500;
}

.match-card__why {
    font-size: var(--fs-small);
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.match-card__why strong {
    color: var(--color-text);
}

.match-card__foot {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: auto 0 0;
    padding-top: 0.85rem;
    width: 100%;
    justify-content: center;
    border-top: 1px dashed var(--color-sage-pale);
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
}

.match-card__foot-icon {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

/* ============================================
   FAQ ACCORDION (native details)
   ============================================ */

.faq-list {
    display: grid;
    gap: 1.25rem;
    align-items: start;
    max-width: var(--container-narrow);
    margin-inline: auto;
}

.faq-item {
    position: relative;
    align-self: start;
    background: var(--color-surface);
    border: 1.5px solid var(--color-sage-pale);
    border-radius: 16px;
    box-shadow: 0 6px 18px -14px rgba(35, 39, 31, 0.35);
}

.faq-item + .faq-item::before {
    content: "";
    position: absolute;
    top: -1.35rem;
    left: 50%;
    width: 30px;
    height: 22px;
    transform: translateX(-50%);
    background: var(--link-glyph) center / contain no-repeat;
    pointer-events: none;
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 60px;
    padding: 1.1rem 1.35rem;
    list-style: none;
    cursor: pointer;
    border-radius: 16px;
}

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

.faq-item__q::marker {
    content: "";
}

.faq-item__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text);
}

.faq-item__title::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    margin-top: 0;
    border-radius: 3px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease), margin-top 0.3s var(--ease);
}

.faq-item[open] .faq-item__title::after {
    width: 48px;
    margin-top: 0.55rem;
}

.faq-item__icon {
    position: relative;
    flex: none;
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--color-sage-mid);
    border-radius: 50%;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

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

.faq-item[open] .faq-item__icon {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after {
    background: var(--color-on-accent);
}

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

.faq-item__a {
    padding: 0 1.35rem 1.35rem;
    color: var(--color-text-muted);
}

.faq-item__a p:last-child {
    margin-bottom: 0;
}

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

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

/* ============================================
   DATA TABLES (comparison, cookie categories)
   ============================================ */

.table-scroll {
    position: relative;
    overflow-x: auto;
    background: var(--color-surface);
    border: 1.5px solid var(--color-sage-pale);
    border-radius: var(--radius-md);
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--fs-small);
}

.data-table caption {
    caption-side: top;
    padding: 1rem 1.25rem 0.75rem;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.data-table th,
.data-table td {
    padding: 0.95rem 1.1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--color-sage-pale);
}

.data-table td + td,
.data-table th + td,
.data-table th + th {
    border-left: 1px solid var(--color-sage-pale);
}

.data-table thead th {
    background: var(--color-accent);
    color: var(--color-on-accent);
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1rem;
}

.data-table tbody th {
    font-weight: 600;
    background: var(--color-surface);
}

.data-table tbody tr:nth-child(even) td,
.data-table tbody tr:nth-child(even) th {
    background: var(--color-sage-wash);
}

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

.data-table tbody th,
.data-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
}

.table-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.65rem 0 0;
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
}

@media (min-width: 900px) {
    .table-hint {
        display: none;
    }
}

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

.legal-hero {
    position: relative;
    padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-sage-pale);
}

.legal-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(46%, 480px);
    background-image: var(--leaf-pattern);
    background-size: 380px 380px;
    background-position: right top;
    -webkit-mask-image: linear-gradient(to left, #000 15%, transparent 95%);
    mask-image: linear-gradient(to left, #000 15%, transparent 95%);
    pointer-events: none;
}

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

.legal-hero__title {
    max-width: 18ch;
    margin-bottom: 0;
}

.legal-hero__summary {
    max-width: 62ch;
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.legal-hero__updated {
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-accent-dark);
    margin-bottom: 1.75rem;
}

.legal-toc {
    padding: 1.25rem 1.5rem;
    background: var(--color-sage-mist);
    border: 1.5px solid var(--color-sage-pale);
    border-radius: var(--radius-md);
}

.legal-toc__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
}

.legal-toc__list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--color-accent-dark);
}

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

.legal-toc__list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--color-accent-dark);
    text-decoration: underline;
    text-decoration-color: var(--color-sage-mid);
}

.legal-toc__list a:hover {
    text-decoration-color: currentColor;
}

@media (min-width: 768px) {
    .legal-toc__list {
        columns: 2;
        column-gap: 2.5rem;
    }

    .legal-toc__list li {
        break-inside: avoid;
    }
}

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

.legal-content h2 {
    margin-top: 2.75rem;
    font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem);
}

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

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

.legal-content p,
.legal-content li {
    max-width: 70ch;
}

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

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

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

.legal-content a:not([class]) {
    text-decoration: underline;
}

.legal-callout {
    display: flex;
    gap: 0.85rem;
    margin: 1.75rem 0;
    padding: 1.15rem 1.35rem;
    background: var(--color-sage-wash);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-callout .icon {
    color: var(--color-accent);
}

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

.legal-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-sage-pale);
}

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

.site-footer {
    padding: clamp(3rem, 7vw, 4.5rem) 0 2rem;
    background: var(--color-bg);
    border-top: 1px solid var(--color-sage-pale);
}

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

.footer-label {
    margin: 0 0 0.85rem;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--color-accent-dark);
}

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

.site-brand--footer {
    margin: 0 0 0.75rem;
}

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

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

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

.footer-rule {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.75rem 0 1.25rem;
    color: var(--color-sage-mid);
}

.footer-rule__line {
    flex: 1;
    height: 1px;
    background: var(--color-sage-pale);
}

.footer-rule__glyph {
    width: 1.75rem;
    height: 1.75rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.footer-copy {
    margin: 0;
    text-align: center;
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.75fr) minmax(0, 0.85fr) minmax(0, 1.6fr);
        gap: 2.5rem;
    }
}

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

.hero {
    --focus-color: var(--color-on-accent);
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: calc(100svh - var(--header-bottom));
    padding: 4rem 0 2rem;
    color: var(--color-on-accent);
    background-color: #2A3A2E;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("./assets/777b6907b3c9f926c3d7a5d7e6e8e8fc.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 85% 25%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(22, 34, 25, 0.95) 0%, rgba(22, 34, 25, 0.85) 52%, rgba(22, 34, 25, 0.3) 82%, rgba(22, 34, 25, 0.12) 100%);
}

.hero__inner {
    width: 100%;
}

.hero__content {
    max-width: 36rem;
}

.hero__title {
    max-width: 16ch;
    margin-bottom: 1rem;
    color: var(--color-on-accent);
}

.hero__lead {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

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

.hero__link {
    color: var(--color-on-accent);
}

.hero__link:hover {
    color: var(--color-on-accent);
}

.hero__chip {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    max-width: 30rem;
    margin: 1.25rem 0 0;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(246, 241, 231, 0.45);
    border-radius: 14px;
    background: rgba(246, 241, 231, 0.14);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: var(--fs-caption);
    line-height: 1.45;
    color: var(--color-on-accent);
}

.hero__chip-icon {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.1rem;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (min-width: 768px) {
    .hero {
        align-items: center;
        min-height: 560px;
        padding: 5rem 0;
    }

    .hero__bg {
        background-position: 72% center;
    }

    .hero::before {
        background: linear-gradient(90deg, rgba(22, 34, 25, 0.8) 0%, rgba(22, 34, 25, 0.6) 35%, rgba(22, 34, 25, 0.15) 62%, rgba(22, 34, 25, 0) 80%);
    }

    .hero__lead {
        font-size: 1.125rem;
    }
}

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

/* ============================================
   HOME - LINKED PAIR (frame + knot + frame/photo)
   ============================================ */

.outline-frame {
    position: relative;
    border: var(--frame-stroke) solid var(--color-sage-pale);
    border-radius: 36px;
    padding: clamp(1.6rem, 4vw, 2.75rem);
    background: var(--color-bg);
}

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

.linked-pair__knot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    height: 84px;
}

.linked-pair__knot svg {
    width: 96px;
    max-width: none;
    height: 64px;
    overflow: visible;
    transform: rotate(90deg);
    fill: none;
    stroke: var(--color-sage-pale);
    stroke-width: 7;
    stroke-linecap: round;
}

@media (min-width: 1024px) {
    .linked-pair {
        grid-template-columns: minmax(0, 1.15fr) 84px minmax(0, 0.85fr);
        align-items: stretch;
    }

    .linked-pair--even {
        grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
    }

    .linked-pair__knot {
        height: auto;
        align-self: center;
    }

    .linked-pair__knot svg {
        transform: none;
    }
}

/* Overview */
.overview__updated {
    font-size: var(--fs-caption);
    font-weight: 600;
    color: var(--color-accent-dark);
}

.founder-note {
    padding: 0.9rem 1.1rem;
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--color-sage-wash);
}

.overview__opinion {
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.overview__media {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--color-sage-mist);
}

.overview__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 55%;
}

@media (min-width: 1024px) {
    .overview__media img {
        height: 100%;
        min-height: 26rem;
        aspect-ratio: auto;
    }
}

/* ============================================
   HOME - MATCH EXAMPLES
   ============================================ */

.matches {
    text-align: center;
    padding-top: 0;
}

.matches__eyebrow {
    display: block;
}

.match-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    max-width: 380px;
    margin-inline: auto;
    text-align: center;
}

.match-row:focus-visible {
    outline-offset: 6px;
}

@media (min-width: 768px) {
    .match-row {
        display: flex;
        max-width: none;
        gap: 1.25rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0.5rem 0.25rem 1.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .match-row > * {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }
}

@media (min-width: 1024px) {
    .match-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
        overflow: visible;
        padding: 0.5rem 0 0;
    }
}

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

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

.how__chain {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    pointer-events: none;
}

.how__inner {
    position: relative;
    z-index: 1;
}

.steps {
    position: relative;
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0 0 0 2.25rem;
    list-style: none;
}

.steps::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.2rem;
    width: 18px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2718%27%20height=%2744%27%20viewBox=%270%200%2018%2044%27%20fill=%27none%27%20stroke=%27%237F977F%27%20stroke-width=%273%27%20stroke-linecap=%27round%27%3E%3Crect%20x=%273%27%20y=%272%27%20width=%2712%27%20height=%2722%27%20rx=%276%27/%3E%3Cpath%20d=%27M9%2018v26M9%200v6%27/%3E%3C/svg%3E");
    background-repeat: repeat-y;
    background-size: 18px 44px;
}

.step {
    position: relative;
    padding: 1.5rem 1.4rem;
    border-radius: 24px;
    background: var(--color-sage-pale);
    color: var(--color-text);
    box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.55);
}

.step__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.step__icon {
    width: 3rem;
    height: 3rem;
    color: var(--color-accent-dark);
    stroke-width: 1.4;
}

.step__num {
    padding: 0.2rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--color-sage-wash);
    color: var(--color-accent-dark);
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 600;
}

.step h3 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

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

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

    .steps::before {
        display: none;
    }
}

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

    .steps {
        max-width: 920px;
        margin-inline: auto;
        column-gap: 7rem;
        row-gap: 3.5rem;
    }

    .step {
        padding: 1.85rem 1.75rem;
    }
}

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

.feature-frame {
    position: relative;
    border: var(--frame-stroke) solid var(--color-sage-pale);
    border-radius: 40px;
    padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem);
}

.feature-frame__title {
    text-align: center;
}

.feature-frame__intro {
    max-width: 62ch;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--color-text-muted);
}

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

.feature-col {
    min-width: 0;
}

.feature {
    text-align: center;
    padding: 0.5rem 0;
}

.feature--sep::before {
    content: "";
    display: block;
    width: 30px;
    height: 22px;
    margin: 0.5rem auto 1.75rem;
    background: var(--link-glyph) center / contain no-repeat;
}

.feature__icon {
    display: inline-grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: var(--color-sage-mist);
    color: var(--color-accent-dark);
}

.feature__svg {
    width: 2.2rem;
    height: 2.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature p {
    max-width: 40ch;
    margin-inline: auto;
}

.feature__take {
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-sm);
    background: var(--color-sage-wash);
    font-size: var(--fs-small);
    color: var(--color-text-muted);
}

.feature__take strong {
    color: var(--color-accent-dark);
}

.feature-braid {
    display: none;
}

@media (min-width: 768px) {
    .feature-frame {
        padding-top: 0;
    }

    .feature-frame__title {
        display: table;
        margin: calc(-0.575em - var(--frame-stroke) / 2) auto 1.25rem;
        padding: 0 1.25rem;
        background: var(--color-bg);
    }
}

@media (min-width: 1024px) {
    .feature-cols {
        grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
    }

    .feature--sep::before {
        display: none;
    }

    .feature + .feature {
        margin-top: 2.25rem;
    }

    .feature-braid {
        display: block;
        position: relative;
    }

    .feature-braid svg {
        position: absolute;
        inset: 0;
        width: 100%;
        max-width: none;
        height: 100%;
        fill: none;
        stroke-linecap: round;
    }

    .feature-braid__a,
    .feature-braid__b {
        stroke: var(--color-sage-pale);
        stroke-width: 7;
        vector-effect: non-scaling-stroke;
    }

    .feature-braid__halo {
        stroke: var(--color-bg);
        stroke-width: 15;
        vector-effect: non-scaling-stroke;
    }
}

/* ============================================
   HOME - COMPARISON
   ============================================ */

.section--tint {
    background: var(--color-sage-wash);
}

.comparison__title {
    max-width: 24ch;
}

.compare-scroll {
    padding: 0.25rem 0 0;
}

.compare {
    width: 100%;
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--fs-small);
}

.compare caption {
    caption-side: top;
    padding: 1rem 1.25rem 0.5rem;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
}

.compare thead th {
    padding: 0.75rem 0.35rem 1rem;
    vertical-align: bottom;
    font-weight: 600;
    background: var(--color-surface);
}

.compare__corner {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 9.5rem;
}

.compare__pill {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 46px;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-pill);
    background: var(--color-sage-pale);
    color: var(--color-accent-dark);
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
}

.compare__pill::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -16px;
    z-index: 1;
    width: 22px;
    height: 12px;
    border: 3px solid var(--color-sage-mid);
    border-radius: var(--radius-pill);
    transform: translateY(-50%);
    background: var(--color-surface);
}

.compare__pill--last::after {
    display: none;
}

.compare__pill-icon {
    width: 1rem;
    height: 1rem;
    flex: none;
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.compare tbody th,
.compare tbody td {
    padding: 1.05rem 1rem;
    border-top: 1px solid var(--color-sage-pale);
    vertical-align: middle;
    text-align: left;
}

.compare tbody td {
    border-left: 1px solid var(--color-sage-pale);
    background: var(--color-surface);
}

.compare tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
}

.compare__row--sitch th {
    background: var(--color-accent);
    color: var(--color-on-accent);
}

.compare__row--swipe th {
    background: var(--color-bg);
    color: var(--color-text);
}

.compare__cell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.mark {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex: none;
}

.mark__icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mark--yes {
    background: var(--color-accent);
    color: var(--color-on-accent);
}

.mark--no {
    background: var(--color-terracotta-pale);
    color: var(--color-terracotta);
}

.mark--neutral {
    background: var(--color-sage-mist);
    color: var(--color-accent-dark);
}

.compare-note {
    margin: 1rem 0 0;
    font-size: var(--fs-caption);
    color: var(--color-text-muted);
}

.compare-take {
    max-width: 70ch;
    margin: 1.75rem auto 0;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    border: 1.5px solid var(--color-sage-pale);
    box-shadow: var(--shadow-card);
}

.compare-take p {
    margin: 0;
}

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

.pc__title {
    text-align: center;
    font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.85rem);
    margin-bottom: 1.25rem;
}

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

.pc-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
}

.pc-list__icon {
    width: 1.4rem;
    height: 1.4rem;
    margin-top: 0.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pc--pros .pc-list__icon {
    color: var(--color-accent);
}

.pc--cons .pc-list__icon {
    color: var(--color-terracotta);
}

.pc-list strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

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

.verdict {
    max-width: 70ch;
    margin: 2.25rem auto 0;
    text-align: center;
}

.verdict p {
    margin: 0;
}

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

.safety {
    padding-top: 0;
}

.safety__title {
    max-width: 26ch;
}

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

.safety-col__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.safety-col__head h3 {
    margin: 0.35rem 0 0;
}

.safety-col__shield {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--color-accent);
    stroke-width: 1.5;
}

.tag {
    display: inline-block;
    padding: 0.15rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    color: var(--color-on-accent);
    font-size: var(--fs-caption);
    font-weight: 600;
}

.tag--general {
    background: var(--color-sage-mist);
    color: var(--color-accent-dark);
}

.safety-list {
    padding-left: 1.25rem;
}

.safety-list li {
    margin-bottom: 0.45rem;
}

.safety-list li::marker {
    color: var(--color-accent);
}

.safety__note {
    max-width: 70ch;
    margin: 0 auto;
    text-align: center;
    color: var(--color-text-muted);
}

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

/* ============================================
   HOME - WHY CONSIDER + APP
   ============================================ */

.why {
    --focus-color: var(--color-on-accent);
    position: relative;
    isolation: isolate;
    padding-block: var(--section-space);
    color: var(--color-on-accent);
    background-color: #2C3B2F;
}

.why__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("./assets/c0b2e9a2c808527734347848bb8a7c67.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 48% center;
}

.why::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(22, 33, 25, 0.78);
}

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

.why__copy h2 {
    color: var(--color-on-accent);
}

.why__copy p {
    color: var(--color-on-accent);
}

.why__founder {
    padding-left: 1rem;
    border-left: 3px solid var(--color-sage-pale);
}

.why__app-title {
    margin-top: 1.75rem;
    color: var(--color-on-accent);
}

.why__app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.why__stores {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

.why__stores .store-btn {
    width: 100%;
    justify-content: center;
}

.phone {
    position: relative;
    width: 200px;
    aspect-ratio: 9 / 18.5;
    padding: 9px;
    border-radius: 36px;
    background: #151815;
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.75), inset 0 0 0 2px #2C302B;
    transform: rotate(4deg);
    flex: none;
}

.phone__screen {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 2.4rem 0.95rem 0.75rem;
    border-radius: 28px;
    background: var(--color-bg);
    color: var(--color-text);
    text-align: center;
    overflow: hidden;
}

.phone__notch {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 66px;
    height: 18px;
    border-radius: var(--radius-pill);
    background: #151815;
    transform: translateX(-50%);
}

.phone__glyph {
    width: 2.25rem;
    height: 2.25rem;
    fill: none;
    stroke: var(--color-sage-mid);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.phone__app {
    margin: 0.3rem 0 0.8rem;
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.1;
}

.phone__bar {
    display: block;
    width: 72%;
    height: 6px;
    margin: 0 auto 0.45rem;
    border-radius: 6px;
    background: var(--color-sage-pale);
}

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

.phone__card {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--color-sage-pale);
    border-radius: 14px;
    background: var(--color-sage-wash);
    text-align: left;
    font-size: 0.72rem;
    line-height: 1.4;
}

.phone__card-label {
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 600;
    color: var(--color-accent-dark);
}

.phone__card-text {
    display: block;
    color: var(--color-text);
}

.phone__btn {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 0.55rem;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    color: var(--color-on-accent);
    font-size: 0.78rem;
    font-weight: 600;
}

.phone__home {
    display: block;
    width: 40%;
    height: 4px;
    margin-top: 0.6rem;
    border-radius: 4px;
    background: var(--color-text);
}

@media (min-width: 768px) {
    .why__stores {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .why__stores .store-btn {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .why {
        min-height: 520px;
    }

    .why::before {
        background: linear-gradient(90deg, rgba(22, 33, 25, 0.84) 0%, rgba(22, 33, 25, 0.66) 42%, rgba(22, 33, 25, 0.18) 66%, rgba(22, 33, 25, 0.05) 100%);
    }

    .why__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        align-items: center;
        gap: 3rem;
    }

    .why__copy {
        max-width: 31rem;
    }

    .why__app {
        flex-direction: row;
        justify-content: flex-end;
        gap: 1.75rem;
    }

    .phone {
        width: 230px;
    }

    .why__stores {
        flex-direction: column;
        width: auto;
    }
}

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

.final-cta {
    --focus-color: var(--color-on-accent);
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 420px;
    padding-block: 4.5rem;
    text-align: center;
    color: var(--color-on-accent);
    background-color: #3A3D28;
}

.final-cta__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("./assets/ee7904ecdb277008ccc9aedd09c975df.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 45%;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 70% 75% at 50% 50%, rgba(24, 30, 20, 0.78) 0%, rgba(24, 30, 20, 0.6) 60%, rgba(24, 30, 20, 0.4) 100%);
}

.final-cta__inner h2 {
    color: var(--color-on-accent);
    max-width: 20ch;
    margin-inline: auto;
}

.final-cta__text {
    max-width: 56ch;
    margin: 0 auto 1.75rem;
}

.final-cta__note {
    margin: 1rem 0 0;
    font-size: var(--fs-caption);
}

.final-cta__note a {
    color: var(--color-on-accent);
}

/* ============================================
   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;
    }

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

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