:root {
  color-scheme: light;
  --ink: #161a1d;
  --muted: #5f686f;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --line: #d9ded8;
  --green: #18845b;
  --coral: #d85842;
  --gold: #c69124;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  background: color-mix(in srgb, var(--paper) 92%, white);
  border-bottom: 1px solid var(--line);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  letter-spacing: 0;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 64px);
  align-items: end;
  overflow: hidden;
  padding: 88px 28px 72px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(247, 248, 245, 0.98), rgba(247, 248, 245, 0.78) 54%, rgba(247, 248, 245, 0.18)),
    linear-gradient(180deg, rgba(247, 248, 245, 0.2), rgba(247, 248, 245, 0.95));
  z-index: 1;
}

.hero-visual {
  position: absolute;
  right: max(24px, 7vw);
  top: 76px;
  width: min(760px, 68vw);
  max-height: 74vh;
  object-fit: contain;
}

.hero-copy,
.section,
footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 6vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

.lede {
  max-width: 680px;
  margin-bottom: 28px;
  color: #2f3538;
  font-size: 21px;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

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

.button.secondary {
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.section {
  padding: 76px 28px;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 28px;
}

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

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

.feature-grid article,
.command-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid article {
  min-height: 190px;
  padding: 22px;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-grid p,
.sponsor p,
footer {
  color: var(--muted);
}

.install {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.command-panel {
  display: grid;
  max-width: 760px;
  overflow: hidden;
}

.command-panel code {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: #202426;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  white-space: pre-wrap;
}

.command-panel code:last-child {
  border-bottom: 0;
}

.sponsor {
  padding-top: 34px;
  padding-bottom: 34px;
}

.sponsor p {
  margin-bottom: 0;
}

.sponsor a {
  color: var(--coral);
  font-weight: 700;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

footer a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header {
    padding: 0 18px;
  }

  nav {
    gap: 10px;
  }

  nav a {
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 56px 18px 42px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(247, 248, 245, 0.7), rgba(247, 248, 245, 0.98) 58%),
      linear-gradient(90deg, rgba(247, 248, 245, 0.98), rgba(247, 248, 245, 0.7));
  }

  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin: 0 auto 28px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  h1 {
    font-size: 48px;
  }

  .lede {
    font-size: 18px;
  }

  .section {
    padding: 54px 18px;
  }

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

  footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}
