/* ============================================
   MatureSearch - design tokens & global styles
   Warm terracotta / sunset, light-only theme
   ============================================ */

:root {
    /* Palette */
    --cream: #FAF7F2;
    --ink: #2A211D;
    --ink-soft: #6B4A3B;
    --ink-invert: #FFF9F5;

    --terracotta: #E05638;
    --terracotta-deep: #9E4E37;
    --sunset-start: #FF6B4A;
    --sunset-end: #D9381E;

    --peach-50: #FBE3C6;
    --peach-100: #F8D2A6;
    --peach-200: #F6B98A;
    --peach-300: #EE9B6E;
    --clay: #9E4E37;
    --clay-dark: #8A4330;
    --olive: #6E5F2D;

    /* Surfaces */
    --glass: rgba(197, 94, 63, 0.26);
    --glass-strong: rgba(185, 84, 56, 0.42);
    --glass-border: rgba(255, 240, 228, 0.40);
    --glass-light: rgba(255, 244, 232, 0.42);

    /* Effects */
    --glow: 0 0 0 1px rgba(255, 229, 196, .5), 0 10px 32px rgba(185, 70, 35, .28);
    --glow-strong: 0 0 22px rgba(255, 196, 140, .75), 0 14px 34px rgba(170, 62, 30, .32);
    --shadow-soft: 0 14px 40px rgba(120, 52, 26, .18);

    /* Radii */
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 24px;
    --r-pill: 999px;
    --arch: 50% 50% var(--r-lg) var(--r-lg) / 36% 36% var(--r-lg) var(--r-lg);

    /* Type */
    --font-head: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

    /* Layout */
    --wrap: 1180px;
    --gutter: 20px;
    --header-h: 64px;
    --header-bottom: 64px;

    --bounce: cubic-bezier(.34, 1.56, .64, 1);

    --noise: url("data:image/svg+xml,%3Csvg%20xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width='180'%20height='180'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.85'%20numOctaves='3'/%3E%3C/filter%3E%3Crect%20width='180'%20height='180'%20filter='url%28%23n%29'%20opacity='0.5'/%3E%3C/svg%3E");
}

