/* ─────────────────────────────────────────────────────────────
   Home page — page-specific styles
   ───────────────────────────────────────────────────────────── */

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-h) + 56px) 0 var(--space-9);
  position: relative;
  overflow: hidden;
}

/* Variant 1 — Editorial */
.hero-1-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.hero-1-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-1-left h1 { margin-top: -4px; }
.hero-1-left h1 em { color: var(--red-500); font-style: normal; }
.hero-1-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-1-meta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-1-meta-item { display: flex; flex-direction: column; gap: 4px; }

.hero-1-right {
  position: relative;
  height: 540px;
}

/* Dashboard preview card */
.hero-dash {
  position: absolute;
  inset: 0 0 0 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--ink-50);
  border-bottom: 1px solid var(--border);
}
.hero-dash-dots { display: flex; gap: 6px; }
.hero-dash-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink-200);
}
.hero-dash-dots span:nth-child(1) { background: #ff5f57; }
.hero-dash-dots span:nth-child(2) { background: #ffbd2e; }
.hero-dash-dots span:nth-child(3) { background: #28c840; }
.hero-dash-url {
  font-size: 11px;
  color: var(--fg-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 12px;
  letter-spacing: -.01em;
}

.hero-dash-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  flex: 1;
}
.hero-dash-side {
  background: var(--ink-50);
  border-right: 1px solid var(--border);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
}
.hero-dash-drop {
  width: 16px;
  height: 16px;
  background: var(--red-500);
  border-radius: 4px;
  position: relative;
}
.hero-dash-drop::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #fff;
  clip-path: polygon(50% 0%, 90% 60%, 65% 95%, 35% 95%, 10% 60%);
}
.hero-dash-nav { display: flex; flex-direction: column; gap: 2px; }
.hero-dash-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 5px;
  font-size: 11px;
  color: var(--fg-muted);
  cursor: default;
}
.hero-dash-nav-item .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink-300);
}
.hero-dash-nav-item.active {
  background: var(--red-500);
  color: #fff;
}
.hero-dash-nav-item.active .dot { background: #fff; }
.hero-dash-nav-item .badge {
  margin-left: auto;
  font-size: 9px;
  background: var(--red-tint);
  color: var(--red-500);
  padding: 1px 5px;
  border-radius: 999px;
  font-weight: 600;
}
.hero-dash-nav-item.active .badge { background: rgba(255,255,255,.2); color: #fff; }

.hero-dash-main {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
}
.hero-dash-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.hero-dash-stocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.stock-card {
  padding: 8px;
  background: var(--ink-50);
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stock-grp {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-muted);
  font-weight: 600;
}
.stock-val {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stock-bar {
  height: 3px;
  background: var(--ink-200);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 2px;
}
.stock-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 1s ease-out;
}
.stock-lbl {
  font-size: 9px;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hero-dash-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--red-tint);
  border: 1px solid rgba(190,3,22,.15);
  border-radius: 6px;
  margin-top: 4px;
}
.alert-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-500);
  animation: pulse-dot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(190,3,22,.6); }
  50% { box-shadow: 0 0 0 6px rgba(190,3,22,0); }
}
.alert-cta {
  width: 26px; height: 26px;
  border-radius: 4px;
  background: var(--red-500);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating phone */
.hero-phone {
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 220px;
  height: 440px;
  background: #0a0a0a;
  border-radius: 32px;
  padding: 8px;
  box-shadow: var(--shadow-xl);
  z-index: 2;
  transform: rotate(-4deg);
  border: 1px solid #1a1a1a;
}
.hero-phone-screen {
  background: #fff;
  border-radius: 24px;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.phone-status {
  height: 36px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #0a0a0a;
}
.phone-alert {
  margin: 0 14px;
  background: var(--red-tint);
  border: 1px solid rgba(190,3,22,.18);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.phone-alert-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--red-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: var(--ink-100);
  color: var(--fg);
}

@media (max-width: 980px) {
  .hero-1-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-1-right { height: 480px; }
  .hero-phone { display: none; }
}

/* Variant 2 — Cinematic dark */
.hero-2 {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--ink-950);
  color: #fff;
  border-radius: 0;
}
.hero-2-marquee {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 40px;
  margin-top: 32px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-2-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-2-stat-val {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #fff;
}
.hero-2-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,.48);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-2-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.1);
}

