/*
 * Waitfordate Review - editorial magazine system
 * Cream paper, charcoal ink, single warm amber accent.
 */

:root {
    /* Palette */
    --paper: #FDFBF7;
    --paper-sand: #F4EEE2;
    --paper-sand-deep: #EDE4D3;
    --ink: #111827;
    --ink-soft: #33394A;
    --ink-muted: #5A6070;
    --rule: rgba(17, 24, 39, 0.16);
    --rule-strong: rgba(17, 24, 39, 0.38);
    --amber: #D97706;
    --amber-deep: #A35309;
    --amber-soft: #F6DDB2;
    --amber-glow: rgba(217, 119, 6, 0.18);
    --green: #2E6F4E;
    --green-soft: #E4F0E8;
    --red: #A32A22;
    --red-soft: #F6E5E3;

    /* Type */
    --font-display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    /* Layout */
    --wrap: 1200px;
    --wrap-narrow: 760px;
    --gutter: 20px;
    --radius: 6px;
    --radius-lg: 14px;
    --header-bottom: 64px;

    /* Elevation */
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06), 0 6px 18px rgba(17, 24, 39, 0.05);
    --shadow-md: 0 2px 6px rgba(17, 24, 39, 0.07), 0 18px 40px rgba(17, 24, 39, 0.08);
}

/* ============================================
   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: 88px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--paper);
    background-image:
        radial-gradient(rgba(17, 24, 39, 0.045) 0.6px, transparent 0.7px),
        radial-gradient(rgba(17, 24, 39, 0.03) 0.6px, transparent 0.7px);
    background-size: 3px 3px, 5px 5px;
    background-position: 0 0, 2px 3px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 0.5em;
    letter-spacing: -0.012em;
}

h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

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

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

:focus-visible {
    outline: 3px solid var(--amber-deep);
    outline-offset: 2px;
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--ink);
    color: var(--paper);
    padding: 12px 18px;
    font-weight: 600;
}
.skip-link:focus {
    left: 8px;
    top: 8px;
}

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

.section {
    padding: 56px 0;
    position: relative;
}
.section--sand {
    background: linear-gradient(180deg, var(--paper-sand) 0%, var(--paper-sand-deep) 100%);
    border-block: 1px solid var(--rule);
}

.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--amber-deep);
    margin: 0 0 0.6em;
}

.lede {
    font-size: 1.08rem;
    color: var(--ink-soft);
}

.rule-amber {
    height: 2px;
    width: 72px;
    background: linear-gradient(90deg, var(--amber), var(--amber-soft));
    border: 0;
    margin: 0 0 18px;
}

.section-head { margin-bottom: 28px; }
.section-head--center { text-align: center; }
.section-head--center .section-head__lede { margin-inline: auto; }
.section-head__title { margin-bottom: 0.35em; }
.section-head__lede {
    max-width: 62ch;
    color: var(--ink-soft);
    font-size: 1.05rem;
    margin: 0;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(253, 251, 247, 0.96);
    border-bottom: 1px solid var(--rule);
}
.site-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    opacity: 0.55;
}

.site-header__inner {
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 10px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--ink);
    min-width: 0;
}
.site-brand__mark {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    color: var(--amber-deep);
    display: inline-flex;
}
.site-brand__mark svg { width: 100%; height: 100%; }
.site-brand__text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.16rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.site-brand__text-alt { color: var(--amber-deep); }

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

.site-nav { order: 2; margin-left: auto; }
.site-nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
}
.site-nav__list a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.93rem;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    display: inline-block;
}
.site-nav__list a:hover,
.site-nav__list a:focus-visible {
    color: var(--ink);
    border-bottom-color: var(--amber);
}

.nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    background: var(--paper);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    flex: 0 0 auto;
}
.nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 767px) {
    .header-actions .header-cta { display: none; }

    .site-nav {
        position: fixed;
        top: var(--header-bottom);
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        background: var(--paper);
        border-top: 1px solid var(--rule);
        padding: 8px var(--gutter) 32px;
        overflow-y: auto;
        display: none;
        z-index: 55;
    }
    .site-nav.is-open { display: block; }
    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .site-nav__list li { border-bottom: 1px solid var(--rule); }
    .site-nav__list a {
        display: flex;
        align-items: center;
        min-height: 48px;
        font-size: 1.02rem;
        border-bottom: 0;
    }
    body.nav-open { overflow: hidden; }
}

@media (min-width: 768px) {
    .nav-toggle { display: none; }
    .site-nav { display: block !important; }
    .site-header__inner { padding: 12px var(--gutter); }
    .site-nav { margin-left: auto; margin-right: 22px; }
}

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

.cta-unit {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: 100%;
}
.cta-note {
    font-size: 0.82rem;
    color: var(--ink-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 26px;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-align: center;
    transition: transform 0.16s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    max-width: 100%;
}
.btn__icon { width: 20px; height: 20px; flex: 0 0 auto; }
.btn__label { min-width: 0; }

.btn--primary {
    color: #FFFFFF;
    background: linear-gradient(180deg, #E08A17 0%, #C06A08 100%);
    box-shadow: 0 2px 0 rgba(120, 62, 5, 0.5), 0 10px 26px var(--amber-glow);
}
.btn--primary:hover {
    background: linear-gradient(180deg, #EE9722 0%, #A9560C 100%);
    transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(1px); }

.btn--ghost {
    color: var(--ink);
    background: transparent;
    border: 1.5px solid var(--rule-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(17, 24, 39, 0.04); }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.9rem; }
.btn--sm .btn__icon { width: 17px; height: 17px; }
.btn--lg { padding: 17px 38px; font-size: 1.12rem; min-height: 56px; }
.btn--full, .btn--block { width: 100%; }

/* ============================================
   STICKY MOBILE CTA
   ============================================ */

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: rgba(253, 251, 247, 0.98);
    border-top: 1px solid var(--rule-strong);
    box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.12);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
}
.sticky-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-width: 560px;
    margin-inline: auto;
}
.sticky-cta__note {
    font-size: 0.78rem;
    color: var(--ink-muted);
    text-align: center;
}
.sticky-cta .cta-unit { width: 100%; }
.sticky-cta__btn { width: 100%; }

