:root {
    --green: #00A651;
    --green-dark: #007A3D;
    --green-light: #E8F7EE;
    --black: #0A0A0A;
    --dark: #111827;
    --mid: #6B7280;
    --light: #F9FAFB;
    --border: #E5E7EB;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --radius: 10px;
    --radius-lg: 16px;
    --cat-health: #0EA5E9;
    --cat-poverty: #F59E0B;
    --cat-education: #8B5CF6;
    --cat-sport: #00A651;
    --cat-environment: #10B981;
    --cat-housing: #EF4444;
    --cat-arts: #EC4899;
    --cat-community: #F97316;
    --sidebar-w: 240px;
    /* Public site header height — used for fixed header + sticky offsets (do not use overflow-x:hidden on body or sticky breaks) */
    --site-header-height: 64px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

html {
    scroll-behavior: smooth;
    /* clip avoids horizontal bleed without the scroll-containment side effect of overflow:hidden that breaks position:sticky site-wide */
    overflow-x: clip;
    max-width: 100vw;
    scroll-padding-top: var(--site-header-height);
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Offset in-flow content beneath fixed header (admin uses .admin-body — no public chrome) */
body:not(.admin-body) {
    padding-top: var(--site-header-height);
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; }
main { min-height: calc(100vh - 160px); }
.shell { max-width: 1160px; margin: 0 auto; }
.section-space { padding: 40px 0 48px; }


.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header-inner {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.logo, .footer-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 19px;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.logo-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 2px; }
nav a {
    color: var(--mid);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: color .15s, background .15s;
    white-space: nowrap;
}
nav a:hover { color: var(--dark); background: var(--light); }
nav a.active { color: var(--dark); font-weight: 600; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    border: none;
    white-space: nowrap;
}
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--dark); background: var(--light); }
.btn-ghost {
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 9px; }
.btn-danger { background: white; color: #EF4444; border: 1.5px solid #FCA5A5; }
.btn-danger:hover { background: #FEF2F2; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border-radius: 7px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s; border: none; white-space: nowrap; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.button-ghost { background: white; color: var(--dark); border: 1.5px solid var(--border); }
.button-ghost:hover { border-color: var(--dark); background: var(--light); }

/* Session status: overlay modal (works over admin sidebar + public layout) */
body.status-modal-open {
    overflow: hidden;
}
.status-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    animation: status-modal-in 0.22s ease-out;
}
.status-modal--dismissed {
    display: none !important;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes status-modal-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.status-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.status-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: var(--white, #fff);
    border-radius: 16px;
    border: 1.5px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
    padding: 28px 24px 24px;
    text-align: center;
    animation: status-modal-panel-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes status-modal-panel-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.status-modal__x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: var(--light, #f9fafb);
    color: var(--mid, #6b7280);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.status-modal__x:hover {
    background: #e5e7eb;
    color: var(--dark, #111827);
}
.status-modal__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}
.status-modal__title {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: var(--dark, #111827);
    margin: 0 0 8px;
}
.status-modal__text {
    font-size: 15px;
    line-height: 1.55;
    color: var(--mid, #4b5563);
    margin: 0 0 20px;
}
.status-modal__ok {
    min-width: 120px;
}
body.submission-modal-open {
    overflow: hidden;
}
.submission-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.submission-modal[hidden] {
    display: none !important;
}
.submission-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2, 6, 23, 0.62);
    cursor: pointer;
}
.submission-modal__panel {
    position: relative;
    width: min(1100px, 96vw);
    max-height: 92vh;
    overflow: auto;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 24px 64px rgba(2, 6, 23, 0.24);
    padding: 18px;
}
.submission-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: var(--mid);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.submission-modal__title {
    margin: 0;
    padding-right: 28px;
    font-size: 28px;
    color: var(--dark);
}
.submission-modal__sub {
    margin: 6px 0 12px;
    font-size: 13px;
    color: var(--mid);
}
.submission-modal__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}
.submission-modal__hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}
.submission-modal__meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}
.submission-modal__meta-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #FAFAFA;
    padding: 10px 12px;
    display: grid;
    gap: 3px;
}
.submission-modal__meta-item span {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mid);
    font-weight: 700;
}
.submission-modal__meta-item strong {
    font-size: 14px;
    color: var(--dark);
    font-weight: 600;
}
.submission-modal__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: 14px;
}
.submission-modal__main,
.submission-modal__side {
    display: grid;
    gap: 12px;
}
.submission-modal__section {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    background: #fff;
}
.submission-modal__section h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--dark);
}
.submission-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.submission-modal__list {
    margin: 0;
    padding-left: 18px;
}
.submission-modal__list li {
    margin-bottom: 6px;
}
@media (max-width: 980px) {
    .submission-modal__hero {
        flex-direction: column;
    }
    .submission-modal__hero-actions {
        justify-content: flex-start;
    }
    .submission-modal__meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .submission-modal__layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 620px) {
    .submission-modal__meta-grid {
        grid-template-columns: 1fr;
    }
}

.site-footer {
    background: var(--dark);
    padding: 36px 40px;
    margin-top: 0;
}
.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}
.site-footer .footer-logo { font-size: 16px; color: rgba(255,255,255,0.65); }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-auth-form { display: inline; margin: 0; padding: 0; }
.footer-auth-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
}
.footer-auth-btn:hover { color: rgba(255,255,255,0.7); }
.footer-built { font-size: 12px; color: rgba(255,255,255,0.25); white-space: nowrap; }
.footer-built span { color: var(--green); }
.footer-attribution {
    justify-self: end;
    text-align: right;
    font-size: 12px;
    color: rgba(255,255,255,0.42);
    white-space: nowrap;
    padding-right: 2px;
}
.footer-attribution span { color: var(--green); }
.footer-disclaimer {
    grid-column: 1 / -1;
    max-width: 720px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.52);
    text-align: center;
}
.footer-disclaimer a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-disclaimer a:hover {
    color: #fff;
}
@media (max-width: 768px) {
    .site-footer-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo { order: 1; }
    .footer-links { order: 2; justify-content: center; }
    .footer-disclaimer {
        order: 3;
        padding-top: 16px;
        margin-top: 4px;
    }
    .footer-attribution {
        order: 4;
        width: 100%;
        justify-self: center;
        text-align: center;
        padding-right: 0;
    }
}

.home-hero, .submit-hero, .page-hero-dark {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
/* Home hero: keep content grouped; avoid a tall dark band with copy stuck to the top */
.page-home .home-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.page-home .home-hero .hero-shell {
    flex: 0 0 auto;
    padding-top: clamp(48px, 7vw, 88px);
    padding-bottom: clamp(40px, 5vw, 72px);
}
.home-hero::before, .submit-hero::before, .page-hero-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,166,81,0.16) 0%, transparent 70%),
      radial-gradient(ellipse 30% 30% at 80% 100%, rgba(0,166,81,0.07) 0%, transparent 60%);
    pointer-events: none;
}
.hero-shell, .page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 88px 40px 72px;
    text-align: center;
    position: relative;
}
.submit-hero { padding: 56px 40px; text-align: center; }
.submit-hero h1, .page-hero-dark h1, .hero-shell h1, .browse-page-header h1, .cat-hero h1, .report-hero h1, .about-hero h1 {
    font-family: 'DM Serif Display', serif;
    line-height: 1.1;
}
.hero-shell h1 { font-size: clamp(36px, 5vw, 64px); color: white; margin-bottom: 18px; }
.hero-shell h1 em { font-style: italic; color: var(--green); }
.hero-shell > p, .submit-hero p, .page-hero-dark p {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    max-width: 560px;
    margin: 0 auto 28px;
}
.hero-eyebrow, .tier-picker-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,166,81,0.15);
    border: 1px solid rgba(0,166,81,0.3);
    color: #4ADE80;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,166,81,0.15);
    border: 1px solid rgba(0,166,81,0.3);
    color: #4ADE80;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 24px;
    position: relative;
  }
  
.search-wrap {
    max-width: 600px;
    margin: 0 auto 24px;
    position: relative;
}
.search-wrap input {
    width: 100%;
    padding: 17px 110px 17px 48px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 15px;
    outline: none;
    backdrop-filter: blur(8px);
}
.search-wrap input::placeholder { color: rgba(255,255,255,0.4); }
.search-wrap input:focus { border-color: var(--green); background: rgba(255,255,255,0.11); }
/* .search-icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,0.4); pointer-events: none;
} */
.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.4);
    pointer-events: none;
    flex-shrink: 0;
    z-index: 1;
  }
.search-btn {
    position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
    background: var(--green); color: white; border: none;
    padding: 9px 18px; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer;
}
/* .hero-sub-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; } */
.hero-sub-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
  }

  .trust-line {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
  }

  .trust-line::before, .trust-line::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
  }

/* .hero-sub-links a { font-size: 13px; color: rgba(255,255,255,0.55); } */
.hero-sub-links { animation: fadeUp 0.5s ease both; animation-delay: 0.33s; }
.trust-line { animation: fadeUp 0.5s ease both; animation-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
    .hero-sub-links,
    .trust-line {
        animation: none;
    }
}

.stats-strip { background: white; border-bottom: 1px solid var(--border); }
.stats-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
/* .stat-item { padding: 22px 24px; border-right: 1px solid var(--border); } */
/* .stat-item:last-child { border-right: 0; } */
.stat-num { font-family: 'DM Serif Display', serif; font-size: 30px; color: var(--dark); line-height: 1; }
.stat-label { font-size: 12px; color: var(--mid); margin-top: 4px; }

.home-section, .advertise-section, .privacy-section { padding: 40px 40px 0; }
.section-container, .privacy-card, .advertise-form, .advertise-grid {
    max-width: 1160px; margin: 0 auto;
}
.section-header {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    margin-bottom: 18px;
}
.section-header--surface,
.tiers-section .section-header {
    margin-bottom: 32px;
}
.section-header h2, .featured-main h2, .featured-main .featured-report-title, .mission-text h2, .submit-card h2, .privacy-card h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
}
.featured-main .featured-report-title {
    margin-bottom: 12px;
}
.section-header--surface h2,
.tiers-section .section-header h2 {
    font-size: 26px;
    color: var(--dark);
}
.section-header a { font-size: 13px; color: var(--green); font-weight: 500; }
.section-header a:hover { text-decoration: underline; }

.filter-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mid);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
}
.filter-tab.active { color: var(--dark); font-weight: 600; border-bottom-color: var(--dark); }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Home: category strip sticks directly under fixed header */
.page-home .category-strip-wrap {
    position: sticky;
    top: var(--site-header-height);
    z-index: 90;
    border-bottom: 1px solid var(--border);
    background: #fff;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}
.page-home .category-strip-wrap .hscroll-wrap {
    padding-left: 16px;
    padding-right: 16px;
}
.page-home .category-strip {
    padding: 0 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 6px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}
.page-home .category-strip::-webkit-scrollbar { display: none; }
.page-home .category-strip-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: max-content;
    min-width: 100%;
}
.page-home .category-strip-inner .filter-tab {
    padding: 14px 16px;
    transition: color 0.15s, border-color 0.15s;
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
}
.page-home .category-strip-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to right, transparent, #fff);
    pointer-events: none;
    z-index: 1;
}
.page-home .home-category-heading {
    padding-bottom: 16px;
}
.page-home .home-category-heading .section-header--surface {
    margin-bottom: 0;
}

