:root {
  --bg:        #0a0c0a;
  --bg2:       #0f120f;
  --surface:   #141a14;
  --surface2:  #1a221a;
  --border:    #222e22;
  --border2:   #2a382a;
  --green:     #6abf69;
  --green-dim: rgba(106,191,105,0.10);
  --green-glow:rgba(106,191,105,0.18);
  --gold:      #c9a84c;
  --gold-dim:  rgba(201,168,76,0.10);
  --red:       #e05555;
  --text:      #e8ede8;
  --text-2:    #8fa08f;
  --text-3:    #7a8c7a;
  --syne: 'Outfit', sans-serif;
  --dm:   'Outfit', sans-serif;
  --mono: 'DM Mono', monospace;
  --radius: 10px;
  --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--dm); min-height: 100vh; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--dm); }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,12,10,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 64px; display: flex; align-items: center; padding: 0 2rem; gap: 2rem;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Bebas Neue', var(--syne); font-size: 1.6rem; font-weight: 400; letter-spacing: 0.05em; color: var(--text); flex-shrink: 0; }
.logo-icon { width: 32px; height: 32px; border-radius: 0; background: none; box-shadow: none; display: block; object-fit: contain; flex-shrink: 0; }
.logo span { color: var(--green); }
.logo-tld { font-size: 0.7rem; color: var(--text-2); font-family: var(--mono); border: 1px solid var(--border); padding: 2px 7px; border-radius: 100px; letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; flex: 1; }
.nav-links a { font-size: 0.82rem; font-weight: 500; color: var(--text-2); padding: 6px 12px; border-radius: var(--radius-sm); transition: all 0.15s; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--green); background: var(--green-dim); }
.btn-primary { background: var(--green); border: none; color: #0a0c0a; font-size: 0.82rem; font-weight: 700; padding: 8px 18px; border-radius: var(--radius-sm); transition: all 0.15s; }
.btn-primary:hover { background: #7dd67c; transform: translateY(-1px); box-shadow: 0 4px 20px var(--green-glow); }

/* HERO */
.ad-hero {
  padding: 5rem 2rem 3rem; text-align: center; max-width: 780px; margin: 0 auto; position: relative;
}
.ad-hero::before {
  content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  /* Constrained to the viewport so this decorative glow cannot
     cause horizontal overflow; it previously relied on
     body{overflow-x:hidden} to clip it. */
  width: min(700px, 100vw); height: 500px;
  background: radial-gradient(ellipse at center, rgba(106,191,105,0.07) 0%, rgba(201,168,76,0.03) 40%, transparent 70%);
  pointer-events: none;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-dim); border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px; padding: 5px 14px;
  font-size: 0.72rem; font-weight: 500; color: var(--gold);
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.ad-hero h1 { font-family: var(--syne); font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1rem; }
.ad-hero h1 span { color: var(--green); }
.ad-hero p { font-size: 1rem; color: var(--text-2); font-weight: 300; line-height: 1.6; max-width: 560px; margin: 0 auto 2.5rem; }

.hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-primary {
  background: var(--green); border: none; color: #0a0c0a;
  font-family: var(--syne); font-size: 1rem; font-weight: 800;
  padding: 14px 32px; border-radius: var(--radius-sm); transition: all 0.15s; letter-spacing: 0.01em;
}
.cta-primary:hover { background: #7dd67c; transform: translateY(-2px); box-shadow: 0 8px 32px var(--green-glow); }
.cta-ghost {
  background: none; border: 1px solid var(--border2); color: var(--text-2);
  font-family: var(--syne); font-size: 1rem; font-weight: 600;
  padding: 14px 32px; border-radius: var(--radius-sm); transition: all 0.15s;
}
.cta-ghost:hover { border-color: var(--green); color: var(--green); }

/* METRICS BAR */
.metrics-bar {
  max-width: 900px; margin: 0 auto 4rem; padding: 0 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.metric-item {
  padding: 1.5rem; text-align: center; border-right: 1px solid var(--border);
}
.metric-item:last-child { border-right: none; }
.metric-num { font-family: var(--syne); font-size: 1.8rem; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 4px; }
.metric-label { font-size: 0.72rem; color: var(--text-2); letter-spacing: 0.02em; }
.metric-sub { font-family: var(--mono); font-size: 0.6rem; color: var(--text-3); margin-top: 3px; }

/* SECTION HEADERS */
.section-wrap { max-width: 1100px; margin: 0 auto; padding: 0 2rem 5rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block; background: var(--green-dim); border: 1px solid rgba(106,191,105,0.25);
  color: var(--green); font-family: var(--mono); font-size: 0.65rem; padding: 4px 12px;
  border-radius: 100px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-title { font-family: var(--syne); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.section-title span { color: var(--green); }
.section-sub { font-size: 0.92rem; color: var(--text-2); max-width: 520px; margin: 0 auto; line-height: 1.6; }

/* AD PLACEMENT CARDS */
.placements-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 1.5rem;
}
.placement-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; position: relative; overflow: hidden;
  transition: all 0.2s;
}
.placement-card:hover { border-color: var(--border2); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.placement-card.featured {
  border-color: rgba(106,191,105,0.4);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(106,191,105,0.05) 100%);
}
.placement-card.featured::before {
  content: 'MOST POPULAR'; position: absolute; top: 0; left: 0; right: 0;
  background: var(--green); color: #0a0c0a; font-family: var(--mono);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em;
  text-align: center; padding: 4px;
}
.placement-card.featured { padding-top: 2.25rem; }

.placement-icon { margin-bottom: 0.75rem; color: var(--green); }
.placement-name { font-family: var(--syne); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.placement-desc { font-size: 0.78rem; color: var(--text-2); line-height: 1.5; margin-bottom: 1.25rem; }

.placement-price {
  font-family: var(--syne); font-size: 2rem; font-weight: 800; color: var(--green);
  line-height: 1; margin-bottom: 4px;
}
.placement-price small { font-size: 0.75rem; color: var(--text-2); font-family: var(--mono); font-weight: 400; }

.placement-features { list-style: none; margin: 1rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.placement-features li {
  font-size: 0.78rem; color: var(--text-2); display: flex; align-items: center; gap: 8px;
}
.placement-features li::before {
  content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; font-size: 0.82rem;
}

.placement-btn {
  width: 100%; padding: 11px; border-radius: var(--radius-sm);
  font-family: var(--syne); font-size: 0.88rem; font-weight: 700;
  transition: all 0.15s; letter-spacing: 0.01em;
}
.placement-btn.primary { background: var(--green); border: none; color: #0a0c0a; }
.placement-btn.primary:hover { background: #7dd67c; box-shadow: 0 4px 20px var(--green-glow); }
.placement-btn.ghost { background: none; border: 1px solid var(--border2); color: var(--text-2); }
.placement-btn.ghost:hover { border-color: var(--green); color: var(--green); }

/* COMPARISON TABLE */
.compare-table-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 2rem;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  background: var(--bg); padding: 1rem 1.25rem; text-align: left;
  font-family: var(--mono); font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-2); border-bottom: 1px solid var(--border);
}
.compare-table th.plan-col { text-align: center; }
.compare-table th.featured-col { color: var(--green); }
.compare-table td {
  padding: 0.85rem 1.25rem; border-bottom: 1px solid rgba(34,46,34,0.5);
  font-size: 0.82rem; color: var(--text-2);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--surface2); }
.compare-table td.center { text-align: center; }
.check { color: var(--green); font-size: 1rem; }
.cross { color: var(--text-3); font-size: 1rem; }
.compare-table td.featured-col { background: rgba(106,191,105,0.04); }

/* WHY LEADFARMER */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.why-icon { margin-bottom: 0.9rem; color: var(--green); }

/* Inline SVG rather than emoji: emoji render as a different typeface on
   every platform and carry colour we cannot control. These inherit
   currentColor, so a card sets its icon colour with the rest of its text. */
.icn { width: 26px; height: 26px; display: block; }
.placement-icon .icn { width: 30px; height: 30px; }
.why-title { font-family: var(--syne); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-desc { font-size: 0.78rem; color: var(--text-2); line-height: 1.6; }

/* AUDIENCE SECTION */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.audience-stats { display: flex; flex-direction: column; gap: 1rem; }
.audience-stat-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.aud-num { font-family: var(--syne); font-size: 1.6rem; font-weight: 800; color: var(--green); flex-shrink: 0; min-width: 80px; }
.aud-label { font-size: 0.82rem; color: var(--text); font-weight: 500; }
.aud-sub { font-size: 0.7rem; color: var(--text-2); margin-top: 2px; }

.audience-chart-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.aud-chart-title { font-family: var(--syne); font-size: 0.88rem; font-weight: 700; margin-bottom: 1.25rem; }
.aud-bar-row { margin-bottom: 0.85rem; }
.aud-bar-label { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-2); margin-bottom: 4px; font-family: var(--mono); }
.aud-bar-track { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.aud-bar-fill { height: 100%; border-radius: 4px; background: var(--green); transition: width 0.8s ease; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.testimonial-text { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.testimonial-role { font-size: 0.68rem; color: var(--text-2); font-family: var(--mono); margin-top: 2px; }
.testimonial-stars { color: var(--gold); font-size: 0.75rem; margin-bottom: 0.75rem; }

/* CONTACT FORM */
.contact-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; max-width: 700px; margin: 0 auto;
}
.contact-header {
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem; text-align: center;
}
.contact-header-title { font-family: var(--syne); font-size: 1.2rem; font-weight: 800; margin-bottom: 0.3rem; }
.contact-header-sub { font-size: 0.78rem; color: var(--text-2); }
.contact-form { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-family: var(--mono); font-size: 0.65rem; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.1em; }
.form-label span { color: var(--red); }
.form-input, .form-select, .form-textarea {
  background: var(--bg2); border: 1px solid var(--border); color: var(--text);
  font-family: var(--dm); font-size: 0.88rem; padding: 10px 14px;
  border-radius: var(--radius-sm); outline: none; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none; -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(106,191,105,0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-3); }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ''; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--text-2); pointer-events: none;
}
.contact-submit {
  background: var(--green); border: none; color: #0a0c0a;
  font-family: var(--syne); font-size: 1rem; font-weight: 800;
  padding: 14px; border-radius: var(--radius-sm); width: 100%;
  cursor: pointer; transition: all 0.15s;
}
.contact-submit:hover { background: #7dd67c; transform: translateY(-1px); box-shadow: 0 6px 24px var(--green-glow); }
.contact-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.contact-success {
  display: none; padding: 3rem 1.5rem; text-align: center;
}
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-dim); border: 1px solid rgba(106,191,105,0.3); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 1rem; }
.success-title { font-family: var(--syne); font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.success-sub { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem; cursor: pointer; transition: background 0.12s;
}
.faq-item:hover { background: var(--surface2); }
.faq-q { font-size: 0.88rem; font-weight: 600; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.faq-chevron { color: var(--text-2); font-size: 0.7rem; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { font-size: 0.78rem; color: var(--text-2); line-height: 1.6; margin-top: 0.75rem; display: none; }
.faq-item.open .faq-a { display: block; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 2.5rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand-desc { font-size: 0.78rem; color: var(--text-2); line-height: 1.6; margin-top: 0.75rem; max-width: 220px; }
.footer-col-title { font-family: var(--syne); font-size: 0.78rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links-list a { font-size: 0.78rem; color: var(--text-2); transition: color 0.12s; }
.footer-links-list a:hover { color: var(--green); }
.footer-bottom { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 0.65rem; color: var(--text-3); flex-wrap: wrap; gap: 0.5rem; }

@media (max-width: 900px) {
  .placements-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .metrics-bar { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  nav .nav-links { display: none; }
}
@media (max-width: 600px) {
  .metrics-bar { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* Converted from inline style="" attributes for CSP style-src */
.section-wrap-notop { padding-top: 0; }
.bar-48 { width: 48%; }
.bar-18-gold { width: 18%; background: var(--gold); }
.bar-14-blue { width: 14%; background: var(--blue, #5b9bd5); }
.bar-11-olive { width: 11%; background: #8fb34a; }
.bar-9-gray { width: 9%; background: #8fa08f; }
.calibers-box { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.calibers-label { font-family: var(--mono); font-size: 0.62rem; color: var(--text-2); margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; }
.flex-wrap-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-green, .tag-gray { font-family: var(--mono); font-size: 0.65rem; padding: 3px 9px; border-radius: 3px; border: 1px solid; }
.tag-green { background: var(--green-dim); border-color: rgba(106,191,105,0.25); color: var(--green); }
.tag-gray { background: var(--surface2); border-color: var(--border); color: var(--text-2); }
.w-40 { width: 40%; }
.w-20 { width: 20%; }
.text-green-center { color: var(--green); text-align: center; }
.text-green { color: var(--green); }
.footer-logo-size { font-size: 1.1rem; }
.footer-logo-icon-size { width: 26px; height: 26px; font-size: 0.8rem; }


/* ============================================================
   ACCESSIBILITY (WCAG 2.1 AA)
   ============================================================ */

/* 2.4.7 Focus Visible — the palette previously styled :focus on form
   inputs only, leaving buttons, links and the role="button" elements with
   no visible keyboard indicator at all. */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 3px;
}

/* 2.4.1 Bypass Blocks — lets keyboard/screen-reader users skip the nav. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--green);
  color: #0a0c0a;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 6px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* role="button" elements should look interactive */
[role="button"] { cursor: pointer; }

/* 2.3.3 / prefers-reduced-motion — honour the OS setting. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.early-stage-note {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  font-size: 0.82rem; color: var(--text-2); line-height: 1.7;
  max-width: 780px; margin: 0 auto;
}
.early-stage-note strong { color: var(--text); }


/* ============================================================
   MOBILE NAV
   The nav links were display:none below the breakpoint with no
   replacement, and .nav-right overflowed narrow viewports (clipped by
   body{overflow-x:hidden}, so the buttons were unreachable rather than
   merely off-screen).
   ============================================================ */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: sticky;
  top: 64px;
  z-index: 199;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}
.mobile-nav.open { max-height: 70vh; overflow-y: auto; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;          /* comfortable touch target */
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.mobile-nav-link:hover { background: var(--surface2); }
.mobile-nav-link.active { color: var(--green); background: var(--green-dim); }
.mobile-nav-action { color: var(--green); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  /* The desktop action buttons are represented inside the panel instead. */
  nav .nav-right { display: none; }
  nav { padding: 0 1rem; gap: 0.75rem; }
}


/* ============================================================
   SMALL PHONES (<=480px)
   The smallest breakpoint on most pages was 600-800px, so on a 375-430px
   handset two-column grids stayed two-column and content was cramped.
   ============================================================ */
@media (max-width: 480px) {
  nav { padding: 0 0.75rem; gap: 0.5rem; }
  .logo { font-size: 1.15rem; }
  .logo-tld { display: none; }
}

/* Comfortable touch targets on touch devices (WCAG 2.5.5 / 2.5.8).
   Buttons were ~30px tall from padding alone. Scoped to coarse pointers
   so the desktop layout is untouched. */
@media (pointer: coarse) {
  button, .btn-ghost, .btn-primary, .cat-tab, .filter-chip, .quick-chip,
  .feed-tab, .chart-tab, .save-btn, .danger-btn, .submit-btn, .placement-btn {
    min-height: 44px;
  }
  input, select, textarea, .form-input, .form-select, .field-select {
    min-height: 44px;
    font-size: 16px;   /* iOS zooms the page for anything under 16px */
  }
}

@media (max-width: 480px) {
  .metrics-bar { grid-template-columns: 1fr; }
  .placements-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .section-wrap { padding-left: 1rem; padding-right: 1rem; }
  .ad-hero { padding-left: 1rem; padding-right: 1rem; }
  .compare-table-wrap { overflow-x: auto; }
}


/* Long unbreakable strings (product URLs, feed URLs, emails) must not push
   the layout wider than the viewport. Previously body{overflow-x:hidden}
   would have quietly clipped them; that mask has been removed now that the
   decorative glows are viewport-constrained. */
body { overflow-wrap: break-word; }
td, .card-product, .card-retailer, .search-item-detail,
.retailer-detail-meta, .deal-desc, .session-device { overflow-wrap: anywhere; }
table { max-width: 100%; }
img, canvas, svg { max-width: 100%; height: auto; }


/* ============================================================
   FOOTER
   Appended last so it overrides whatever this sheet defined earlier --
   every page used to carry its own footer, and they had drifted into
   five different layouts with four different disclaimers.
============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  text-align: left;
  font-family: var(--dm, var(--syne));
  font-size: 1rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-logo-size { font-size: 1.15rem; }
.footer-brand-desc {
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-top: 0.75rem;
  max-width: 220px;
}
.footer-col-title {
  font-family: var(--syne);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin: 0; padding: 0; }
.footer-links-list a { font-size: 0.78rem; color: var(--text-2); transition: color 0.12s; }
.footer-links-list a:hover { color: var(--green); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 0.72rem; color: var(--text-3); font-family: var(--mono); flex-shrink: 0; }
.footer-disclaimer { font-size: 0.68rem; color: var(--text-3); max-width: 500px; line-height: 1.5; text-align: left; }
.footer-disclaimer strong { color: var(--text-2); }
.footer-disclaimer a { color: var(--text-2); text-decoration: underline; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  footer { padding: 2rem 1rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
