/* ==========================================================================
   Nearby — Evidence-based Family Safety
   Design system stylesheet
   ========================================================================== */

:root {
  /* Palette */
  --petrol:        #17322E;
  --petrol-dark:   #0F2523;
  --petrol-var:    #22403C;
  --ink-soft:      #3F5651;
  --ink-muted:     #6B807B;
  --cream:         #F5EFE4;
  --offwhite:      #EDF1EF;
  --sage-bg:       #E1E9E5;
  --sage-light:    #B8CFC5;
  --sage-deep:     #7C9885;
  --terracotta:    #E0954F;
  --terracotta-dk: #C77835;

  /* Fonts */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --shadow-soft: 0 12px 32px -12px rgba(23, 50, 46, 0.18);
  --shadow-lift: 0 22px 48px -16px rgba(23, 50, 46, 0.28);
  --radius-card: 20px;
  --radius-lg: 24px;
}

/* -------------------------------------------------------------------------- */
/* Base                                                                       */
/* -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--petrol);
  background: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

.serif { font-family: var(--font-display); }
.mono  { font-family: var(--font-mono); }
.italic-terra { font-style: italic; color: var(--terracotta); }

/* Utility layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.terra { color: var(--terracotta); }
.eyebrow.sage-l { color: var(--sage-light); }
.eyebrow.no-line::before { display: none; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--petrol);
  margin-bottom: 18px;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--petrol);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { left: 16px; }

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
  border-radius: 6px;
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn-petrol { background: var(--petrol); color: var(--cream); }
.btn-petrol:hover { background: var(--petrol-var); transform: translateY(-2px); }
.btn-terra { background: var(--terracotta); color: var(--petrol-dark); }
.btn-terra:hover { background: var(--terracotta-dk); transform: translateY(-2px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--petrol);
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 2px;
  transition: gap .2s ease, color .2s ease;
}
.arrow-link:hover { gap: 14px; color: var(--terracotta-dk); }
.arrow-link.cream { color: var(--cream); }
.arrow-link.cream:hover { color: var(--cream); }

/* -------------------------------------------------------------------------- */
/* Navigation                                                                 */
/* -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 228, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled {
  border-bottom-color: rgba(23, 50, 46, 0.12);
  box-shadow: 0 6px 20px -14px rgba(23,50,46,.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  color: var(--petrol);
}
.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(224,149,79,.28), 0 0 10px 1px rgba(224,149,79,.7);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--petrol); }
.nav-right { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--petrol);
  padding: 6px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 22px;
  background: rgba(245, 239, 228, 0.98);
  border-bottom: 1px solid rgba(23,50,46,.12);
}
.mobile-menu a {
  padding: 12px 4px;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(23,50,46,.06);
}
.mobile-menu .btn { margin-top: 12px; justify-content: center; }
.mobile-menu.open { display: flex; }

/* -------------------------------------------------------------------------- */
/* Opt-in form                                                                */
/* -------------------------------------------------------------------------- */
.optin {
  display: flex;
  gap: 8px;
  background: var(--cream);
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  max-width: 460px;
}
.optin input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--petrol);
  min-width: 0;
}
.optin input::placeholder { color: var(--ink-muted); }
.optin .btn { flex-shrink: 0; }

.optin-dark { background: rgba(255,255,255,0.1); border: 1px solid rgba(245,239,228,.25); }
.optin-dark input { color: var(--cream); }
.optin-dark input::placeholder { color: rgba(245,239,228,.6); }

.small-print {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 12px;
}
.small-print.cream { color: rgba(245,239,228,.65); }

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */
.hero { padding: 64px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  color: var(--petrol);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 560px;
}
.hero-figure { position: relative; }
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.stat-badge {
  margin-top: 16px;
  background: var(--petrol);
  border: 1px solid rgba(224,149,79,.55);
  border-radius: 18px;
  padding: 22px;
  color: var(--cream);
}
.stat-badge .big { font-family: var(--font-display); font-size: 44px; line-height: 1; margin-bottom: 10px; }
.stat-badge .label { font-size: 14px; color: var(--cream); opacity: .95; }
.stat-badge .src { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; margin-top: 12px; opacity: .6; }