.featured-shell { padding: 32px 40px 0; }
.featured-card {
    max-width: 1160px;
    margin: 0 auto;
    background: var(--dark);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    color: white;
}
.featured-badges, .hero-badge-row, .hero-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 100px;
}
.badge-cat { background: rgba(255,255,255,0.08); color: color-mix(in srgb, var(--badge-color, #0EA5E9) 65%, white); border: 1px solid rgba(255,255,255,0.12); }
.badge-pro { background: rgba(253,235,137,0.15); color: #FDE68A; border: 1px solid rgba(253,235,137,0.3); }
.badge-type { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.12); }
.featured-org, .report-org { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 500; margin: 16px 0 10px; }
.featured-main p, .report-summary { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.featured-stats { display: grid; gap: 14px; align-self: end; }
.featured-stat, .hero-stats-panel, .hero-stat, .hero-stat-line {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}
.featured-stat, .hero-stat-line { padding: 18px 20px; }
.featured-stat strong, .hero-stat-line strong { display: block; font-family: 'DM Serif Display', serif; font-size: 28px; color: white; line-height: 1; }
.featured-stat span, .hero-stat-line span { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 5px; display: block; }

.report-grid { display: grid; gap: 14px; }
.home-report-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 8px; gap: 18px; }
.browse-report-grid, .cat-report-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 28px; }
.report-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .18s;
    display: flex;
    flex-direction: column;
}
.report-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #D1D5DB; }
.card-cat-bar { height: 4px; display: block; }
.card-cat-bar-link:hover { filter: brightness(1.08); }
.card-logo-link {
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease;
}
.card-logo-link:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.tag-link { text-decoration: none; }
.tag-link:hover { filter: brightness(0.92); }
.badge-cat-link { text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease; }
.badge-cat-link:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.22);
}
.featured-org a, .report-org a { color: rgba(255,255,255,0.72); text-decoration: none; }
.featured-org a:hover, .report-org a:hover { color: white; text-decoration: underline; }
.cat-hero-link { color: rgba(255,255,255,0.85); font-weight: 600; text-decoration: underline; }
.cat-hero-link:hover { color: white; }
.report-sidebar .sidebar-card-body--links { padding-top: 4px; }
.report-sidebar .sidebar-card-body--links .other-cat { padding: 10px 0; }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-top,
.card-top-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.card-logo {
    width: 36px; height: 36px; background: var(--light); border-radius: 6px; border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0;
    overflow: hidden;
}
.card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.card-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.card-year { font-size: 11px; color: var(--mid); }
.tier-badge {
    font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 6px; border-radius: 100px;
}
.tier-free, .tier-listed { background: var(--light); color: var(--mid); border: 1px solid var(--border); }
.tier-monthly-499, .tier-enhanced { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.tier-monthly-999, .tier-pro { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.card-org { font-size: 11px; color: var(--mid); font-weight: 500; margin-bottom: 2px; }
.card-title { font-family: 'DM Serif Display', serif; font-size: 15px; line-height: 1.3; margin-bottom: 10px; }
.card-title a:hover { color: var(--green); }
.card-stats {
    display: flex; gap: 0; margin-bottom: 10px; padding: 9px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.card-stat { flex: 1; padding-right: 8px; }
.card-stat + .card-stat { padding-left: 8px; padding-right: 0; border-left: 1px solid var(--border); }
.card-stat-num { font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--dark); line-height: 1; }
.card-stat-label { font-size: 10px; color: var(--mid); margin-top: 2px; line-height: 1.35; }
.card-outcome { font-size: 12px; color: var(--mid); line-height: 1.5; flex: 1; margin-bottom: 10px; min-height: 34px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 8px; }
.card-tags { display: flex; gap: 5px; flex-wrap: wrap; flex: 1; min-width: 0; }
.tag-light {
    background: var(--light);
    color: var(--mid);
    font-size: 12px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 5px;
    display: inline-block;
}
.tag-sm {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
}
.view-link { font-size: 12px; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.view-link:hover { text-decoration: underline; }
.view-link svg { transition: transform 0.15s; }
.report-card:hover .view-link svg { transform: translateX(3px); }
.blurred { filter: blur(3.5px); user-select: none; pointer-events: none; }
.card-outcome.blurred { filter: blur(3px); }
.restricted-preview { opacity: .72; }

/* Home page report cards — match reference HTML scale */
.home-report-grid .card-body { padding: 22px; }
.home-report-grid .card-top-row { margin-bottom: 12px; }
.home-report-grid .card-logo { width: 40px; height: 40px; border-radius: 7px; font-size: 13px; }
.home-report-grid .card-meta { gap: 4px; }
.home-report-grid .card-year { font-size: 12px; font-weight: 500; }
.home-report-grid .card-org { font-size: 12px; margin-bottom: 3px; }
.home-report-grid .card-title { font-size: 17px; margin-bottom: 14px; }
.home-report-grid .card-stats { margin-bottom: 14px; padding: 12px 0; }
.home-report-grid .card-stat { padding-right: 10px; }
.home-report-grid .card-stat + .card-stat { padding-left: 10px; }
.home-report-grid .card-stat-num { font-size: 19px; }
.home-report-grid .card-stat-label { font-size: 11px; margin-top: 3px; word-break: break-word; }
.home-report-grid .card-outcome { font-size: 13px; margin-bottom: 14px; min-height: 40px; }
.home-report-grid .view-link { font-size: 13px; gap: 3px; }

.ad-slot {
    border: 1.5px dashed var(--border);
    border-radius: var(--radius);
    padding: 18px;
    background: white;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    position: relative;
}
.home-ad-slot.ad-slot {
    padding: 28px;
    background: var(--light);
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    overflow: hidden;
}
.ad-label {
    position: absolute; top: 8px; right: 10px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mid);
}
.home-ad-slot .ad-label { top: 10px; right: 12px; letter-spacing: 0.08em; }
.ad-icon {
    width: 36px; height: 36px; background: var(--light); border-radius: 7px; border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.ad-media {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.ad-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ad-media-sm {
    width: 44px;
    height: 44px;
    border-radius: 8px;
}
.home-ad-slot .ad-icon {
    width: 52px; height: 52px; background: white; border-radius: var(--radius); font-size: 22px;
}
.ad-text h3, .ad-text h4 { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 3px; padding-right: 40px; }
.home-ad-slot .ad-text h3, .home-ad-slot .ad-text h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    margin-bottom: 4px;
    padding-right: 56px;
}
.ad-text p { font-size: 12px; color: var(--mid); line-height: 1.45; }
.home-ad-slot .ad-text p { font-size: 13px; line-height: 1.5; max-width: 420px; }
.ad-cta-wrap { margin-left: auto; flex-shrink: 0; }
.ad-cta-wrap .btn-outline { white-space: nowrap; }
.ad-cta {
    margin-left: auto; flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--dark);
    border: 1.5px solid var(--border); padding: 6px 12px; border-radius: 6px; white-space: nowrap;
}
.ad-cta:hover { border-color: var(--dark); }
.browse-ad-span { grid-column: 1 / -1; }

.pagination-wrap { margin: 16px 0 48px; }
.pagination-wrap nav { display: flex; justify-content: center; }
.pagination-wrap .flex.justify-between { width: 100%; }
.pagination-wrap svg { width: 16px; height: 16px; }
.pagination-wrap span, .pagination-wrap a {
    min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 6px; border: 1.5px solid var(--border); background: white; font-size: 13px; color: var(--dark); padding: 0 10px;
}
.pagination-wrap [aria-current="page"] span { background: var(--dark); color: white; border-color: var(--dark); }

.tier-picker { max-width: 860px; margin: 0 auto; padding: 48px 40px 0; }
.tier-picker-label { color: var(--mid); background: none; border: 0; display: block; text-align: center; }

/* Home page: mission / why section */
.home-why-wrap { padding-bottom: 0; }
.why-section {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    border: 1px solid var(--border);
}
.why-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--dark);
}
.why-text > p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.7;
}
.why-points { display: flex; flex-direction: column; gap: 16px; }
.why-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.why-icon {
    width: 34px;
    height: 34px;
    background: var(--green-light);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}
.why-point h3 { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 3px; }
.why-point > div > p { font-size: 13px; color: var(--mid); line-height: 1.5; }

/* Home page: pricing tiers (reference layout) */
.tiers-section { padding: 48px 40px 72px; }
.tiers-section-header h2 { font-size: 26px; }
.tiers-intro {
    font-size: 15px;
    color: var(--mid);
    max-width: 520px;
    margin: -12px 0 0;
    line-height: 1.6;
}
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.tiers-section .tier-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.tiers-section .tier-card.highlighted {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.08);
}
.tier-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
}
.tiers-section .tier-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 8px;
}
.tiers-section .tier-price {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 4px;
}
.tiers-section .tier-price span {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--mid);
    font-weight: 400;
}
.tiers-section .tier-desc {
    font-size: 14px;
    color: var(--mid);
    margin-bottom: 24px;
    margin-top: 8px;
    line-height: 1.5;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.tiers-section .tier-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin-bottom: 28px;
}
.tiers-section .tier-features li {
    font-size: 13px;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}
.tiers-section .tier-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}
.tiers-section .tier-features li.unavailable {
    color: var(--mid);
    opacity: 0.5;
}
.tiers-section .tier-features li.unavailable::before {
    content: '–';
    color: var(--border);
}
.tier-btn {
    display: block;
    text-align: center;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    border: 1.5px solid var(--border);
    color: var(--dark);
    background: white;
    margin-top: auto;
}
.tier-btn:hover { border-color: var(--dark); background: var(--light); }
.tier-btn.primary {
    background: var(--green);
    color: white;
    border-color: var(--green);
}
.tier-btn.primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

/* Home: submit CTA band */
.submit-cta-section { padding: 0 40px 72px; }
.submit-cta {
    background: var(--green);
    border-radius: var(--radius-lg);
    padding: 60px 52px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 36px;
    position: relative;
    overflow: hidden;
}
.submit-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}
.submit-cta-copy { position: relative; z-index: 1; }
.submit-cta h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    color: white;
    margin-bottom: 8px;
}
.submit-cta .btn-white { position: relative; z-index: 1; }
.submit-cta-copy p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    max-width: 400px;
}
.btn-white {
    background: white;
    color: var(--green-dark);
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 9px;
    font-size: 15px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.15s;
    text-decoration: none;
    display: inline-block;
    flex-shrink: 0;
}
.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Home: email capture */
.email-section {
    text-align: center;
    padding: 64px 40px;
    border-top: 1px solid var(--border);
}
.email-section-inner { max-width: 1160px; margin: 0 auto; }
.email-section h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    margin-bottom: 6px;
    color: var(--dark);
}
.email-section > .email-section-inner > p {
    font-size: 14px;
    color: var(--mid);
    margin-bottom: 24px;
}
.email-form,
.email-section .newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto;
    min-width: 0;
}
.email-form input,
.email-section .newsletter-form input {
    flex: 1;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: border-color 0.15s;
    min-width: 0;
    background: white;
}
.email-form input:focus,
.email-section .newsletter-form input:focus { border-color: var(--green); }
.email-form input::placeholder { color: #9CA3AF; }

.browse-page-header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 36px 40px 0;
}
.browse-page-header-inner { max-width: 1200px; margin: 0 auto; }
.browse-page-header h1 { font-size: 32px; color: var(--dark); margin-bottom: 6px; }
.page-header-sub { font-size: 15px; color: var(--mid); margin-bottom: 28px; }
.browse-search { position: relative; max-width: 560px; margin-bottom: 24px; }
.browse-search input {
    width: 100%; padding: 13px 48px 13px 44px; border: 1.5px solid var(--border); border-radius: 9px; font-size: 14px;
    background: white; color: var(--dark); outline: none;
}
.browse-search input:focus { border-color: var(--green); }
.browse-search input::placeholder { color: #9CA3AF; }
.browse-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mid); pointer-events: none; }
body.page-browse { background: var(--light); }
.browse-body {
    max-width: 1200px; margin: 0 auto; padding: 32px 40px; display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start;
}
.filter-sidebar {
    position: sticky; top: calc(var(--site-header-height) + 16px); background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.filter-sidebar-header {
    padding: 13px 16px; background: var(--light); border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mid);
}
.filter-sidebar-body { padding: 16px; }
.filter-group { margin-bottom: 16px; }
.filter-group label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mid); margin-bottom: 7px; }
.filter-group input, .filter-group select, .field-group input, .field-group select, .field-group textarea {
    width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; background: white; color: var(--dark); outline: none;
}
.filter-actions, .button-row { display: flex; gap: 8px; flex-wrap: wrap; }
.active-filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.active-filter-chip {
    padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 500; border: 1.5px solid var(--border); background: white; color: var(--mid);
}
.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.results-count { font-size: 14px; color: var(--mid); }
.results-count strong { color: var(--dark); }
.sort-select select { border: 1.5px solid var(--border); border-radius: 7px; padding: 7px 12px; font-size: 13px; background: white; color: var(--dark); }

/* Browse page — aligned with Impact Report Hub Browse.html */
.browse-filter-tabs {
    display: flex;
    gap: 0;
    padding: 0 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    width: 100%;
    min-width: 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 6px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}