/* Variant 3 — Pulse */
.hero-3-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-3 > .hero-3-grid > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-3-feed {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-3-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--ink-50);
}
.feed-stream {
  display: flex;
  flex-direction: column;
}
.feed-item {
  display: grid;
  grid-template-columns: 56px auto 1fr;
  gap: 12px;
  padding: 14px 20px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  animation: feed-fade-in .5s ease-out both;
}
.feed-item:last-child { border-bottom: none; }
.feed-item:nth-child(1) { animation-delay: 0s; }
.feed-item:nth-child(2) { animation-delay: 0.15s; }
.feed-item:nth-child(3) { animation-delay: 0.30s; }
.feed-item:nth-child(4) { animation-delay: 0.45s; }
.feed-item:nth-child(5) { animation-delay: 0.60s; }
.feed-item:nth-child(6) { animation-delay: 0.75s; }
@keyframes feed-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.feed-time {
  font-size: 11px;
  color: var(--fg-subtle);
}
.feed-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.feed-msg {
  color: var(--fg);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero-3-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Trust ─────────────────────────────────────────────── */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 32px 0;
}
.trust-label {
  text-align: center;
  font-size: 11px;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 20px;
  font-weight: 500;
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px 40px;
}
.trust-logo {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-400);
  letter-spacing: -.01em;
  opacity: .75;
  transition: opacity .2s;
  display: flex;
  align-items: center;
}
.trust-logo img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: grayscale(30%);
  transition: filter .2s, opacity .2s;
}
.trust-logo:hover { opacity: 1; }
.trust-logo:hover img { filter: grayscale(0%); }

/* ── Problem ───────────────────────────────────────────── */
.problem h2 em {
  font-style: normal;
  color: var(--red-500);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.stat-val {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink-950);
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
  margin-top: 4px;
  font-weight: 500;
}
.stat-ctx {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-top: 8px;
  flex: 1;
}
.stat-bar {
  height: 4px;
  background: var(--ink-150);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.stat-bar span {
  display: block;
  height: 100%;
  background: var(--red-500);
  border-radius: 999px;
}
.stat-src {
  font-size: 11px;
  color: var(--fg-subtle);
  margin-top: 4px;
  letter-spacing: -.01em;
}

@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* Problem variant 2 — narrative */
.problem-narrative {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.narrative-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: flex-start;
}
.narrative-time {
  font-size: 14px;
  color: var(--fg-subtle);
  padding-top: 28px;
}
.narrative-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.narrative-card-red {
  background: var(--ink-950);
  border-color: var(--ink-950);
  color: #fff;
}
.narrative-card-red h4 { color: #fff; }
.narrative-card-red p { color: rgba(255,255,255,.7); }
.narrative-card-red .narrative-tag { background: rgba(255,255,255,.06); color: var(--red-400); }
.narrative-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--ink-100);
  border-radius: 999px;
  width: fit-content;
  color: var(--fg-muted);
}

