/* style.css - SupplementsNoMin.com
   Design tokens are injected as CSS custom properties via site_tokens_css().
   Base layer mirrors the shared PHP/JSON template; site-specific sections
   (home, directory, glossary, FAQ, forms) follow below. */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: var(--header-height, 76px);
    background: var(--color-bg, #fff);
    color: var(--color-text, #16211a);
    font-family: var(--font-body, system-ui, sans-serif);
    font-size: 1rem;
    line-height: 1.65;
}

a {
    color: var(--color-accent, #1c6b3f);
    text-decoration: underline;
}

a:hover {
    color: var(--color-accent-strong, #0f4f2c);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-display, system-ui, sans-serif);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

/* ── Header ────────────────────────────────────────────────────────────────── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height, 76px);
    background: var(--color-bg, #fff);
    border-bottom: 1px solid var(--color-border, #e2e7dc);
    z-index: 100;
}

.site-header__inner {
    max-width: var(--content-width, 1200px);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-logo a {
    font-family: var(--font-display, system-ui, sans-serif);
    font-weight: 300;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--color-text, #16211a);
}

.site-logo span:last-child {
    color: var(--color-accent, #1c6b3f);
}

/* ── Navigation ────────────────────────────────────────────────────────────── */

.site-nav {
    margin-left: auto;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.site-nav__list a {
    color: var(--color-text, #16211a);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s;
    display: inline-flex;
    align-items: center;
}

.site-nav__list a:hover,
.site-nav__list a.is-active {
    color: var(--color-accent, #1c6b3f);
}

.site-nav__item--has-dropdown {
    position: relative;
}

.nav-chevron::after {
    content: ' \25BE';
    font-size: 0.75em;
}

/* Dropdown sits flush against its trigger (no gap) so the hover chain never
   breaks between the link and the panel -- this was the reported "loses
   focus before you can click" bug. Visual breathing room comes from padding
   on the panel itself, not a margin gap outside the hoverable area. */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 0.6rem;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    inset: 0;
    top: 0.6rem;
    background: var(--color-bg, #fff);
    border: 1px solid var(--color-border, #e2e7dc);
    border-radius: var(--radius-small, 8px);
    box-shadow: var(--shadow-card);
    z-index: -1;
}

.nav-dropdown ul,
.nav-dropdown {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.nav-dropdown {
    min-width: 220px;
}

.nav-dropdown li a {
    display: block;
    padding: 0.6rem 1rem;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 400;
}

.nav-dropdown li:first-child a { border-top-left-radius: var(--radius-small, 8px); border-top-right-radius: var(--radius-small, 8px); }
.nav-dropdown li:last-child a { border-bottom-left-radius: var(--radius-small, 8px); border-bottom-right-radius: var(--radius-small, 8px); }
.nav-dropdown li a:hover { background: var(--color-surface, #f5f7f2); }

.site-nav__item--has-dropdown:hover .nav-dropdown,
.site-nav__item--has-dropdown:focus-within .nav-dropdown {
    display: block;
}

/* Header actions / CTA / hamburger */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.site-header__cta {
    white-space: nowrap;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.nav-hamburger__icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-hamburger__icon span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text, #16211a);
    border-radius: 2px;
}

.nav-hamburger__label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-text-muted, #5b6b5f);
}

/* ── Layout ─────────────────────────────────────────────────────────────────── */

.page-wrapper {
    max-width: var(--content-width, 1200px);
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.content-layout--single {
    grid-template-columns: 1fr;
    max-width: 760px;
}

.content-layout--wide.content-layout--single {
    max-width: none;
}

.content-main {
    min-width: 0;
}

.content-sidebar {
    position: sticky;
    top: calc(var(--header-height, 76px) + 1.5rem);
}

/* ── Breadcrumbs ─────────────────────────────────────────────────────────────── */

.breadcrumbs {
    margin-bottom: 1.5rem;
}

.breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--color-text-muted, #5b6b5f);
}

.breadcrumbs__item + .breadcrumbs__item::before {
    content: '/';
    margin-right: 0.5rem;
}

.breadcrumbs__item.is-current {
    color: var(--color-text, #16211a);
}

/* ── Sidebar blocks ───────────────────────────────────────────────────────── */

.sidebar-block {
    background: var(--color-surface, #f5f7f2);
    border: 1px solid var(--color-border, #e2e7dc);
    border-radius: var(--radius-medium, 12px);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.sidebar-block__title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted, #5b6b5f);
}

.sidebar-block__links {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sidebar-block__links a {
    font-size: 0.875rem;
}

.cta-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--color-accent, #1c6b3f);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius-small, 8px);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */

.site-footer {
    border-top: 1px solid var(--color-border, #e2e7dc);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    background: var(--color-surface, #f5f7f2);
}

.site-footer__inner {
    max-width: var(--content-width, 1200px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-footer__top {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.site-footer__brand {
    flex: 1 1 220px;
}

.site-footer__brand-name {
    font-family: var(--font-display, system-ui, sans-serif);
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.site-footer__tagline {
    margin: 0 0 0.5rem;
    color: var(--color-text-muted, #5b6b5f);
    font-size: 0.875rem;
}

.site-footer__contact a {
    color: var(--color-text-muted, #5b6b5f);
    font-size: 0.875rem;
}

.site-footer__nav {
    flex: 1 1 160px;
}

.site-footer__col-heading {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted, #5b6b5f);
    margin-bottom: 0.75rem;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.site-footer__links a {
    color: var(--color-text, #16211a);
    text-decoration: none;
    font-size: 0.875rem;
}

.site-footer__links a:hover {
    color: var(--color-accent, #1c6b3f);
}

.site-footer__bottom {
    border-top: 1px solid var(--color-border, #e2e7dc);
    padding-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted, #5b6b5f);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
}

.site-footer__legal a {
    color: var(--color-text-muted, #5b6b5f);
}

/* ── Utility ─────────────────────────────────────────────────────────────────── */

.text-muted {
    color: var(--color-text-muted, #5b6b5f);
}

.eyebrow {
    color: var(--color-accent, #1c6b3f);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-small, 8px);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn--primary {
    background: var(--color-accent, #1c6b3f);
    color: var(--color-on-accent, #fff);
}

.btn--primary:hover {
    background: var(--color-accent-strong, #0f4f2c);
    color: var(--color-on-accent, #fff);
}

.btn--outline {
    border-color: var(--color-border, #e2e7dc);
    color: var(--color-text, #16211a);
    background: transparent;
}

.btn--outline:hover {
    border-color: var(--color-accent, #1c6b3f);
    color: var(--color-accent, #1c6b3f);
}

.btn--block { display: block; text-align: center; width: 100%; }

.tag-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tag-list li {
    background: var(--color-surface, #f5f7f2);
    border: 1px solid var(--color-border, #e2e7dc);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    color: var(--color-text-muted, #5b6b5f);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--color-accent, #1c6b3f);
    color: #fff;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge--outline {
    background: transparent;
    border: 1px solid var(--color-accent, #1c6b3f);
    color: var(--color-accent, #1c6b3f);
}

.badge--muted {
    background: var(--color-panel, #eef2ea);
    color: var(--color-text-muted, #5b6b5f);
}

.check-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.check-list li::before {
    content: '\2713';
    color: var(--color-accent, #1c6b3f);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* ── Error page ─────────────────────────────────────────────────────────────── */

.error-page {
    text-align: center;
    padding: 5rem 1rem;
}

.error-page h1 {
    font-size: 6rem;
    font-weight: 200;
    margin: 0 0 0.5rem;
    color: var(--color-text-muted, #5b6b5f);
}

.error-page p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ── Prose (generic content) ──────────────────────────────────────────────── */

.prose h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.prose p { margin: 0 0 1.1rem; color: var(--color-text, #16211a); }
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 0.4rem; }

/* ══════════════════════════════════════════════════════════════════════════
   HOMEPAGE
   ══════════════════════════════════════════════════════════════════════════ */

.home-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0 4rem;
}

.home-hero h1 {
    font-size: 3rem;
    color: var(--color-text, #16211a);
}

.home-hero h1 .accent { color: var(--color-accent, #1c6b3f); }

.home-hero__sub {
    font-size: 1.15rem;
    color: var(--color-text-muted, #5b6b5f);
    max-width: 560px;
    margin-bottom: 1.75rem;
}

.home-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.home-hero__features {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--color-text-muted, #5b6b5f);
}

.home-hero__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-hero__trust {
    font-size: 0.9rem;
    color: var(--color-text-muted, #5b6b5f);
}

/* CSS "bottle mockup" hero visual -- no product photography exists yet, so
   the hero panel is illustrated with styled divs rather than a broken/stock
   image. */
.bottle-panel {
    background: linear-gradient(160deg, var(--color-surface-strong, #0f2a1c), #1c3d2a);
    border-radius: var(--radius-large, 20px);
    padding: 2.5rem 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.bottle {
    background: #f4f6f1;
    border-radius: 10px 10px 4px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0.6rem 0.5rem;
    text-align: center;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
    position: relative;
}

.bottle::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 46%;
    height: 16px;
    background: #2a2a2a;
    border-radius: 3px 3px 0 0;
}

.bottle--tall { width: 68px; height: 190px; }
.bottle--jar { width: 96px; height: 150px; border-radius: 14px 14px 6px 6px; }
.bottle--jar::before { background: #f4f6f1; height: 20px; top: -18px; width: 50%; }
.bottle--dropper { width: 44px; height: 170px; }
.bottle--dropper::before { background: #2a2a2a; height: 22px; top: -20px; }
.bottle--gummy { width: 66px; height: 130px; }

.bottle__label {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #16211a;
    line-height: 1.3;
}

.bottle__label .accent { color: var(--color-accent, #1c6b3f); display: block; font-size: 0.62rem; }

.bottle-panel__badges {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.25rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.bottle-panel__badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--radius-small, 8px);
    color: #fff;
    padding: 0.6rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    flex: 1 1 140px;
}

/* Trust strip */
.trust-strip {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border, #e2e7dc);
    border-bottom: 1px solid var(--color-border, #e2e7dc);
    font-size: 0.85rem;
    color: var(--color-text-muted, #5b6b5f);
    font-weight: 600;
}

/* Section shell */
.home-section {
    padding: 4rem 0;
}

.home-section--surface {
    background: var(--color-surface, #f5f7f2);
    margin: 0 calc((100vw - var(--content-width, 1200px)) / -2 + 1.5rem);
    padding: 4rem calc((100vw - var(--content-width, 1200px)) / 2 - 1.5rem);
}

.home-section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.home-section__head h2 { font-size: 2rem; }

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    text-align: center;
    padding: 1rem;
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-panel, #eef2ea);
    color: var(--color-accent, #1c6b3f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
}

.feature-card h3 { font-size: 1.05rem; }
.feature-card p { color: var(--color-text-muted, #5b6b5f); font-size: 0.9rem; margin: 0; }

/* Directory teaser split */
.home-split {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 2.5rem;
    align-items: center;
}

.home-split h2 { font-size: 2rem; }

.listing-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.listing-card {
    background: var(--color-bg, #fff);
    border: 1px solid var(--color-border, #e2e7dc);
    border-radius: var(--radius-large, 20px);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.listing-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.listing-card__title {
    font-family: var(--font-display, system-ui, sans-serif);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0;
    margin: 0;
}

.listing-card__example {
    font-size: 0.7rem;
    color: var(--color-text-muted, #5b6b5f);
    background: var(--color-panel, #eef2ea);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    display: inline-block;
}

.listing-card__checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.listing-card__checks li::before {
    content: '\2713';
    color: var(--color-accent, #1c6b3f);
    font-weight: 700;
    margin-right: 0.5rem;
}

.listing-card__link {
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

/* Resource / article card grid */
.article-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.article-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.article-card__thumb {
    height: 140px;
    border-radius: var(--radius-medium, 12px);
    background: linear-gradient(135deg, var(--color-panel, #eef2ea), var(--color-surface, #f5f7f2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent, #1c6b3f);
    font-family: var(--font-display, system-ui, sans-serif);
    font-size: 1.8rem;
    font-weight: 300;
}

.article-card h3 { font-size: 1rem; margin: 0; }
.article-card p { font-size: 0.85rem; color: var(--color-text-muted, #5b6b5f); margin: 0; }
.article-card a.article-card__link { font-size: 0.85rem; font-weight: 600; text-decoration: none; }

/* CTA banner */
.cta-banner {
    background: var(--color-surface-strong, #0f2a1c);
    color: #fff;
    border-radius: var(--radius-large, 20px);
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-banner h2 { font-size: 1.5rem; margin-bottom: 0.35rem; color: #fff; }
.cta-banner p { margin: 0; color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.cta-banner .btn--primary { background: #fff; color: var(--color-surface-strong, #0f2a1c); }
.cta-banner .btn--primary:hover { background: rgba(255,255,255,0.85); }

/* ══════════════════════════════════════════════════════════════════════════
   DIRECTORY
   ══════════════════════════════════════════════════════════════════════════ */

.dir-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0 2.5rem;
}

.dir-category-card {
    display: block;
    text-decoration: none;
    border: 1px solid var(--color-border, #e2e7dc);
    border-radius: var(--radius-medium, 12px);
    padding: 1.5rem;
    color: var(--color-text, #16211a);
}

.dir-category-card:hover { border-color: var(--color-accent, #1c6b3f); }
.dir-category-card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.dir-category-card p { margin: 0; color: var(--color-text-muted, #5b6b5f); font-size: 0.9rem; }

.dir-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.dir-listing-detail__fields {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.dir-field {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border, #e2e7dc);
    font-size: 0.9rem;
}

.dir-field__label { color: var(--color-text-muted, #5b6b5f); }
.dir-field__value { font-weight: 600; text-align: right; }

.notice-box {
    background: var(--color-panel-soft, #f9faf7);
    border: 1px solid var(--color-border, #e2e7dc);
    border-radius: var(--radius-medium, 12px);
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    color: var(--color-text-muted, #5b6b5f);
    margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   GLOSSARY
   ══════════════════════════════════════════════════════════════════════════ */

.glossary-index {
    columns: 2;
    column-gap: 2.5rem;
    margin: 1.5rem 0;
}

.glossary-index__item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
}

.glossary-index__item a {
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
}

.glossary-index__item p { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--color-text-muted, #5b6b5f); }

.glossary-term__meta { margin-bottom: 1.5rem; }
.glossary-term__section { margin-bottom: 1.5rem; }
.glossary-term__section h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted, #5b6b5f); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════════════════ */

.faq-group { margin-bottom: 2.5rem; }
.faq-group h2 { font-size: 1.3rem; }

.faq-item {
    border: 1px solid var(--color-border, #e2e7dc);
    border-radius: var(--radius-medium, 12px);
    padding: 0.25rem 1.25rem;
    margin-bottom: 0.75rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 0.9rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--color-accent, #1c6b3f); }
.faq-item[open] summary::after { content: '\2212'; }

.faq-item p { padding-bottom: 1rem; color: var(--color-text-muted, #5b6b5f); margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   FORMS (Get Matched)
   ══════════════════════════════════════════════════════════════════════════ */

.lead-form {
    display: grid;
    gap: 1.1rem;
    max-width: 640px;
}

.lead-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.lead-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form input[type="url"],
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--color-border, #e2e7dc);
    border-radius: var(--radius-small, 8px);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--color-bg, #fff);
    color: var(--color-text, #16211a);
}

.lead-form textarea { resize: vertical; min-height: 100px; }

.lead-form fieldset {
    border: 1px solid var(--color-border, #e2e7dc);
    border-radius: var(--radius-medium, 12px);
    padding: 1rem 1.25rem;
}

.lead-form legend {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0 0.4rem;
}

.lead-form__checks {
    display: grid;
    gap: 0.6rem;
}

.lead-form__checks label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    margin-bottom: 0;
}

.lead-form__checks input { width: auto; }

.lead-form__hp { position: absolute; left: -9999px; }

.form-alert {
    border-radius: var(--radius-medium, 12px);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-alert--error { background: #fdeeee; color: #8a2f2f; border: 1px solid #f2c9c9; }
.form-alert--success { background: #eaf6ee; color: #16532f; border: 1px solid #bfe4cc; }

/* ── Mobile ─────────────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
    .home-hero { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .article-card-grid { grid-template-columns: repeat(2, 1fr); }
    .listing-card-grid { grid-template-columns: repeat(2, 1fr); }
    .home-split { grid-template-columns: 1fr; }
    .dir-listing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .site-header__cta { display: none; }

    .site-nav {
        display: none;
        position: fixed;
        top: var(--header-height, 76px);
        left: 0;
        right: 0;
        background: var(--color-bg, #fff);
        border-bottom: 1px solid var(--color-border, #e2e7dc);
        padding: 1rem 1.5rem;
        z-index: 99;
        max-height: calc(100vh - var(--header-height, 76px));
        overflow-y: auto;
    }

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

    .site-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav-dropdown {
        position: static;
        padding-top: 0;
        margin-top: 0.5rem;
    }

    .nav-dropdown::before { display: none; }

    .site-nav__item--has-dropdown:hover .nav-dropdown { display: none; }
    .site-nav.is-open .nav-dropdown.is-open { display: block; }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .content-sidebar {
        position: static;
    }

    .feature-grid, .article-card-grid, .listing-card-grid, .dir-category-grid, .dir-listing-grid {
        grid-template-columns: 1fr;
    }

    .glossary-index { columns: 1; }

    .lead-form__row { grid-template-columns: 1fr; }

    .cta-banner { flex-direction: column; text-align: center; }

    /* Mobile footer: single column, all text/links doubled in size */
    .site-footer__top {
        flex-direction: column;
        gap: 2rem;
    }

    .site-footer__brand-name { font-size: 1.6rem; }
    .site-footer__tagline,
    .site-footer__contact a { font-size: 1.1rem; }

    .site-footer__col-heading { font-size: 1.05rem; }

    .site-footer__links {
        gap: 0.75rem;
    }

    .site-footer__links a { font-size: 1.15rem; }

    .site-footer__bottom {
        flex-direction: column;
        font-size: 1rem;
        gap: 0.75rem;
    }

    .site-footer__legal a { font-size: 1rem; }
}