.browse-filter-tabs::-webkit-scrollbar { display: none; }
.browse-filter-tabs .browse-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 16px;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
}
.hscroll-fixed-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    color: var(--mid);
    font-weight: 500;
    border-bottom: 2px solid transparent;
}
.hscroll-wrap .hscroll-fixed-tab.active,
.hscroll-wrap .hscroll-fixed-tab.is-active {
    color: var(--dark);
    font-weight: 600;
    border-bottom-color: var(--dark);
}
.hscroll-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 30px auto minmax(0, 1fr) 30px;
    align-items: center;
    gap: 10px;
}
.hscroll-nav {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.hscroll-nav:hover {
    border-color: var(--green);
    color: var(--green);
}
.hscroll-nav:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
[data-hscroll-scroller].is-dragging {
    cursor: grabbing;
    user-select: none;
}
.browse-filter-tabs .browse-cat-tab:not(.is-active) { color: var(--mid); }
.browse-filter-tabs .browse-cat-tab:hover:not(.is-active) { color: var(--dark); }
.browse-filter-tabs .browse-cat-tab.is-active.browse-tab-all {
    color: var(--dark);
    font-weight: 600;
    border-bottom-color: var(--dark);
}
.browse-filter-tabs .browse-cat-tab.is-active:not(.browse-tab-all) {
    font-weight: 600;
    border-bottom-color: var(--tab-accent, var(--dark));
    color: var(--tab-accent, var(--dark));
}
.tab-count {
    display: inline-flex;
    align-items: center;
    background: var(--light);
    color: var(--mid);
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 100px;
    border: 1px solid var(--border);
    margin-left: 4px;
    line-height: 1.35;
}

.browse-filter-sidebar-head {
    padding: 14px 18px !important;
    border-bottom: 1px solid var(--border) !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.browse-filter-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.browse-filters-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--light);
    color: var(--dark);
    font-size: 12px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.browse-filters-mobile-toggle:hover {
    border-color: var(--green);
    background: #fff;
}
.browse-filters-mobile-toggle:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}
.filter-sidebar-heading {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.02em;
}
.page-browse .filter-clear {
    font-size: 12px;
    color: var(--green);
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
}
.page-browse .filter-clear:hover { text-decoration: underline; }

.page-browse .browse-filter-sidebar-body { padding: 0; }
.page-browse .browse-filter-group { padding: 16px 18px; margin-bottom: 0; border-bottom: 1px solid var(--border); }
.page-browse .browse-filter-group--last { border-bottom: none; }
.page-browse .filter-group-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 12px;
    display: block;
}
.page-browse .filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.page-browse .filter-option {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    font-size: 13px;
    color: var(--dark);
}
.page-browse .filter-option span:first-of-type { flex: 1; }
.page-browse .filter-option input[type="radio"],
.page-browse .filter-option input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--green);
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}
.page-browse .filter-option-count {
    margin-left: auto;
    font-size: 11px;
    color: var(--mid);
}

.browse-sort-row.sort-select {
    gap: 8px;
    font-size: 13px;
    color: var(--mid);
}
.sort-select-label { font-size: 13px; color: var(--mid); white-space: nowrap; }
.browse-sort-form select {
    border: 1.5px solid var(--border);
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 13px;
    background: white;
    color: var(--dark);
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
}

.browse-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.active-filter-label { font-size: 12px; color: var(--mid); flex-shrink: 0; }
.browse-active-filters .active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--dark);
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 100px;
    border: none;
    text-decoration: none;
}
.browse-active-filters .active-filter-chip:hover { background: #374151; color: white; }

.browse-pagination-wrap.pagination-wrap {
    margin: 28px 0 56px;
    display: flex;
    justify-content: center;
}
.browse-pagination-wrap .browse-pagination nav,
.browse-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.browse-pagination .page-btn,
.browse-pagination .browse-page-num {
    min-width: 36px;
    height: 36px;
    border-radius: 7px;
    border: 1.5px solid var(--border);
    background: white;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    padding: 0 8px;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.12s, background 0.12s;
}
.browse-pagination a.page-btn:hover { border-color: var(--dark); }
.browse-pagination .page-btn.active,
.browse-pagination span.page-btn.active {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}
.browse-pagination .page-btn.arrow.browse-page-arrow { color: var(--mid); min-width: 36px; }
.browse-pagination .page-btn.arrow.is-disabled,
.browse-pagination .page-btn.arrow.browse-page-arrow.is-disabled {
    opacity: 0.38;
    pointer-events: none;
    cursor: default;
}
.browse-pagination-ellipsis {
    padding: 0 4px;
    font-size: 13px;
    color: var(--mid);
}
.ad-card.browse-ad-card {
    grid-column: 1 / -1;
    background: var(--light);
    border: 1.5px dashed var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    min-height: 120px;
}
.browse-ad-media-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
.browse-ad-copy { min-width: 0; }
.ad-card.browse-ad-card .ad-label {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mid);
}
.ad-card.browse-ad-card h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 17px;
    color: var(--dark);
    margin: 0;
    padding-right: 0;
    line-height: 1.35;
}
.ad-card.browse-ad-card p {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.55;
    margin: 0;
}
.browse-ad-btn.btn-outline {
    font-size: 13px;
    padding: 8px 14px;
    margin-top: 4px;
}
.browse-newsletter-ads {
    display: grid;
    gap: 12px;
    margin: 8px 0 12px;
}
.browse-newsletter-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    position: relative;
}
.browse-newsletter-card .ad-label {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--mid);
    text-transform: uppercase;
}

