/* ============================================================
   Evermont — Minimal Design System
   Single shared stylesheet for index, publishers, advertisers
   ============================================================ */

:root {
  --ink: #0a0f1a;
  --muted: #64748b;
  --line: #e8ecf0;
  --bg: #ffffff;
  --accent: #e8321f;
  --accent-dim: #fef1ef;
  --max: 1120px;
  --nav-h: 72px;

  /* Fluid spacing scale — scales smoothly between mobile and desktop */
  --gap: clamp(14px, 2vw, 20px);
  --section-y: clamp(56px, 8vw, 88px);
  --section-y-sm: clamp(44px, 6vw, 64px);
  --pad-card: clamp(24px, 3vw, 36px);
  --pad-block: clamp(28px, 4vw, 56px);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.nav-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo img { width: 148px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  padding: 10px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.82; }

.nav-mobile-btn {
  display: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }

/* ── Sections ────────────────────────────────────────────── */
section { scroll-margin-top: var(--nav-h); }

.section { padding: var(--section-y) 0; }
.section-sm { padding: var(--section-y-sm) 0; }

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.1; }

h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.04em;
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.03em;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 540px;
}

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-top: 16px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ── Stat strip ──────────────────────────────────────────── */
.stats {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Problem banner ──────────────────────────────────────── */
.problem-banner {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.problem-banner h2 { color: #fff; }

.problem-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-point {
  padding-left: 20px;
  border-left: 2px solid rgba(255,255,255,0.15);
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

.problem-point strong { color: #fff; display: block; margin-bottom: 3px; }

/* ── Cards grid ──────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  margin-bottom: 20px;
}

.card-icon svg { width: 22px; height: 22px; color: var(--accent); stroke: currentColor; fill: none; }

.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ── Home nav tiles ──────────────────────────────────────── */
.tile {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.tile:hover {
  border-color: #c0c8d4;
  box-shadow: 0 4px 24px rgba(10,15,26,0.06);
}

.tile-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.tile h3 { margin-bottom: 8px; font-size: 20px; }
.tile p { color: var(--muted); font-size: 14px; flex: 1; }
.tile-arrow { margin-top: 20px; font-size: 20px; color: var(--accent); font-weight: 300; }

/* ── How it works steps ──────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }

.step {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.step:first-child { border-left: 1px solid var(--line); }

.step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ── Contribution model ──────────────────────────────────── */
.model-block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.model-col {
  padding: 40px 36px;
  border-right: 1px solid var(--line);
}
.model-col:last-child { border-right: none; }

.model-col-dark {
  background: var(--ink);
  color: #fff;
}

.formula-display {
  text-align: center;
  padding: 28px 0;
}

.formula-eq {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin: 16px 0;
}

.formula-vars {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

.formula-var { text-align: center; }
.formula-var-letter {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.formula-var-name {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.factor-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }

.factor-item { display: flex; gap: 12px; }
.factor-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.factor-icon svg { width: 18px; height: 18px; color: rgba(255,255,255,0.6); stroke: currentColor; fill: none; }

.factor-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.factor-sub { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpolyline points='2,5 4,7 8,3' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Participate section ─────────────────────────────────── */
.participate-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.participate-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
}

.participate-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.participate-icon svg { width: 26px; height: 26px; color: var(--accent); stroke: currentColor; fill: none; }

.participate-card h3 { font-size: 22px; margin-bottom: 10px; }
.participate-intro { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

.participate-items { display: flex; flex-direction: column; gap: 0; }

.participate-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.participate-item:first-child { border-top: none; padding-top: 0; }

.item-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e0f5eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.item-check svg { width: 10px; height: 10px; stroke: #0f6e4e; fill: none; stroke-width: 2; }

.item-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.item-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }

.info-note {
  margin-top: 20px;
  background: #f0effe;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: #3b35a0;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.info-note svg { width: 16px; height: 16px; flex-shrink: 0; color: #5a52d5; stroke: currentColor; fill: none; margin-top: 1px; }

/* ── Start panel ─────────────────────────────────────────── */
.start-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
}

.start-panel h3 { font-size: 22px; margin-bottom: 10px; }
.start-panel .lead { font-size: 14px; margin-bottom: 24px; }

.start-steps { display: flex; flex-direction: column; gap: 0; }

.start-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.start-step:last-child { border-bottom: none; padding-bottom: 0; }

.start-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.start-step-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.start-step-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--accent-dim);
  color: var(--accent);
}

/* ── Dashboard visual ────────────────────────────────────── */
.dashboard {
  background: #0d1520;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-logo {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-logo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.dash-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.dash-live-dot { width: 5px; height: 5px; border-radius: 50%; background: #1db877; }

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dash-metric {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

.dm-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.32); margin-bottom: 6px; }
.dm-val { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.dm-trend { font-size: 10px; color: #1db877; }

.dash-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dash-panel {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.dp-title { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.45); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }

.bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-name { font-size: 10px; color: rgba(255,255,255,0.38); min-width: 80px; }
.bar-track { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 2px; }
.bar-val { font-size: 10px; color: rgba(255,255,255,0.3); min-width: 28px; text-align: right; }

.pub-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pub-row:last-child { margin-bottom: 0; }
.pub-av { width: 24px; height: 24px; border-radius: 6px; background: rgba(232,50,31,0.15); color: var(--accent); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pub-name { flex: 1; font-size: 11px; color: rgba(255,255,255,0.45); }
.pub-score { font-size: 10px; color: rgba(255,255,255,0.3); }

.dash-formula {
  background: rgba(232,50,31,0.06);
  border: 1px solid rgba(232,50,31,0.18);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.df-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(232,50,31,0.6); margin-bottom: 4px; }
.df-eq { font-size: 14px; font-weight: 700; color: var(--accent); }
.df-note { font-size: 10px; color: rgba(255,255,255,0.3); text-align: right; }

/* ── Team ────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.team-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f1f4f8;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }

.team-info { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.team-name { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.team-role { font-size: 14px; color: var(--muted); line-height: 1.5; margin-bottom: 16px; flex: 1; }

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 6px;
  background: #f1f4f8;
  transition: background 0.15s;
  align-self: flex-start;
}
.team-link:hover { background: var(--line); }

/* ── Advertiser section ──────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.benefit-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
}

.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.benefit-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.benefit-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

.ic-red { background: #fef0ef; color: #e8321f; }
.ic-purple { background: #f0edfe; color: #5a42d5; }
.ic-amber { background: #fef8ed; color: #a06010; }
.ic-blue { background: #eef4fd; color: #1a5fa0; }
.ic-teal { background: #e6f5ef; color: #0f6e4e; }
.ic-coral { background: #fef0ec; color: #a03020; }

.ic-red svg, .ic-purple svg, .ic-amber svg, .ic-blue svg, .ic-teal svg, .ic-coral svg {
  width: 20px; height: 20px; stroke: currentColor; fill: none;
}

/* ── Flywheel ────────────────────────────────────────────── */
.flywheel-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.flywheel-steps { display: flex; flex-direction: column; }

.fw-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.fw-step:last-child { border-bottom: none; }

.fw-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.fw-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.fw-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }

.ad-formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ad-card {
  background: #111c2e;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  padding: 20px;
}

.ad-badge {
  display: inline-flex;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(232,50,31,0.15);
  color: var(--accent);
  border: 1px solid rgba(232,50,31,0.25);
  border-radius: 20px;
  padding: 3px 8px;
  margin-bottom: 12px;
}

.ad-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.3); margin-bottom: 10px; }

.ad-preview {
  height: 96px;
  border-radius: 8px;
  background: linear-gradient(135deg, #182437, #0a0e17);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}

.ad-preview svg { width: 32px; height: 32px; opacity: 0.7; stroke: currentColor; fill: none; }

.ad-preview::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
}
.ad-preview::before {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 35%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  z-index: 1;
}

/* ── Dark CTA block ──────────────────────────────────────── */
.dark-cta {
  background: var(--ink);
  border-radius: 16px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.dark-cta h2 { color: #fff; }
.dark-cta .lead { color: rgba(255,255,255,0.6); max-width: none; margin-top: 10px; }

.dark-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-red {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.15);
}

/* ── CTA section ─────────────────────────────────────────── */
.cta-section { padding: var(--section-y) 0; }

.cta-box {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.cta-box h2 { color: #fff; }
.cta-box .lead { color: rgba(255,255,255,0.6); max-width: none; margin-top: 12px; }

.cta-box .btn {
  background: #fff;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Trust / memberships strip ───────────────────────────── */
.trust {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8f9fb;
}

.trust-head {
  text-align: center;
  margin-bottom: 36px;
}

.trust-head .label { margin-bottom: 10px; }
.trust-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 28px;
  min-width: 150px;
  text-align: center;
}

.trust-badge svg { width: 26px; height: 26px; color: var(--ink); stroke: currentColor; fill: none; }
.trust-badge-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.trust-badge-sub { font-size: 12px; color: var(--muted); }

/* IAB member seal slot */
.iab-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border: 1px solid #111;
  border-radius: 12px;
  padding: 20px 28px;
  min-width: 170px;
}

.iab-seal img { max-height: 80px; width: auto; display: block; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: #fff;
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-wordmark {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.footer-links a { transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-contact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-contact-link:hover { color: rgba(255,255,255,0.9); }
.footer-contact-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* ── Mobile nav drawer ───────────────────────────────────── */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10,15,26,0.5);
  backdrop-filter: blur(4px);
}

.mobile-drawer.open { display: flex; justify-content: flex-end; }

.mobile-panel {
  background: #fff;
  width: min(320px, 90vw);
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mobile-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  background: var(--line);
  border: none;
  font-size: 18px;
  color: var(--ink);
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.mobile-nav-link:hover { color: var(--ink); }

.mobile-cta {
  margin-top: 16px;
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}

/* ── Scroll reveal (progressive enhancement) ─────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Sticky nav shadow once scrolled */
.nav.scrolled {
  box-shadow: 0 1px 20px rgba(10,15,26,0.06);
}

/* ============================================================
   RESPONSIVE — three tiers
   • Desktop:  > 1024px  (base styles above)
   • Tablet:   641px – 1024px
   • Mobile:   ≤ 640px
   ============================================================ */

/* ── TABLET ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --nav-h: 66px; }

  .wrap, .nav-inner { width: min(var(--max), calc(100% - 40px)); }

  /* Collapse desktop nav to drawer */
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }

  /* Two-up layouts where three was too tight */
  .hero-grid { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 44px); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Stacked split layouts */
  .dark-cta, .flywheel-grid, .participate-grid,
  .problem-banner { grid-template-columns: 1fr; gap: clamp(28px, 4vw, 40px); }

  .cta-box { grid-template-columns: 1fr; gap: 24px; }
  .cta-box .btn { width: fit-content; }

  /* Steps: 2x2 */
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-left: 1px solid var(--line); }
  .step:nth-child(3), .step:nth-child(4) { border-top: none; }

  /* Contribution model stacks vertically */
  .model-block { grid-template-columns: 1fr; }
  .model-col { border-right: none; border-bottom: 1px solid var(--line); }
  .model-col:last-child { border-bottom: none; }

  /* Dashboard fits a tablet column */
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .dash-charts { grid-template-columns: 1fr; }

  /* Stats wrap into a tidy block */
  .stats-row { flex-wrap: wrap; justify-content: center; gap: 28px 56px; }
  .stat-item { flex: 0 0 auto; min-width: 110px; }
}

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .wrap, .nav-inner { width: calc(100% - 32px); }

  .logo img { width: 128px; }
  .nav-cta { padding: 9px 16px; font-size: 13px; }

  h1 { font-size: clamp(34px, 9vw, 48px); letter-spacing: -0.03em; }
  h2 { font-size: clamp(26px, 7vw, 36px); }

  .hero { padding: 44px 0 40px; }

  /* Everything single column */
  .grid-3, .grid-2, .grid-4,
  .benefits-grid, .team-grid { grid-template-columns: 1fr; }

  /* Steps single column with clean borders */
  .steps { grid-template-columns: 1fr; }
  .step {
    border: 1px solid var(--line);
    border-bottom: none;
  }
  .step:last-child { border-bottom: 1px solid var(--line); }

  .ad-formats { grid-template-columns: 1fr 1fr; }

  /* Dashboard metrics 2-up still readable */
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }

  /* Tighten block padding on small screens */
  .cta-box { padding: 28px 24px; }
  .problem-banner { padding: 32px 24px; }
  .dark-cta { padding: 28px 24px; }
  .participate-card, .start-panel { padding: 28px 24px; }

  /* Full-width stacked buttons */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .dark-cta-btns { width: 100%; }
  .dark-cta-btns .btn { flex: 1; justify-content: center; }

  /* Trust badges 2-up */
  .trust-badge, .iab-seal { min-width: calc(50% - 8px); flex: 1 1 calc(50% - 8px); }

  /* Footer stacks */
  .footer-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 16px 24px; }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── SMALL MOBILE ────────────────────────────────────────── */
@media (max-width: 400px) {
  .ad-formats { grid-template-columns: 1fr; }
  .stats-row { gap: 24px 36px; }
  .stat-num { font-size: 30px; }
}

/* ── Respect reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}


/* v6.2 conversion and trust additions */
.about-section,
.contact-section,
.legal-section {
  padding: var(--section-y) 0;
}

.about-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 50, 31, .08), transparent 32%),
    #fff;
  box-shadow: 0 18px 48px rgba(10, 15, 26, .06);
}

.about-card h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.055em;
  line-height: 1.08;
}

.about-card p {
  color: var(--muted);
  font-size: 17px;
  max-width: 780px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 18px 48px rgba(10, 15, 26, .06);
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(232, 50, 31, .5);
  box-shadow: 0 0 0 4px rgba(232, 50, 31, .08);
}

/* Visible keyboard focus for links, buttons and controls (mouse clicks unaffected) */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.legal-card {
  margin-top: 28px;
  max-width: 860px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(10, 15, 26, .06);
}

.legal-card h2 {
  margin: 26px 0 8px;
  font-size: 20px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  color: var(--muted);
}

.legal-card a {
  color: var(--accent);
  font-weight: 700;
}

.legal-note {
  margin-top: 26px;
  font-size: 13px;
}

.iab-seal {
  background: #fff;
}

.iab-seal img {
  object-fit: contain;
  max-height: 54px;
  width: auto;
}

.team-photo picture,
.team-photo img {
  width: 100%;
  height: 100%;
  display: block;
}

.team-photo img {
  object-fit: cover;
}

.footer-links a[href="privacy.html"],
.footer-links a[href="terms.html"] {
  opacity: .78;
}

@media (max-width: 860px) {
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}


/* v6.3 placement refinement: Intro and Publishers hero references */
.nav-links a.active {
  color: var(--accent);
}
@media (min-width: 900px) {
  #top.hero .hero-grid,
  #publishers.hero .hero-grid {
    align-items: center;
  }
}


/* v6.3.2: homepage intro uses Intro(1).jpeg reference placement */
.nav-links a.active {
  color: var(--accent);
}
#top.hero .dashboard {
  margin-left: auto;
}
@media (max-width: 900px) {
  #top.hero .dashboard {
    margin-left: 0;
  }
}


