:root {
  color-scheme: light dark;
  --bg: #f5f7f5;
  --surface: #ffffff;
  --band: #e9eeeb;
  --text: #1a201d;
  --muted: #4d5c57;
  --line: #d3dbd7;
  --accent: #175a4d;
  --accent-soft: #dcebe6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f151a;
    --surface: #161e23;
    --band: #131a1f;
    --text: #e8eeeb;
    --muted: #a3b2ad;
    --line: #2a353a;
    --accent: #7fc9b8;
    --accent-soft: #1b3a35;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.06rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.site-header { border-bottom: 1px solid var(--line); }

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.25;
}

.brand__mark {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--accent);
}

.status {
  flex: none;
  color: var(--muted);
  font-size: .875rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.lead {
  margin-top: 1.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.19rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.notice {
  margin-top: 1.75rem;
  padding-left: .9rem;
  border-left: 3px solid var(--accent);
  font-weight: 600;
}

.stack {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .625rem;
  overflow: hidden;
}

.stack figcaption {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

.stack__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
}

.stack__row:last-child { border-bottom: 0; }

.stack__row dd {
  flex: none;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 600;
}

.stack__row--yours { background: var(--accent-soft); }

.stack__row--yours dt { font-weight: 600; }

.stack__row--yours dd { color: var(--text); }

h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.015em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.band {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--band);
  border-block: 1px solid var(--line);
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 2.25rem;
}

.columns article { padding-top: 1.25rem; border-top: 2px solid var(--accent); }

.columns p, .steps p {
  margin-top: .65rem;
  color: var(--muted);
  font-size: 1rem;
}

.steps { padding-block: clamp(3rem, 6vw, 5rem); }

.steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 2.25rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li { counter-increment: step; }

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: .9rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-size: .875rem;
  font-weight: 600;
}

.site-footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

.disclaimer {
  margin-top: .5rem;
  max-width: 44rem;
  font-size: .81rem;
}

@media (max-width: 860px) {
  .hero, .columns, .steps ol { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .site-header__row { align-items: flex-start; }
  .brand { font-size: 1rem; }
  .status { padding-top: .1rem; font-size: .81rem; }
  .lead { font-size: 1.09rem; }
}
