@font-face {
  font-family: "Host Grotesk";
  src: url("/fonts/host-grotesk-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Jersey 15";
  src: url("/fonts/jersey-15-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #0b0b0b;
  --ink: #f2f0ea;
  --muted: #b0aea8;
  --rule: #30302d;
  --accent: #f2c14e;
  font-family: "Host Grotesk", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  scrollbar-color: #6f6d68 var(--ground);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); -webkit-font-smoothing: antialiased; }
::selection { color: var(--ground); background: var(--accent); }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: 1360px; margin-inline: auto; padding-inline: clamp(22px, 5.5vw, 80px); }
.skip { position: absolute; top: -100px; left: 20px; z-index: 1; padding: 10px 18px; background: var(--ink); color: var(--ground); }
.skip:focus { top: 16px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; }
.brand span, .wordmark { font: 400 30px/1 "Jersey 15", monospace; letter-spacing: 0.04em; }
nav { display: flex; gap: clamp(20px, 3vw, 40px); font-size: 16px; }
nav a { text-decoration: none; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; padding-block: clamp(54px, 7vw, 92px); }
h1 { font-size: clamp(48px, 6.3vw, 84px); line-height: 1.04; letter-spacing: -0.035em; }
.lede { max-width: 43ch; font-size: 20px; line-height: 1.55; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 26px; padding: 15px 26px; background: var(--ink); color: var(--ground); font-size: 17px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; transition: background 160ms ease-out; }
.button:hover { background: var(--accent); color: var(--ground); }
.facts { margin-top: 13px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.text-link { display: inline-block; margin-top: 12px; font-size: 15px; }
.screen img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; color: var(--muted); font-size: 14px; }
figcaption span:first-child { color: var(--ink); }
h2 { font-size: clamp(32px, 3.7vw, 48px); line-height: 1.12; letter-spacing: -0.025em; }
.about, .install { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; margin-top: clamp(72px, 10vw, 136px); padding-top: 40px; border-top: 1px solid var(--rule); }
.about dl > div { padding-block: 24px; border-bottom: 1px solid var(--rule); }
.about dl > div:first-child { padding-top: 0; }
.about dt { margin-bottom: 7px; font-size: 22px; font-weight: 500; }
.about dd, .install p, .updates p { color: var(--muted); }
.install { scroll-margin-top: 30px; }
.install > div p { max-width: 36ch; margin-top: 22px; }
.install ol { margin: 0; padding-left: 1.5em; }
.install li { padding-left: 12px; padding-bottom: 28px; }
.install li:last-child { padding-bottom: 0; }
.install li::marker { color: var(--accent); font-variant-numeric: tabular-nums; }
h3 { font-size: 22px; margin-bottom: 8px; }
code { font: inherit; color: var(--ink); overflow-wrap: anywhere; }
.updates { margin-top: clamp(72px, 10vw, 136px); padding-block: 40px; border-top: 1px solid var(--rule); }
.updates h2 { font-size: clamp(28px, 3vw, 36px); }
.updates p { max-width: 68ch; margin-top: 20px; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 28px 40px; margin-top: 32px; border-top: 1px solid var(--rule); }
footer p, footer a { color: var(--muted); font-size: 14px; }
footer a { margin-left: auto; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 br { display: none; }
  .hero h1 { max-width: 12ch; }
  .lede { max-width: 48ch; }
  .about, .install { gap: 36px; grid-template-columns: 1fr 1.25fr; }
}

@media (max-width: 600px) {
  header { padding-block: 20px; gap: 16px; }
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  nav { gap: 20px; font-size: 15px; }
  .hero { padding-block: 46px 38px; }
  h1 { font-size: clamp(44px, 11.5vw, 64px); }
  .lede { font-size: 18px; }
  .button { width: 100%; padding-inline: 16px; }
  .facts { font-size: 13px; }
  .about, .install { grid-template-columns: 1fr; gap: 30px; padding-top: 30px; }
  .about h2 br, .install h2 br { display: none; }
  .about dd, .install p, .updates p { font-size: 17px; }
  .install > div p { max-width: none; margin-top: 16px; }
  footer a { margin-left: 0; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
