:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --ink: #07111f;
  --muted: #526177;
  --line: #d8e1eb;
  --panel: #ffffff;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #e8f0ff;
  --teal: #0f766e;
  --blue: #2563eb;
  --soft: #eef3f8;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
  --shadow-strong: 0 30px 90px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #eef3f7 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.topbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 225, 235, 0.86);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, auto) minmax(0, 1fr);
  padding: 10px max(22px, calc((100vw - 1180px) / 2 + 22px));
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background:
    linear-gradient(145deg, #07111f 0%, #1447d9 62%, #22c55e 140%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 9px;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.2);
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 12px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  letter-spacing: 0;
  width: 38px;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
}

.brand-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.topnav {
  align-items: center;
  background: #f7fafc;
  border: 1px solid rgba(211, 221, 232, 0.8);
  border-radius: 10px;
  display: flex;
  gap: 2px;
  justify-content: flex-end;
  justify-self: end;
  min-width: 0;
  padding: 3px;
}

.topnav a {
  border-radius: 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 9px 11px;
  white-space: nowrap;
}

.topnav a:hover {
  background: #eef3f8;
  box-shadow: none;
  color: var(--ink);
}

.topnav .nav-cta {
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
  color: #ffffff;
  margin-left: 2px;
  padding-inline: 15px;
}

.topnav .nav-cta:hover {
  background: #1d4ed8;
  color: #ffffff;
}

main {
  margin: 0 auto;
  max-width: 1180px;
  min-width: 0;
  padding: 28px 22px 56px;
}

.checkout-status {
  background: #ecfdf5;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  color: var(--teal);
  font-weight: 900;
  margin: 0 0 16px;
  padding: 12px 14px;
}

.checkout-status:empty {
  display: none;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 58px);
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.78fr);
  min-height: 58vh;
  padding: 34px 0 34px;
}

.hero h1 {
  color: #07111f;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 20px;
  max-width: 680px;
}

.hero p,
.section-head p,
.two-column p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.eyebrow {
  color: var(--accent-dark) !important;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin: 0 0 14px;
}

.actions,
.admin-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-trust span {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
  padding: 8px 10px;
}

.truth-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0;
}

.truth-grid div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 13px;
}

.truth-grid strong {
  color: var(--accent-dark);
  font-size: 14px;
}

.truth-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.truth-stack {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.truth-stack div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(216, 225, 235, 0.94);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 8px;
  min-height: 124px;
  padding: 13px 15px;
}

.truth-stack strong {
  color: var(--accent-dark);
  font-size: 14px;
}

.truth-stack span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.button {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
  color: white;
}

.button:hover {
  border-color: #94a3b8;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.hero-panel,
.band {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.hero > *,
.path-router > *,
.demo-flow > *,
.launch-strip > *,
.install-flow > *,
.scoreboard > *,
.publisher-loop > *,
.two-column > *,
.form-grid > *,
.placement-grid > * {
  min-width: 0;
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    #08111f;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  color: white;
  padding: 22px;
  position: relative;
}

.hero-panel::before {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.quickstart-panel,
.terminal-preview {
  align-content: start;
  display: grid;
  gap: 12px;
}

.terminal-top {
  align-items: center;
  color: #94a3b8;
  display: flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  justify-content: space-between;
}

.terminal-dots {
  display: inline-flex;
  gap: 6px;
}

.terminal-dots i {
  background: #334155;
  border-radius: 999px;
  display: block;
  height: 8px;
  width: 8px;
}

.terminal-dots i:first-child {
  background: #fb7185;
}

.terminal-dots i:nth-child(2) {
  background: #fbbf24;
}

.terminal-dots i:nth-child(3) {
  background: #34d399;
}

.preview-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-notes span {
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 8px;
  color: #ccfbf1;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
}

.reward-strip {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reward-strip div {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
}

.reward-strip strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.15;
}

.reward-strip span {
  color: #93c5fd;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.quickstart-panel h2 {
  color: white;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.quickstart-panel p {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
  margin: 2px 0 0;
}

.path-router {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quickstart-flow {
  display: grid;
  gap: 18px;
}

.install-timeline {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.install-timeline article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 118px;
  min-width: 0;
  padding: 15px;
}

.install-timeline strong {
  color: var(--ink);
  font-size: 16px;
}

.install-timeline span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
  min-width: 0;
}

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

.quickstart-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-height: 268px;
  padding: 18px;
}

.quickstart-grid strong {
  color: var(--accent-dark);
  font-size: 18px;
}

.quickstart-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.quickstart-grid .button,
.quickstart-grid .code-sample {
  align-self: end;
}

.builder-start-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
}

.quick-install-form,
.builder-command-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
}

.quick-install-form {
  align-content: start;
  grid-template-columns: 1fr;
  margin: 0;
}

.quick-install-form .button {
  align-self: start;
  min-height: 48px;
}

.builder-command-panel {
  align-content: start;
}

.instant-command {
  background: #07111f;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  color: #e2e8f0;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.instant-command-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.instant-command-head div {
  display: grid;
  gap: 2px;
}

.instant-command-head small {
  color: #93c5fd;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.instant-command-head strong {
  color: #ffffff;
  font-size: 16px;
}

.instant-command .code-sample {
  border: 1px solid rgba(148, 163, 184, 0.22);
  margin: 0;
}

.surface-boundary {
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.09), rgba(15, 118, 110, 0.05)),
    #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 13px 14px;
}