body:has(.sticky-cta) .site-footer { padding-bottom: 110px; }

@media (min-width: 768px) {
    .sticky-cta { display: none; }
    body:has(.sticky-cta) .site-footer { padding-bottom: 44px; }
}

/* ============================================
   SURFACES / CARDS
   ============================================ */

.card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px;
}

.bracket-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
}
.bracket-card::before,
.bracket-card::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    height: 14px;
    border: 2px solid var(--amber);
    pointer-events: none;
}
.bracket-card::before { top: 9px; border-bottom: 0; }
.bracket-card::after { bottom: 9px; border-top: 0; }

.hazard-frame {
    padding: 12px;
    border-radius: 4px;
    background:
        repeating-linear-gradient(45deg,
            var(--amber) 0 12px,
            var(--ink) 12px 24px);
    box-shadow: var(--shadow-md);
}
.hazard-frame__inner {
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 24px 20px;
}

.callout {
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    background: var(--paper);
    padding: 20px 22px;
    margin: 24px 0;
}
.callout--amber { border-left: 5px solid var(--amber); }
.callout--caution {
    border-left: 14px solid transparent;
    border-image: repeating-linear-gradient(45deg, var(--amber) 0 8px, var(--ink) 8px 16px) 14;
}
.callout__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 0.5em;
}

/* ============================================
   MARKER LISTS
   ============================================ */

.marker-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.marker-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    font-size: 0.98rem;
    color: var(--ink-soft);
}
.marker-list__glyph {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    display: inline-flex;
}
.marker-list--check .marker-list__glyph { color: var(--green); }
.marker-list--warn .marker-list__glyph { color: var(--red); }
.marker-list--amber .marker-list__glyph { color: var(--amber-deep); }

