:root {
  color-scheme: dark;
  --canvas: #171817;
  --ink: #f5f6f1;
  --muted: #c3c7bd;
  --lime: #d6f989;
  --rule: #454942;
  --surface: #222522;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
}

a { color: var(--lime); text-underline-offset: .18em; }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }

.shell { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--rule);
}

.brand {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -.075em;
  text-decoration: none;
}

.brand span, h1 span { color: var(--lime); }

.button {
  border: 1px solid var(--rule);
  padding: .55rem .9rem;
  border-radius: .4rem;
  color: var(--ink);
  text-decoration: none;
}

.button:hover { background: var(--surface); border-color: var(--lime); }

.intro { padding-block: clamp(3rem, 10vw, 7.5rem) 3rem; }

h1, h2 { font-family: "Instrument Sans", Inter, system-ui, sans-serif; }

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7.3vw, 6.3rem);
  line-height: .99;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}

p { max-width: 64ch; color: var(--muted); }
.intro p { margin: 1.45rem 0 0; font-size: clamp(1rem, 2vw, 1.25rem); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--rule);
  border-top: 3px solid var(--lime);
}

.steps li { padding: 1.15rem; background: var(--surface); }
.steps strong, .steps span { display: block; }
.steps span { margin-top: .3rem; color: var(--muted); font-size: .92rem; }

.integration { padding-block: 2.7rem 3rem; }
.integration h2, .legal h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.integration p, .legal p { margin: 0 0 1.35rem; }

.legal { padding-block: clamp(2.5rem, 7vw, 5rem); }
.legal h1 { margin-bottom: 1.45rem; font-size: clamp(2.1rem, 5.6vw, 4.25rem); }
.legal a { overflow-wrap: anywhere; }

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  border-top: 1px solid var(--rule);
  padding-block: 1.2rem 2rem;
  font-size: .9rem;
}

@media (max-width: 46rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 25rem) {
  .shell { width: calc(100% - 1.5rem); }
  .steps li { padding: .75rem; }
}