/* -------------------------------------------------------------------------- */
/* Trust bar                                                                  */
/* -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--sage-bg);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.trust-inner .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.trust-sources {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------------------- */
/* Cards grids                                                                */
/* -------------------------------------------------------------------------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* Compact product grids — smaller cards let more fit per row */
.prod-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.prod-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.prod-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.cat-card {
  background: #fff;
  border: 1px solid rgba(23,50,46,.1);
  border-radius: var(--radius-card);
  padding: 26px 24px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.cat-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.cat-card h3 { font-size: 24px; margin-bottom: 12px; color: var(--petrol); }
.cat-card p { font-size: 15px; color: var(--ink-soft); margin: 0 0 18px; flex: 1; }
.cat-stat {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--petrol);
  padding-top: 14px;
  border-top: 1px solid rgba(23,50,46,.1);
}

/* -------------------------------------------------------------------------- */
/* Blog cards                                                                 */
/* -------------------------------------------------------------------------- */
.section-cream { background: var(--cream); }
.section-sage  { background: var(--sage-bg); }
.section-warm  { background: #F3EBDD; }

.blog-card {
  background: #fff;
  border: 1px solid rgba(23,50,46,.08);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.blog-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.blog-media img,
.blog-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-media img,
.blog-card:hover .blog-media video { transform: scale(1.05); }
/* Videos used in place of a static image inside figures/media wells */
.media-video { display: block; }
.blog-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--petrol);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.blog-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 21px; color: var(--petrol); margin-bottom: 12px; transition: color .2s ease; }
.blog-card:hover h3 { color: var(--terracotta-dk); }
.blog-excerpt { font-size: 15px; color: var(--ink-soft); margin: 0 0 18px; flex: 1; }

/* -------------------------------------------------------------------------- */
/* Featured article block                                                     */
/* -------------------------------------------------------------------------- */
.featured {
  position: relative;
  background: var(--petrol);
  color: var(--cream);
  border-radius: 28px;
  padding: 64px;
  overflow: hidden;
}
.featured::after {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(224,149,79,.35), transparent 70%);
  pointer-events: none;
}
.featured-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.tag-pill {
  display: inline-block;
  background: var(--terracotta);
  color: var(--petrol-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.featured h2 { font-size: clamp(28px, 3.4vw, 38px); color: var(--cream); margin-bottom: 20px; }
.featured .lede { font-size: 17px; color: rgba(245,239,228,.85); margin-bottom: 26px; }
.featured-figure { position: relative; }
.featured-figure img,
.featured-figure video {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  display: block;
  border-radius: 20px;
}
.featured-stat {
  position: absolute;
  left: 18px; bottom: 18px; right: 18px;
  background: rgba(15,37,35,.72);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 18px 20px;
}
.featured-stat .big { font-family: var(--font-display); font-size: 54px; line-height: .9; color: var(--cream); }
.featured-stat .label { font-size: 13px; color: rgba(245,239,228,.85); margin-top: 8px; }

/* -------------------------------------------------------------------------- */
/* Product picks                                                              */
/* -------------------------------------------------------------------------- */
.product-group { margin-bottom: 44px; }
.product-group:last-child { margin-bottom: 0; }
.product-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.product-group-intro {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: -6px 0 22px;
}
.product-group-note {
  font-size: 14px;
  color: var(--ink-soft);
  background: rgba(184,207,197,.35);
  border-left: 3px solid var(--sage-deep);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 20px 0 0;
  max-width: 760px;
}
.product-group-intro strong, .product-group-note strong { color: var(--petrol); }
.product-group-head h3 { font-size: 24px; color: var(--petrol); }
.product-group-head .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.product-card {
  background: #fff;
  border: 1px solid rgba(23,50,46,.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.product-media {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #fff;
}
/* Product photos sit on white and are contained, not cropped, so the whole item shows */
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-media.has-photo { background: #fff; }
.product-media .ph-icon {
  font-size: 40px;
  color: rgba(255,255,255,.9);
}

.product-body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.product-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--terracotta-dk);
  margin-bottom: 7px;
}
.product-card h4 { font-family: var(--font-display); font-size: 17px; line-height: 1.15; color: var(--petrol); margin-bottom: 6px; }
.product-spec {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.product-desc { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 14px; flex: 1; }
.product-card .btn { justify-content: center; padding: 10px 18px; font-size: 14px; }

/* -------------------------------------------------------------------------- */
/* Big CTA                                                                    */
/* -------------------------------------------------------------------------- */
.cta-block {
  position: relative;
  background: var(--petrol);
  color: var(--cream);
  border-radius: 28px;
  padding: 72px 40px;
  text-align: center;
  overflow: hidden;
}
.cta-block::before, .cta-block::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,149,79,.3), transparent 70%);
  pointer-events: none;
}
.cta-block::before { top: -140px; left: -100px; }
.cta-block::after  { bottom: -160px; right: -100px; }
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-block h2 { font-size: clamp(30px, 4vw, 48px); color: var(--cream); margin-bottom: 18px; }
.cta-block p { font-size: 18px; color: rgba(245,239,228,.85); margin-bottom: 30px; }
.cta-block .optin { margin: 0 auto; }

/* -------------------------------------------------------------------------- */
/* Transparency                                                               */
/* -------------------------------------------------------------------------- */
.transparency { text-align: center; }
.transparency .inner { max-width: 760px; margin: 0 auto; }
.transparency h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 22px; }
.transparency p { font-size: 17px; color: var(--ink-soft); }

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
.footer {
  background: var(--petrol-dark);
  color: var(--cream);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer .brand { color: var(--cream); margin-bottom: 16px; }
.footer-tag { font-size: 14px; color: rgba(245,239,228,.68); max-width: 320px; }
.footer h4 {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { font-size: 15px; color: rgba(245,239,228,.82); transition: color .18s ease; }
.footer ul a:hover { color: var(--terracotta); }
.legal {
  border-top: 1px solid rgba(245,239,228,.14);
  padding-top: 28px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245,239,228,.6);
}
.legal strong { color: rgba(245,239,228,.85); }
.legal p { margin: 0 0 14px; }

/* -------------------------------------------------------------------------- */
/* Blog article layout                                                        */
/* -------------------------------------------------------------------------- */
.article-header { padding: 56px 0 40px; }
.article-header .container { max-width: 800px; }
.article-header .kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.article-header h1 { font-size: clamp(30px, 4.4vw, 48px); color: var(--petrol); margin-bottom: 18px; }
.article-header .art-meta { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); letter-spacing: .04em; }
.article-hero {
  max-width: 960px;
  margin: 8px auto 0;
  padding: 0 24px;
}
.article-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