/* ============================================
   STARS
   ============================================ */

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--amber);
    line-height: 1;
}
.star { width: 17px; height: 17px; }
.star:not(.star--on) { color: var(--rule-strong); }

/* ============================================
   STAT CARDS
   ============================================ */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
    align-items: stretch;
}
.stat-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-top: 2px solid var(--amber);
    border-radius: 3px;
    padding: 20px 18px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}
.stat-card__label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
    margin: 0;
}
.stat-card__chart {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 74px;
    color: var(--ink);
}
.stat-card__chart svg { width: 100%; max-width: 132px; height: auto; }
.stat-card__value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}
.stat-card__desc {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin: 0;
}

/* ============================================
   DATA TABLE
   ============================================ */

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--rule);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 0.95rem;
}
.data-table th,
.data-table td {
    text-align: left;
    padding: 13px 16px;
    border-bottom: 1px solid var(--rule);
    vertical-align: top;
}
.data-table thead th {
    background: var(--paper-sand);
    font-family: var(--font-body);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 2px solid var(--ink);
}
.data-table tbody tr:nth-child(even) { background: rgba(17, 24, 39, 0.025); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table th[scope="row"] { font-weight: 600; }

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

.step-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    position: relative;
    z-index: 1;
}
.step-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--shadow-sm);
}
.step-card__marker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.step-card__num {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--amber-deep);
    line-height: 1;
}
.step-card__glyph {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--rule-strong);
    color: var(--ink);
    background: var(--paper-sand);
}
.step-card__glyph svg { width: 26px; height: 26px; }
.step-card__title { margin-bottom: 0.4em; }
.step-card__text { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

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

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

.profile-card {
    position: relative;
    margin: 0;
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 8px 8px 12px;
    box-shadow: var(--shadow-sm);
}
.profile-card img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center 28%;
}
.profile-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--paper);
    color: var(--green);
    border: 1px solid var(--green);
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 0.72rem;
    font-weight: 600;
}
.profile-card__badge svg { width: 12px; height: 12px; }
.profile-card__status {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--ink-soft);
    font-weight: 500;
}

/* ============================================
   REVIEW CARDS
   ============================================ */

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 18px;
    align-items: stretch;
}
.review-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 22px 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
}
.review-card::before,
.review-card::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ink);
    pointer-events: none;
}
.review-card::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.review-card::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.review-card__whorl {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 70px;
    height: 70px;
    color: var(--ink);
    opacity: 0.12;
    pointer-events: none;
}
.review-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
}
.review-card__avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 1px solid var(--rule-strong);
    background: var(--paper-sand);
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.review-card__avatar svg { width: 22px; height: 22px; }
.review-card__meta {
    margin: 4px 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
}
.review-card__topic {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-deep);
    font-weight: 600;
    margin: 0 0 0.5em;
}
.review-card__text {
    font-size: 0.97rem;
    color: var(--ink-soft);
    margin: 0;
}

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

.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    border-top: 1px solid var(--rule);
    max-width: 840px;
}
.faq-item {
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
    border-left: 4px solid transparent;
    align-self: start;
}
.faq-item[open] {
    border-left-color: var(--amber);
    background: rgba(246, 221, 178, 0.14);
}
.faq-item__q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 16px;
    min-height: 56px;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ink);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__chev {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: var(--amber-deep);
    transition: transform 0.2s ease;
}
.faq-item[open] .faq-item__chev { transform: rotate(180deg); }
.faq-item__a {
    padding: 0 16px 18px;
    color: var(--ink-soft);
    font-size: 0.99rem;
    max-width: 68ch;
}

/* ============================================
   PROSE (legal pages)
   ============================================ */

.prose { font-size: 1.02rem; color: var(--ink-soft); }
.prose h2, .prose h3 { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--ink); }

.legal-section { margin-bottom: 38px; }
.legal-section__title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 0.7em;
}