/* ============================================
   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 {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink);
    background-color: var(--cream);
    overflow-x: hidden;
}

body.page-default {
    background-image:
        linear-gradient(180deg,
            #EE9B6E 0%,
            #F3AC7C 10%,
            #F7C396 28%,
            #FAD6AE 48%,
            #F8C79A 68%,
            #F2A97C 88%,
            #EFA075 100%);
    background-attachment: fixed;
}

body.page-legal {
    background-color: var(--cream);
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    margin: 0 0 .6em;
    color: var(--ink);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 600; }

p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }

a { color: var(--terracotta-deep); }
a:hover { color: var(--clay-dark); }

:focus-visible {
    outline: 3px solid #8A2C12;
    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: -9999px;
    top: 0;
    z-index: 999;
    background: var(--ink);
    color: var(--ink-invert);
    padding: 12px 18px;
    border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus {
    left: 0;
}

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

.section {
    position: relative;
    padding: 56px 0;
}

.section__head {
    max-width: 44rem;
    margin: 0 auto 36px;
    text-align: center;
}

.section__head p {
    color: var(--ink-soft);
    margin-bottom: 0;
}

.eyebrow {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .78rem;
    font-weight: 600;
    color: #8A3418;
    margin-bottom: .6em;
    display: block;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-height: 48px;
    padding: 12px 24px;
    border: 0;
    border-radius: var(--r-pill);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform .25s var(--bounce), box-shadow .25s ease, filter .2s ease;
}

.btn:active { transform: scale(.96); }

.btn--cta {
    color: #FFF6EF;
    background-image: linear-gradient(135deg, var(--sunset-start), var(--sunset-end));
    box-shadow: var(--glow);
}

.btn--cta:hover {
    filter: brightness(1.05);
    box-shadow: var(--glow-strong);
}

.btn--ghost {
    background: rgba(255, 246, 238, .92);
    color: #8A2C12;
    box-shadow: 0 4px 14px rgba(90, 40, 20, .2);
}

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

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

.btn__label { white-space: nowrap; }

.arch-glyph { width: 20px; height: 22px; flex: none; }
.arch-glyph--btn {
    width: 22px; height: 24px;
    filter: drop-shadow(0 0 6px rgba(255, 236, 206, .9));
}

/* ============================================
   HEADER + NAV
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--clay);
    color: var(--ink-invert);
    box-shadow: 0 2px 18px rgba(96, 40, 20, .18);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 10px var(--gutter);
    min-height: var(--header-h);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-invert);
    text-decoration: none;
    font-family: var(--font-head);
    font-size: clamp(1.05rem, 3.6vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -.01em;
}

.brand-mark { width: 26px; height: 26px; flex: none; color: #FFE9D6; }
.site-brand__text-light { font-weight: 500; color: #FFE3CE; }

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

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 10px;
    border: 1px solid rgba(255, 234, 215, .45);
    border-radius: 14px;
    background: rgba(255, 238, 222, .14);
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    height: 2px;
    background: #FFEEDF;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s 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); }

.site-nav {
    position: fixed;
    top: var(--header-bottom);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    background: var(--clay-dark);
    padding: 18px var(--gutter) 40px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s ease;
    z-index: 55;
}

.site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
}

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

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 6px;
    color: #FFF1E4;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 233, 214, .2);
}

.site-nav__link:hover { color: #FFFFFF; }

.site-nav__cta-item { margin-top: 18px; }

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

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

.site-footer {
    position: relative;
    background: var(--olive);
    color: #FBF2DF;
    padding: 44px 0 18px;
    margin-top: 10px;
}

.site-footer__inner {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: grid;
    gap: 32px;
}

.footer-brand {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
    color: #FFF6E6;
    display: inline-block;
    margin-bottom: 10px;
}
.footer-brand__light { font-weight: 500; color: #F6E3C4; }

.footer-text {
    font-size: .95rem;
    line-height: 1.7;
    color: #F7EBD6;
    margin-bottom: .8em;
}
.footer-text--muted { color: #EFE0C4; font-size: .88rem; }
.footer-text--center { text-align: center; max-width: 22rem; }

.footer-col--badge {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.age-badge {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    width: 80px;
    height: 90px;
    color: #FFE9BE;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px rgba(255, 214, 150, .5));
}
.age-badge svg { width: 100%; height: 100%; }
.age-badge__text {
    position: absolute;
    bottom: 16px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.4rem;
    color: #FFF6E6;
}

.footer-heading {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #FFF2DC;
    margin-bottom: .8em;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-nav li { margin-bottom: 2px; }
.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #FFF3E0;
    text-decoration: underline;
    text-underline-offset: .18em;
    font-size: .98rem;
}
.footer-nav a:hover { color: #FFFFFF; }

.footer-legal {
    max-width: var(--wrap);
    margin: 28px auto 0;
    padding: 16px var(--gutter) 0;
    border-top: 1px solid rgba(255, 240, 215, .25);
    text-align: center;
}

.footer-legal__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: .4em;
    font-size: .95rem;
}
.footer-legal__links a { color: #FFF6E6; }
.footer-legal__copy { font-size: .85rem; color: #EFE1C5; margin: 0; }

/* ============================================
   FLOATING TO-TOP
   ============================================ */

.to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 65;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background-image: linear-gradient(135deg, var(--sunset-start), var(--sunset-end));
    color: #FFF4EC;
    box-shadow: var(--glow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s var(--bounce), visibility .25s;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:active { transform: scale(.94); }
body.cookie-open .to-top { bottom: 140px; }

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: none;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px calc(var(--gutter) + 26px) 14px var(--gutter);
    background: var(--clay-dark);
    color: #FFF2E6;
    box-shadow: 0 -6px 24px rgba(80, 32, 14, .28);
}