/* v6.3.3: make homepage ecosystem dashboard more 16:9 on laptop and larger screens */
@media (min-width: 1024px) {
  #top.hero .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 64px;
  }

  #top.hero .dashboard {
    width: min(100%, 680px);
    aspect-ratio: 16 / 9;
    min-height: auto;
    margin-left: auto;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  #top.hero .dash-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  #top.hero .dash-metric {
    min-height: 94px;
    padding: 14px;
  }

  #top.hero .dash-charts {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  #top.hero .dash-panel {
    min-height: 138px;
  }

  #top.hero .dash-formula {
    min-height: 72px;
  }
}

@media (min-width: 1280px) {
  #top.hero .dashboard {
    width: min(100%, 720px);
    padding: 30px;
  }
}


/* v6.3.5: improve dashboard contribution score contrast */
.dashboard .dash-formula,
#top.hero .dash-formula,
#publishers.hero .dash-formula {
  background: rgba(232, 50, 31, 0.10) !important;
  border: 1px solid rgba(232, 50, 31, 0.42) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.dashboard .df-label,
#top.hero .df-label,
#publishers.hero .df-label {
  color: #ff4e42 !important;
  opacity: 1 !important;
}

.dashboard .df-formula,
#top.hero .df-formula,
#publishers.hero .df-formula {
  color: #ff4e42 !important;
  opacity: 1 !important;
  text-shadow: 0 0 14px rgba(232, 50, 31, 0.18);
}