.page-header {
    padding: 40px 0 28px;
    border-bottom: 3px double var(--ink);
    position: relative;
    margin-bottom: 34px;
}
.page-header::after {
    content: "";
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: -7px;
    height: 2px;
    background: var(--amber);
    opacity: 0.8;
}
.page-header h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.updated-line {
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
    margin-bottom: 0.8em;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--ink-muted);
    margin: 0 0 14px;
}
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--rule-strong); }

/* ============================================
   COUNTER DIAL (hero widget shell)
   ============================================ */

.counter-dial {
    position: relative;
    width: min(220px, 70vw);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    background:
        conic-gradient(var(--amber) 0 72%, var(--paper-sand-deep) 72% 100%);
    padding: 12px;
}
.counter-dial::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--rule);
    box-shadow: inset 0 0 22px rgba(217, 119, 6, 0.1);
}
.counter-dial__body { position: relative; z-index: 1; padding: 0 12px; }
.counter-dial__num {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 800;
    line-height: 1.05;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.counter-dial__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2FA360;
    box-shadow: 0 0 0 5px rgba(47, 163, 96, 0.18);
}
.counter-dial__label {
    font-size: 0.86rem;
    color: var(--ink-soft);
    margin: 6px 0 0;
    font-weight: 500;
}

/* ============================================
   SIGNATURE CONDUIT / GLOW LAYERS
   ============================================ */

.conduit-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    color: var(--amber);
}
.conduit-layer svg { width: 100%; height: 100%; }
.conduit-layer .conduit-glow {
    filter: blur(6px);
    opacity: 0.45;
}
.glow-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(60% 55% at 50% 40%, var(--amber-glow), transparent 70%);
    z-index: 0;
}
.layer-content { position: relative; z-index: 2; }

/* ============================================
   REVEAL MOTION
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

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

.site-footer {
    background: var(--ink);
    color: #E6E3DC;
    padding: 44px 0;
    margin-top: 56px;
    border-top: 3px solid var(--amber);
    font-size: 0.94rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(253, 251, 247, 0.16);
}
.site-footer__wordmark {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.5em;
}
.site-footer__note { color: #CFCBC2; margin: 0; max-width: 46ch; }
.site-footer__heading {
    font-family: var(--font-body);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #F0C489;
    margin: 0 0 12px;
}
.site-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}
.site-footer__nav a {
    color: #E6E3DC;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}
.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.site-footer__disclosure {
    margin: 22px 0 10px;
    font-size: 0.85rem;
    color: #C6C2B9;
    max-width: 84ch;
}
.site-footer__copy {
    margin: 0;
    font-size: 0.83rem;
    color: #A7A39B;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 36px;
    }
    .section { padding: 72px 0; }
    body { font-size: 17.5px; }
}

@media (min-width: 1024px) {
    .section { padding: 88px 0; }
    :root { --gutter: 28px; }
}

/* ============================================
   HOMEPAGE - HERO BAND
   ============================================ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 30px 0 44px;
    border-bottom: 1px solid var(--rule);
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("/assets/a7bc2793388b494c1f2ce8e8fe3f86d1.webp");
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(253, 251, 247, 0.88) 0%, rgba(253, 251, 247, 0.95) 55%, rgba(253, 251, 247, 0.985) 100%);
}
.hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(52% 40% at 50% 62%, var(--amber-glow), transparent 72%);
}
.hero .wrap { position: relative; z-index: 2; }

.hero__deck { max-width: 760px; }
.hero__deck .lede { margin-bottom: 0.9em; }
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.rating-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}
.rating-chip__value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
}
.tested-line {
    font-size: 0.86rem;
    color: var(--ink-muted);
    font-weight: 500;
}
.hero .updated-line { margin-bottom: 18px; }

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 30px;
    padding: 18px;
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    background: rgba(253, 251, 247, 0.78);
    box-shadow: var(--shadow-sm);
}
.hero__col { position: relative; z-index: 2; min-width: 0; }
.hero__col--quiz { order: 1; }
.hero__col--counter { order: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__col--feed { order: 3; }

.hero__conduit {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    color: var(--amber);
    pointer-events: none;
}

.counter-note,
.feed__note {
    font-size: 0.78rem;
    color: var(--ink-muted);
    text-align: center;
    margin: 0;
    max-width: 34ch;
}
.feed__note { text-align: left; max-width: none; margin-top: 8px; }

/* Quiz terminal */
.quiz {
    background: var(--paper);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 18px 16px 16px;
}
.quiz__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 14px;
}
.quiz__steps {
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    margin: 0 0 16px;
    padding: 0;
}
.quiz__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--rule-strong);
    position: relative;
}
.quiz__step + .quiz__step::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 24px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--rule-strong);
    border-right: 2px solid var(--rule-strong);
    transform: rotate(45deg);
}
.quiz__step svg { width: 44px; height: 48px; }
.quiz__step-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-muted);
}
.quiz__step.is-active { color: var(--amber); }
.quiz__step.is-active .quiz__step-label { color: var(--amber-deep); }
.quiz__step.is-done { color: var(--green); }