.cat-hero {
    background: var(--dark); border-left: 6px solid var(--cat); padding: 48px 40px; position: relative; overflow: hidden;
}
.cat-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 80% at 100% 50%, color-mix(in srgb, var(--cat) 20%, transparent) 0%, transparent 65%);
}
.cat-hero-inner { max-width: 1160px; margin: 0 auto; position: relative; }
.cat-breadcrumb { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.cat-breadcrumb a { color: rgba(255,255,255,0.35); }
.cat-breadcrumb a:hover { color: rgba(255,255,255,0.65); }
.breadcrumb-trail {
    list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb-trail li { display: inline-flex; align-items: center; }
.breadcrumb .breadcrumb-trail { gap: 8px; }
.breadcrumb [aria-current="page"] { color: var(--dark); font-weight: 500; }
.cat-pill {
    display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 11px; border-radius: 100px; margin-bottom: 14px;
}
.cat-hero h1 { font-size: clamp(28px, 4vw, 44px); color: white; margin-bottom: 10px; }
.cat-hero-desc { font-size: 15px; color: rgba(255,255,255,0.55); max-width: 520px; line-height: 1.65; margin-bottom: 20px; }
.cat-hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.cat-stat-num { font-family: 'DM Serif Display', serif; font-size: 24px; color: white; line-height: 1; }
.cat-stat-label { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 3px; }
.cat-body {
    max-width: 1160px; margin: 0 auto; padding: 36px 40px; display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start;
}
.filter-bar {
    background: white; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px 18px;
    display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.filter-label { font-size: 12px; font-weight: 600; color: var(--mid); white-space: nowrap; }
.filter-pill {
    padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 500; border: 1.5px solid var(--border);
    background: white; color: var(--mid); white-space: nowrap; cursor: pointer;
}
.filter-pill.active, .filter-pill:hover { background: var(--dark); color: white; border-color: var(--dark); }
.sidebar-card { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.sidebar-card-header {
    padding: 13px 16px; background: var(--light); border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mid);
}
.sidebar-card-body { padding: 16px; }
.other-cat {
    display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--dark); font-size: 13px;
}
.other-cat:last-child { border-bottom: none; }
.other-cat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.breadcrumb {
    padding: 14px 40px; background: var(--light); border-bottom: 1px solid var(--border);
    font-size: 13px; color: var(--mid);
}
.breadcrumb-current,
.breadcrumb [aria-current="page"] { color: var(--dark); font-weight: 500; }
.breadcrumb-sep { color: var(--border); }
.report-hero {
    background: var(--dark); border-left: 6px solid var(--cat-color); padding: 56px 40px 0; position: relative; overflow: hidden;
}
.report-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 55% 90% at 100% 50%, color-mix(in srgb, var(--cat-color) 18%, transparent) 0%, transparent 65%);
}
.report-hero-inner {
    max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: start; position: relative;
}
.report-hero-content { padding-bottom: 40px; padding-top: 4px; }
.report-hero h1 { font-size: clamp(28px, 4vw, 46px); color: white; margin-bottom: 16px; }
.btn-report {
    background: var(--cat-color); color: white; padding: 12px 22px; border-radius: 9px; font-size: 14px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost-light {
    background: transparent; color: rgba(255,255,255,0.65); border: 1.5px solid rgba(255,255,255,0.18);
    padding: 12px 20px; border-radius: 9px; font-size: 14px; font-weight: 500;
}
.hero-stats-panel { padding: 28px; border-radius: 16px; align-self: start; }
.panel-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.hero-stat-line + .hero-stat-line { margin-top: 12px; }
.report-body {
    max-width: 1160px; margin: 0 auto; padding: 40px 40px 56px; display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start;
}
.report-main { min-width: 0; }
.report-section { margin-bottom: 36px; }
.report-section:last-child { margin-bottom: 0; }
.report-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(24px, 3vw, 30px);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}
.block-icon {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--cat-color, var(--green)) 12%, white);
    color: var(--cat-color, var(--green));
    border: 1px solid color-mix(in srgb, var(--cat-color, var(--green)) 18%, var(--border));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    line-height: 1;
}
.report-section p { color: var(--mid); max-width: 52rem; line-height: 1.7; }
.report-metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.report-metric-card {
    background: white;
    border: 1.5px solid var(--border);
    border-left: 5px solid var(--cat-color, var(--green));
    border-radius: var(--radius);
    padding: 26px 30px;
}
.report-metric-card strong { display: block; font-family: 'DM Serif Display', serif; font-size: 40px; line-height: 1; margin-bottom: 8px; }
.report-metric-card span { font-size: 15px; color: var(--mid); }
.outcome-list { padding-left: 1.25rem; color: var(--mid); margin: 0; max-width: 52rem; line-height: 1.65; }
.outcome-list li { margin-bottom: 12px; }
.outcome-list li:last-child { margin-bottom: 0; }
.report-sidebar { min-width: 0; }
.report-sidebar .sidebar-card { padding: 22px; box-shadow: var(--shadow-sm); }
.report-sidebar .sidebar-card h3 { font-family: 'DM Serif Display', serif; font-size: 22px; margin: 12px 0; }
.report-sidebar .sidebar-card a { display: block; margin-bottom: 8px; color: var(--mid); }
.report-sidebar .organisation-card {
    padding: 0;
    border-radius: 22px;
}
.organisation-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    color: var(--mid);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.organisation-card-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 22px 22px;
}
.organisation-card-logo {
    width: 72px;
    height: 72px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    flex: 0 0 auto;
}
.organisation-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.organisation-card-title {
    min-width: 0;
}
.organisation-card-title strong {
    display: block;
    color: var(--dark);
    font-size: 18px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.organisation-card-title span {
    display: block;
    color: var(--mid);
    font-size: 14px;
    margin-top: 5px;
}
.organisation-card-tier {
    margin-top: 10px;
}
.organisation-card-details {
    border-top: 1px solid var(--border);
    margin: 0 22px 24px;
    padding-top: 18px;
    display: grid;
    gap: 16px;
}
.organisation-card-details div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
.organisation-card-details span {
    color: var(--mid);
    font-size: 14px;
}
.organisation-card-details strong {
    color: var(--dark);
    font-size: 12px;
    text-align: right;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.organisation-card-category {
    background: color-mix(in srgb, var(--cat-color) 13%, white);
    color: var(--cat-color) !important;
    border-radius: 999px;
    padding: 5px 11px;
    text-align: left !important;
}
.report-sidebar-ad { margin-top: 16px; }
.report-sidebar .report-sidebar-ad {
    align-items: flex-start;
}
.report-sidebar .report-sidebar-ad .ad-text {
    min-width: 0;
}
.report-sidebar .report-sidebar-ad .ad-text h3,
.report-sidebar .report-sidebar-ad .ad-text h4 {
    padding-right: 0;
}
.report-sidebar .sidebar-card-heading {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}
.report-sidebar .report-sidebar-ad .ad-cta {
    margin-left: 0;
    margin-top: 8px;
}
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-row span {
    background: var(--light); color: var(--mid); padding: 4px 10px; border-radius: 100px; font-size: 12px; border: 1px solid var(--border);
}

.submit-layout {
    max-width: 1160px; margin: 0 auto; padding: 0 40px 48px; display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start;
}
.submit-form { display: grid; gap: 16px; }
.category-checkboxes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.checkbox-tile { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; background: #fafafa; }
.checkbox-tile input { width: 14px; height: 14px; margin: 0; }
.geography-select { width: 100%; max-width: 28rem; min-height: 10rem; padding: 6px; border: 1px solid var(--border); border-radius: 8px; }
.badge-cat-secondary { opacity: 0.92; }

.submit-tier-block { margin-top: 8px; }
.submit-tier-pick { margin-top: 8px; }
.tier-benefits-panel {
    margin-top: 14px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: border-color 0.18s, box-shadow 0.18s;
}
.tier-benefits-panel--free { border-color: #D1D5DB; }
.tier-benefits-panel--enhanced { border-color: #86EFAC; box-shadow: 0 10px 24px rgba(22, 163, 74, 0.10); }
.tier-benefits-panel--pro { border-color: #93C5FD; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.10); }
.tier-benefits-panel__header {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
}
.tier-benefits-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mid);
}
.tier-benefits-panel h3 {
    font-size: 20px;
    color: var(--dark);
    line-height: 1.25;
    margin: 0;
}
.tier-benefits-panel p {
    color: var(--mid);
    line-height: 1.5;
    margin: 0;
}
.tier-benefits-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.tier-benefits-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    min-width: 0;
    padding: 10px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #F9FAFB;
}
.tier-benefits-check {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #DCFCE7;
    color: #047857;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.tier-benefits-item strong {
    display: block;
    color: var(--dark);
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.tier-benefits-item p {
    font-size: 12px;
    margin-top: 3px;
}
.tier-benefits-note {
    margin-top: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    background: #FFF7ED;
    color: #9A3412;
    border: 1px solid #FED7AA;
    font-size: 13px;
    line-height: 1.45;
}
.submit-card, .preview-card, .privacy-card, .placement-card, .mission-card, .faq-item, .hero-stat, .stat-card, .table-card {
    background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.step-card { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px; }
.submit-card { padding: 24px; }
.submit-step {
    display: inline-flex; align-items: center; gap: 6px; background: var(--light); border: 1px solid var(--border); color: var(--mid);
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; margin-bottom: 14px;
}
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field-group { display: grid; gap: 7px; }
.field-group label { font-size: 12px; font-weight: 600; color: var(--mid); }
.field-group textarea { min-height: 120px; resize: vertical; }
.field-span { grid-column: 1 / -1; }
.preview-card { padding: 24px; position: sticky; top: calc(var(--site-header-height) + 24px); }
.preview-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); margin-bottom: 16px; }
.preview-title { font-family: 'DM Serif Display', serif; font-size: 26px; margin-bottom: 8px; }
.preview-org { font-size: 13px; color: var(--mid); margin-bottom: 12px; }
.preview-copy { color: var(--mid); margin-bottom: 16px; }

.about-hero {
    background: var(--dark); padding: 80px 40px; position: relative; overflow: hidden;
}
.about-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 70% at 0% 50%, rgba(0,166,81,0.14) 0%, transparent 65%);
}
.about-hero-inner {
    max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative;
}
.about-hero h1 { font-size: clamp(30px, 4vw, 48px); color: white; margin-bottom: 16px; }
.hero-lead { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 28px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-stat { padding: 20px; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); box-shadow: none; }
.hero-stat-num { font-family: 'DM Serif Display', serif; font-size: 30px; color: white; line-height: 1; margin-bottom: 6px; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.45); }
.about-container { max-width: 1000px; margin: 0 auto; padding: 0 40px; }
.mission-section { padding: 80px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mission-text p, .mission-card p, .faq-item p, .privacy-card p, .placement-card p { color: var(--mid); }
.mission-card, .faq-item { padding: 24px; }
.mission-card h3, .faq-item h3, .placement-card h3 { font-family: 'DM Serif Display', serif; font-size: 24px; margin-bottom: 10px; }
.faq-section { display: grid; gap: 16px; padding-bottom: 56px; }

/* About page (reference design match, scoped to /about) */
.about-page .about-hero {
    background: var(--dark);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}
.about-page .about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 70% at 0% 50%, rgba(0,166,81,0.14) 0%, transparent 65%);
    pointer-events: none;
}
.about-page .about-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
}
.about-page .about-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    flex-shrink: 0;
}
.about-page .hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 11px;
    margin-bottom: 20px;
}
.about-page .about-hero h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    margin-bottom: 16px;
    color: #fff;
}
.about-page .about-hero h1 em {
    color: var(--green);
    font-style: italic;
}
.about-page .hero-lead {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    margin-bottom: 28px;
}
.about-page .hero-actions { gap: 10px; }
.about-page .btn-outline-light {
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.2);
    background: transparent;
}
.about-page .btn-outline-light:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.06);
}
.about-page .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about-page .hero-stat {
    padding: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    box-shadow: none;
}
.about-page .hero-stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 30px;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}
.about-page .hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.4;
}
.about-page .about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}
.about-page .mission-section {
    padding: 80px 0;
    gap: 80px;
    align-items: center;
}
.about-page .mission-text h2,
.about-page .about-who-section h2,
.about-page .about-categories-section h2,
.about-page .about-tiers-section h2,
.about-page .about-faq-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 30px;
    color: var(--dark);
    line-height: 1.2;
}
.about-page .mission-text h2 {
    font-size: 34px;
    margin-bottom: 20px;
}
.about-page .mission-text p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-page .mission-text p:last-child { margin-bottom: 0; }
.about-page .about-mission-visual {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about-page .about-mission-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.about-page .about-mission-icon {
    width: 36px;
    height: 36px;
    background: var(--green-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.about-page .about-mission-point h3 { font-size: 14px; margin-bottom: 3px; }
.about-page .about-mission-point p { font-size: 13px; color: var(--mid); line-height: 1.5; }
.about-page .about-who-section {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    margin-bottom: 80px;
}
.about-page .about-who-section h2 { margin-bottom: 8px; }
.about-page .about-who-section > p,
.about-page .about-categories-section > p,
.about-page .about-tiers-section > p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.65;
    margin-bottom: 32px;
}
.about-page .about-who-section > p { margin-bottom: 36px; }
.about-page .about-who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.about-page .about-who-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
}
.about-page .about-who-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--green);
}
.about-page .about-who-icon { font-size: 28px; margin-bottom: 12px; }
.about-page .about-who-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    margin-bottom: 8px;
}
.about-page .about-who-card p { font-size: 13px; color: var(--mid); line-height: 1.6; }
.about-page .about-who-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 14px;
}
.about-page .about-who-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    background: var(--light);
    color: var(--mid);
    border: 1px solid var(--border);
}
.about-page .about-categories-section,
.about-page .about-tiers-section,
.about-page .about-faq-section,
.about-page .about-contact-cta { margin-bottom: 80px; }
.about-page .about-categories-section h2,
.about-page .about-tiers-section h2 { margin-bottom: 8px; }
.about-page .about-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.about-page .about-cat-item {
    background: var(--light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-page .about-cat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.about-page .about-cat-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.about-page .about-cat-count { font-size: 11px; color: var(--mid); margin-top: 2px; }
.about-page .about-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.about-page .about-tier-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
}
.about-page .about-tier-card.highlighted {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(0,166,81,0.08);
}
.about-page .about-tier-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 100px;
    white-space: nowrap;
}
.about-page .about-tier-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 8px;
}
.about-page .about-tier-price {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    line-height: 1;
    margin-bottom: 4px;
}
.about-page .about-tier-price span {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--mid);
    font-weight: 400;
}
.about-page .about-tier-desc {
    font-size: 13px;
    color: var(--mid);
    margin: 10px 0 20px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    line-height: 1.55;
}
.about-page .about-tier-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.about-page .about-tier-features li {
    font-size: 13px;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}
.about-page .about-tier-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 12px;
    margin-top: 1px;
}
.about-page .about-tier-features li.na { color: var(--mid); opacity: 0.45; }
.about-page .about-tier-features li.na::before { content: '-'; color: var(--border); }
.about-page .about-tier-btn {
    display: block;
    text-align: center;
    padding: 11px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    color: var(--dark);
    background: #fff;
}
.about-page .about-tier-btn:hover { border-color: var(--dark); background: var(--light); }
.about-page .about-tier-btn.primary {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.about-page .about-tier-btn.primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}
.about-page .about-faq-section h2 { margin-bottom: 32px; }
.about-page .about-faq-list {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-page .about-faq-item { border-bottom: 1px solid var(--border); }
.about-page .about-faq-item:last-child { border-bottom: 0; }
.about-page .about-faq-question {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 18px 22px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.about-page .about-faq-question:hover { background: var(--light); }
.about-page .about-faq-chevron {
    color: var(--mid);
    font-size: 14px;
    transition: transform 0.2s;
}
.about-page .about-faq-item.open .about-faq-chevron { transform: rotate(180deg); }
.about-page .about-faq-answer {
    font-size: 14px;
    color: var(--mid);
    line-height: 1.75;
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.2s;
}
.about-page .about-faq-item.open .about-faq-answer {
    max-height: 320px;
    padding: 0 22px 18px;
}
.about-page .about-contact-cta {
    background: var(--green);
    border-radius: var(--radius-lg);
    padding: 52px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-page .about-contact-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
}
.about-page .about-contact-cta h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}
.about-page .about-contact-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    line-height: 1.6;
    position: relative;
}
.about-page .about-contact-cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
}
.about-page .about-btn-ghost-green {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
    padding: 13px 26px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 500;
}
.about-page .about-btn-ghost-green:hover { background: rgba(255,255,255,0.1); }

.advertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.placement-card { padding: 24px; }
.placement-card strong { display: block; margin-top: 14px; font-family: 'DM Serif Display', serif; font-size: 26px; }
.advertise-form { max-width: 880px; margin: 0 auto 56px; }