.dashboard .df-right,
#top.hero .df-right,
#publishers.hero .df-right {
  color: rgba(255, 255, 255, 0.82) !important;
  opacity: 1 !important;
}


/* v6.3.6: red accent lines in publisher isolation block */
.problem-point,
.problem-points .problem-point {
  border-left-color: var(--accent) !important;
}

.problem-point::before,
.problem-points .problem-point::before {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}


/* v6.3.7: hard fix for publisher isolation vertical lines */
.problem-banner .problem-point,
.problem-points .problem-point,
.problem-point {
  border-left: 3px solid #e8321f !important;
}

.problem-banner .problem-point strong,
.problem-point strong {
  color: #ffffff !important;
}


/* v6.3.8: clean standards row and footer */
.trust-row {
  align-items: stretch;
}

.trust-row .trust-badge {
  flex: 1 1 180px;
  min-width: 180px;
}

.footer-row {
  align-items: center;
}

.footer-links {
  justify-content: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.035);
}

.footer-links a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
}

.footer-contact-clean {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 260px;
}

.footer-contact-link {
  color: rgba(255,255,255,0.78);
}

.footer-contact-link:hover {
  color: #fff;
}

.footer-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.footer-icon svg {
  width: 18px !important;
  height: 18px !important;
}

.footer-icon-mail {
  background: rgba(232, 50, 31, 0.15);
  color: #ff4e42;
}

