:root {
  color-scheme: dark;
  --background: #10151c;
  --surface: #18212c;
  --surface-soft: #202d3b;
  --text: #f4f7fa;
  --muted: #b8c4d1;
  --accent: #71b7ff;
  --border: #34475b;
  --success: #75d6a2;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
}

body {
  margin: 0;
}

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

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

.shell {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--border);
  background: rgba(16, 21, 28, 0.92);
}

header .shell,
footer .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.1rem 0;
}

.brand {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

main {
  padding: 4.5rem 0 5rem;
}

.eyebrow {
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.18;
}

h1 {
  max-width: 18ch;
  margin: 0.55rem 0 1.25rem;
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.lede {
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
}

.card {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
}

.card h2:first-child {
  margin-top: 0;
}

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

code {
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
  background: #0b1016;
}

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

.button {
  display: inline-block;
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #07121d;
}

.fine-print,
footer {
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  border-top: 1px solid var(--border);
}

@media (max-width: 560px) {
  main {
    padding-top: 3rem;
  }
}
