:root {
  color-scheme: light;
  --bg: #f6f4ef;
  --ink: #181816;
  --muted: #65625b;
  --line: #d8d1c4;
  --panel: #fffdfa;
  --accent: #0f7b63;
  --accent-dark: #075945;
  --warn: #aa4b13;
  --code: #11130f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}

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

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: 18px;
}

.lede {
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
  margin: 22px 0 16px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.lab {
  margin-top: 18px;
}

.lab summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.lab > .note {
  margin: 10px 0 0;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

input,
select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 12px;
}

button {
  min-height: 42px;
  border: 1px solid var(--accent-dark);
  border-radius: 6px;
  padding: 0 14px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.buttonLink {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.primaryLink {
  border-color: var(--accent-dark);
  background: var(--accent);
  color: #ffffff;
}

button.secondary,
.actions button {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.heroActions {
  margin-top: 18px;
}

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: start;
  border-color: var(--accent);
}

.offer h2 {
  max-width: 680px;
  font-size: 34px;
  line-height: 1.05;
}

.offerText {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.offerGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.offerGrid div {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.offerGrid strong {
  font-size: 24px;
}

.offerGrid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.callout {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 16px 0;
  border-color: var(--warn);
}

.callout h2 {
  max-width: 720px;
  font-size: 28px;
  line-height: 1.08;
}

.moneyRank {
  margin: 16px 0;
}

.intake {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

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

.actions.tight {
  margin-top: 2px;
}

.empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 18px;
}

pre {
  overflow: auto;
  margin: 0;
  max-height: 360px;
  border-radius: 6px;
  padding: 14px;
  background: var(--code);
  color: #f3f1eb;
  font-size: 12px;
  line-height: 1.5;
}

.events {
  display: grid;
  gap: 8px;
}

.steps,
.flow {
  display: grid;
  gap: 12px;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0 16px;
}

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

.steps div,
.flow div,
.proof div {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--panel);
}

.steps span,
.flow span,
.proof span,
.note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.note {
  margin-top: 12px;
}

.event {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 92px;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  font-size: 13px;
}

.event span {
  color: var(--muted);
}

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

.bands div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel);
}

.bands strong {
  font-size: 24px;
}

.bands span {
  color: var(--muted);
}

@media (max-width: 760px) {
  .hero,
  .grid,
  .bands,
  .proof,
  .steps,
  .callout,
  .row {
    grid-template-columns: 1fr;
  }

  .hero {
    display: grid;
  }

  .callout {
    display: grid;
  }

  .offer,
  .offerGrid {
    grid-template-columns: 1fr;
  }

  .event {
    grid-template-columns: 1fr;
  }
}