.footer-email svg {
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.9;
}

.footer-icon-linkedin {
  background: rgba(10, 102, 194, 0.18);
  color: #0a66c2;
}

.footer-linkedin svg {
  fill: currentColor !important;
  stroke: none !important;
}

@media (max-width: 820px) {
  .footer-contact-clean {
    min-width: 0;
    align-items: center;
  }
}


/* v6.4.0: simplified contribution payout panel */
.payout-col-dark {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(232,50,31,0.14), transparent 30%),
    var(--ink);
}

.payout-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.54);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.payout-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  padding: 15px;
  border-radius: 14px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
}

.payout-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.payout-card-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}

.payout-card-copy {
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  line-height: 1.5;
}

.payout-ai-strip {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.payout-ai-title {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.payout-ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.payout-ai-tags span {
  font-size: 11px;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ff6b60;
  background: rgba(232,50,31,0.10);
  border: 1px solid rgba(232,50,31,0.26);
}


/* v6.5: homepage cleanup, wider 16:9 hero visual, bullet scoring note, and light branded footer */
@media (min-width: 1024px) {
  #top.hero .wrap.hero-grid {
    width: min(var(--max), calc(100% - 48px));
    grid-template-columns: 0.82fr 1.18fr;
    gap: 48px;
  }

  #top.hero .dashboard {
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16 / 9;
    min-height: 0;
    padding: 22px;
    gap: 12px;
    justify-content: space-between;
    overflow: hidden;
  }

  #top.hero .dash-metric {
    min-height: 72px;
    padding: 10px 12px;
  }

  #top.hero .dm-val {
    font-size: 20px;
  }

  #top.hero .dash-panel {
    min-height: 108px;
    padding: 12px;
  }

  #top.hero .dash-formula {
    min-height: 56px;
    padding: 11px 14px;
  }
}

