:root {
  color-scheme: light;
  --bg: #f4f4f1;
  --ink: #111111;
  --muted: #62615e;
  --line: #d9d8d2;
  --soft: #ebeae5;
  --inverse: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px 28px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
}

.brand-mark {
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 32px;
  width: 32px;
}

nav,
.site-footer div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

nav a,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  padding: 9px 13px;
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 46px 28px 88px;
}

.hero {
  align-items: stretch;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  min-height: 620px;
  padding-top: 56px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 28px;
  max-width: 920px;
}

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

h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.lede {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
  max-width: 720px;
}

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

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  min-height: 46px;
  padding: 0 18px;
}

.button.primary {
  background: var(--ink);
  color: var(--inverse);
}

.button.secondary {
  border: 1px solid var(--line);
}

.terminal-panel {
  align-self: center;
  background: #111111;
  border-radius: 8px;
  box-shadow: 0 32px 70px rgba(17, 17, 17, 0.16);
  color: #f7f7f3;
  min-height: 330px;
  overflow: hidden;
}

.panel-bar {
  border-bottom: 1px solid #30302e;
  display: flex;
  gap: 8px;
  padding: 16px;
}

.panel-bar span {
  background: #d9d8d2;
  border-radius: 999px;
  height: 9px;
  opacity: 0.65;
  width: 9px;
}

pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
  overflow-x: auto;
  padding: 30px;
}

.band {
  border-top: 1px solid var(--line);
  padding: 84px 0;
}

.section-heading {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  margin-bottom: 42px;
}

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

.feature-grid article {
  background: var(--soft);
  min-height: 240px;
  padding: 30px;
}

.feature-index {
  color: var(--muted);
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 50px;
}

.feature-grid p,
.split-section p,
.document p,
.document li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.split-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.55fr);
  padding: 84px 0 36px;
}

.document {
  max-width: 820px;
  padding-top: 72px;
}

.document h1 {
  font-size: clamp(44px, 7vw, 78px);
  margin-bottom: 34px;
}

.document h2 {
  border-top: 1px solid var(--line);
  font-size: 24px;
  margin-top: 44px;
  padding-top: 28px;
}

.document a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  nav,
  .site-footer div {
    align-items: flex-start;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
  }

  main {
    padding-top: 22px;
  }

  .hero,
  .section-heading,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 18px;
  }

  .terminal-panel {
    min-height: 260px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