.cookie-banner.is-visible { display: flex; }

.cookie-banner__text {
    flex: 1 1 260px;
    margin: 0;
    font-size: .92rem;
    line-height: 1.6;
}
.cookie-banner__text a { color: #FFE6CF; }

.cookie-banner__accept { min-height: 44px; padding: 10px 22px; }

.cookie-banner__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #FFE9D6;
    cursor: pointer;
}
.cookie-banner__close svg { width: 20px; height: 20px; }

/* ============================================
   SURFACES - warm matte glass
   ============================================ */

.glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
}

.arch-mask {
    border-radius: var(--arch);
    overflow: hidden;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    padding: 36px 0 48px;
    color: var(--ink);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(160deg, #F6B07F 0%, #F09A6B 42%, #E8835D 100%);
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--noise);
    opacity: .12;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: -1;
}

.hero__inner {
    display: grid;
    gap: 32px;
    align-items: center;
}

.hero h1 {
    color: #5B2412;
    margin-bottom: .4em;
}

.hero__sub {
    font-size: clamp(1.05rem, 3.4vw, 1.25rem);
    color: #4B2718;
    max-width: 34rem;
}

.hero__points {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    gap: 8px;
}

.hero__points li {
    position: relative;
    padding-left: 26px;
    color: #4B2718;
    font-weight: 500;
}

.hero__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 12px;
    height: 12px;
    border-radius: 50% 50% 2px 2px;
    background-image: linear-gradient(135deg, var(--sunset-start), var(--sunset-end));
}

.hero__media {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero__arches {
    position: absolute;
    inset: -4% -2% 0;
    width: calc(100% + 4%);
    height: 104%;
    color: #FFE6BE;
    pointer-events: none;
    filter: drop-shadow(0 0 14px rgba(255, 213, 150, .85));
}

.hero__photo {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 5 / 7;
    object-fit: contain;
    object-position: bottom center;
}

/* ============================================
   SOCIAL PROOF / PROFILE CARDS
   ============================================ */

.nearby__layout {
    display: grid;
    gap: 22px;
}

.counter-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 22px;
    min-height: 220px;
    text-align: center;
    border: 2px solid rgba(255, 233, 196, .85);
    border-radius: var(--arch);
    background-image: linear-gradient(180deg, rgba(255, 221, 170, .75), rgba(226, 122, 80, .7));
    box-shadow: inset 0 0 40px rgba(255, 220, 170, .55), 0 0 24px rgba(255, 196, 140, .4);
    color: #52200F;
}

.counter-tile__label {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .5em;
}

.live-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D9381E;
    box-shadow: 0 0 0 0 rgba(217, 56, 30, .6);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(217, 56, 30, .55); }
    70% { box-shadow: 0 0 0 12px rgba(217, 56, 30, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 56, 30, 0); }
}

.counter-tile__text {
    margin: 0;
    font-size: .98rem;
    color: #5B2814;
}

.swipe-area {
    position: relative;
    min-width: 0;
}

.swipe-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 18px;
    margin-inline: -4px;
    scrollbar-width: thin;
}

.swipe-row > * {
    scroll-snap-align: start;
    flex: 0 0 min(72vw, 240px);
}

.swipe-nav {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 2px;
}

.swipe-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 234, 198, .9);
    background: rgba(255, 236, 206, .35);
    color: #7A2E13;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(255, 205, 150, .55);
    transition: transform .25s var(--bounce);
}
.swipe-btn svg { width: 20px; height: 20px; }
.swipe-btn:active { transform: scale(.94); }

.profile-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 10px 12px;
    border-radius: var(--arch);
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    color: #FFF3E8;
}

.profile-card__media {
    border-radius: var(--arch);
    overflow: hidden;
    background: rgba(255, 230, 205, .3);
}