@media (min-width: 1280px) {
  #top.hero .dashboard {
    max-width: 800px;
  }
}

#top.hero .pub-avatar,
#top.hero .pub-ecs {
  flex: 0 0 auto;
}

#top.hero .pub-avatar {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(232,50,31,0.15);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#top.hero .pub-ecs {
  font-size: 10px;
  color: rgba(255,255,255,0.46);
  font-weight: 700;
}

#top.hero .dash-formula {
  background: linear-gradient(135deg, rgba(232,50,31,0.18), rgba(232,50,31,0.08)) !important;
  border-color: rgba(232,50,31,0.48) !important;
}

#top.hero .df-right {
  display: grid;
  gap: 7px;
  min-width: 150px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  color: rgba(255,255,255,0.92) !important;
}

#top.hero .df-right span {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

#top.hero .df-right span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,50,31,0.18);
  flex: 0 0 7px;
}

footer {
  background: #ffffff;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-logo {
  width: 148px;
  height: auto;
  display: block;
}

.footer-tagline {
  color: var(--muted);
}

.footer-links,
.footer-contact-link {
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  border-color: var(--line);
  background: #ffffff;
}

.footer-links a:hover,
.footer-contact-link:hover {
  color: var(--ink);
  border-color: #cbd5e1;
  background: #f8fafc;
}

.footer-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(10,15,26,0.06);
}

.footer-icon svg,
.footer-contact-link svg,
.footer-email svg,
.footer-linkedin svg {
  stroke: none !important;
  fill: initial !important;
}

.footer-icon-mail svg {
  width: 22px !important;
  height: auto !important;
}

.footer-icon-linkedin svg {
  width: 22px !important;
  height: 22px !important;
  border-radius: 5px;
}

@media (max-width: 820px) {
  .footer-contact-clean {
    align-items: flex-start;
  }
}

/* v6.6: homepage model migration and advertiser visual refinements */
@media (min-width: 1024px) {
  #top.hero .dashboard {
    aspect-ratio: auto !important;
    min-height: 500px !important;
    overflow: visible !important;
    padding: 26px !important;
  }

  #top.hero .dash-panel {
    min-height: 132px !important;
  }

  #top.hero .dash-formula {
    min-height: 68px !important;
  }

  #flywheel .flywheel-grid {
    grid-template-columns: 0.72fr 1.58fr;
    gap: 52px;
    align-items: stretch;
  }

  #flywheel .dark-cta {
    min-height: 560px;
    padding: 42px;
    grid-template-columns: 0.72fr 1.55fr;
    gap: 34px;
    align-items: stretch;
  }

  #flywheel .ad-formats-expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  #flywheel .ad-card {
    padding: 18px;
  }

  #flywheel .ad-preview {
    height: 132px;
  }

  #flywheel .ad-preview svg {
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 1280px) {
  #top.hero .dashboard {
    min-height: 535px !important;
    max-width: 820px !important;
  }

  #flywheel .dark-cta {
    min-height: 590px;
  }

  #flywheel .ad-preview {
    height: 146px;
  }
}

#flywheel .dark-cta {
  background:
    radial-gradient(circle at 80% 0%, rgba(232,50,31,0.22), transparent 32%),
    linear-gradient(135deg, #0a0f1a 0%, #111c2e 100%);
  box-shadow: 0 26px 70px rgba(10,15,26,0.18);
}

#flywheel .ad-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#flywheel .ad-label {
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 800;
}

#flywheel .ad-badge {
  color: #ff6b60;
}

.stat-green {
  color: #16a34a !important;
}

.stat-green-label {
  color: #15803d !important;
  font-weight: 700;
}

@media (max-width: 1024px) {
  #flywheel .dark-cta {
    min-height: 0;
  }

  #flywheel .ad-formats-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #top.hero .dashboard {
    overflow: visible !important;
  }

  #flywheel .ad-formats-expanded {
    grid-template-columns: 1fr;
  }
}


/* ── V3 Flywheel redesign ───────────────────────────────────── */
#flywheel .flywheel-format-panel {
  overflow: hidden;
}

#flywheel .format-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

#flywheel .format-value-card {
  margin-top: 26px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

#flywheel .format-value-kicker {
  color: rgba(255,255,255,0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

#flywheel .format-value-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

#flywheel .format-value-stats div {
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(10,15,26,0.52);
  border: 1px solid rgba(232,50,31,0.16);
}

#flywheel .format-value-stats strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
}

#flywheel .format-value-stats span {
  display: block;
  color: rgba(255,255,255,0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-top: 6px;
}

#flywheel .format-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#flywheel .format-flow span {
  color: rgba(255,255,255,0.72);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

#flywheel .format-flow svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex: 0 0 auto;
}

