/* =========================================================
   RESET & BASE
========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', ui-monospace, monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.25s, color 0.25s;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* =========================================================
   TOKENS — DARK (DEFAULT)
========================================================= */
:root {
  --bg:             #0c0c0e;
  --bg-card:        #16161a;
  --bg-card-hover:  #1c1c21;
  --border:         #26262b;
  --border-hover:   rgba(234,115,60,0.5);
  --primary:        #ea733c;
  --primary-light:  #f5905e;
  --primary-glow:   rgba(234,115,60,0.18);
  --accent:         #f59e0b;
  --accent-light:   #fbbf24;
  --sky:            #38bdf8;
  --green:          #4ade80;
  --text:           #f5f5f6;
  --text-muted:     #c7c7cb;
  --text-subtle:    #6c6c73;
  --radius:         8px;
  --shadow-card:    none;
  --shadow-hover:   0 0 0 1px rgba(234,115,60,0.2), 0 4px 24px rgba(0,0,0,0.35);
}

/* =========================================================
   TOKENS — LIGHT
========================================================= */
html.light body {
  --bg:             #fafafa;
  --bg-card:        #ffffff;
  --bg-card-hover:  #fafafa;
  --border:         #d4d4d8;
  --border-hover:   rgba(194,65,12,0.4);
  --primary:        #c2410c;
  --primary-light:  #ea580c;
  --primary-glow:   rgba(194,65,12,0.12);
  --accent:         #d97706;
  --accent-light:   #f59e0b;
  --sky:            #0284c7;
  --green:          #16a34a;
  --text:           #18181b;
  --text-muted:     #3f3f46;
  --text-subtle:    #71717a;
  --shadow-card:    none;
  --shadow-hover:   0 0 0 1px rgba(194,65,12,0.15), 0 4px 16px rgba(0,0,0,0.07);
}

/* =========================================================
   KEYFRAMES
========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.3; }
}
@keyframes drift {
  0%,100% { transform: rotate(45deg) translate(0,0); }
  50%     { transform: rotate(45deg) translate(0,5px); }
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes counter-in {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
  --mx: 50%;
  --my: 50%;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(650px circle at var(--mx) var(--my), rgba(234,115,60,0.09), transparent 44%);
  pointer-events: none;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #0c0c0e;
}
html.light .hero-bg {
  background: #fafafa;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(234,115,60,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 75% 65%, rgba(56,189,248,0.04) 0%, transparent 50%);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(234,115,60,0.45) 0%, transparent 70%);
  top: -120px; left: -100px;
}
.orb-2 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(245,158,11,0.3) 0%, transparent 70%);
  bottom: -80px; right: -60px;
}
.orb-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(56,189,248,0.22) 0%, transparent 70%);
  top: 36%; right: 16%;
}
.code-float {
  position: absolute;
  pointer-events: none;
  background: rgba(22,22,26,0.75);
  border: 1px solid #26262b;
  border-radius: 6px;
  padding: 10px 16px;
  backdrop-filter: blur(8px);
  will-change: transform;
  z-index: 2;
}
html.light .code-float {
  background: rgba(255,255,255,0.7);
  border-color: #d4d4d8;
}
.code-float pre { margin: 0; }
.code-float code {
  font-family: inherit;
  font-size: 12px;
  color: var(--primary-light);
  white-space: nowrap;
}
html.light .code-float code { color: var(--primary); }
.cf-1 { top: 18%; left: 6%; }
.cf-2 { top: 22%; right: 8%; }
.cf-3 { bottom: 22%; left: 8%; }
.cf-4 { bottom: 28%; right: 6%; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 740px;
  will-change: transform;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(234,115,60,0.1);
  border: 1px solid rgba(234,115,60,0.25);
  color: var(--primary-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 13px;
  border-radius: 4px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
html.light .hero-badge { color: var(--primary); background: rgba(194,65,12,0.07); border-color: rgba(194,65,12,0.2); }
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 2s ease infinite;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 34px;
  font-weight: 400;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 38px;
}
.stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat span {
  font-size: 0.72rem;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-btns {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-outline:hover { color: var(--text); border-color: var(--text-subtle); transform: translateY(-1px); }
.scroll-indicator {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-subtle);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-arrow {
  width: 16px; height: 16px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.45;
  animation: drift 1.8s ease-in-out infinite;
}

/* =========================================================
   COMPACT CTA STRIP
========================================================= */
.cta-strip {
  background: rgba(234,115,60,0.05);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  text-align: center;
}
html.light .cta-strip { background: rgba(194,65,12,0.04); }
.cta-strip-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cta-strip p { color: var(--text-muted); font-size: 0.85rem; }
.cta-strip strong { color: var(--text); }
.btn-strip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.18s, transform 0.18s;
}
.btn-strip:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-strip:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* =========================================================
   FILTER NAV