/* Pricing page */
.pricing-page {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 24%);
}
.pricing-wrap {
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
}
.pricing-hero {
    background: var(--dark);
    padding: 72px 40px;
    overflow: hidden;
    position: relative;
}
.pricing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 48% 70% at 86% 10%, rgba(14, 165, 233, 0.18), transparent 68%),
        radial-gradient(ellipse 42% 58% at 8% 0%, rgba(0, 166, 81, 0.16), transparent 70%);
}
.pricing-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    align-items: center;
}
.pricing-eyebrow,
.pricing-label {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pricing-eyebrow {
    display: inline-flex;
    background: rgba(0, 166, 81, 0.15);
    border: 1px solid rgba(0, 166, 81, 0.32);
    border-radius: 999px;
    padding: 5px 12px;
    margin-bottom: 18px;
}
.pricing-hero h1 {
    color: white;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.05;
    margin-bottom: 16px;
}
.pricing-hero p {
    color: rgba(255, 255, 255, 0.68);
    max-width: 570px;
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 28px;
}
.pricing-hero-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}
.pricing-panel-card {
    background: white;
    border-radius: 14px;
    padding: 18px;
    border-left: 5px solid var(--green);
}
.pricing-panel-card span,
.pricing-panel-metric span {
    display: block;
    color: var(--mid);
    font-size: 12px;
}
.pricing-panel-card strong,
.pricing-panel-metric strong {
    display: block;
    font-family: 'DM Serif Display', serif;
    color: var(--dark);
    font-size: 28px;
    line-height: 1.1;
}
.pricing-panel-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin: 16px 0;
}
.pricing-panel-row span {
    height: 58px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.pricing-panel-metric {
    background: #E8F7EE;
    border: 1px solid rgba(0, 166, 81, 0.2);
    border-radius: 14px;
    padding: 18px;
}
.pricing-section {
    padding: 72px 40px;
}
.pricing-section--soft {
    background: var(--light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.pricing-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.pricing-section-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin-top: 8px;
}
.pricing-section-header a {
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}
.pricing-intro {
    color: var(--mid);
    max-width: 720px;
    margin: -12px 0 28px;
}
.pricing-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.pricing-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.pricing-card--featured {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.08), var(--shadow-md);
    transform: translateY(-8px);
}
.pricing-card-badge {
    align-self: flex-start;
    background: var(--green-light);
    color: var(--green-dark);
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.pricing-card--featured .pricing-card-badge {
    background: var(--green);
    color: white;
}
.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.pricing-price {
    font-family: 'DM Serif Display', serif;
    color: var(--dark);
    font-size: 40px;
    line-height: 1;
    margin-bottom: 14px;
}
.pricing-price span {
    font-family: 'DM Sans', sans-serif;
    color: var(--mid);
    font-size: 14px;
    font-weight: 500;
}
.pricing-card p,
.ad-pricing-info p {
    color: var(--mid);
    font-size: 14px;
    line-height: 1.62;
}
.pricing-card p {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.pricing-feature-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 26px;
}
.pricing-feature-list li {
    display: flex;
    gap: 9px;
    color: var(--dark);
    font-size: 13px;
    line-height: 1.45;
}
.pricing-feature-list li::before {
    content: '✓';
    color: var(--green);
    font-weight: 800;
    flex: 0 0 auto;
}
.pricing-feature-list li.is-muted {
    color: var(--mid);
    opacity: 0.55;
}
.pricing-feature-list li.is-muted::before {
    content: '–';
    color: #CBD5E1;
}
.ad-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.ad-pricing-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.ad-pricing-preview {
    min-height: 148px;
    background: #F3F6F9;
    border-bottom: 1px solid var(--border);
    padding: 32px 24px 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-pricing-info {
    padding: 22px;
}
.ad-pricing-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.ad-pricing-title h3 {
    font-size: 18px;
}
.pricing-price--ad {
    font-size: 28px;
    margin-bottom: 8px;
}
.pricing-cta {
    padding: 56px 40px 72px;
}
.pricing-cta-inner {
    background: var(--green);
    border-radius: var(--radius-lg);
    padding: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}
.pricing-cta h2 {
    color: white;
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 8px;
}
.pricing-cta p {
    color: rgba(255, 255, 255, 0.76);
    max-width: 560px;
}
.pricing-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Public advertise page refresh */
.ads-hero {
    background: var(--dark);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ads-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(0, 166, 81, 0.16) 0%, transparent 70%);
}
.ads-wrap {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.ads-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 166, 81, 0.15);
    border: 1px solid rgba(0, 166, 81, 0.35);
    color: #4ade80;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 11px;
    margin-bottom: 20px;
}
.ads-hero-eyebrow span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
}
.ads-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.15;
    color: white;
    max-width: 640px;
    margin: 0 auto 16px;
}
.ads-hero h1 em { color: var(--green); font-style: italic; }
.ads-hero-lead {
    color: rgba(255, 255, 255, 0.6);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 36px;
}
.ads-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.ads-hero-stat { text-align: center; }
.ads-hero-stat-num {
    font-family: 'DM Serif Display', serif;
    color: white;
    font-size: 28px;
    line-height: 1.05;
    margin-bottom: 5px;
}
.ads-hero-stat-label { font-size: 12px; color: rgba(255, 255, 255, 0.45); }
.ads-hero-divider { width: 1px; height: 34px; background: rgba(255, 255, 255, 0.14); }

.ads-block {
    padding: 64px 40px;
    border-bottom: 1px solid var(--border);
}
.ads-label {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.ads-block h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 12px;
}
.ads-lead {
    color: var(--mid);
    font-size: 15px;
    line-height: 1.72;
    max-width: 640px;
    margin-bottom: 34px;
}

.ads-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.ads-audience-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 18px;
}
.ads-audience-icon { font-size: 24px; margin-bottom: 10px; }
.ads-audience-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    margin-bottom: 8px;
}
.ads-audience-card p { font-size: 13px; color: var(--mid); }
.ads-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ads-tags span {
    font-size: 11px;
    color: var(--mid);
    border: 1px solid var(--border);
    background: white;
    border-radius: 5px;
    padding: 3px 8px;
}

.ads-placement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.ads-placement-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
}
.ads-preview {
    min-height: 112px;
    background: var(--light);
    border-bottom: 1px solid var(--border);
    position: relative;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ads-preview-label {
    position: absolute;
    top: 10px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mid);
    border: 1px solid var(--border);
    border-radius: 100px;
    background: white;
    padding: 2px 8px;
}
.ads-placement-info { padding: 20px; }
.ads-placement-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.ads-price {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: 8px;
}
.ads-price span {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--mid);
}
.ads-placement-info p { font-size: 13px; color: var(--mid); line-height: 1.6; }
.ads-preview-home,
.ads-preview-browse {
    width: 100%;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius);
    background: #fff;
}
.ads-preview-home {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ads-preview-home-icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    border: 1px solid var(--border);
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ads-preview-heading,
.ads-preview-home-text h5 {
    font-size: 12px;
    margin-bottom: 2px;
}
.ads-preview-home-text p {
    font-size: 11px;
    color: var(--mid);
    line-height: 1.35;
}
.ads-preview-home-cta {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 4px 9px;
    white-space: nowrap;
}
.ads-preview-sidebar {
    width: 180px;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 14px;
}
.ads-preview-sponsored {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 8px;
}
.ads-preview-sidebar .ads-preview-heading,
.ads-preview-sidebar h5 {
    font-size: 12px;
    margin-bottom: 4px;
}
.ads-preview-sidebar p {
    font-size: 11px;
    color: var(--mid);
    line-height: 1.4;
    margin-bottom: 8px;
}
.ads-preview-sidebar span {
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
}
.ads-preview-browse {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ads-preview-browse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}
.ads-preview-browse p {
    font-size: 12px;
    color: var(--mid);
    flex: 1;
}
.ads-preview-browse span {
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.ads-preview-newsletter {
    width: 220px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
    padding: 14px 16px;
}
.ads-preview-newsletter-icon {
    font-size: 18px;
    margin-bottom: 6px;
}
.ads-preview-newsletter .ads-preview-heading,
.ads-preview-newsletter h5 {
    font-size: 12px;
    margin-bottom: 3px;
}
.ads-preview-newsletter p {
    font-size: 11px;
    color: var(--mid);
    line-height: 1.35;
    margin-bottom: 9px;
}
.ads-preview-newsletter span {
    display: inline-block;
    background: var(--green);
    color: #fff;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
}
.ads-pill {
    background: var(--green-light);
    color: var(--green-dark);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
}
.ads-pill-warn {
    background: #FEF3C7;
    color: #92400E;
}

.ads-guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.ads-guide-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}
.ads-guide-card h3 {
    font-size: 15px;
    margin-bottom: 12px;
}
.ads-guide-card ul {
    list-style: none;
    display: grid;
    gap: 8px;
}
.ads-guide-card li {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.5;
    display: flex;
    gap: 7px;
}
.ads-guide-card li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
}
.ads-guide-card ul.ads-no li::before {
    content: '✕';
    color: #ef4444;
}

.ads-contact { border-bottom: 0; }
.ads-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.ads-contact-points {
    list-style: none;
    display: grid;
    gap: 10px;
}
.ads-contact-points li {
    font-size: 14px;
    color: var(--mid);
}
.ads-contact-points a { color: var(--green); }
.ads-form {
    background: var(--light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.ads-form .form-field { margin-bottom: 12px; }
.ads-submit-btn {
    width: 100%;
    margin-top: 6px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}
.ads-submit-btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.ads-process .ads-lead { margin-bottom: 30px; }
.ads-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    gap: 0;
}
.ads-process-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(12.5% + 10px);
    right: calc(12.5% + 10px);
    height: 1px;
    background: var(--border);
}
.ads-process-step {
    text-align: center;
    padding: 0 14px;
    position: relative;
    z-index: 1;
}
.ads-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-family: 'DM Serif Display', serif;
}
.ads-process-step h4 {
    font-size: 13px;
    margin-bottom: 6px;
}
.ads-process-step p {
    font-size: 12px;
    color: var(--mid);
    line-height: 1.5;
}

@media (max-width: 860px) {
    .pricing-hero,
    .pricing-section,
    .pricing-cta,
    .ads-hero,
    .ads-block { padding-left: 20px; padding-right: 20px; }
    .pricing-hero-inner,
    .pricing-section-header,
    .pricing-cta-inner { grid-template-columns: 1fr; }
    .pricing-section-header {
        display: grid;
        align-items: start;
    }
    .pricing-card-grid,
    .ad-pricing-grid { grid-template-columns: 1fr; }
    .pricing-card--featured { transform: none; }
    .pricing-hero-panel { max-width: 420px; }
    .pricing-cta-actions { justify-content: flex-start; }
    .ads-audience-grid,
    .ads-placement-grid,
    .ads-guide-grid,
    .ads-contact-grid { grid-template-columns: 1fr; }
    .ads-process-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .ads-process-steps::before { display: none; }
    .ads-hero-divider { display: none; }
    .ads-hero-stats { gap: 18px; }
}

@media (max-width: 520px) {
    .pricing-hero { padding-top: 52px; padding-bottom: 52px; }
    .pricing-section { padding-top: 52px; padding-bottom: 52px; }
    .pricing-card,
    .ad-pricing-info,
    .pricing-cta-inner { padding: 22px; }
    .ad-pricing-preview { padding-left: 16px; padding-right: 16px; }
    .ad-pricing-preview .ads-preview-home,
    .ad-pricing-preview .ads-preview-browse {
        align-items: flex-start;
        flex-direction: column;
    }
    .ad-pricing-preview .ads-preview-home-cta { margin-left: 0; }
    .pricing-cta-actions { flex-direction: column; }
    .ads-process-steps { grid-template-columns: 1fr; }
}

.privacy-card { max-width: 880px; margin: 0 auto 56px; padding: 28px; }
.privacy-card h2 { margin-top: 16px; margin-bottom: 8px; }
.privacy-card h2:first-child { margin-top: 0; }

/* Privacy policy page (reference match, scoped to /privacy-policy) */
.privacy-page .privacy-page-hero {
    background: var(--light);
    border-bottom: 1px solid var(--border);
    padding: 48px 40px;
}
.privacy-page .privacy-page-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}
.privacy-page .privacy-page-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 8px;
}
.privacy-page .privacy-page-hero p {
    font-size: 14px;
    color: var(--mid);
}
.privacy-page .privacy-page-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 40px 80px;
}
.privacy-page .privacy-page-toc {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 40px;
}
.privacy-page .privacy-page-toc h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}
.privacy-page .privacy-page-toc ol {
    list-style: decimal;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.privacy-page .privacy-page-toc a {
    font-size: 13px;
    color: var(--green);
}
.privacy-page .privacy-page-toc a:hover { text-decoration: underline; }
.privacy-page .privacy-policy-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.privacy-page .privacy-policy-section:last-child { border-bottom: none; }
.privacy-page .privacy-policy-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 14px;
}
.privacy-page .privacy-policy-section p {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 12px;
}
.privacy-page .privacy-policy-section p:last-child { margin-bottom: 0; }
.privacy-page .privacy-policy-section ul {
    list-style: disc;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0;
}
.privacy-page .privacy-policy-section li {
    font-size: 15px;
    color: var(--mid);
    line-height: 1.6;
}
.privacy-page .privacy-policy-section a { color: var(--green); }