#flywheel .format-checks {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

#flywheel .format-checks li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,0.56);
  font-size: 12px;
  line-height: 1.55;
}

#flywheel .format-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,50,31,0.13);
}

@media (min-width: 1180px) {
  #flywheel .dark-cta {
    grid-template-columns: 0.86fr 1.45fr;
    gap: 30px;
  }

  #flywheel .ad-card {
    min-height: 214px;
  }
}

@media (max-width: 1024px) {
  #flywheel .format-value-card {
    margin-top: 20px;
  }

  #flywheel .format-flow {
    gap: 10px;
  }
}

@media (max-width: 520px) {
  #flywheel .format-value-stats {
    grid-template-columns: 1fr;
  }

  #flywheel .format-flow {
    align-items: flex-start;
    flex-direction: column;
  }

  #flywheel .format-flow svg {
    transform: rotate(90deg);
  }
}


/* v6.7: requested visual refinements */
#flywheel .ad-formats-expanded {
  align-items: stretch;
}

#flywheel .ad-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  min-height: 0 !important;
  padding: 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 14%, rgba(255,255,255,0.16), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 18px 36px rgba(0,0,0,0.16);
}

#flywheel .ad-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
  z-index: 1;
}

#flywheel .ad-label,
#flywheel .ad-badge {
  position: relative;
  z-index: 2;
}

#flywheel .ad-label {
  color: rgba(255,255,255,0.92);
  font-size: 11px;
  line-height: 1.25;
  margin-bottom: 8px;
}

#flywheel .ad-badge {
  margin-bottom: 0;
  background: rgba(22,163,74,0.16);
  color: #86efac;
  border-color: rgba(134,239,172,0.30);
}

#flywheel .ad-preview {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto !important;
  aspect-ratio: 1 / 1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 56%, rgba(22,163,74,0.30), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(232,50,31,0.22), transparent 34%),
    linear-gradient(145deg, #162238 0%, #0a0f1a 100%);
  border: 0;
  box-shadow: none;
  z-index: 0;
}

#flywheel .ad-preview::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  width: 64%;
  height: 64%;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.10);
  z-index: 0;
}

#flywheel .ad-preview::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
}

#flywheel .ad-preview svg {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 46px !important;
  height: 46px !important;
  color: #f8fff9;
  opacity: 0.95;
  z-index: 1;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.28));
}

.payout-icon {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(34,197,94,0.28);
}

.payout-ai-title {
  color: #86efac;
}

.payout-ai-tags span {
  color: #86efac;
  background: rgba(22,163,74,0.12);
  border-color: rgba(134,239,172,0.26);
}

/* v6.8: flywheel advertiser panel redesign */
#flywheel .flywheel-grid {
  grid-template-columns: minmax(320px, 0.92fr) minmax(520px, 1.18fr);
  gap: 38px;
  align-items: start;
}

#flywheel .flywheel-format-panel {
  display: block;
  min-height: 0;
  padding: 32px;
  border-radius: 24px;
}

#flywheel .formats-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 20px;
}

#flywheel .format-copy {
  min-height: 0;
}

#flywheel .format-copy h2 {
  max-width: 15ch;
  line-height: 1.08;
}

#flywheel .format-value-card {
  margin-top: 0;
  height: 100%;
}

#flywheel .formats-overview {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
  padding: 0 2px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

#flywheel .formats-overview-copy h3 {
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 8px;
}

#flywheel .formats-overview-copy p {
  margin: 0;
  color: rgba(255,255,255,0.60);
  font-size: 14px;
  line-height: 1.55;
  max-width: 56ch;
}

#flywheel .formats-overview-kicker {
  color: #86efac;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

#flywheel .formats-channel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

#flywheel .formats-channel-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(22,163,74,0.14);
  border: 1px solid rgba(134,239,172,0.22);
  color: #dcfce7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#flywheel .ad-formats-expanded {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#flywheel .ad-card {
  aspect-ratio: auto;
  min-height: 190px !important;
  padding: 18px;
  border-radius: 18px;
  justify-content: flex-start;
  background:
    radial-gradient(circle at 100% 0%, rgba(232,50,31,0.16), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(0,0,0,0.14);
}

#flywheel .ad-card::after {
  inset: 12px;
  border-radius: 14px;
}

#flywheel .ad-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

#flywheel .ad-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(180deg, rgba(22,163,74,0.20), rgba(22,163,74,0.08));
  border: 1px solid rgba(134,239,172,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

#flywheel .ad-icon svg {
  width: 25px;
  height: 25px;
  color: #f8fff9;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

#flywheel .ad-icon svg polygon,
#flywheel .ad-icon svg rect,
#flywheel .ad-icon svg circle,
#flywheel .ad-icon svg line,
#flywheel .ad-icon svg path {
  vector-effect: non-scaling-stroke;
}

#flywheel .ad-card .ad-badge {
  position: relative;
  z-index: 2;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(22,163,74,0.14);
  border: 1px solid rgba(134,239,172,0.20);
  color: #bbf7d0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