.quiz__panel[hidden] { display: none; }
.quiz__question {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 12px;
    text-align: center;
}
.quiz__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 10px;
}
.quiz__option {
    min-height: 48px;
    padding: 10px 12px;
    border: 1.5px solid var(--rule-strong);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}
.quiz__option svg { width: 20px; height: 20px; flex: 0 0 auto; }
.quiz__option:hover,
.quiz__option.is-chosen {
    border-color: var(--amber);
    background: rgba(246, 221, 178, 0.35);
}
.quiz__options--goal { grid-template-columns: 1fr; }

.quiz__zip {
    display: grid;
    gap: 10px;
}
.quiz__zip-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-muted);
}
.quiz__zip-input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1.5px solid var(--rule-strong);
    border-radius: var(--radius);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    color: var(--ink);
}
.quiz__error {
    margin: 8px 0 0;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--red);
}
.quiz__error[hidden] { display: none; }

.quiz__panel--result { text-align: center; }
.quiz__count {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--ink);
}
.quiz__outcome-note {
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin: 0 0 14px;
}
.quiz__outcome[hidden] { display: none; }
.quiz__panel--result .cta-unit { align-items: center; }

.quiz__progress {
    margin-top: 16px;
    height: 9px;
    border-radius: 999px;
    background: var(--paper-sand-deep);
    overflow: hidden;
}
.quiz__progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--amber-soft), var(--amber));
    box-shadow: 0 0 12px var(--amber-glow);
    transition: width 0.5s ease;
}

/* Profile feed */
.feed__title {
    font-family: var(--font-body);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-muted);
    margin: 0 0 10px;
}
.feed {
    position: relative;
    max-height: 430px;
    overflow: hidden;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(244, 238, 226, 0.5);
}
.feed::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 56px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(253, 251, 247, 0), rgba(253, 251, 247, 0.92));
}
.feed__track {
    display: grid;
    gap: 12px;
    animation: feed-drift 30s ease-in-out infinite alternate;
}
@keyframes feed-drift {
    from { transform: translateY(0); }
    to { transform: translateY(-58%); }
}
.feed:hover .feed__track,
.feed:focus-within .feed__track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
    .feed__track { animation: none; }
    .feed { max-height: none; }
    .feed::after { display: none; }
}

@media (min-width: 768px) {
    .hero { padding: 44px 0 56px; }
    .hero__grid { padding: 26px; gap: 26px; }
    .hero__col--quiz { order: 0; }
    .hero__col--counter { order: 0; }
    .hero__col--feed { order: 0; }
    .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .hero__col--quiz { grid-column: 1 / -1; }
    .quiz__options--goal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr) minmax(0, 1fr);
        align-items: start;
    }
    .hero__col--quiz { grid-column: auto; }
    .hero__conduit { display: block; }
    .hero__deck { max-width: 820px; }
    .quiz { padding: 24px 22px 20px; }
}

/* ============================================
   HOMEPAGE - BREAKDOWN EXTRAS
   ============================================ */

.breakdown-notes { margin-top: 22px; }
.breakdown-notes li { font-size: 0.96rem; }

/* ============================================
   HOMEPAGE - HOW IT WORKS
   ============================================ */