.admin-body { background: var(--light); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.sidebar {
    width: var(--sidebar-w);
    background: #111827;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    z-index: 200;
    overflow: hidden;
    box-sizing: border-box;
}
.sidebar-logo {
    flex-shrink: 0;
    padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); font-family: 'DM Serif Display', serif;
    font-size: 17px; color: white; display: flex; align-items: center; gap: 8px;
}
.sidebar-logo-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.sidebar-logo-sub {
    font-size: 10px; font-family: 'DM Sans', sans-serif; color: rgba(255,255,255,0.3); font-weight: 500; display: block; margin-top: 1px; letter-spacing: .05em; text-transform: uppercase;
}
.sidebar-nav {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.sidebar-menu {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
    padding-bottom: 8px;
}
.sidebar-menu::-webkit-scrollbar { width: 5px; }
.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}
.sidebar-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px 12px 8px;
    gap: 0;
    align-items: stretch;
}
.sidebar a.nav-item,
.sidebar a.nav-item-sub { text-decoration: none; }
.sidebar .sidebar-menu a.nav-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: center;
}
.sidebar-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
    padding: 0 8px 8px;
    margin-bottom: 0;
}
.nav-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3px;
    line-height: 1.2;
    transition: background 0.12s, color 0.12s;
    cursor: pointer;
    white-space: nowrap;
    min-width: 0;
}
.nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
}
.nav-item.active {
    background: #064e3b;
    color: #ffffff;
    font-weight: 600;
}
.nav-item.active:hover {
    background: #065f46;
    color: #ffffff;
}
.nav-text {
    flex: 1;
    min-width: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-icon {
    font-size: 15px;
    flex-shrink: 0;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.12s;
}
.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
    color: inherit;
    opacity: 1;
}
.nav-item.active .nav-icon {
    color: #a7f3d0;
}
.nav-badge {
    margin-left: auto;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00A651;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    flex-shrink: 0;
    line-height: 1;
}
.sidebar-footer {
    flex-shrink: 0;
    margin-top: 0;
    padding: 16px 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #111827;
    box-sizing: border-box;
    width: 100%;
}
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; }
.user-avatar {
    width: 32px; height: 32px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: white; flex-shrink: 0;
}
.user-name { font-size: 13px; font-weight: 600; color: white; }
.user-role { font-size: 11px; color: rgba(255,255,255,0.35); }
.main { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar {
    background: white; border-bottom: 1px solid var(--border); padding: 0 32px; height: 60px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 100;
}
.topbar-title { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--dark); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.page { padding: 28px 32px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { padding: 20px; }
.stat-card-num { font-family: 'DM Serif Display', serif; font-size: 30px; line-height: 1; margin-bottom: 6px; }
.stat-card-label { font-size: 13px; color: var(--mid); }
.admin-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.table-card { padding: 20px; }
.table-card-title { font-family: 'DM Serif Display', serif; font-size: 24px; margin-bottom: 12px; }
.table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}
.table-title {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--dark);
}
.table-link { font-size: 13px; color: var(--green); font-weight: 600; }
.table-card table { width: 100%; border-collapse: collapse; }
.table-card th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--mid);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.table-card td {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    font-size: 13px;
}
.table-card tbody tr:last-child td { border-bottom: 0; }
.td-org { display: flex; align-items: center; gap: 10px; }
.td-logo {
    width: 32px; height: 32px; border-radius: 8px; background: var(--light);
    border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: var(--mid); flex-shrink: 0;
}
.td-name { font-size: 13px; font-weight: 600; color: var(--dark); }
.td-sub { font-size: 12px; color: var(--mid); margin-top: 2px; }
.table-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-reports-table-scroll {
    margin: 0 -4px;
    padding: 0 4px;
}
.admin-reports-table-card .table-header {
    margin-bottom: 12px;
}
.admin-report-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: min(100%, 360px);
}
.admin-report-search input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
}
.admin-report-search input:focus { border-color: var(--green); }
.admin-tier-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}
.admin-tier-filter__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--mid);
    background: var(--light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}
.admin-tier-filter__item span {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: white;
    color: var(--dark);
    padding: 0 7px;
}
.admin-tier-filter__item.is-active {
    border-color: var(--green);
    background: #ECFDF5;
    color: #047857;
}
.admin-reports-table {
    table-layout: fixed;
    width: 100%;
}
.admin-reports-table th {
    text-align: center;
    padding: 12px 10px;
    vertical-align: bottom;
}
.admin-reports-table td {
    text-align: center;
    vertical-align: middle;
    padding: 14px 10px;
}
.admin-reports-table .td-org {
    justify-content: center;
    text-align: left;
    margin: 0 auto;
    max-width: 100%;
}
.admin-reports-table td:nth-child(2) .td-name,
.admin-reports-table td:nth-child(2) .td-sub {
    text-align: center;
}
.admin-reports-table .table-actions {
    justify-content: center;
}
@media (max-width: 1100px) {
    .admin-reports-table {
        min-width: 720px;
    }
}
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 6px; }
.tier {
    display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 100px;
    font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.status {
    display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 100px;
    font-size: 11px; font-weight: 700;
}
.status-published { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.status-draft { background: #F3F4F6; color: #4B5563; border: 1px solid #D1D5DB; }
.status-pending { background: #FFF7ED; color: #C2410C; border: 1px solid #FED7AA; }
.status-approved { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.status-rejected { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.cat-cell { display: inline-flex; align-items: center; gap: 6px; }
.inline-action { display: inline-flex; }
.admin-promo-flag {
    margin-top: 7px;
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
}

.form-panel {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.form-panel-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    color: var(--dark);
}
.form-panel-body { padding: 20px; }
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.form-row.full { grid-template-columns: 1fr; }
.form-field { display: grid; gap: 8px; }
.form-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--mid);
}
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: 12px 14px;
    background: white;
    color: var(--dark);
    outline: none;
}
.form-field textarea { min-height: 92px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--green); }
.admin-logo-upload {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--light);
}
.admin-logo-preview {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid);
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}
.admin-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.admin-logo-preview--empty {
    background: #F3F4F6;
}
.admin-logo-upload__controls {
    display: grid;
    gap: 8px;
    flex: 1;
    min-width: 220px;
}
.form-panel .is-invalid,
.mini-card .is-invalid,
.tier-pick-block .is-invalid {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 20px 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.select-wrap { position: relative; }
.select-wrap select { appearance: none; background: white; }
.select-wrap::after {
    content: 'v';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mid);
    pointer-events: none;
    font-size: 12px;
}
.select-wrap.compact select { padding: 8px 12px; }
.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--mid);
    margin-top: 10px;
}
.checkbox-inline input { width: auto; }
.form-alert {
    background: #FFF7ED;
    color: #C2410C;
    border: 1px solid #FED7AA;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.form-alert-list {
    margin: 8px 0 0 18px;
    padding: 0;
}
.form-alert-list li { margin-top: 4px; }
.split-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.mini-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}
.mini-card-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 12px;
}
.metric-list { display: grid; gap: 10px; margin-bottom: 12px; }
.metric-row-error {
    margin-top: -6px;
    display: grid;
    gap: 3px;
}
.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr 120px auto;
    gap: 8px;
    align-items: center;
}
.outcome-row { grid-template-columns: 1fr auto; }
.remove-btn {
    width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px;
    background: white; color: #B91C1C; cursor: pointer;
}
.review-stack { display: grid; gap: 10px; min-width: 280px; }
.review-form { display: grid; gap: 8px; }
.review-form textarea {
    width: 100%; min-height: 70px; border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 12px; resize: vertical;
}
.admin-page-grid { align-items: start; }
.admin-list-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border);
}
.admin-list-row:last-child { border-bottom: 0; }
.admin-list-row strong { display: block; }
.admin-list-row span { font-size: 12px; color: var(--mid); }
.stacked { align-items: flex-start; flex-direction: column; }
.admin-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border);
}
.admin-row:last-child { border-bottom: 0; }
.admin-row strong { display: block; }
.admin-row span { font-size: 12px; color: var(--mid); }

.auth-shell { padding: 64px 40px; }
.auth-card { max-width: 520px; margin: 0 auto; background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.auth-card h1 { font-family: 'DM Serif Display', serif; font-size: 34px; margin-bottom: 20px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin: 12px 0 20px; }

@media (max-width: 1024px) {
    .home-report-grid { grid-template-columns: repeat(2, 1fr); }
    .browse-body, .cat-body, .report-body, .submit-layout, .about-hero-inner, .mission-section, .admin-panels, .featured-card { grid-template-columns: 1fr; }
    body.page-browse .browse-body {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
    body.page-browse .filter-sidebar {
        position: static;
        top: auto;
        width: 100%;
        max-width: none;
        z-index: auto;
    }
    body.page-browse .browse-main {
        min-width: 0;
        width: 100%;
    }
    body.page-browse .browse-filters-mobile-toggle {
        display: inline-flex;
    }
    .report-hero-inner { grid-template-columns: 1fr; }
    .report-hero { padding-bottom: 48px; }
    .report-hero-content { padding-bottom: 28px; }
    .advertise-grid, .stat-grid, .stats-strip-inner, .tiers-grid { grid-template-columns: repeat(2, 1fr); }
    .split-card-grid, .form-row, .admin-page-grid { grid-template-columns: 1fr; }
    .about-page .about-hero-inner,
    .about-page .mission-section,
    .about-page .about-built-by { grid-template-columns: 1fr; }
    .about-page .about-who-grid { grid-template-columns: 1fr; }
    .about-page .about-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .about-page .about-tiers-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .site-header-inner, .hero-shell, .stats-strip-inner, .home-section, .featured-shell, .browse-page-header, .browse-body, .cat-hero, .cat-body, .breadcrumb, .report-hero, .report-body, .submit-hero, .submit-layout, .about-hero, .about-container, .advertise-section, .privacy-section, .tiers-section, .submit-cta-section, .email-section, .site-footer, .page { padding-left: 20px; padding-right: 20px; }
    .nav-links { display: none; }
    .home-report-grid, .browse-report-grid, .cat-report-grid, .advertise-grid, .tiers-grid, .hero-stats, .report-metric-grid, .field-grid, .stat-grid { grid-template-columns: 1fr; }
    .why-section { grid-template-columns: 1fr; gap: 32px; padding: 36px 24px; }
    .submit-cta { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; }
    .submit-cta-copy p { max-width: 100%; }
    .ad-slot, .home-ad-slot { flex-direction: column; text-align: center; }
    .ad-cta-wrap { margin-left: 0; }
    .ad-media { margin-inline: auto; }
    .browse-ad-media-row { flex-direction: column; align-items: center; text-align: center; }
    .browse-ad-copy { width: 100%; }
    .report-sidebar .report-sidebar-ad .ad-cta { margin-inline: auto; }
    .tier-benefits-list { grid-template-columns: 1fr; }
    .admin-report-search { min-width: 100%; }
    .table-header { align-items: flex-start; flex-direction: column; }
    .email-form, .email-section .newsletter-form { flex-direction: column; max-width: 100%; }
    .stats-strip-inner { display: grid; }
    /* .stat-item { border-right: 0; border-bottom: 1px solid var(--border); } */
    /* .stat-item:last-child { border-bottom: 0; } */
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
    }
    .sidebar-nav,
    .sidebar-menu {
        flex: none;
        min-height: 0;
        overflow: visible;
    }
    .main { margin-left: 0; }
    .admin-shell { display: block; }
    .stats-bar { padding: 16px 20px; gap: 24px; }
    .page-home .category-strip { padding-left: 6px; padding-right: 6px; }
    .about-page .about-hero { padding: 52px 20px; }
    .about-page .about-container { padding: 0 20px; }
    .about-page .about-hero-inner { gap: 36px; }
    .about-page .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .about-page .mission-section { gap: 40px; padding: 56px 0; }
    .about-page .about-who-section { padding: 36px 24px; }
    .about-page .about-built-by { padding: 36px 24px; }
    .about-page .about-sla-logo { display: none; }
    .about-page .about-contact-cta { padding: 40px 24px; }
}

@media (max-width: 900px) {
    .hscroll-wrap {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
    }
    .hscroll-nav {
        display: none;
    }
}

@media (max-width: 520px) {
    .hscroll-wrap { gap: 6px; }
    .page-home .category-strip-wrap .hscroll-wrap {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 520px) {
    .about-page .about-cat-grid { grid-template-columns: 1fr 1fr; }
    .about-page .hero-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .privacy-page .privacy-page-hero { padding: 36px 20px; }
    .privacy-page .privacy-page-content { padding: 32px 20px 56px; }
}

.stats-bar {
    background: var(--light);
    border-bottom: 1px solid var(--border);
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
  }

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

  .stat-item-num {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--dark);
    white-space: nowrap;
  }

  .stat-item-label {
    font-size: 12px;
    color: var(--mid);
    margin-top: 2px;
    white-space: nowrap;
  }

  .stat-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    flex-shrink: 0;
  }



  .chart-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
  }

  .chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
  }

  .chart-title { font-size: 15px; font-weight: 600; color: var(--dark); }

  .chart-legend { display: flex; align-items: center; gap: 16px; }

  .legend-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--mid); }
  .legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

  .chart-area {
    height: 160px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    position: relative;
  }

  .chart-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }

  .chart-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    transition: opacity 0.15s;
  }

  .chart-bar:hover { opacity: 0.8; }

  .chart-bar-label { font-size: 10px; color: var(--mid); margin-top: 6px; }