.article-body { max-width: 720px; margin: 0 auto; padding: 48px 24px 20px; }
.article-body p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 22px; }
.article-body h2 { font-size: 28px; color: var(--petrol); margin: 44px 0 16px; }
.article-body h3 { font-size: 21px; color: var(--petrol); margin: 32px 0 12px; }
.article-body ul, .article-body ol { font-size: 17px; line-height: 1.75; color: var(--ink-soft); padding-left: 22px; margin: 0 0 22px; }
.article-body li { margin-bottom: 10px; }
.article-body a.inline { color: var(--terracotta-dk); border-bottom: 1px solid var(--terracotta); font-weight: 500; }
.article-body strong { color: var(--petrol); }
.pullquote {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.35;
  color: var(--petrol);
  border-left: 3px solid var(--terracotta);
  padding: 6px 0 6px 24px;
  margin: 32px 0;
}

.rec-box {
  background: var(--sage-bg);
  border: 1px solid rgba(23,50,46,.1);
  border-radius: var(--radius-card);
  padding: 26px;
  margin: 32px 0;
}
.rec-box .eyebrow { margin-bottom: 14px; }
.rec-box h4 { font-family: var(--font-display); font-size: 20px; color: var(--petrol); margin-bottom: 10px; }
.rec-box p { font-size: 15px; margin-bottom: 16px; }
.rec-list { display: grid; gap: 12px; }
.rec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  flex-wrap: wrap;
}
.rec-item .name { font-family: var(--font-display); font-size: 17px; color: var(--petrol); }
.rec-item .sub { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }

.midform {
  background: var(--petrol);
  color: var(--cream);
  border-radius: var(--radius-card);
  padding: 34px;
  margin: 40px 0;
  text-align: center;
}
.midform h4 { font-family: var(--font-display); font-size: 24px; color: var(--cream); margin-bottom: 10px; }
.midform p { color: rgba(245,239,228,.82); margin-bottom: 22px; font-size: 15px; }
.midform .optin { margin: 0 auto; }

.sources-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px 40px;
}
.sources-list h3 {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.sources-list ol { font-size: 14px; color: var(--ink-soft); line-height: 1.6; padding-left: 20px; }
.sources-list li { margin-bottom: 10px; }

.disclaimer-inline {
  background: var(--sage-bg);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 40px;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .prod-grid, .prod-grid.cols-4, .prod-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .featured { padding: 44px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-figure { order: -1; }
  .featured-grid { grid-template-columns: 1fr; gap: 32px; }
  .featured-figure { order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .prod-grid, .prod-grid.cols-4, .prod-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
  .prod-grid, .prod-grid.cols-4, .prod-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .featured { padding: 32px 24px; }
  .cta-block { padding: 52px 24px; }
  .optin { flex-direction: column; border-radius: 20px; }
  .optin .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 12px; }
  .container { padding: 0 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; animation: none !important; }
}