.how-stage { position: relative; }
.map-field {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 118%;
    height: auto;
    color: var(--ink);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}
.steps-route {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--ink-muted);
    z-index: 1;
    pointer-events: none;
}
.how-stage .step-grid { position: relative; z-index: 2; }
.how-stage .step-card:nth-child(3) .step-card__glyph {
    background: var(--amber-soft);
    border-color: var(--amber);
    color: var(--amber-deep);
}
.how-caveat {
    margin: 26px auto 0;
    max-width: 74ch;
    padding: 18px 20px;
    border-left: 5px solid var(--amber);
    background: var(--paper-sand);
    font-size: 0.99rem;
    color: var(--ink-soft);
}
.inline-cta { margin-top: 24px; }
.inline-cta--center {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}
.inline-cta--center .cta-unit { align-items: center; text-align: center; }

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

/* ============================================
   HOMEPAGE - PROS & CONS
   ============================================ */

.proscons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}
.proscons__col { min-width: 0; }
.proscons__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    margin-bottom: 0.6em;
}
.proscons__title--pro { color: var(--green); }
.proscons__title--con { color: var(--red); }
.verdict-line {
    margin: 22px auto 0;
    max-width: 68ch;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.12rem;
    color: var(--ink);
}

@media (min-width: 768px) {
    .proscons {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
    .proscons__col + .proscons__col {
        border-left: 1px solid var(--rule);
        padding-left: 34px;
    }
}

/* ============================================
   HOMEPAGE - REVIEWS
   ============================================ */

.review-disclaimer {
    margin: 20px auto 0;
    max-width: 78ch;
    font-size: 0.86rem;
    color: var(--ink-muted);
}

/* ============================================
   HOMEPAGE - SAFETY DIAGRAM
   ============================================ */

.shield-diagram {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.shield-traces { display: none; }
.shield-diagram__col {
    display: grid;
    gap: 18px;
    align-content: start;
    position: relative;
    z-index: 2;
}
.shield-block {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-sm);
}
.shield-block::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 26px;
    width: 2px;
    height: 14px;
    background: var(--amber);
}
.shield-block h3 {
    font-size: 1.1rem;
    margin-bottom: 0.45em;
    color: var(--amber-deep);
}
.shield-block p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin: 0;
}
.shield-diagram__core {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
}
.shield-diagram__core::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(55% 45% at 50% 45%, var(--amber-glow), transparent 70%);
    pointer-events: none;
}
.shield-diagram__core svg {
    position: relative;
    width: min(170px, 46vw);
    height: auto;
    color: var(--ink);
}
.shield-diagram__core::after {
    content: "";
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    width: min(190px, 52vw);
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(17, 24, 39, 0.16), transparent);
}
.shield-diagram__caption {
    position: relative;
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-muted);
    text-align: center;
    max-width: 22ch;
}
.safety-footnote {
    margin: 22px auto 0;
    max-width: 74ch;
    font-size: 0.88rem;
    color: var(--ink-muted);
    text-align: center;
}

@media (min-width: 1024px) {
    .shield-diagram {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr);
        gap: 30px;
        align-items: center;
    }
    .shield-traces {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        color: var(--amber);
        z-index: 1;
        pointer-events: none;
    }
    .shield-block::before { display: none; }
}

/* ============================================
   HOMEPAGE - VERDICT BAND
   ============================================ */

.verdict-band {
    position: relative;
    padding: 48px 0 56px;
    text-align: center;
    background: linear-gradient(180deg, var(--paper-sand) 0%, var(--paper-sand-deep) 100%);
    border-top: 2px solid var(--amber);
    border-bottom: 2px solid var(--amber);
}
.verdict-seal {
    display: inline-flex;
    width: 84px;
    height: 84px;
    margin-bottom: 14px;
    color: var(--ink);
}
.verdict-seal svg { width: 100%; height: 100%; }
.verdict-band p {
    max-width: 66ch;
    margin-inline: auto;
    color: var(--ink-soft);
}