:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --surface: #ebe7de;
  --surface-strong: #ded9cf;
  --ink: #171714;
  --muted: #6b6860;
  --line: #d5d0c6;
  --accent: #ed5f3b;
  --code: #fbfaf7;
  font-family: "SFMono-Regular", "SF Mono", "Roboto Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

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

button {
  font: inherit;
}

.site-shell {
  width: min(100% - 40px, 1120px);
  min-height: 100vh;
  margin: 0 auto;
}

.topbar,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar {
  min-height: 82px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 22px;
}

nav a,
footer {
  color: var(--muted);
}

.hero {
  max-width: 920px;
  padding: 112px 0 118px;
}

.eyebrow,
.section-label {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(64px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--accent);
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 42px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(19px, 2.3vw, 26px);
  line-height: 1.4;
}

.install-card {
  overflow: hidden;
  max-width: 900px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--code);
}

.install-tabs {
  display: flex;
  gap: 2px;
  padding: 6px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.install-tab,
.copy-button {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.install-tab {
  padding: 8px 13px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.install-tab:hover,
.install-tab.active {
  background: var(--code);
  color: var(--ink);
}

.command-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 18px 20px;
}

.command-row code {
  flex: 1;
  overflow-x: auto;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
}

.copy-button {
  flex: 0 0 auto;
  padding: 9px 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.copy-button:hover {
  background: var(--surface-strong);
  color: var(--ink);
}

.download-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.download-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px 54px;
  padding: 78px 0 96px;
  border-top: 1px solid var(--line);
}

.about .section-label {
  grid-column: 1;
  margin: 8px 0 0;
}

h2 {
  max-width: 660px;
  margin-bottom: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.about > p:not(.section-label) {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.55;
}

.feature-list {
  grid-column: 2;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}

.feature-list span {
  color: var(--muted);
}

footer {
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

@media (max-width: 700px) {
  .site-shell {
    width: min(100% - 24px, 1120px);
  }

  .topbar {
    min-height: 66px;
  }

  nav {
    gap: 14px;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    padding: 84px 0 88px;
  }

  h1 {
    font-size: clamp(62px, 20vw, 98px);
  }

  .command-row {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .copy-button {
    align-self: flex-start;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 62px 0 72px;
  }

  .about .section-label,
  .about > p:not(.section-label),
  .feature-list {
    grid-column: 1;
  }

  .feature-list {
    margin-top: 10px;
  }

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
