@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --black: #000000;
  --band: #070b08;
  --card: #0c130e;
  --foot: #030504;
  --line: #1b2a1f;
  --line-strong: #25392b;
  --outline: #3e5c46;
  --green: #00e060;
  --green-soft: #7dffb0;
  --muted: #b5c4ba;
  --code: #e4f3e8;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: var(--white); }
a:hover { color: var(--green); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -0.02em; line-height: 1.15; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 32px; font-size: 16px; font-weight: 500; }
.site-nav a { padding: 10px 0; text-decoration: none; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.button-primary { background: var(--green); color: var(--black); }
.button-primary:hover { background: var(--green-soft); color: var(--black); }
.button-outline { border: 1px solid var(--outline); }
.button-dark { background: var(--black); color: var(--white); font-weight: 700; }
.button-dark:hover { color: var(--green); }

/* Hero */
.hero { background: radial-gradient(760px 480px at 82% 20%, #053d1e 0%, var(--black) 70%); }
.hero .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 56px 64px;
  align-items: center;
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
}
.eyebrow { margin-bottom: 12px; font-size: 15px; font-weight: 600; color: var(--green); }
.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.lede { margin-bottom: 32px; max-width: 32em; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.code-window {
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
}
.code-bar { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line-strong); }
.code-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--outline); }
.code-window pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.9;
  color: var(--code);
}
.kw { color: var(--green-soft); }
.str { color: var(--green); }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2, .about h2 { font-size: clamp(32px, 3.8vw, 44px); font-weight: 700; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.card { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.card svg { display: block; }
.card h3 { margin: 16px 0 8px; font-size: 21px; font-weight: 700; }
.card p, .step p { font-size: 16px; color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 40px;
}
.step { text-align: center; }
.step .step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--black);
  font-weight: 700;
}
.step h3 { margin-bottom: 6px; font-size: 21px; font-weight: 700; }

.about { max-width: 760px; margin: 0 auto; text-align: center; }
.about h2 { margin-bottom: 16px; }
.about p:last-child { font-size: 19px; color: var(--muted); }

.contact { padding-bottom: 96px; }
.contact-panel {
  padding: clamp(40px, 6vw, 64px) 24px;
  border-radius: 20px;
  background: var(--green);
  color: var(--black);
  text-align: center;
}
.contact-panel h2 { margin-bottom: 10px; font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; }
.contact-panel p { margin-bottom: 28px; font-size: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--foot); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  justify-content: space-between;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 15px;
  color: var(--muted);
}
.footer-name { margin-bottom: 6px; font-weight: 700; color: var(--white); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { padding: 6px 0; color: var(--muted); }
.footer-copy { flex-basis: 100%; }

/* Legal and 404 pages */
.prose { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.prose h1 { margin-bottom: 8px; font-size: clamp(36px, 4.6vw, 52px); font-weight: 800; }
.prose h2 { margin: 40px 0 10px; font-size: 24px; font-weight: 700; }
.prose .updated { margin-bottom: 8px; font-size: 15px; color: var(--muted); }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--green); }
.prose a.button-primary { margin-top: 28px; color: var(--black); text-decoration: none; }

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