========================================================= */
.filter-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,14,0.92);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  transition: background 0.25s;
}
html.light .filter-nav { background: rgba(250,250,250,0.94); }
.filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 6px;
  text-decoration: none;
}
.nav-logo-text {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo-text span { color: var(--primary); }

.filter-tabs { display: flex; gap: 2px; flex-shrink: 0; }
.filter-btn {
  padding: 6px 13px;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-subtle);
  transition: all 0.15s;
  white-space: nowrap;
}
.filter-btn:hover { color: var(--text); background: rgba(255,255,255,0.04); }
html.light .filter-btn:hover { background: rgba(0,0,0,0.05); }
.filter-btn.active { background: var(--primary); color: #fff; }
.filter-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  font-size: 10px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  margin-left: 4px;
}
.filter-btn.active .filter-count { background: rgba(255,255,255,0.22); }
.filter-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.search-wrapper { position: relative; width: 240px; }
.search-icon {
  position: absolute;
  left: 11px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
  width: 14px; height: 14px;
}
#search {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 12px 7px 34px;
  color: var(--text);
  font-size: 0.82rem;
  font-family: inherit;
  transition: border-color 0.18s, background 0.18s;
}
html.light #search { background: rgba(0,0,0,0.03); }
#search::placeholder { color: var(--text-subtle); }
#search:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(234,115,60,0.05);
}
html.light #search:focus { background: rgba(194,65,12,0.04); }
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  border: 1px solid var(--border);
  background: transparent;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.theme-toggle:hover { color: var(--primary); border-color: rgba(234,115,60,0.35); background: rgba(234,115,60,0.06); }
html.light .theme-toggle:hover { color: var(--primary); border-color: rgba(194,65,12,0.3); background: rgba(194,65,12,0.05); }
.theme-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.theme-toggle svg { width: 15px; height: 15px; }
.icon-sun  { display: none; }
.icon-moon { display: block; }
html.light .icon-sun  { display: block; }
html.light .icon-moon { display: none; }

/* =========================================================
   MAIN & GRID
========================================================= */
.main-content { max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px; }
.results-bar { margin-bottom: 24px; }
#results-count { font-size: 0.8rem; color: var(--text-subtle); }
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* =========================================================
   RESOURCE CARD — Grid-cell aesthetic (like activebuilders)