/* ── Solution / audience grid ──────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.audience-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  color: var(--fg);
  cursor: pointer;
}
.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.audience-card-feature {
  background: var(--ink-950);
  color: #fff;
  border-color: var(--ink-950);
}
.audience-card-feature h3 { color: #fff; }
.audience-card-feature .audience-num { color: var(--red-400); }
.audience-card-feature .audience-role { color: rgba(255,255,255,.6); }
.audience-card-feature .audience-list { color: rgba(255,255,255,.8); }
.audience-card-feature .audience-list li::before { background: var(--red-400); }
.audience-card-feature .audience-cta { color: var(--red-400); }

.audience-num {
  font-size: 12px;
  color: var(--red-500);
  letter-spacing: .04em;
  font-weight: 500;
}
.audience-role {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}
.audience-card h3 {
  font-size: 24px;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.audience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-muted);
  flex: 1;
}
.audience-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}
.audience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--red-500);
}
.audience-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--red-500);
  margin-top: auto;
}

@media (max-width: 760px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ── Showcase ──────────────────────────────────────────── */
.showcase-shell {
  background: var(--ink-900);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 32px;
  box-shadow: 0 32px 64px -16px rgba(0,0,0,.4);
}
.showcase-tabs {
  display: flex;
  gap: 0;
  background: var(--ink-950);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 0 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.showcase-tabs::-webkit-scrollbar { display: none; }
.showcase-tab {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.showcase-tab:hover { color: rgba(255,255,255,.8); }
.showcase-tab.is-active {
  color: #fff;
  border-bottom-color: var(--red-500);
}
.showcase-frame {
  min-height: 520px;
  background: var(--bg);
  color: var(--fg);
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.showcase-meta {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.showcase-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}
.showcase-meta-item span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); }
.showcase-meta-item strong { font-size: 14px; color: #fff; font-weight: 500; }

/* Dashboard mock interior — fixed desktop layout, never collapses */
.dash {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 520px;
  min-width: 980px;
}
.dash-sidebar {
  background: var(--ink-50);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-sb-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fg-subtle);
  padding: 12px 12px 6px;
  font-weight: 500;
}
.dash-sb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--fg-muted);
  cursor: default;
}
.dash-sb-item.active {
  background: var(--red-500);
  color: #fff;
}
.dash-sb-item:not(.active):hover { background: var(--ink-100); color: var(--fg); }
.dash-sb-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.dash-sb-item .ct {
  margin-left: auto;
  font-size: 11px;
  background: var(--red-tint);
  color: var(--red-500);
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 600;
}
.dash-sb-item.active .ct { background: rgba(255,255,255,.18); color: #fff; }

.dash-main { padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; }
.dash-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.dash-sub { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }
.dash-tb-actions { display: flex; gap: 8px; }
.dash-pill {
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-muted);
  background: var(--bg);
}
.dash-pill-primary {
  background: var(--red-500);
  color: #fff;
  border-color: var(--red-500);
  font-weight: 600;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dash-kpi {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--bg);
}
.dash-kpi-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-subtle); }
.dash-kpi-val { font-size: 28px; font-weight: 700; letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.dash-kpi-delta { font-size: 12px; color: var(--viz-green); margin-top: 4px; }
.dash-kpi-delta.down { color: var(--red-500); }

.dash-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
}
.dash-th {
  display: grid;
  background: var(--ink-50);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--fg-subtle);
  font-weight: 500;
}
.dash-tr {
  display: grid;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background .15s;
}
.dash-tr:hover { background: var(--ink-50); }
.dash-tr:last-child { border-bottom: none; }
.dash-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--ink-100);
  color: var(--fg-muted);
  width: fit-content;
}
.dash-tag.crit { background: var(--red-tint); color: var(--red-500); }
.dash-tag.warn { background: rgba(234,88,12,.08); color: var(--viz-orange); }
.dash-tag.ok { background: rgba(5,150,105,.08); color: var(--viz-green); }
.dash-tag.info { background: rgba(37,99,235,.08); color: var(--viz-blue); }

.dash-row { display: flex; gap: 16px; }
.dash-card {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  background: var(--bg);
}
.dash-card-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; }

/* Stock matrix */
.stock-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stock-cell {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.stock-cell.crit { border-color: rgba(190,3,22,.3); background: var(--red-tint); }
.stock-cell-grp {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
}
.stock-cell-val {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stock-cell-bar {
  height: 4px;
  background: var(--ink-150);
  border-radius: 999px;
  overflow: hidden;
}
.stock-cell-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.stock-cell-status {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--fg-muted);
}

/* Product showcase screenshots are intentionally non-responsive:
   the .showcase-frame scrolls horizontally on narrow viewports so the
   dashboard mock always renders at its full desktop fidelity. */

/* ── Features ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-ico {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--red-tint);
  color: var(--red-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.feature-ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 20px; letter-spacing: -.02em; }
.feature p { color: var(--fg-muted); font-size: 14px; line-height: 1.6; }

@media (max-width: 880px) {
  .features-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Donors ────────────────────────────────────────────── */
.donors {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.donors::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(190,3,22,.05), transparent 70%);
  pointer-events: none;
}
.donors-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.donors-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.donors-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.donors-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.5;
}
.donors-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.donors-phones {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  .donors-grid { grid-template-columns: 1fr; gap: 48px; }
  .donors-phones { height: 520px; }
}

/* Donor variant 2 — impact tiles */
.impact-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.impact-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.impact-tile-lg {
  grid-column: span 2;
  background: var(--ink-950);
  color: #fff;
  border-color: var(--ink-950);
}
.impact-tile-lg .impact-tile-lbl { color: rgba(255,255,255,.8); }
.impact-tile-lg .impact-tile-sub { color: rgba(255,255,255,.45); }
.impact-tile-num {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.impact-tile-lbl { font-size: 14px; font-weight: 500; color: var(--fg); }
.impact-tile-sub { font-size: 12px; color: var(--fg-muted); }

.impact-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width: 980px) {
  .impact-tile-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-tile-lg { grid-column: span 2; }
}
@media (max-width: 560px) {
  .impact-tile-grid { grid-template-columns: 1fr; }
  .impact-tile-lg { grid-column: span 1; }
}

