@font-face { font-family: Geist; src: url(/fonts/Geist-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(/fonts/Geist-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(/fonts/Geist-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/GeistMono-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --ground: #0e0f11;
  --layer-1: #15171a;
  --layer-2: #1c1f23;
  --layer-3: #23272c;
  --layer-3-hover: #2a2f35;
  --hairline: rgba(255, 255, 255, 0.06);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --ink: #eceef0;
  --ink-2: #9aa0a8;
  --ink-3: #6b7178;
  --moss: #5fd38d;
  --moss-hover: #76de9f;
  --moss-pressed: #4bb875;
  --radius-control: 6px;
  --radius-panel: 10px;
  --radius-overlay: 14px;
  --page: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.6 Geist, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; border-radius: var(--radius-control); }

h1, h2 { font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }

.bar, main > section, footer {
  width: min(var(--page), 100% - 32px);
  margin-inline: auto;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; text-decoration: none; }
.brand img { border-radius: 7px; }

nav { display: flex; gap: 4px; }
nav a {
  padding: 6px 10px;
  border-radius: var(--radius-control);
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
}
nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }

.btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-control);
  background: var(--layer-3);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 120ms;
}
.btn:hover { background: var(--layer-3-hover); }
.btn.primary { background: var(--moss); color: var(--ground); }
.btn.primary:hover { background: var(--moss-hover); }
.btn.primary:active { background: var(--moss-pressed); }

.hero { padding-top: 88px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; max-width: 15ch; }
.lede { margin-top: 24px; max-width: 58ch; font-size: 18px; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.fine { margin-top: 16px; font-size: 13px; color: var(--ink-2); }

.window {
  margin: 0;
  border-radius: var(--radius-overlay);
  border: 1px solid var(--hairline-strong);
  overflow: hidden;
  background: var(--layer-1);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.window img { display: block; width: 100%; height: auto; }

.hero-shot { margin-top: 64px; animation: rise 700ms 150ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
}

.feature {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 128px;
}
.feature h2 { font-size: 26px; line-height: 1.2; }
.copy p { margin-top: 12px; color: var(--ink-2); }

kbd {
  font: 400 13px "Geist Mono", ui-monospace, monospace;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--layer-3);
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
}

.more { padding-top: 160px; }
.more h2, .start h2 { font-size: 32px; line-height: 1.15; max-width: 22ch; }
.more dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 56px;
  margin: 40px 0 0;
}
.more dl div { padding: 20px 0; border-top: 1px solid var(--hairline); }
.more dt { font-weight: 500; }
.more dd { margin: 4px 0 0; color: var(--ink-2); max-width: 52ch; }

.start { padding-top: 160px; padding-bottom: 128px; }
.start ol { list-style: none; counter-reset: step; padding: 0; margin: 40px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.start li {
  counter-increment: step;
  padding: 20px;
  border-radius: var(--radius-panel);
  background: var(--layer-1);
  color: var(--ink-2);
}
.start li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--layer-3);
  color: var(--moss);
  font-weight: 600;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.start strong { color: var(--ink); font-weight: 500; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0 40px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--ink-2);
}
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 24px; padding-top: 96px; }
  .more dl, .start ol { grid-template-columns: 1fr; }
  .more, .start { padding-top: 112px; }
  .hero { padding-top: 48px; }
  .hero-shot { margin-top: 40px; }
}

@media (max-width: 520px) {
  nav a:not(:last-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-shot { animation: none; }
}