========================================================= */
.resource-card {
  position: relative;
  background: var(--bg-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: background 0.18s;
  animation: card-in 0.4s ease both;
}
.resource-card:hover { background: var(--bg-card-hover); }
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.card-icon-wrap {
  width: 38px; height: 38px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.icon-tool    { background: rgba(56,189,248,0.06); }
.icon-article { background: rgba(245,158,11,0.06); }
.icon-ebook   { background: rgba(74,222,128,0.06); }
.card-badges { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  font-family: inherit;
}
.badge-tool    { background: rgba(56,189,248,0.1);   color: #38bdf8; border: 1px solid rgba(56,189,248,0.2); }
.badge-article { background: rgba(245,158,11,0.1);   color: #fbbf24; border: 1px solid rgba(245,158,11,0.2); }
.badge-ebook   { background: rgba(74,222,128,0.1);   color: #4ade80; border: 1px solid rgba(74,222,128,0.2); }
.badge-free    { background: rgba(234,115,60,0.1);   color: var(--primary-light); border: 1px solid rgba(234,115,60,0.2); }
html.light .badge-free { color: var(--primary); border-color: rgba(194,65,12,0.2); background: rgba(194,65,12,0.07); }
.card-source { font-size: 10px; color: var(--text-subtle); font-weight: 500; letter-spacing: 0.04em; margin-bottom: 2px; }
.card-title { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.3; letter-spacing: -0.01em; }
.card-title a { color: inherit; text-decoration: none; transition: color 0.15s; }
.resource-card:hover .card-title a,
.card-title a:hover { color: var(--primary); }
html.light .resource-card:hover .card-title a { color: var(--primary); }
.card-title a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 2px; }
.card-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; flex: 1; font-weight: 400; }
.card-desc code {
  font-family: inherit;
  font-size: 0.9em;
  background: rgba(255,255,255,0.06);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid var(--border);
}
html.light .card-desc code { background: rgba(0,0,0,0.05); }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
  font-size: 10px;
  color: var(--text-subtle);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 7px;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}
.card-date { font-size: 10px; color: var(--text-subtle); letter-spacing: 0.03em; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: gap 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
html.light .card-link { color: var(--primary); }
.card-link:hover { gap: 7px; color: var(--accent); }
.card-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 2px; }
.card-link svg { width: 12px; height: 12px; transition: transform 0.15s; }
.card-link:hover svg { transform: translate(2px,-2px); }
.resource-card[hidden] { display: none; }

/* Grid gaps between visible cards */
.resources-grid:not(:has(.resource-card[hidden]:only-of-type)) .resource-card + .resource-card {
  border-left: none;
}

/* =========================================================
   NO RESULTS
========================================================= */
.no-results {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 2px;
}
.no-results.visible { display: block; }
.no-results-icon { font-size: 2.5rem; margin-bottom: 14px; line-height: 1; }
.no-results h2 { font-size: 1.1rem; margin-bottom: 7px; color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
.no-results p { font-size: 0.85rem; color: var(--text-muted); }
.btn-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 8px 18px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-clear:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(234,115,60,0.05); }
html.light .btn-clear:hover { color: var(--primary); background: rgba(194,65,12,0.04); }
.btn-clear:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* =========================================================
   SECTION DIVIDERS
========================================================= */
.section-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 4px;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.section-divider-icon { font-size: 13px; }
.section-divider-line { flex: 1; height: 1px; background: var(--border); }

/* =========================================================
   INLINE CTA BANNERS
========================================================= */
.cta-banner {
  grid-column: 1 / -1;
  position: relative;
  padding: 14px 20px;
  background: rgba(234,115,60,0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
html.light .cta-banner { background: rgba(194,65,12,0.03); }
.cta-banner .cta-strip-inner { max-width: none; }

/* =========================================================
   FULL-WIDTH CTA
========================================================= */
.cta-full {
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-full-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(234,115,60,0.07) 0%, transparent 55%);
}
html.light .cta-full-bg { background: radial-gradient(ellipse at 50% 0%, rgba(194,65,12,0.05) 0%, transparent 55%); }
.cta-full-bg::after { display: none; }
.cta-full-inner { position: relative; z-index: 2; max-width: 580px; margin: 0 auto; }
.cta-full-eyebrow {
  display: inline-block;
  background: rgba(234,115,60,0.08);
  border: 1px solid rgba(234,115,60,0.2);
  color: var(--primary-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-family: inherit;
}
html.light .cta-full-eyebrow { color: var(--primary); background: rgba(194,65,12,0.06); border-color: rgba(194,65,12,0.18); }
.cta-full h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 12px;
}
.cta-full p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; font-weight: 400; }
.cta-full-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.benefit-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 13px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: inherit;
}
.benefit-pill span { font-size: 13px; }
.cta-full-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.btn-cta-full {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  background: var(--primary);
  color: #fff;
  transition: transform 0.18s, background 0.18s;
}
.btn-cta-full:hover { transform: translateY(-2px); background: var(--primary-light); }
.btn-cta-full:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 3px; }
.cta-full-note { font-size: 11px; color: var(--text-subtle); letter-spacing: 0.02em; }

/* =========================================================
   FOOTER
========================================================= */
footer { border-top: 1px solid var(--border); padding: 36px 24px; text-align: center; }
.footer-inner { max-width: 1000px; margin: 0 auto; }
.footer-logo { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 14px; letter-spacing: -0.02em; }
.footer-logo span { color: var(--primary-light); }
html.light .footer-logo span { color: var(--primary); }
.footer-copy { font-size: 0.77rem; color: var(--text-subtle); }
.footer-copy a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }
html.light .footer-copy a { color: var(--primary); }

/* =========================================================
   UTILITIES & RESPONSIVE
========================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}
@media (max-width: 640px) {
  .hero { padding: 96px 18px 56px; }
  .hero-stats { gap: 20px; }
  .stat strong { font-size: 1.6rem; }
  .cf-1, .cf-3, .cf-4 { display: none; }
  .cf-2 { top: 12%; right: 4%; }
  .filter-inner { height: auto; padding: 10px 0; flex-wrap: wrap; }
  .filter-controls { width: 100%; margin-left: 0; }
  .search-wrapper { width: 100%; flex: 1; }
  .resources-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .cta-full { padding: 48px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
