/* ==========================================================================
   IPSpamList — site.css
   Custom CSS, no framework. Tokens first, then layout, then components.
   ========================================================================== */

:root {
  /* palette */
  --bg: #0f1a2a;
  --bg-2: #13203a;
  --bg-3: #172742;
  --line: #243654;
  --line-2: #2f4468;
  --text: #e8edf5;
  --text-2: #b4c0d3;
  --muted: #8b9ab3;
  --orange: #ff8a00;
  --orange-2: #ffb15c;
  --orange-dim: rgba(255, 138, 0, 0.12);
  --red: #ff6473;
  --red-dim: rgba(255, 100, 115, 0.14);
  --green: #3fd99a;
  --green-dim: rgba(63, 217, 154, 0.14);
  --blue: #6ea8ff;

  /* type */
  --font: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* layout */
  --container: 1160px;
  --gutter: 24px;
  --radius: 10px;
  --radius-lg: 16px;
  --section: clamp(72px, 9vw, 120px);
  --header-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--orange-2); text-decoration: none; }
a:hover { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

strong, b { color: var(--text); font-weight: 600; }

code, kbd, pre, .mono { font-family: var(--mono); }
code {
  font-size: 0.86em;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.1em 0.4em;
  color: var(--text);
}

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

/* inline icon inside text/links */
svg.i { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: 820px; }

.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section-tight { padding: calc(var(--section) * 0.6) 0; }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 0.4em; }
.section-head p { font-size: 1.1rem; color: var(--muted); }

.prose { max-width: 720px; }
.prose p, .prose li { font-size: 1.05rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col-stretch { align-items: stretch; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.split .sticky { position: sticky; top: calc(var(--header-h) + 24px); z-index: 2; }

/* column holding the sticky heading + optional decorative filler */
.split-col { align-self: stretch; }

/* decorative filler under a sticky heading; fades (via JS) as the heading passes over it */
.split-art {
  margin-top: 40px; padding: 22px 24px 20px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2);
  max-width: 420px; transition: opacity .2s linear;
}
.split-art .art-title { font-weight: 600; color: var(--text); font-size: 0.95rem; margin-bottom: 18px; }
.split-art .art-title span { color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-left: 8px; }
.split-art .art-note { color: var(--muted); font-size: 0.85rem; margin-top: 16px; }
.clock { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; }
.clock i { display: block; aspect-ratio: 1; border-radius: 4px; background: var(--bg); border: 1px solid var(--line-2); }
.clock i.seen { background: var(--red-dim); border-color: rgba(255,100,115,.5); }
.clock i.quiet { background: var(--green-dim); border-color: rgba(63,217,154,.45); }
.clock-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 0.8rem; color: var(--muted); }
.clock-legend span { display: inline-flex; align-items: center; gap: 7px; }
.clock-legend i { width: 11px; height: 11px; border-radius: 3px; background: var(--bg); border: 1px solid var(--line-2); display: inline-block; }
.clock-legend i.seen { background: var(--red-dim); border-color: rgba(255,100,115,.5); }
.clock-legend i.quiet { background: var(--green-dim); border-color: rgba(63,217,154,.45); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.8em 1.35em;
  border-radius: 8px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--orange); color: #1a1000; border-color: var(--orange); }
.btn-primary:hover { background: #ff9a26; color: #1a1000; }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text-2); color: var(--text); background: rgba(255,255,255,.03); }

.btn-sm { padding: 0.6em 1em; font-size: 0.92rem; }
.btn-lg { padding: 0.95em 1.6em; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(15, 26, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; height: var(--header-h); gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 170px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  color: var(--text-2); font-weight: 500; font-size: 0.97rem;
  padding: 0.5em 0.8em; border-radius: 6px;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] {
  color: var(--text); background: rgba(255,255,255,.05); text-decoration: none;
}
.nav a[aria-current="page"] { color: var(--orange-2); }
.nav .btn { margin-left: 12px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 8px;
  background: transparent; border: 1px solid var(--line-2); color: var(--text);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 0.8em 0.6em; font-size: 1.05rem; }
  .nav .btn { margin: 12px 0 0; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Hero (shared) + home hero with cursor spotlight
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
  --mx: 65%; --my: 35%;
}
/* dot grid revealed near the cursor */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--line-2) 1.1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(460px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
          mask-image: radial-gradient(460px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
  opacity: .9;
}
/* warm spotlight */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px circle at var(--mx) var(--my), rgba(255,138,0,.16), transparent 62%);
}
.hero > .container { position: relative; z-index: 1; }