#flywheel .ad-card .ad-label {
  position: relative;
  z-index: 2;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

#flywheel .ad-desc {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255,255,255,0.66);
  font-size: 14px;
  line-height: 1.6;
}

#flywheel .ad-preview {
  display: none !important;
}

@media (min-width: 1280px) {
  #flywheel .flywheel-format-panel {
    padding: 36px;
  }
}

@media (max-width: 1180px) {
  #flywheel .flywheel-grid {
    grid-template-columns: 1fr;
  }

  #flywheel .format-copy h2 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  #flywheel .formats-top {
    grid-template-columns: 1fr;
  }

  #flywheel .formats-overview {
    flex-direction: column;
    align-items: flex-start;
  }

  #flywheel .formats-channel-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  #flywheel .flywheel-format-panel {
    padding: 24px;
  }

  #flywheel .ad-formats-expanded {
    grid-template-columns: 1fr;
  }

  #flywheel .ad-card {
    min-height: 0 !important;
  }
}

/* v6.9: separate ad formats into its own section */
#flywheel .flywheel-grid.flywheel-single {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
  gap: 0;
}

#flywheel .flywheel-copy-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

#flywheel .flywheel-copy-card h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

#flywheel .flywheel-intro {
  color: var(--muted);
  font-size: 15px;
  margin-top: 14px;
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 62ch;
}

.formats-section {
  background:
    radial-gradient(circle at top right, rgba(232,50,31,0.08), transparent 28%),
    linear-gradient(180deg, #0a0f1a 0%, #111c2e 100%);
  color: #fff;
}

.formats-section .formats-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.formats-section .formats-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 24px;
  align-items: end;
}

.formats-section .formats-head h2 {
  color: #fff;
  margin-bottom: 0;
}

.formats-section .formats-head p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  line-height: 1.7;
}

.formats-section .formats-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.formats-section .formats-summary-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.formats-section .formats-summary-kicker {
  color: #86efac;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.formats-section .formats-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.formats-section .formats-summary-stats div {
  padding: 16px 14px;
  border-radius: 14px;
  background: rgba(10,15,26,0.42);
  border: 1px solid rgba(134,239,172,0.14);
}

.formats-section .formats-summary-stats strong {
  display: block;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.formats-section .formats-summary-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.56);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.formats-section .formats-summary-points ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.formats-section .formats-summary-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  line-height: 1.6;
}

.formats-section .formats-summary-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.12);
}

.formats-section .standalone-pills {
  justify-content: flex-start;
}

.formats-section .formats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.formats-section .format-item {
  padding: 22px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.07), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(0,0,0,0.14);
}

.formats-section .format-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.formats-section .format-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(22,163,74,0.20), rgba(22,163,74,0.08));
  border: 1px solid rgba(134,239,172,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  flex: 0 0 auto;
}

.formats-section .format-icon svg {
  width: 25px;
  height: 25px;
  color: #f8fff9;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.formats-section .format-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(22,163,74,0.14);
  border: 1px solid rgba(134,239,172,0.20);
  color: #bbf7d0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.formats-section .format-item h3 {
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.formats-section .format-item p {
  margin: 0;
  color: rgba(255,255,255,0.66);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  #flywheel .flywheel-copy-card {
    padding: 30px;
  }

  .formats-section .formats-head,
  .formats-section .formats-summary-row,
  .formats-section .formats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .formats-section .formats-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .formats-section .formats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #flywheel .flywheel-copy-card {
    padding: 24px;
    border-radius: 18px;
  }

  #flywheel .flywheel-copy-card h2 {
    max-width: none;
  }

  .formats-section .formats-summary-row,
  .formats-section .formats-grid,
  .formats-section .formats-summary-stats {
    grid-template-columns: 1fr;
  }

  .formats-section .format-item-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

.formats-section .formats-channel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.formats-section .formats-channel-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(22,163,74,0.14);
  border: 1px solid rgba(134,239,172,0.22);
  color: #dcfce7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* v7: improved flywheel text section above Ad Formats */
#flywheel .flywheel-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
  gap: 26px;
  align-items: stretch;
}

#flywheel .flywheel-story-copy,
#flywheel .flywheel-loop-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(15,23,42,0.07);
}

#flywheel .flywheel-story-copy {
  padding: clamp(30px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
}

#flywheel .flywheel-story-copy::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,50,31,0.13), transparent 68%);
  pointer-events: none;
}

#flywheel .flywheel-story-copy h2 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  max-width: 10.5ch;
  margin: 18px 0 22px;
}

#flywheel .flywheel-story-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 58ch;
  margin: 0;
}

#flywheel .flywheel-proof-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

#flywheel .flywheel-proof-row div {
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,0.07);
}

#flywheel .flywheel-proof-row strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 6px;
}

#flywheel .flywheel-proof-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

#flywheel .flywheel-loop-card {
  padding: 28px;
  min-height: 440px;
  background:
    radial-gradient(circle at 92% 8%, rgba(34,197,94,0.12), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(232,50,31,0.10), transparent 28%),
    #ffffff;
}

