:root {
  color-scheme: light;
  --background: #fbfbfa;
  --surface: #ffffff;
  --text: #202328;
  --muted: #626b75;
  --rule: #e2e5e8;
  --accent: #0f766e;
  --accent-soft: #ecf7f5;
  --code: #18212b;
  --code-text: #edf6f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

pre {
  margin: 0;
  overflow-x: auto;
  border-radius: 6px;
  background: var(--code);
  color: var(--code-text);
  padding: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.topbar,
main,
footer {
  width: min(100% - 40px, 980px);
  margin-inline: auto;
}

.topbar {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
}

.brand {
  color: var(--text);
  font-weight: 750;
}

.brand:hover {
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.95rem;
}

.hero {
  max-width: 760px;
  padding-top: clamp(62px, 10vw, 112px);
  padding-bottom: 36px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.4vw, 1.34rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 16px;
  font-weight: 700;
}

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

.button.secondary {
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--text);
}

.button:hover {
  text-decoration: none;
}

.example {
  max-width: 760px;
  margin-bottom: 44px;
}

.note {
  border-block: 1px solid var(--rule);
  padding-block: 24px;
}

.note p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding-block: clamp(46px, 7vw, 74px);
  border-bottom: 1px solid var(--rule);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.section p {
  color: var(--muted);
}

.command-stack {
  display: grid;
  gap: 12px;
}

.table-like {
  display: grid;
  border-top: 1px solid var(--rule);
}

.table-like > div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding-block: 22px;
  border-bottom: 1px solid var(--rule);
}

.table-like p {
  margin-bottom: 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-bottom: 0;
}

footer {
  padding-block: 28px 40px;
  color: var(--muted);
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .topbar,
  main,
  footer {
    width: min(100% - 28px, 980px);
  }

  .topbar,
  .two-column,
  .table-like > div {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 16px;
  }

  nav {
    justify-content: flex-start;
  }

  pre {
    padding: 14px;
    font-size: 0.82rem;
  }
}
