:root {
  color-scheme: dark;
  --ink: #f4f7f5;
  --muted: #a7b3ad;
  --line: rgba(255, 255, 255, .13);
  --accent: #66f2b1;
  --bg: #07110d;
  --panel: #0c1b15;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 4%, rgba(44, 200, 132, .18), transparent 32rem),
    linear-gradient(135deg, rgba(255,255,255,.025) 25%, transparent 25%) 0 0 / 42px 42px,
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.hero { padding: clamp(72px, 12vw, 150px) 0 80px; max-width: 900px; }

.mark {
  width: 68px;
  height: 50px;
  margin-bottom: 34px;
  border: 2px solid var(--accent);
  border-radius: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 40px rgba(102, 242, 177, .16);
}

.mark::before { content: ""; width: 18px; height: 5px; border-radius: 4px; background: var(--accent); position: absolute; transform: translateY(-31px); }
.mark span { width: 24px; height: 24px; border: 2px solid var(--accent); border-radius: 50%; box-shadow: inset 0 0 0 6px rgba(102,242,177,.08); }

.eyebrow { margin: 0 0 20px; color: var(--accent); font: 700 .72rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; }

h1 { margin: 0; max-width: 820px; font-size: clamp(3.2rem, 8vw, 7.4rem); line-height: .92; letter-spacing: -.065em; font-weight: 700; }

.lead { max-width: 720px; margin: 38px 0 30px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.65; }

.status { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: #dbe8e1; font: 600 .78rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.status span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.journey { padding: 0 0 95px; }
.journey-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.journey-heading .eyebrow { margin-bottom: 8px; }
.journey-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; }
.journey ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; counter-reset: journey; }
.journey li { counter-increment: journey; position: relative; padding: 30px 22px 0 0; border-top: 1px solid var(--line); }
.journey li::before { content: counter(journey, decimal-leading-zero); position: absolute; top: -11px; left: 0; padding-right: 8px; color: var(--accent); background: var(--bg); font: 600 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.journey li span { display: block; margin-bottom: 10px; font-weight: 700; }
.journey li p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid article { min-height: 290px; padding: 38px 32px 46px; border-right: 1px solid var(--line); }
.grid article:first-child { padding-left: 0; }
.grid article:last-child { border-right: 0; }
.number { color: var(--accent); font: 500 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
h2 { margin: 70px 0 14px; font-size: 1.45rem; letter-spacing: -.025em; }
.grid article p:last-child, .endpoint > p { color: var(--muted); line-height: 1.65; }

.endpoint { margin: 100px 0 120px; padding: 46px; display: grid; grid-template-columns: 1fr auto; gap: 24px 50px; align-items: end; background: linear-gradient(135deg, rgba(102,242,177,.08), rgba(255,255,255,.025)); border: 1px solid var(--line); border-radius: 24px; }
.endpoint h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.endpoint code { padding: 14px 18px; color: var(--accent); background: rgba(0,0,0,.25); border: 1px solid rgba(102,242,177,.22); border-radius: 10px; white-space: nowrap; }
.endpoint > p { grid-column: 1 / -1; margin: 10px 0 0; max-width: 700px; }

footer { padding: 24px 0 40px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: #73827a; font: 500 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .12em; }

@media (max-width: 760px) {
  main, footer { width: min(100% - 28px, 1120px); }
  .hero { padding-top: 64px; }
  .journey-heading { display: block; }
  .journey-heading .eyebrow { margin-bottom: 16px; }
  .journey ol { grid-template-columns: 1fr; gap: 28px; }
  .journey li { padding-top: 22px; }
  .grid { grid-template-columns: 1fr; }
  .grid article, .grid article:first-child { min-height: auto; padding: 30px 0 36px; border-right: 0; border-bottom: 1px solid var(--line); }
  .grid article:last-child { border-bottom: 0; }
  .grid h2 { margin-top: 35px; }
  .endpoint { margin: 70px 0 90px; padding: 28px 22px; grid-template-columns: 1fr; }
  .endpoint code { justify-self: start; }
  footer { gap: 20px; flex-direction: column; }
}
