:root {
  --ink: #242422;
  --paper: #efede6;
  --paper-raised: #f7f5f0;
  --rust: #b8471f;
  --rust-soft: #b8471f1a;
  --moss: #3c6355;
  --line: #242422;
  --muted: #6b6a64;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.5;
}

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

header.top {
  padding: 32px 0 0;
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
}
.mark {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.stage {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  color: var(--moss);
}
.stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
}

/* ---------- hero ---------- */
.hero {
  padding: 56px 0 8px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  max-width: 13ch;
}
.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 40px;
}

.signal {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 8px;
}
.signal-caption {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-bottom: 56px;
  border-bottom: 1px solid #24242222;
}
.signal-caption span.rust {
  color: var(--rust);
}

.wave-path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 1.6s ease-out forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wave-path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ---------- steps ---------- */
.steps {
  padding: 56px 0;
  border-bottom: 1px solid #24242222;
}
.steps h2,
.section h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 32px;
}
.step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
}
.step + .step {
  border-top: 1px solid #24242215;
}
.step-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--rust);
  padding-top: 2px;
}
.step-title {
  font-weight: 600;
  margin: 0 0 6px;
  font-size: 1.02rem;
}
.step-body {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 48ch;
}

/* ---------- plain sections ---------- */
.section {
  padding: 48px 0;
  border-bottom: 1px solid #24242222;
}
.section p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 52ch;
  margin: 0;
}
.section p + p {
  margin-top: 14px;
}

.section.stage-note {
  background: var(--paper-raised);
  margin: 0 -28px;
  padding: 48px 28px;
}
.section.stage-note .wrap {
  padding: 0;
  max-width: 704px;
}
.can-do,
.cant-yet {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: 0.95rem;
}

.can-do .tag,
.cant-yet .tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 2px;
}

.can-do .tag {
  background: var(--moss);
  color: var(--paper-raised);
}

.cant-yet .tag {
  background: transparent;
  color: var(--muted);
  border: 1px solid #6b6a6455;
}

/* ---------- cta ---------- */
.cta {
  padding: 64px 0 72px;
  text-align: left;
}
.cta h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 14px;
  max-width: 20ch;
}
.cta p {
  color: var(--muted);
  max-width: 44ch;
  margin: 0 0 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 24px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn:hover:not(:disabled) {
  background: #3a3934;
}
.btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.fineprint {
  font-size: 0.82rem;
  color: var(--muted);

  margin-top: 16px;
  max-width: 44ch;
}

.fineprint a {
  color: inherit;

  text-underline-offset: 2px;
}

footer {
  padding: 28px 0 40px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  h1 {
    font-size: 2rem;
  }
  .step {
    grid-template-columns: 28px minmax(0, 1fr);
  }
}
