:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5a6772;
  --line: #dbe3ea;
  --page: #f7f9fb;
  --panel: #ffffff;
  --soft: #edf3f7;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --code: #111827;
  --code-line: #293241;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

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

.hero {
  min-height: 92vh;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.16), transparent 42%),
    linear-gradient(215deg, rgba(234, 179, 8, 0.13), transparent 35%),
    var(--page);
}

.nav,
.hero-grid,
.band,
.footer {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero-grid {
  width: min(1280px, calc(100vw - 48px));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0 56px;
}

.brand,
.nav-links,
.actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 32px;
  height: auto;
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 750;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.terminal-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--code);
  box-shadow: 0 28px 80px rgba(23, 32, 38, 0.22);
}

.terminal-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1220;
}

.terminal-top span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #f87171;
}

.terminal-top span:nth-child(2) {
  background: #facc15;
}

.terminal-top span:nth-child(3) {
  background: #34d399;
}

.terminal-card img {
  display: block;
  width: 100%;
  height: auto;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 24px;
  color: #d5f3ec;
  font-size: 15px;
  line-height: 1.7;
}

.band {
  padding: 88px 0;
}

.muted {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - 1120px) / 2));
  padding-left: max(16px, calc((100vw - 1120px) / 2));
  background: var(--soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.steps,
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.features {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

article p {
  color: var(--muted);
}

article pre {
  margin-top: 18px;
  border-radius: 8px;
  background: var(--code-line);
  color: #e5f7f3;
  font-size: 13px;
  line-height: 1.55;
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: #e0f2f1;
  color: var(--accent-strong);
  font-weight: 800;
}

.support-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.footer {
  flex-wrap: wrap;
  gap: 14px 22px;
  padding: 30px 0 46px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .nav {
    padding-bottom: 38px;
  }

  .hero-grid,
  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .terminal-card {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .band {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 18px 0 0;
  }

  .nav,
  .hero-grid,
  .band,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .lede {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }
}

/* Quick start snippets ---------------------------------------------------- */

.snippet {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: var(--code);
}

.snippet-bar {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1220;
}

.snippet-tabs {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 2px;
  min-width: 0;
}

.snippet-tab {
  padding: 4px 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #93a4b8;
  font: inherit;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.snippet-tab:hover {
  color: #d5f3ec;
}

.snippet-tab[aria-selected="true"] {
  background: rgba(94, 234, 212, 0.14);
  color: #5eead4;
  font-weight: 600;
}

.snippet-tab:focus-visible,
.snippet-copy:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 1px;
}

.snippet-copy {
  flex: none;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: transparent;
  color: #93a4b8;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.snippet-copy:hover {
  border-color: rgba(94, 234, 212, 0.4);
  color: #5eead4;
}

.snippet-copy.is-copied {
  border-color: #34d399;
  color: #34d399;
}

/* The whole command has to be readable. Wrapping beats a horizontal scrollbar
   that hides the end of a curl URL, and the hanging indent keeps a wrapped
   line from reading as a second command. */
.snippet pre {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.65;
  overflow-x: visible;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.snippet .cmd,
.snippet .comment {
  display: block;
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.snippet .comment {
  color: #64748b;
}