.hero-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 15ch; }
.hero-copy .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 52ch; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 0.95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px 6px 10px;
  margin-bottom: 22px; background: rgba(255,255,255,.02);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(63,217,154,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,217,154,.55); } 70% { box-shadow: 0 0 0 9px rgba(63,217,154,0); } 100% { box-shadow: 0 0 0 0 rgba(63,217,154,0); } }

/* page (non-home) hero */
.hero-page { padding-bottom: clamp(48px, 6vw, 72px); }
.hero-page h1 { max-width: 18ch; }
.hero-page .lead { font-size: 1.15rem; color: var(--text-2); max-width: 60ch; }

/* --------------------------------------------------------------------------
   Live feed panel (hero right)
   -------------------------------------------------------------------------- */
.feed-panel {
  background: rgba(19, 32, 58, .75);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.feed-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: 0.9rem; color: var(--text-2); font-weight: 500;
}
.feed-head .feed-count { margin-left: auto; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.feed-viewport {
  height: 380px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.feed-list { list-style: none; margin: 0; padding: 8px 0; animation: feedScroll 48s linear infinite; }
.feed-viewport:hover .feed-list { animation-play-state: paused; }
@keyframes feedScroll { to { transform: translateY(-50%); } }
.feed-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center;
  padding: 9px 18px; font-size: 0.86rem;
}
.feed-list .ip { font-family: var(--mono); color: var(--text); font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-list .hits { font-family: var(--mono); color: var(--muted); font-size: 0.78rem; min-width: 5.5ch; text-align: right; }

.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: .01em;
  padding: 3px 8px; border-radius: 5px; white-space: nowrap;
  background: var(--orange-dim); color: var(--orange-2);
}
.tag-red { background: var(--red-dim); color: var(--red); }
.tag-green { background: var(--green-dim); color: var(--green); }
.tag-blue { background: rgba(110,168,255,.14); color: var(--blue); }
.tag-grey { background: rgba(255,255,255,.06); color: var(--text-2); }

/* --------------------------------------------------------------------------
   Cell grid (features) — shared borders, no floating cards
   -------------------------------------------------------------------------- */
.cells {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.cells-2 { grid-template-columns: repeat(2, 1fr); }
.cells-4 { grid-template-columns: repeat(4, 1fr); }
.cells-alt .cell { background: var(--bg-2); }
.cells-4 .cell { padding: 22px 22px 24px; }
.cells-4 .cell h3 { font-size: 1.02rem; }
.cells-4 .cell p { font-size: 0.92rem; }
.cell { background: var(--bg); padding: 30px 28px 32px; }
.cell-icon {
  width: 42px; height: 42px; border-radius: 9px; margin-bottom: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange-dim); color: var(--orange);
}
.cell-icon svg { width: 22px; height: 22px; }
.cell h3 { margin-bottom: 0.45em; }
.cell p { color: var(--muted); font-size: 0.98rem; }
.cell .stat { font-family: var(--mono); color: var(--text); font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Audience list (who benefits)
   -------------------------------------------------------------------------- */
.audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.audience li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
.audience li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.audience svg { width: 22px; height: 22px; color: var(--orange); margin-top: 3px; }
.audience h3 { font-size: 1.08rem; margin-bottom: 0.3em; }
.audience p { color: var(--muted); font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   Steps (real sequence)
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: step; position: relative; padding-top: 18px; border-top: 2px solid var(--line-2); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono); color: var(--orange); font-size: 0.85rem;
  display: block; margin-bottom: 10px;
}
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.steps-vertical { grid-template-columns: 1fr; gap: 0; }
.steps-vertical li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps-vertical li:last-child { border-bottom: 1px solid var(--line); }
.steps-vertical li::before { margin: 0; font-size: 1.1rem; padding-top: 2px; }

/* --------------------------------------------------------------------------
   Panels, key/value table, data tables
   -------------------------------------------------------------------------- */
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.panel-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.panel-title h3 { margin: 0; }
.panel-title .tag { margin-left: auto; }

.kv { width: 100%; border-collapse: collapse; font-size: 1rem; }
.kv th, .kv td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv th { color: var(--muted); font-weight: 500; width: 160px; padding-right: 20px; }
.kv td { color: var(--text); }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { font-weight: 500; color: var(--muted); background: var(--bg-2); font-size: 0.85rem; }
.table tr:last-child td { border-bottom: 0; }
.table td.mono, .table .ip { font-family: var(--mono); color: var(--text); }
.table td.num { font-family: var(--mono); text-align: right; }
.table th.num { text-align: right; }

/* --------------------------------------------------------------------------
   Forms & alerts
   -------------------------------------------------------------------------- */
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.input {
  font: inherit; font-family: var(--mono); font-size: 1rem;
  color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 0.75em 1em; width: 100%; max-width: 420px;
}
.input::placeholder { color: var(--muted); font-family: var(--mono); }
.input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-dim); }
label.field { display: block; color: var(--text); font-weight: 500; margin-bottom: 8px; }
.form-help { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.captcha { margin: 16px 0 20px; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); border: 1px solid; margin-bottom: 20px; font-size: 0.98rem; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert-error { background: var(--red-dim); border-color: rgba(255,100,115,.35); color: #ffd4d8; }
.alert-error svg { color: var(--red); }
.alert-ok { background: var(--green-dim); border-color: rgba(63,217,154,.35); color: #d2f5e6; }
.alert-ok svg { color: var(--green); }
.alert-warn { background: var(--orange-dim); border-color: rgba(255,138,0,.35); color: #ffe3c2; }
.alert-warn svg { color: var(--orange); }

.result-card { display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 16px); }
.result-card .kv { flex: 1; }
.result-empty { flex: 1; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: var(--muted); font-size: 1.05rem; }
.result-empty svg { width: 30px; height: 30px; opacity: .7; }
.result-clean { color: var(--green); font-weight: 600; }
.result-clean svg { opacity: 1; }
.result-verdict { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.result-verdict .badge { font-size: 0.85rem; font-weight: 700; padding: 6px 12px; border-radius: 6px; }
.badge-listed { background: var(--red-dim); color: var(--red); }
.badge-clean { background: var(--green-dim); color: var(--green); }

/* --------------------------------------------------------------------------
   Log / code blocks
   -------------------------------------------------------------------------- */
.logbox { background: #0a1220; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 28px; }
.logbox-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); background: var(--bg-2); }
.logbox-head .dots { display: inline-flex; gap: 6px; }
.logbox-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.logbox pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-size: 0.82rem; line-height: 1.7; color: #c9d5e8; }
.logbox pre .hl { color: var(--orange-2); }
.logbox pre .dim { color: var(--muted); }

/* --------------------------------------------------------------------------
   Stats: numbers strip + chart cards
   -------------------------------------------------------------------------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.numbers > div { background: var(--bg-2); padding: 22px 24px; }
.numbers .n { font-family: var(--mono); font-size: 1.7rem; color: var(--text); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.numbers .l { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chart-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 16px; min-width: 0; }
.chart-card.wide { grid-column: 1 / -1; }
.chart-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.chart-card .sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 14px; }
.chart-box { position: relative; height: 280px; }
.chart-card.wide .chart-box { height: 320px; }

/* --------------------------------------------------------------------------
   FAQ (details)
   -------------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; }
.faq-card h3 { font-size: 1.08rem; margin-bottom: 0.5em; }
.faq-card p { color: var(--muted); font-size: 0.98rem; }

/* explanatory list with centred icons (IP lookup page) */
.explain { list-style: none; margin: 72px 0 0; padding: 0; border-top: 1px solid var(--line); }
.explain li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.explain-icon { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: var(--orange-dim); color: var(--orange); }
.explain-icon svg { width: 24px; height: 24px; }
.explain h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.explain p { color: var(--muted); max-width: 70ch; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; color: var(--text); font-size: 1.05rem; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--orange); font-size: 1.3rem; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,138,0,.35); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,138,0,.14), rgba(255,138,0,.03) 55%, transparent);
  padding: clamp(36px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, rgba(255,138,0,.35) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 55%);
          mask-image: linear-gradient(to left, #000, transparent 55%);
}
.cta > * { position: relative; }
.cta h2 { margin-bottom: 0.35em; }
.cta p { color: var(--text-2); max-width: 56ch; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 64px 0 48px; }
.footer-brand img { width: 160px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text-2); font-size: 0.95rem; }
.footer-col a:hover { color: var(--orange-2); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--muted); font-size: 0.88rem; }
.footer-bottom a { color: var(--text-2); }

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { font-family: var(--mono); font-size: 0.82rem; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; }

.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cells, .cells-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-cols { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy h1 { max-width: none; }
  .feed-viewport { height: 300px; }
  .split, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .split .sticky { position: static; }
  .split-art { display: none; }
  .audience { grid-template-columns: 1fr; }
  .audience li:nth-last-child(-n+2) { border-bottom: 0; }
  .audience li:last-child { border-bottom: 1px solid var(--line); }
  .charts { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cells, .cells-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .numbers { grid-template-columns: 1fr; }
  .kv th { width: 110px; }
  .explain li { grid-template-columns: 52px 1fr; gap: 14px; }
  .explain { margin-top: 48px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feed-list { animation: none; }
  .live-dot { animation: none; }
  .btn:hover { transform: none; }
}