.profile-card__media img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center 28%;
}

.profile-card__id {
    display: flex;
    align-items: baseline;
    gap: .4em;
    margin: 2px 4px 0;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
}
.profile-card__age { font-weight: 500; color: #FFE3CC; }

.profile-card__snippet {
    margin: 0 4px 4px;
    font-size: .88rem;
    line-height: 1.5;
    color: #FFEBDC;
}

.profile-card__actions {
    display: flex;
    gap: 8px;
}

.pill-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    border: 0;
    border-radius: var(--r-pill);
    background: rgba(255, 229, 200, .85);
    color: #8A2C12;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: transform .25s var(--bounce), background .2s ease;
}
.pill-btn svg { width: 18px; height: 18px; }
.pill-btn:hover { background: #FFF1E0; }
.pill-btn:active { transform: scale(.96); }

/* ============================================
   HOW IT WORKS
   ============================================ */

.steps {
    position: relative;
}

.steps-connector {
    position: absolute;
    left: -5%;
    right: -5%;
    top: 40px;
    width: 110%;
    height: 160px;
    color: #FFE2B4;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255, 205, 140, .9));
    display: none;
}

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

.step-item {
    text-align: center;
}

.step-item__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    color: #FFE3B8;
    filter: drop-shadow(0 0 12px rgba(255, 198, 132, .9));
    margin-bottom: 10px;
}

.arch-glyph--step { width: 70px; height: 78px; }

.step-item__number {
    position: absolute;
    bottom: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    color: #7A2E13;
}

.step-item__title { margin-bottom: .35em; color: #5B2412; }
.step-item__text { color: #4B2718; margin: 0; }

/* ============================================
   COMPARISON TABLE
   ============================================ */

.table-shell {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
    padding: 6px;
}

.table-scroll { overflow-x: auto; border-radius: var(--r-md); }

.feature-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: .95rem;
    color: #3E1E12;
}

.feature-table th,
.feature-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 238, 220, .35);
    vertical-align: middle;
}

.feature-table thead th {
    font-family: var(--font-head);
    font-size: .95rem;
    text-align: center;
    color: #5B2412;
    border-bottom: 2px solid rgba(255, 238, 220, .5);
}

.feature-table thead th:first-child { text-align: left; }

.feature-table thead th.is-highlight {
    background-image: linear-gradient(180deg, rgba(217, 86, 48, .55), rgba(217, 86, 48, .2));
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    color: #FFF3E8;
}

.feature-table thead th.is-highlight .arch-glyph {
    display: block;
    margin: 0 auto 4px;
    color: #FFE4BC;
}

.feature-table tbody th {
    font-weight: 600;
    color: #4B2718;
}

.feature-table td {
    text-align: center;
}

.feature-table td.is-highlight {
    background: rgba(217, 86, 48, .18);
}

.feature-table tbody tr:last-child th,
.feature-table tbody tr:last-child td { border-bottom: 0; }

