:root {
  color-scheme: dark;
  --bg: #0b0c0f;
  --fg: #eef1f5;
  --muted: #7d8594;
  --line: #22262e;
  --accent: #10a37f;
  --accent-dim: rgba(16, 163, 127, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-underline-offset: 0.22em; }

a:hover { color: var(--accent); }

.shell {
  width: min(100% - 2rem, 48rem);
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.topline,
.eyebrow,
.meta,
.footer {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
}

.mark { color: var(--accent); }

main { padding-top: clamp(3rem, 10vw, 6rem); }

h1, h2, p, ul { margin-top: 0; }

h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

p, li {
  max-width: 66ch;
  color: #b7bdc8;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.lede {
  max-width: 56ch;
  color: #d7dbe2;
  font-size: 1.08rem;
}

.meta { margin-bottom: 2.5rem; }

section {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}

ul { padding-left: 1.25rem; }

li + li { margin-top: 0.7rem; }

.notice {
  margin-top: 2.75rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--accent);
  background: var(--accent-dim);
  color: #d7dbe2;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.93rem;
  line-height: 1.65;
}

.action {
  display: inline-flex;
  border: 1px solid rgba(16, 163, 127, 0.45);
  padding: 0.7rem 0.9rem;
  color: var(--accent);
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background-color 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.action:hover { background: var(--accent-dim); }
.action:active { transform: translateY(1px); }

.action-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0c0f;
  font-weight: 700;
}

.action-primary:hover {
  background: #0e8f70;
  color: #0b0c0f;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.82rem;
}

.footer {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  line-height: 1.65;
}

@media (max-width: 480px) {
  .shell { width: min(100% - 1.5rem, 48rem); padding-top: 1rem; }
  .topline { align-items: flex-start; flex-direction: column; gap: 0.45rem; }
  main { padding-top: 3.25rem; }
}