.surface-boundary strong {
  color: var(--accent-dark);
  font-size: 14px;
}

.surface-boundary span {
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.integration-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.integration-pills span {
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.simple-steps {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simple-steps div {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  padding: 12px;
}

.simple-steps strong {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.simple-steps span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.command-output {
  min-height: 188px;
}

.details-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
}

.details-block summary {
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style-position: inside;
  padding: 12px 14px;
}

.details-body {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.agent-prompt {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px;
}

.agent-prompt-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
  flex-wrap: wrap;
}

.agent-prompt strong {
  color: #1d4ed8;
  font-size: 14px;
}

.agent-prompt p {
  color: #22324b;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
}

.agent-prompt .button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 9px 12px;
  white-space: nowrap;
}

.works-now {
  display: grid;
  gap: 20px;
}

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

.works-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 158px;
  padding: 16px;
}

.works-grid strong {
  color: var(--accent-dark);
  font-size: 17px;
}

.works-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.demand-status {
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  color: var(--accent-dark);
  display: grid;
  gap: 6px;
  padding: 14px;
}

.demand-status span {
  color: var(--muted);
  line-height: 1.45;
}

.activation-proof {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.activation-proof article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 162px;
  padding: 14px;
}

.activation-proof small {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.activation-proof strong {
  font-size: 18px;
  line-height: 1.1;
}

.activation-proof span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.activation-proof .muted-proof {
  background: rgba(255, 255, 255, 0.54);
}

.path-router article,
.demo-card,
.assisted-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.path-router article {
  display: grid;
  gap: 12px;
  min-height: 278px;
  padding: 18px;
}

.path-router h2,
.demo-flow h2 {
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.path-router p,
.demo-flow p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.path-router .button {
  align-self: end;
}

.demo-flow {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
}

.demo-card {
  display: grid;
  gap: 12px;
  min-height: 270px;
  padding: 20px;
}

.demo-card small {
  color: var(--accent-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.demo-card h3 {
  font-size: 26px;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.demo-controls {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-controls span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  padding: 7px 9px;
}

.flow-check {
  display: grid;
  gap: 20px;
}

.flow-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 16px;
}

.flow-grid strong {
  color: var(--accent-dark);
  font-size: 18px;
}

.flow-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.flow-grid .button {
  align-self: end;
}

.workflow-map {
  display: grid;
  gap: 20px;
}

.workflow-map-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-map-grid article,
.workflow-summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 10px;
  min-height: 196px;
  padding: 16px;
}

.workflow-map-grid small {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.workflow-map-grid strong,
.workflow-summary strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.08;
}

.workflow-map-grid span,
.workflow-summary span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.workflow-map-grid code {
  color: var(--ink);
  font-weight: 900;
}

.workflow-summary {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.09), rgba(37, 99, 235, 0.06)),
    #ffffff;
  grid-template-columns: minmax(140px, 0.18fr) minmax(0, 1fr) auto;
  min-height: 84px;
}

.wait-label {
  color: #a7f3d0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  margin-bottom: 16px;
}

.section-head {
  max-width: 760px;
}

.launch-strip {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.launch-strip h2 {
  font-size: 32px;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.launch-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.launch-metrics div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  min-height: 94px;
  padding: 14px;
}

.launch-metrics strong {
  color: var(--accent-dark);
  font-size: 30px;
  line-height: 1;
}

.launch-metrics span {
  align-self: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.user-sprint {
  display: grid;
  gap: 20px;
}

.sprint-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sprint-grid article,
.sprint-proof {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.sprint-grid article {
  min-height: 306px;
}

.sprint-grid small {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sprint-grid strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.08;
}

.sprint-grid span,
.sprint-proof span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.sprint-grid .button {
  align-self: end;
}

.sprint-proof {
  align-items: center;
  grid-template-columns: minmax(190px, 0.25fr) minmax(0, 1fr) auto;
  min-height: 82px;
}

.sprint-proof strong {
  color: var(--accent-dark);
  font-size: 16px;
}

.sprint-proof .button {
  justify-self: end;
}

.install-flow {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
}

.install-flow h2 {
  font-size: 32px;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 12px;
}

.install-command-stack {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.fallback-details {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.fallback-details summary {
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style-position: inside;
}

.fallback-details .code-sample {
  margin-top: 12px;
}

.verify-steps {
  counter-reset: none;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.verify-steps li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 84px;
  padding: 14px;
}

.verify-steps strong {
  color: var(--accent-dark);
  font-size: 15px;
}

.verify-steps span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.first-run {
  display: grid;
  gap: 20px;
}

.first-run-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.first-run-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: 16px;
}

.first-run-grid strong {
  color: var(--accent-dark);
  font-size: 18px;
}

.first-run-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.first-run-grid .button,
.first-run-grid .code-sample {
  align-self: end;
}

.workflow-audit {
  display: grid;
  gap: 20px;
}

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

.workflow-grid article,
.workflow-pass {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 168px;
  padding: 16px;
}

.workflow-grid strong,
.workflow-pass strong {
  color: var(--accent-dark);
  font-size: 17px;
}

.workflow-grid span,
.workflow-pass span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.workflow-grid code {
  color: var(--ink);
  font-weight: 900;
}

.workflow-pass {
  align-items: center;
  grid-template-columns: minmax(160px, 0.25fr) minmax(0, 1fr);
  min-height: 80px;
}

.scoreboard {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
}

.scoreboard h2 {
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

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

.score-grid div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  min-height: 88px;
  padding: 13px;
}

.score-grid strong {
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.score-grid span {
  align-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.publisher-loop {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
}

.publisher-loop h2 {
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 12px;
}

.publisher-loop p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

.reward-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reward-grid div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  min-height: 102px;
  padding: 14px;
}

.reward-grid strong {
  color: var(--accent-dark);
  font-size: 26px;
  line-height: 1;
}

.reward-grid span {
  align-self: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.share-kit {
  display: grid;
  gap: 20px;
}

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

.share-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  min-height: 300px;
  padding: 18px;
}

.share-card small {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.share-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.share-card .button {
  align-self: end;
}

.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

label,
fieldset {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

input,
select,
textarea {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 11px 12px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.packages {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 14px;
}

.packages label {
  align-items: center;
  display: flex;
  font-size: 14px;
}

.packages input {
  min-height: auto;
}

.assisted-note {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  padding: 12px 14px;
}

.placement-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.placement-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 10px;
  min-height: 250px;
  padding: 18px;
}

.placement-card.compact {
  min-height: 280px;
}

.placement-card small {
  color: var(--accent-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.source-label {
  background: rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  color: var(--accent-dark);
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  justify-self: start;
  letter-spacing: 0;
  padding: 5px 8px;
  text-transform: uppercase;
}

.placement-card h3 {
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.placement-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.placement-card .meta {
  color: var(--muted);
  font-size: 13px;
}

.impact-meter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.impact-meter span {
  background: rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
}

.claim-form {
  display: grid;
  gap: 8px;
}

.claim-form input {
  min-height: 38px;
}

.two-column {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr;
}

.checklist {
  display: grid;
  gap: 10px;
}

.api-steps {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.checklist div,
.api-steps div,
.admin-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.status {
  color: var(--accent-dark);
  font-weight: 800;
  min-height: 22px;
}

.copy-fallback {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  margin-top: 10px;
  min-height: 180px;
  padding: 14px;
  resize: vertical;
  width: 100%;
}

.copy-fallback.compact {
  min-height: 118px;
}

.copy-fallback[hidden] {
  display: none;
}

.command-block {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.command-heading {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.command-block strong {
  color: var(--accent-dark);
  font-size: 13px;
}

.copy-command {
  min-height: 30px;
  padding: 7px 11px;
}

.fine-print {
  color: var(--muted);
  font-size: 13px !important;
  line-height: 1.45;
}

.admin-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-review-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 18px;
}

.admin-review-grid h3 {
  margin: 0;
}

.admin-item {
  display: grid;
  gap: 10px;
}

.admin-item h3 {
  margin: 0;
}

.proof-admin-item {
  border-color: rgba(15, 118, 110, 0.22);
}

.admin-evidence {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
}

.danger-note {
  color: #b91c1c;
  font-weight: 800;
}

.admin-item button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

code {
  background: rgba(15, 118, 110, 0.1);
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  overflow-wrap: anywhere;
  padding: 2px 5px;
  word-break: break-word;
}

.code-sample {
  background: #0b1220;
  border-radius: 8px;
  color: #d1fae5;
  max-width: 100%;
  overflow-x: auto;
  padding: 14px;
}

.code-sample code {
  background: transparent;
  color: inherit;
  overflow-wrap: anywhere;
  padding: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.code-sample.mini {
  margin: 10px 0 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  gap: 14px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px;
}

.site-footer a:first-child {
  color: var(--ink);
}

.privacy-page main {
  max-width: 920px;
}

.privacy-hero {
  padding: 48px 0 24px;
}

.privacy-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 18px;
}

.privacy-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 760px;
}

.privacy-stack {
  display: grid;
  gap: 14px;
  padding-bottom: 36px;
}

.privacy-stack article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
  padding: 20px;
}

.privacy-stack h2 {
  color: var(--accent-dark);
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 10px;
}

.privacy-stack p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
  margin: 0 0 10px;
}

.privacy-stack p:last-child {
  margin-bottom: 0;
}

/* Keep internal launch/operator tooling in source for Barny/RFLO, but keep the public path focused. */
#flow-check,
.launch-strip,
#user-sprint,
#share-kit,
.scoreboard,
#credits,
#advertiser,
#admin {
  display: none;
}

@media (max-width: 860px) {
  .topbar {
    gap: 12px;
    grid-template-columns: 1fr;
    padding: 14px 18px;
  }

  .brand {
    width: 100%;
  }

  .brand-copy span {
    font-size: 12px;
    max-width: 230px;
  }

  .topnav {
    background: transparent;
    border: 0;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0 2px;
    padding-bottom: 2px;
    width: 100%;
  }

  .topnav a {
    padding: 9px 10px;
  }

  .topnav .nav-cta {
    margin-left: 0;
  }

  .hero,
  .works-grid,
  .activation-proof,
  .install-timeline,
  .quickstart-grid,
  .builder-start-grid,
  .simple-steps,
  .truth-stack,
  .path-router,
  .demo-flow,
  .flow-grid,
  .workflow-map-grid,
  .workflow-summary,
  .launch-strip,
  .share-grid,
  .sprint-grid,
  .sprint-proof,
  .install-flow,
  .first-run-grid,
  .workflow-grid,
  .workflow-pass,
  .scoreboard,
  .publisher-loop,
  .two-column,
  .form-grid,
  .placement-grid {
    grid-template-columns: 1fr;
  }

  .launch-metrics,
  .score-grid,
  .truth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .hero-panel {
    padding: 18px;
  }

  .reward-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  main {
    padding: 18px 16px 44px;
  }

  .topbar {
    padding-inline: 16px;
  }

  .brand-mark {
    flex-basis: 34px;
    height: 34px;
    width: 34px;
  }

  .brand-copy span {
    max-width: 190px;
  }

  .topnav {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .topnav .nav-mobile-hide,
  .topnav .nav-cta {
    display: none;
  }

  .topnav a {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(216, 225, 235, 0.82);
    font-size: 13px;
    justify-content: center;
    padding: 8px 9px;
    text-align: center;
  }

  .instant-command-head {
    align-items: stretch;
    flex-direction: column;
  }

  .instant-command-head .button {
    width: 100%;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 0.98;
  }

  .hero p,
  .section-head p,
  .two-column p {
    font-size: 16px;
  }

  .actions,
  .admin-controls {
    flex-direction: column;
  }

  section[id] {
    scroll-margin-top: 136px;
  }

  .button {
    width: 100%;
  }

  .terminal-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-footer {
    justify-content: flex-start;
  }
}

/* --- Trimmed homepage: install hero, bullets, proof, privacy, FAQ --- */
.install-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 18px 0 6px;
}

.install-hero .code-sample {
  flex: 1 1 280px;
  margin: 0;
}

.hero-bullets {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hero-bullets li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.5;
}

.hero-bullets li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}

.hero-bullets strong {
  color: var(--ink);
}

.proof-note {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.proof-note code {
  color: var(--ink);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.privacy-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.privacy-grid article small {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  color: var(--muted);
}

.privacy-grid article strong {
  display: block;
  margin: 6px 0 8px;
  font-size: 1.05rem;
  color: var(--ink);
}

.privacy-yes {
  border-left: 4px solid var(--teal);
}

.privacy-no {
  border-left: 4px solid #b42318;
}

.bounty {
  background: #ffffff;
}

.bounty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.bounty-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  padding: 20px;
}

.bounty-grid article small {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bounty-grid article strong {
  color: var(--ink);
  font-size: 1.18rem;
}

.bounty-grid article span {
  color: var(--muted);
  line-height: 1.55;
}

.bounty-grid .code-sample {
  margin: 4px 0 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: var(--panel);
}

.faq-grid h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--ink);
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.sponsor-note .section-head p {
  max-width: 640px;
}