.mark { width: 24px; height: 24px; }
.mark--yes { color: #2F7A3E; }
.mark--no { color: #A92F18; }

/* ============================================
   MINI QUIZ
   ============================================ */

.quiz {
    max-width: 38rem;
    margin-inline: auto;
    padding: 24px 18px;
    border-radius: var(--r-lg);
    background: var(--glass-light);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.quiz__progress {
    height: 8px;
    border-radius: var(--r-pill);
    background: rgba(255, 232, 206, .7);
    overflow: hidden;
    margin-bottom: 10px;
}

.quiz__bar {
    display: block;
    height: 100%;
    width: 33%;
    border-radius: var(--r-pill);
    background-image: linear-gradient(90deg, var(--sunset-start), var(--sunset-end));
    transition: width .4s var(--bounce);
}

.quiz__hint {
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8A3418;
    margin-bottom: 1em;
}

.quiz__question {
    font-family: var(--font-head);
    font-size: clamp(1.1rem, 3.2vw, 1.35rem);
    font-weight: 600;
    color: #5B2412;
    margin-bottom: 1em;
}

.quiz__step { display: none; }
.quiz__step.is-active { display: block; }

.quiz__options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.quiz-pill {
    min-height: 48px;
    padding: 10px 20px;
    border: 2px solid rgba(214, 112, 76, .5);
    border-radius: var(--r-pill);
    background: rgba(255, 246, 236, .8);
    color: #6B2E16;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .98rem;
    cursor: pointer;
    transition: transform .25s var(--bounce), border-color .2s ease, background .2s ease;
}

.quiz-pill:hover { background: #FFF7EF; }
.quiz-pill:active { transform: scale(.96); }

.quiz-pill[aria-pressed="true"] {
    border-color: transparent;
    background-image: linear-gradient(rgba(255, 249, 243, .95), rgba(255, 249, 243, .95)),
                      linear-gradient(135deg, var(--sunset-start), var(--sunset-end));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: var(--glow);
}

.quiz__result { display: none; }
.quiz__result.is-active { display: block; }

.quiz__result p { color: #4B2718; }

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

.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    max-width: 48rem;
    margin-inline: auto;
}

.faq-item {
    align-self: start;
    border-radius: var(--r-md);
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 56px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.02rem;
    color: #FFF3E8;
}

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

.arch-glyph--faq {
    flex: none;
    color: #FFD9AE;
    transition: transform .3s var(--bounce), color .2s ease;
}

.faq-item[open] .arch-glyph--faq {
    transform: rotate(180deg);
    color: #FFF0D8;
    filter: drop-shadow(0 0 8px rgba(255, 210, 150, .9));
}

.faq-item__a {
    padding: 0 16px 16px;
    background: rgba(255, 240, 225, .55);
    color: #3E1E12;
}

.faq-item__a p { margin: 14px 0 0; }
.faq-item__a p:first-child { margin-top: 14px; }

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

.legal-header {
    position: relative;
    background: var(--cream);
    padding: 44px var(--gutter) 28px;
    border-bottom: 1px solid rgba(201, 120, 90, .22);
}

.legal-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 120px;
    background-image: linear-gradient(180deg, rgba(224, 86, 56, .16), rgba(224, 86, 56, 0));
    pointer-events: none;
}

.legal-header__watermark {
    position: absolute;
    right: 4%;
    top: 10px;
    width: 180px;
    height: auto;
    color: rgba(224, 86, 56, .16);
    pointer-events: none;
}

.legal-header__inner {
    position: relative;
    max-width: 44rem;
    margin-inline: auto;
}

.legal-header h1 { color: #5B2412; }

.legal-header__date {
    font-size: .9rem;
    color: var(--ink-soft);
    margin-bottom: .8em;
}

.legal-header__intro {
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 0;
}

.legal-main {
    max-width: 44rem;
    margin-inline: auto;
    padding: 34px var(--gutter) 56px;
}

.legal-main h2 {
    color: #5B2412;
    margin-top: 1.4em;
}

.legal-main h3 {
    position: relative;
    padding-left: 26px;
    margin-top: 1.8em;
    color: #6B2E16;
}

.legal-main h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: .42em;
    width: 14px;
    height: 16px;
    border-radius: 50% 50% 2px 2px / 60% 60% 2px 2px;
    background-image: linear-gradient(135deg, var(--sunset-start), var(--sunset-end));
}

.legal-main p,
.legal-main li { color: #33251F; }

.legal-main ul,
.legal-main ol { margin-bottom: 1.2em; }
.legal-main li { margin-bottom: .4em; }

.callout {
    margin: 26px 0;
    padding: 18px 20px;
    border-radius: var(--r-lg);
    background: rgba(224, 86, 56, .10);
    border: 1px solid rgba(224, 86, 56, .28);
    box-shadow: 0 10px 26px rgba(150, 70, 40, .08);
}

.callout__title {
    font-family: var(--font-head);
    font-weight: 600;
    color: #8A3418;
    margin-bottom: .4em;
}

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

.page-legal .table-shell {
    background: rgba(224, 86, 56, .08);
    border-color: rgba(224, 86, 56, .25);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.page-legal .feature-table { color: #33251F; }
.page-legal .feature-table thead th { color: #FFF3E8; background: var(--clay); }
.page-legal .feature-table thead th:first-child { border-radius: var(--r-md) 0 0 0; }
.page-legal .feature-table thead th:last-child { border-radius: 0 var(--r-md) 0 0; }
.page-legal .feature-table thead th.is-highlight { background: var(--clay-dark); border-radius: 0; }
.page-legal .feature-table td { text-align: left; }
.page-legal .feature-table td.is-highlight { background: rgba(224, 86, 56, .08); }
.page-legal .feature-table th,
.page-legal .feature-table td { border-bottom-color: rgba(170, 100, 75, .25); }

.legal-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 600px) {
    .swipe-row > * { flex: 0 0 240px; }
    .site-footer__inner { grid-template-columns: 1.4fr 1fr; }
    .footer-col--nav { grid-column: span 2; }
}

@media (min-width: 768px) {
    :root { --gutter: 28px; --header-h: 72px; }

    .section { padding: 72px 0; }

    .menu-toggle { display: none; }

    .site-nav {
        position: static;
        transform: none;
        visibility: visible;
        background: transparent;
        padding: 0;
        overflow: visible;
        flex: 1 1 auto;
    }

    .site-nav__list {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 22px;
    }

    .site-nav__link {
        min-height: 40px;
        border-bottom: 0;
        font-size: .96rem;
        padding: 0;
    }

    .site-nav__cta-item {
        margin-top: 0;
        margin-left: auto;
    }

    .site-nav__cta-item .btn--block {
        width: auto;
        min-height: 44px;
        padding: 10px 22px;
    }

    .hero { padding: 56px 0 64px; }

    .hero__inner {
        grid-template-columns: 1.05fr .95fr;
        gap: 40px;
    }

    .nearby__layout {
        grid-template-columns: 250px minmax(0, 1fr);
        align-items: center;
        gap: 26px;
    }

    .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .steps-connector { display: block; }

    .site-footer__inner { grid-template-columns: 1.6fr 1fr 1fr; }
    .footer-col--nav { grid-column: auto; }

    .cookie-banner { padding: 16px calc(var(--gutter) + 30px) 16px var(--gutter); }

    .quiz { padding: 32px 30px; }
}

@media (min-width: 1024px) {
    .section { padding: 86px 0; }
    .hero { padding: 72px 0 84px; }
    .hero__inner { grid-template-columns: 1fr 1fr; gap: 56px; }
    .hero__photo { width: min(100%, 470px); }
    .swipe-row > * { flex: 0 0 258px; }
    .to-top { right: 26px; bottom: 26px; }
}

@media (min-width: 1280px) {
    :root { --wrap: 1220px; }
}

/* ============================================
   MOTION PREFERENCES
   ============================================ */

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

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

    .to-top { transition: none; }
}

/* Body scroll lock while the mobile drawer is open */
body.nav-open {
    overflow: hidden;
}

/* ============================================
   HOMEPAGE HELPERS
   ============================================ */

.hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero__note {
    margin: 0;
    font-size: .9rem;
    font-weight: 500;
    color: #5B2814;
}

.nearby__copy {
    max-width: 46rem;
    margin: 0 auto 26px;
    text-align: center;
    color: #4B2718;
}

#comparison .nearby__copy {
    margin-top: 26px;
    margin-bottom: 0;
}

.section__cta {
    margin: 30px 0 0;
    text-align: center;
}

.section__head h2 { color: #5B2412; }

.quiz__result .btn { margin-top: 6px; }