:root {
  color-scheme: dark;
  --ink: #eef6f5;
  --muted: #a8b8b7;
  --line: #263b3d;
  --panel: #111e25;
  --accent: #52e5c4;
  --warm: #f6b84a;
  --bg: #081116;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.65; }
a { color: var(--accent); text-underline-offset: .25em; }
img { display: block; max-width: 100%; }
.hero, main, footer { width: min(1180px, calc(100% - 40px)); margin: auto; }
.hero { padding-bottom: 88px; }
nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
nav div { display: flex; align-items: center; gap: 26px; }
nav a, .wordmark { color: var(--ink); text-decoration: none; }
.wordmark { font-weight: 850; letter-spacing: -.04em; font-size: 1.2rem; }
.hero-grid { padding-top: 70px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(4rem, 10vw, 8.5rem); line-height: .84; letter-spacing: -.075em; }
h2 { margin-bottom: 22px; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.055em; }
h3 { font-size: 1.5rem; }
.lede { max-width: 780px; color: #d6e1e0; font-size: 1.18rem; }
.eyebrow { margin-bottom: 14px; color: var(--warm); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-block; padding: 12px 18px; border: 1px solid var(--accent); border-radius: 6px; color: #04241e; background: var(--accent); font-weight: 800; text-decoration: none; }
.button.ghost { color: var(--accent); background: transparent; }
.button.small { padding: 7px 13px; }
figure { margin: 0; }
.hero figure { transform: rotate(1.5deg); }
.hero figure img, .run-grid img { border: 1px solid var(--line); border-radius: 4px; box-shadow: 18px 18px 0 #13282a; }
figcaption { margin-top: 12px; color: var(--muted); font-size: .88rem; }
section { padding: 104px 0; border-top: 1px solid var(--line); }
.result { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: center; }
.result p:not(.eyebrow) { max-width: 680px; color: var(--muted); }
.stat strong { display: block; color: var(--accent); font-size: clamp(6rem, 16vw, 12rem); line-height: .75; letter-spacing: -.08em; }
.stat span { display: block; margin-top: 25px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cards article { min-height: 280px; padding: 28px; border: 1px solid var(--line); background: linear-gradient(145deg, var(--panel), #0a151a); }
.cards article > span { color: var(--accent); font-family: ui-monospace, monospace; }
.cards h3 { margin-top: 80px; margin-bottom: 8px; }
.cards p { color: var(--muted); }
.media, .build { display: grid; grid-template-columns: .65fr 1.35fr; gap: 64px; }
.run-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.run-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.build { grid-template-columns: 1fr 1fr; }
.build > div p { max-width: 620px; color: var(--muted); }
pre { margin: 0; padding: 30px; overflow: auto; border: 1px solid var(--line); border-radius: 4px; background: #03090c; color: #b8f8e9; line-height: 1.9; }
.team ul { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; list-style: none; }
.team li { padding: 12px 18px; border: 1px solid var(--line); border-radius: 99px; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-grid a { display: flex; min-height: 150px; padding: 28px; border: 1px solid var(--line); color: var(--ink); background: var(--panel); flex-direction: column; justify-content: space-between; text-decoration: none; }
.guide-grid a:hover, .guide-grid a:focus-visible { border-color: var(--accent); }
.guide-grid span { color: var(--muted); }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; border-top: 1px solid var(--line); color: var(--muted); }
footer p { margin: 0; }

@media (max-width: 820px) {
  nav > div a:not(.button) { display: none; }
  .hero-grid, .result, .media, .build { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 45px; }
  .cards, .guide-grid { grid-template-columns: 1fr 1fr; }
  .hero figure { transform: none; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .hero, main, footer { width: min(100% - 24px, 1180px); }
  .hero { padding-bottom: 56px; }
  section { padding: 70px 0; }
  .cards, .run-grid, .guide-grid { grid-template-columns: 1fr; }
  .cards article { min-height: 220px; }
  .cards h3 { margin-top: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