/* ——— Admin: layout v2 (dashboard design) ——— */
.nav-item .nav-icon svg { display: block; }
.nav-item-sub {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.42);
    padding-left: 8px;
    margin-top: 0;
    margin-left: 4px;
}
.nav-item-sub .nav-icon { width: 18px; opacity: 0.85; }
.nav-item-sub:hover { color: rgba(255, 255, 255, 0.9); }
.nav-item-sub.active {
    background: #064e3b;
    color: #fff;
    font-weight: 600;
}
.nav-item-sub.active .nav-icon { color: #a7f3d0; }
.sidebar-view-site-wrap {
    margin: 6px 4px 0;
    padding: 0;
}
.nav-item--view-site {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(17, 24, 39, 0.5);
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 8px 10px;
    margin-top: 2px;
}
.nav-item--view-site .nav-icon { color: rgba(255, 255, 255, 0.6); }
.nav-item--view-site:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3);
}
.nav-item--view-site .nav-text { color: inherit; }
.stat-card-label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.stat-card-change { line-height: 1.3; }
.stat-card-strong { font-weight: 700; }
.stat-card-arrow { display: inline-block; margin-right: 2px; }
.stat-card-muted { color: var(--mid); }

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.topbar .topbar-title { margin: 0; }
.topbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 220px;
    max-width: 400px;
    min-width: 0;
    background: #F3F4F6;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 7px 12px 7px 10px;
}
.topbar-search input {
    border: 0; background: transparent; flex: 1; min-width: 0; font-size: 13px; color: var(--dark);
    outline: none;
}
.topbar-search-icon { color: var(--mid); display: flex; }
.topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.topbar .btn { line-height: 1.2; }

.chart-sub { font-size: 12px; color: var(--mid); margin-top: 4px; }
.chart-header { align-items: flex-start; }
.chart-header .chart-legend { flex-shrink: 0; }
@media (max-width: 900px) {
    .chart-header { flex-direction: column; align-items: flex-start; }
}
.chart-bar-mixed {
    width: 100%;
    min-height: 4px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(
        to top,
        #0EA5E9 0%,
        #0EA5E9 var(--sub-pc, 0%),
        #00A651 var(--sub-pc, 0%),
        #00A651 100%
    );
    transition: opacity 0.15s;
    align-self: flex-end;
}
.chart-bar-wrap { min-width: 0; }
.chart-empty {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid);
    font-size: 14px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    background: #FAFAFA;
    padding: 20px;
}

.table-header--with-icon { align-items: center; }
.table-header-left { display: flex; align-items: center; gap: 10px; }
.table-header-icon { display: flex; flex-shrink: 0; }

/* Admin dashboard: two equal columns (Pending review | Active paid listings) */
.dashboard-row,
.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}
@media (max-width: 768px) {
    .dashboard-row,
    .two-col {
        grid-template-columns: 1fr;
    }
}
.admin-dash-grid .table-card--flush th:last-child,
.admin-dash-grid .table-card--flush td:last-child {
    text-align: right;
}
.admin-dash-grid .table-card--flush td .action-btn {
    vertical-align: middle;
}
.td-muted { color: var(--mid); font-size: 12px; white-space: nowrap; }
.table-empty-cell { text-align: center; color: var(--mid); padding: 24px 16px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Admin invoices list: aligned grid, centered headers & cells */
.table-scroll .invoices-table {
    table-layout: fixed;
    width: 100%;
}
.table-scroll .invoices-table th,
.table-scroll .invoices-table td {
    padding: 12px 14px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
}
.table-scroll .invoices-table th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--mid);
}
.table-scroll .invoices-table tbody tr:last-child td {
    border-bottom: 0;
}
.table-scroll .invoices-table .table-actions {
    justify-content: center;
}
.table-scroll .invoices-table td:nth-child(5) {
    word-break: break-word;
}

/* Admin submissions queue only (not submission detail metrics tables) */
.table-scroll .submissions-queue-table {
    table-layout: fixed;
    width: 100%;
}
.table-scroll .submissions-queue-table th {
    padding: 12px 14px;
    text-align: center;
    vertical-align: bottom;
    border-bottom: 1px solid var(--border);
}
.table-scroll .submissions-queue-table td {
    padding: 14px 14px;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}
.table-scroll .submissions-queue-table tbody tr:last-child td {
    border-bottom: 0;
}
.table-scroll .submissions-queue-table td:nth-child(1),
.table-scroll .submissions-queue-table td:nth-child(2) {
    text-align: left;
}
.table-scroll .submissions-queue-table td:nth-child(3) {
    text-align: center;
}
.table-scroll .submissions-queue-table td:nth-child(3) .status {
    vertical-align: top;
}
.table-scroll .submissions-queue-table td:nth-child(4) {
    text-align: left;
}
.table-scroll .submissions-queue-table th:nth-child(1),
.table-scroll .submissions-queue-table td:nth-child(1) {
    width: 26%;
    min-width: 160px;
}
.table-scroll .submissions-queue-table th:nth-child(2),
.table-scroll .submissions-queue-table td:nth-child(2) {
    width: 22%;
    min-width: 130px;
}
.table-scroll .submissions-queue-table th:nth-child(3),
.table-scroll .submissions-queue-table td:nth-child(3) {
    width: 11%;
    min-width: 88px;
}
.table-scroll .submissions-queue-table th:nth-child(4),
.table-scroll .submissions-queue-table td:nth-child(4) {
    width: 41%;
    min-width: 280px;
}

.action-btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 600; text-decoration: none;
    color: var(--mid); background: #fff; border: 1px solid var(--border);
    border-radius: 6px; padding: 6px 12px; cursor: pointer; transition: border-color 0.12s, color 0.12s, background 0.12s;
}
.action-btn--green { color: #047857; border-color: #A7F3D0; }
.action-btn--green:hover { background: #ECFDF5; }
.table-card--flush { padding: 0; }
.table-card--flush .table-header { margin-bottom: 0; padding: 16px 20px; }
.table-card--flush .table-scroll { border-top: 1px solid var(--border); }
.table-card--flush th { padding: 10px 16px; }
.table-card--flush td { padding: 12px 16px; }
.table-card--flush table { width: 100%; }
.admin-dash-grid .table-card--flush { margin-bottom: 0; }

/* —— Site settings: toggles & footer */
.settings-page { max-width: 720px; }
.settings-card { margin-bottom: 20px; }
.settings-subsection-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}
.settings-seo-panel .settings-subsection-title + .field-hint {
    margin-bottom: 16px;
}
.settings-seo-panel .settings-subsection-title:not(:first-child) {
    margin-top: 24px;
}
.settings-footer-card { max-width: 720px; background: var(--light); }
.settings-footer-title { font-weight: 700; color: var(--dark); margin-bottom: 8px; font-size: 15px; }
.settings-footer-text { font-size: 14px; color: var(--mid); line-height: 1.6; }
.settings-footer-link { color: var(--green); font-weight: 600; }
.settings-footer-link:hover { text-decoration: underline; }
.field-hint { font-size: 12px; color: var(--mid); margin-top: 4px; }
.field-error { font-size: 12px; color: #B91C1C; }
.req { color: #B91C1C; }
.settings-toggle-box {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 16px 12px;
    background: #FAFAFA;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}
.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.toggle-row:last-child { border-bottom: 0; }
.toggle-label { font-size: 14px; font-weight: 600; color: var(--dark); max-width: 80%; }
.toggle-switch {
    position: relative;
    width: 48px;
    height: 28px;
    flex-shrink: 0;
    cursor: pointer;
}
.toggle-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    inset: 0;
    background: #D1D5DB;
    border-radius: 999px;
    transition: background 0.2s;
}
.toggle-slider::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.12);
    transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--green); }
.toggle-switch input:checked + .toggle-slider::after { transform: translateX(20px); }
.toggle-switch input:focus-visible + .toggle-slider { outline: 2px solid var(--green); outline-offset: 2px; }