/* ── Impact board (About page) — editorial layout ─────── */
.impact-board {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

/* Feature card: full width, prominent */
.impact-board .impact-feature {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  padding: 40px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0507 100%);
  color: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  isolation: isolate;
}
.impact-board .impact-feature::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(190,3,22,.32), transparent 70%);
  z-index: -1;
}
.impact-feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.impact-feature-eyebrow {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: rgba(255,255,255,.55);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
}
.impact-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  color: rgba(255,255,255,.75);
  padding: 4px 12px;
  background: rgba(190,3,22,.15);
  border: 1px solid rgba(190,3,22,.35);
  border-radius: 999px;
  white-space: nowrap;
}
.impact-live-dot {
  width: 7px;
  height: 7px;
  background: #ff3a44;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,58,68,.5);
  animation: impactLive 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes impactLive {
  0%   { box-shadow: 0 0 0 0 rgba(255,58,68,.6); }
  100% { box-shadow: 0 0 0 10px rgba(255,58,68,0); }
}

.impact-feature-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: center;
}
.impact-feature-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.impact-feature-num {
  font-size: clamp(64px, 9vw, 128px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .9;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 0%, #ffb3b9 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.impact-feature-lbl {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: #fff;
  max-width: 24ch;
}
.impact-feature-stats {
  display: flex;
  gap: 32px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255,255,255,.14);
}
.impact-feature-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.impact-feature-stat-val {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1;
}
.impact-feature-stat-lbl {
  font-size: 11px;
  font-family: var(--font-mono, ui-monospace, monospace);
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Network constellation */
.impact-network {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  justify-self: end;
}
.impact-network svg {
  width: 100%;
  height: 100%;
  display: block;
}
.impact-net-nodes circle {
  fill: rgba(255,255,255,.75);
}
.impact-net-pulse {
  stroke: #ff3a44;
  stroke-width: 2;
  stroke-dasharray: 8 120;
  stroke-linecap: round;
  animation: netPulse 2.4s linear infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}
@keyframes netPulse {
  0%   { stroke-dashoffset: 130; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { stroke-dashoffset: -10; opacity: 0; }
}

/* City rail */
.impact-cities {
  padding-top: 20px;
  border-top: 1px dashed rgba(255,255,255,.14);
}
.impact-cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}
.impact-cities-list > span {
  position: relative;
  padding: 0 12px;
}
.impact-cities-list > span::after {
  content: "·";
  position: absolute;
  right: -2px;
  color: rgba(255,255,255,.3);
}
.impact-cities-list > span:last-child::after { display: none; }

/* Sparkline stat tiles */
.impact-board .impact-stat {
  grid-column: span 3;
  position: relative;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  color: var(--fg);
}
.impact-board .impact-stat:hover {
  border-color: var(--ink-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.impact-stat-accent {
  background: var(--red-tint);
  border-color: rgba(190,3,22,.18);
  color: var(--red-500);
}
.impact-spark-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.impact-stat-num {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.impact-stat-accent .impact-stat-num { color: var(--red-500); }
.impact-spark-delta {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: .01em;
  white-space: nowrap;
}
.impact-spark-delta-baseline {
  padding: 3px 8px;
  background: var(--ink-100);
  border-radius: 4px;
  color: var(--fg);
}
.impact-stat-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.35;
  letter-spacing: -.005em;
  max-width: 32ch;
}
.impact-spark {
  width: 100%;
  height: 40px;
  display: block;
  margin: 4px 0;
}
.impact-stat-sub {
  font-size: 11.5px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* Activity feed */
.impact-feed {
  grid-column: span 4;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.impact-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.impact-feed-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--fg);
}
.impact-feed-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  color: var(--fg-muted);
}
.impact-feed-meta .impact-live-dot {
  background: var(--red-500);
  box-shadow: 0 0 0 0 rgba(190,3,22,.4);
}
.impact-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.impact-feed-list li {
  display: grid;
  grid-template-columns: 56px 40px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.impact-feed-list li:last-child { border-bottom: 0; }
.impact-feed-time {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: .02em;
}
.impact-feed-blood {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  background: var(--ink-100);
  border-radius: 6px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: .02em;
}
.impact-feed-blood-urgent {
  background: var(--red-500);
  color: #fff;
}
.impact-feed-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.impact-feed-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
}
.impact-feed-meta-line {
  font-size: 11.5px;
  color: var(--fg-muted);
  line-height: 1.3;
}

/* Pull quote */
.impact-quote {
  grid-column: span 2;
  position: relative;
  padding: 24px;
  background: var(--ink-950);
  color: #fff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  overflow: hidden;
}
.impact-quote::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(closest-side, rgba(190,3,22,.3), transparent 70%);
  pointer-events: none;
}
.impact-quote-mark {
  width: 28px;
  height: 28px;
  color: #ff7383;
  opacity: .6;
}
.impact-quote blockquote {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: #fff;
  margin: 0;
  position: relative;
}
.impact-quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,.14);
  margin-top: auto;
  position: relative;
}
.impact-quote-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.impact-quote-meta {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10.5px;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
}

