:root {
  color-scheme: dark;
  --bg: #090b10;
  --panel: #10141c;
  --panel-2: #151b25;
  --text: #f5f7fb;
  --muted: #9aa5b5;
  --line: #252d3a;
  --accent: #8ee3c8;
  --accent-2: #b8f7e4;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 10%, rgba(142,227,200,.09), transparent 28rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.nav {
  max-width: var(--max);
  margin: auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.04em;
  font-size: 21px;
}
.brand span { color: var(--accent); font-weight: 650; }
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--text); }
main { max-width: var(--max); margin: auto; padding: 0 24px 72px; }
.hero { padding: 92px 0 80px; max-width: 880px; }
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 800;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(48px, 8vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0 0 28px;
}
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 18px; }
h3 { font-size: 21px; margin: 10px 0 8px; }
.lede { font-size: 20px; color: var(--muted); max-width: 760px; }
.actions { display: flex; gap: 12px; margin: 30px 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--panel);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.button:hover { border-color: #465266; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #07110e; }
.terminal, .result {
  background: #05070a;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: auto;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}
.terminal-bar { padding: 12px 14px; border-bottom: 1px solid var(--line); display: flex; gap: 7px; }
.terminal-bar span { width: 8px; height: 8px; background: #3a4454; border-radius: 50%; }
pre { margin: 0; }
pre code { display: block; padding: 20px; min-width: max-content; color: #c7d1df; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .9em; }
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card p, .muted { color: var(--muted); }
.card > code { color: var(--accent-2); word-break: break-all; }
.method { font-size: 11px; font-weight: 850; letter-spacing: .1em; color: var(--accent); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.controls { display: grid; gap: 14px; max-width: 420px; margin-top: 28px; }
label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; }
select {
  width: 100%;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
}
.result { min-height: 280px; white-space: pre-wrap; }
.result code { min-width: 0; white-space: pre-wrap; word-break: break-word; }
.about { max-width: 760px; }
footer {
  max-width: var(--max);
  margin: auto;
  padding: 28px 24px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}
@media (max-width: 800px) {
  .grid, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  nav a:not(:last-child) { display: none; }
  footer { flex-direction: column; }
}