/* —— Listing performance */
.listing-perf-card { overflow: hidden; }
.table-header--stacked { flex-direction: column; align-items: flex-start; gap: 4px; }
.table-sub { font-size: 13px; color: var(--mid); font-weight: 400; margin: 0; }
.tier-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
}
.tier-badge--pro { background: #FEF3C7; color: #B45309; }
.tier-badge--enhanced { background: #DBEAFE; color: #1D4ED8; }
.tier-badge--listed, .tier-badge--free { background: #F3F4F6; color: #4B5563; }
.th-center { text-align: center; }
.th-num { text-align: right; }
.td-center { text-align: center; vertical-align: middle; }
.td-num { text-align: right; font-variant-numeric: tabular-nums; }
.listing-perf-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.td-empty { text-align: center; color: var(--mid); padding: 28px 16px; }

/* —— Traffic */
.traffic-stat-grid { margin-bottom: 24px; }
.stat-kpi { padding: 20px; min-height: 120px; }
.stat-kpi .stat-card-num { font-size: 28px; margin: 6px 0; }
.stat-delta { font-size: 13px; font-weight: 600; }
.stat-delta--up { color: var(--green); }
.stat-delta--muted { color: var(--mid); font-weight: 500; }
.traffic-chart-card { margin-bottom: 24px; }
.traffic-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    min-height: 200px;
    padding: 16px 8px 8px;
    border-top: 1px solid var(--border);
}
.traffic-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; max-width: 80px; }
.traffic-bar {
    width: 100%;
    max-width: 48px;
    min-height: 4px;
    background: var(--green);
    border-radius: 6px 6px 0 0;
    transition: height 0.2s;
}
.traffic-bar-label { font-size: 11px; color: var(--mid); margin-top: 8px; font-weight: 600; }
.traffic-chart-note { font-size: 12px; color: var(--mid); padding: 12px 20px 20px; margin: 0; }
.traffic-two-col { align-items: stretch; }

/* —— Team & users */
.page-intro { font-size: 15px; color: var(--mid); margin: -8px 0 20px; max-width: 640px; }
.team-user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    align-items: stretch;
}
.team-user-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}
.team-user-card--dashed {
    border: 2px dashed var(--border);
    background: #FAFAFA;
    text-align: center;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    text-decoration: none;
    color: var(--mid);
    font-weight: 600;
    font-size: 14px;
    flex-direction: column;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.team-user-card--dashed:hover { border-color: var(--green); color: var(--green); background: #F0FDF4; }
.team-invite-icon { font-size: 32px; font-weight: 300; line-height: 1; color: var(--green); }
.team-user-card-top { display: flex; align-items: flex-start; gap: 12px; }
.team-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.team-avatar--green { background: var(--green); }
.team-avatar--purple { background: #7C3AED; }
.team-avatar--blue { background: #2563EB; }
.team-avatar--teal { background: #0D9488; }
.team-user-meta { min-width: 0; }
.team-user-name { font-weight: 700; color: var(--dark); font-size: 15px; }
.team-user-email { font-size: 12px; color: var(--mid); margin: 2px 0 8px; word-break: break-all; }
.role-pill {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 700;
    padding: 3px 8px; border-radius: 6px;
}
.role-pill--admin { background: #FEF3C7; color: #B45309; }
.role-pill-star { font-size: 10px; }
.role-pill--editor { background: #E0F2FE; color: #0369A1; }
.role-pill--viewer { background: #F3F4F6; color: #4B5563; }
.team-user-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.btn-ghost-like {
    background: #F9FAFB;
    color: var(--mid);
    border: 1px solid var(--border);
    cursor: default;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}
.btn-danger-outline {
    background: #fff;
    color: #DC2626;
    border: 1.5px solid #FECACA;
}
.btn-danger-outline:hover { background: #FEF2F2; }
.btn-muted { color: #9CA3AF; border: 1px dashed var(--border); cursor: not-allowed; }
.inline-form { display: inline; }
.perm-matrix-card .form-panel-header { font-size: 20px; }
.perm-matrix-body { padding: 0; }
.perm-matrix-table { width: 100%; min-width: 480px; border-collapse: collapse; }
.perm-matrix-table th, .perm-matrix-table td { padding: 12px 14px; text-align: center; font-size: 13px; border-bottom: 1px solid var(--border); }
.perm-matrix-table th:first-child, .perm-matrix-table td:first-child { text-align: left; }
.perm-matrix-table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mid); }
.perm-yes {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 4px; background: var(--green);
    color: #fff; font-size: 12px; font-weight: 700; line-height: 1;
}
.perm-no { color: #D1D5DB; font-weight: 400; }
.invite-form-wrap { max-width: 640px; }

/* Adverts: listing + form */
.adverts-page-header { margin-bottom: 20px; }
.adverts-page-title { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--dark); }
.adverts-page-sub { font-size: 14px; color: var(--mid); margin-top: 4px; }
.adverts-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    align-items: stretch;
}
.ad-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}
.ad-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ad-card__placement { font-size: 16px; font-weight: 700; color: var(--dark); margin: 0; }
.ad-card__client { font-size: 13px; color: var(--mid); margin: 4px 0 0; }
.ad-card__badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; flex-shrink: 0; }
.ad-card__badge--live { background: #ECFDF5; color: #047857; }
.ad-card__badge--scheduled { background: #E0F2FE; color: #0369A1; }
.ad-card__badge--paused { background: #F3F4F6; color: #4B5563; }
.ad-card__dates { font-size: 13px; color: var(--mid); margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.ad-card__fee { color: var(--dark); font-weight: 600; }
.ad-card__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ad-card__metric-val { font-size: 20px; font-weight: 700; color: var(--dark); }
.ad-card__metric-label { font-size: 11px; color: var(--mid); text-transform: uppercase; letter-spacing: 0.04em; }
.ad-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 2px;
}
.ad-card__actions .btn {
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.ad-priority-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px 6px;
    flex-basis: 100%;
    margin-top: 2px;
    width: fit-content;
    order: 10;
}
.ad-priority-label {
    font-size: 11px;
    color: var(--mid);
    font-weight: 600;
    margin-left: 2px;
}
.ad-priority-input {
    width: 56px;
    height: 32px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 0 6px;
    font-size: 13px;
    background: #fff;
    color: var(--dark);
    text-align: center;
}
.ad-priority-form .btn { min-width: 44px; padding: 0 10px; }

@media (max-width: 680px) {
    .ad-card__actions { gap: 6px; }
    .ad-priority-form {
        order: 10;
        width: fit-content;
        justify-content: flex-start;
    }
}
.ad-card--add {
    border: 2px dashed var(--border);
    background: #FAFAFA;
    min-height: 200px;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--mid);
    font-weight: 600;
    flex-direction: column;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.ad-card--add:hover { border-color: var(--green); color: var(--green); background: #F0FDF4; }
.ad-card__plus { font-size: 40px; font-weight: 300; line-height: 1; color: var(--green); }
.ad-form-panel { max-width: 800px; }

/* Add / edit report: centred panel + category UI */
.report-form-panel {
    max-width: 880px;
    margin-inline: auto;
    width: 100%;
}
.report-form-panel .geography-select {
    max-width: 100%;
}
.category-checkboxes--admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 10px;
    align-items: stretch;
}
.admin-cat-tile.checkbox-tile {
    margin: 0;
    border-left: 4px solid var(--cat-accent);
}
.admin-cat-tile.checkbox-tile:has(input:checked) {
    border-left-color: var(--cat-accent);
    border-color: var(--border);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.admin-category-preview {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fafafa;
}
.admin-category-preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--preview-dot, #6B7280);
    flex-shrink: 0;
}
.admin-category-preview-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.tier-pick-block {
    margin-top: 8px;
    padding: 20px;
    background: #F3F4F6;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.tier-pick-hint { font-size: 13px; color: var(--mid); margin-bottom: 16px; line-height: 1.5; }
.tier-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
@media (max-width: 700px) { .tier-pick-grid { grid-template-columns: 1fr; } }
.tier-pick-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.tier-pick-card:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.tier-pick-card.is-selected { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.tier-pick-card input { position: absolute; opacity: 0; pointer-events: none; }
.tier-pick-name { font-weight: 700; font-size: 15px; color: var(--dark); text-align: center; line-height: 1.35; }
.tier-pick-price { font-size: 13px; color: var(--mid); margin-top: 4px; }
.tier-complimentary-row { margin: 0; padding: 0; background: transparent; border: 0; }
.btn-add-row { background: none; border: none; color: var(--green); font-weight: 600; font-size: 14px; cursor: pointer; padding: 8px 0; margin-top: 8px; }
.btn-add-row:hover { text-decoration: underline; }
.field-error { display: block; font-size: 12px; color: #B91C1C; margin-top: 4px; }
.field-hint--error {
    font-size: 13px;
    color: var(--mid);
    margin-top: 8px;
    max-width: 40rem;
    line-height: 1.45;
}

/* Public submit-report: primary category preview + coloured secondary tiles */
.category-checkboxes--submit {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    gap: 10px;
    align-items: stretch;
}
.submit-cat-tile.checkbox-tile {
    margin: 0;
    border-left: 4px solid var(--cat-accent);
}
.submit-cat-tile--conflict {
    outline: 2px solid #B91C1C;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}
.submit-category-preview {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fafafa;
}
.submit-category-preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--preview-dot, #6B7280);
    flex-shrink: 0;
}
.submit-category-preview-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.required-indicator {
    color: #B91C1C;
    font-weight: 700;
}
.submit-form .field-group input:focus,
.submit-form .field-group select:focus,
.submit-form .field-group textarea:focus,
.review-form textarea:focus,
.review-form select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}
.submit-form .field-group input.is-invalid,
.submit-form .field-group select.is-invalid,
.submit-form .field-group textarea.is-invalid,
.review-form textarea.is-invalid,
.review-form select.is-invalid {
    border-color: #B91C1C;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}
.submit-form .field-group input::placeholder,
.submit-form .field-group textarea::placeholder {
    color: #00A651;
    font-size: 12px;
    opacity: 0.85;
}
.submit-form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 6px;
}
.submissions-table td:last-child {
    min-width: 300px;
}
.review-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
.review-stack > .btn { align-self: flex-start; }
.review-form {
    display: grid;
    gap: 10px;
}
.review-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.review-reject-form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.submission-review-page {
    display: grid;
    gap: 14px;
}
.submission-review-breadcrumb {
    font-size: 12px;
    color: var(--mid);
}
.submission-review-breadcrumb span {
    margin: 0 6px;
    color: #9CA3AF;
}
.submission-review-summary {
    border: 1px solid var(--border);
    border-radius: 0;
    background: #fff;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.submission-review-summary div {
    display: grid;
    gap: 3px;
}
.submission-review-summary span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mid);
    font-weight: 700;
}
.submission-review-summary strong {
    font-size: 14px;
    color: var(--dark);
}
.submission-review-summary small {
    font-size: 12px;
    color: var(--mid);
}
.submission-review-submitter small b {
    color: var(--dark);
    font-weight: 600;
}
.submission-review-summary .status {
    border-width: 1px;
}
.submission-review-summary .status-pending,
.submission-review-summary .status-payment_pending,
.submission-review-summary .status-review {
    background: #FEE2E2;
    color: #B91C1C;
    border-color: #FCA5A5;
}
.submission-review-summary .status-approved,
.submission-review-summary .status-published {
    background: #DCFCE7;
    color: #166534;
    border-color: #86EFAC;
}
.submission-review-summary .status-rejected {
    background: #FECACA;
    color: #991B1B;
    border-color: #F87171;
}
.submission-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(280px, 0.8fr);
    gap: 14px;
}
.submission-review-main,
.submission-review-side {
    display: grid;
    gap: 12px;
    align-content: start;
}
.submission-review-card {
    border: 1px solid var(--border);
    border-radius: 0;
    background: #fff;
    padding: 14px;
}
.submission-review-card--accent {
    border-top: 3px solid var(--green);
}
.submission-review-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.submission-review-card h3 i {
    color: var(--green);
    font-size: 16px;
}
.submission-review-rows {
    display: grid;
}
.submission-review-rows > div {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #F1F5F9;
}
.submission-review-rows > div:first-child {
    border-top: 0;
    padding-top: 2px;
}
.submission-review-rows span {
    font-size: 13px;
    color: var(--mid);
}
.submission-review-rows strong {
    font-size: 14px;
    color: var(--dark);
    word-break: break-word;
}
.submission-review-rows--side > div {
    grid-template-columns: 120px 1fr;
}
.submission-review-block {
    border-top: 1px solid #F1F5F9;
    padding-top: 10px;
    margin-top: 8px;
}
.submission-review-block h4 {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--mid);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.submission-review-block p {
    margin: 0;
    color: var(--dark);
    line-height: 1.55;
}
.submission-review-list {
    margin: 0;
    padding-left: 18px;
}
.submission-review-list li {
    margin-bottom: 8px;
}
.submission-review-list li span {
    font-weight: 600;
    color: var(--dark);
}
.submission-review-table th,
.submission-review-table td {
    padding: 10px 14px !important;
    vertical-align: top;
}
.submission-review-table th {
    font-size: 12px;
    white-space: nowrap;
}
.submission-review-table td {
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}
.submission-review-table td:last-child {
    min-width: 90px;
}
.submission-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
@media (max-width: 860px) {
    .submit-form-actions .btn {
        width: 100%;
    }
    .submissions-table td:last-child {
        min-width: 240px;
    }
    .review-reject-form {
        justify-content: flex-start;
    }
    .submission-review-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .submission-review-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .submission-review-summary {
        grid-template-columns: 1fr;
    }
    .submission-review-rows > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.admin-cat-tile--conflict {
    outline: 2px solid #B91C1C;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}
.report-split-metrics { margin-top: 8px; }
.is-hidden { display: none !important; }

/* —— Tier plan labels (Enhanced / Pro / Free — name only on badges) */
.tier-badge.tier-badge--plan,
.tier-badge.tier-badge--plan-free {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-transform: none;
    letter-spacing: 0.02em;
    line-height: 1.2;
    padding: 4px 10px;
}
.tier-badge__plan {
    font-weight: 800;
    font-size: 10px;
}
.tier-badge--plan-free .tier-badge__plan {
    font-size: 11px;
}

.tier-plan-hero {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
}
.tier-plan-hero__label {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.tier.tier--plan {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    text-transform: none;
    letter-spacing: 0.02em;
    line-height: 1.25;
}
.tier.tier--plan .tier__plan {
    font-weight: 800;
}

.tier-pick-price--free {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.tier-pick-free-hint {
    font-size: 12px;
    font-weight: 600;
    color: var(--mid);
    line-height: 1.35;
}
.tiers-section .tier-tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--mid);
    line-height: 1.35;
    margin-bottom: 4px;
}
.about-page .about-tier-tagline {
    font-size: 16px;
    font-weight: 600;
    color: var(--mid);
    line-height: 1.35;
    margin-bottom: 4px;
}

.tier-price--free-tier {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}
.tier-price-free-suffix {
    font-size: 14px;
    font-weight: 600;
    color: var(--mid);
    text-transform: lowercase;
}

.about-tier-card--free .about-tier-price--free {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.about-tier-free-meta {
    font-size: 17px;
    font-weight: 700;
    color: var(--mid);
    letter-spacing: 0.02em;
}

.payment-plan-summary {
    font-weight: 600;
}
.invoice-plan-label {
    font-weight: 600;
    color: var(--dark);
}
.submission-tier-line--muted {
    font-weight: 500;
    color: var(--mid);
}

/* Home pricing cards: readable tier titles (Enhanced / Pro / Free) */
.tiers-section .tier-name {
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 14px;
    color: var(--dark);
}

/* 404 error page */
.error-page {
    min-height: calc(100vh - var(--site-header-height) - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 80px;
    background: var(--light);
}
.error-page-inner {
    max-width: 520px;
    text-align: center;
}
.error-page-code {
    font-family: 'DM Serif Display', serif;
    font-size: 72px;
    line-height: 1;
    color: var(--green);
    margin-bottom: 12px;
}
.error-page h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 12px;
}
.error-page-lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--mid);
    margin-bottom: 28px;
}
.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