@media (max-width: 1080px) {
  .impact-feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .impact-network { max-width: 240px; justify-self: center; }
}
@media (max-width: 980px) {
  .impact-board { grid-template-columns: repeat(2, 1fr); }
  .impact-board .impact-feature { grid-column: span 2; }
  .impact-board .impact-stat { grid-column: span 1; }
  .impact-feed { grid-column: span 2; }
  .impact-quote { grid-column: span 2; }
  .impact-feature-stats { gap: 20px; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .impact-board,
  .impact-board .impact-feature,
  .impact-board .impact-stat,
  .impact-feed,
  .impact-quote { grid-column: span 1 !important; }
  .impact-board { grid-template-columns: 1fr; }
  .impact-board .impact-feature { padding: 28px; }
}

/* ── Vision ────────────────────────────────────────────── */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.vision-left {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.roadmap::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: rgba(255,255,255,.1);
}
.roadmap-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.roadmap-item:last-child { border-bottom: none; }
.roadmap-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink-800);
  border: 2px solid var(--ink-800);
  position: relative;
  z-index: 1;
  margin-top: 6px;
}
.roadmap-item.is-done .roadmap-marker { background: var(--red-500); border-color: var(--red-500); }
.roadmap-item.is-active .roadmap-marker {
  background: var(--bg);
  border-color: var(--red-500);
  box-shadow: 0 0 0 4px rgba(190,3,22,.2);
}
.roadmap-phase {
  font-size: 11px;
  color: var(--red-400);
  letter-spacing: .06em;
  font-weight: 500;
}
.roadmap-item h4 {
  color: #fff;
  font-size: 18px;
  margin-top: 4px;
}
.roadmap-item p {
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  font-size: 14px;
}
.roadmap-item:not(.is-done):not(.is-active) h4 { color: rgba(255,255,255,.6); }

@media (max-width: 980px) {
  .vision-grid { grid-template-columns: 1fr; gap: 40px; }
  .vision-left { position: static; }
}

/* ── Investors ─────────────────────────────────────────── */
.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.invest-pillar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.invest-num {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--red-500);
  line-height: 1;
}
.invest-pillar h4 { font-size: 18px; }
.invest-pillar p { color: var(--fg-muted); font-size: 14px; line-height: 1.6; }

.invest-cta {
  margin-top: 32px;
  padding: 40px;
  background: var(--ink-950);
  color: #fff;
  border-radius: var(--r-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.invest-cta h3 { color: #fff; }
.invest-cta p { color: rgba(255,255,255,.66); margin-top: 4px; }

@media (max-width: 880px) {
  .invest-grid { grid-template-columns: 1fr; }
}

/* ── Testimonials ──────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testi blockquote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  border: none;
  font-style: normal;
  flex: 1;
}
.testi figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; }
.testi-role { font-size: 12px; color: var(--fg-muted); margin-top: 1px; }

@media (max-width: 980px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  letter-spacing: -.01em;
}
.faq-q::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23525252' stroke-width='1.6' stroke-linecap='round'><path d='M3 7h8M7 3v8'/></svg>");
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-a p {
  padding: 0 0 24px 0;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Final CTA ─────────────────────────────────────────── */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}