#flywheel .flywheel-loop-center {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15,23,42,0.14);
  margin-bottom: 22px;
}

#flywheel .flywheel-loop-center span {
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#flywheel .flywheel-loop-center strong {
  font-size: 14px;
  line-height: 1;
}

#flywheel .flywheel-loop-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#flywheel .flywheel-loop-step {
  position: relative;
  display: flex;
  gap: 14px;
  min-height: 152px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(248,250,252,0.92);
  border: 1px solid rgba(15,23,42,0.07);
}

#flywheel .flywheel-loop-step::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.85);
  pointer-events: none;
}

#flywheel .flywheel-loop-step .fw-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  background: #dcfce7;
  color: #15803d;
  box-shadow: 0 8px 18px rgba(34,197,94,0.18);
}

#flywheel .flywheel-loop-step h3 {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  margin: 1px 0 8px;
}

#flywheel .flywheel-loop-step p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1080px) {
  #flywheel .flywheel-story {
    grid-template-columns: 1fr;
  }

  #flywheel .flywheel-story-copy,
  #flywheel .flywheel-loop-card {
    min-height: 0;
  }

  #flywheel .flywheel-story-copy h2 {
    max-width: 12ch;
  }
}

@media (max-width: 680px) {
  #flywheel .flywheel-story-copy,
  #flywheel .flywheel-loop-card {
    border-radius: 20px;
  }

  #flywheel .flywheel-story-copy {
    padding: 26px;
  }

  #flywheel .flywheel-story-copy h2 {
    font-size: 40px;
    max-width: none;
  }

  #flywheel .flywheel-proof-row,
  #flywheel .flywheel-loop-steps {
    grid-template-columns: 1fr;
  }

  #flywheel .flywheel-loop-step {
    min-height: 0;
  }
}

/* v7.1: flywheel text section restyled to match site system */
#flywheel .flywheel-panel {
  max-width: 1120px;
  margin: 0 auto;
}

#flywheel .flywheel-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.9fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

#flywheel .flywheel-head-copy h2 {
  margin-bottom: 0;
  max-width: 12ch;
}

#flywheel .flywheel-lead {
  margin: 0;
  max-width: none;
  font-size: 17px;
  line-height: 1.7;
}

#flywheel .flywheel-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
  margin-bottom: 22px;
}

#flywheel .flywheel-summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
}

#flywheel .flywheel-summary-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

#flywheel .flywheel-summary-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

#flywheel .flywheel-summary-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#flywheel .flywheel-summary-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

#flywheel .flywheel-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#flywheel .flywheel-step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

#flywheel .flywheel-step-card .fw-num {
  width: 30px;
  height: 30px;
  margin-top: 1px;
  background: #ecfdf3;
  color: #15803d;
  flex: 0 0 auto;
}

#flywheel .flywheel-step-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

#flywheel .flywheel-step-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 980px) {
  #flywheel .flywheel-head,
  #flywheel .flywheel-summary-row,
  #flywheel .flywheel-step-grid {
    grid-template-columns: 1fr;
  }

  #flywheel .flywheel-head {
    gap: 18px;
  }

  #flywheel .flywheel-head-copy h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  #flywheel .flywheel-summary-card,
  #flywheel .flywheel-step-card {
    padding: 20px;
  }

  #flywheel .flywheel-summary-pills span {
    min-height: 34px;
    font-size: 12px;
  }
}

/* v9: minimal Flywheel section */
#flywheel .flywheel-minimal-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

#flywheel .flywheel-minimal-head h2 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

#flywheel .flywheel-minimal-head .lead {
  margin: 16px auto 0;
  max-width: 690px;
  text-align: center;
}

#flywheel .flywheel-minimal-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

#flywheel .flywheel-minimal-step {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

#flywheel .flywheel-minimal-step:last-child {
  border-right: 0;
}

#flywheel .flywheel-minimal-step .fw-num {
  width: 28px;
  height: 28px;
  margin: 0 0 18px;
  background: #ecfdf3;
  color: #15803d;
}

#flywheel .flywheel-minimal-step h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

#flywheel .flywheel-minimal-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  #flywheel .flywheel-minimal-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #flywheel .flywheel-minimal-step:nth-child(2) {
    border-right: 0;
  }

  #flywheel .flywheel-minimal-step:nth-child(1),
  #flywheel .flywheel-minimal-step:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  #flywheel .flywheel-minimal-head {
    text-align: left;
    margin-bottom: 30px;
  }

  #flywheel .flywheel-minimal-head h2,
  #flywheel .flywheel-minimal-head .lead {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  #flywheel .flywheel-minimal-steps {
    grid-template-columns: 1fr;
  }

  #flywheel .flywheel-minimal-step,
  #flywheel .flywheel-minimal-step:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  #flywheel .flywheel-minimal-step:last-child {
    border-bottom: 0;
  }
}
