:root {
  --bg: #0b1020;
  --bg-alt: #12182b;
  --card: #171e33;
  --line: #2a334d;
  --text: #e8edf7;
  --muted: #9aa6bf;
  --accent: #5b8cff;
  --accent-hover: #7aa3ff;
  --ok: #3dd68c;
  --max: 72rem;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--accent);
  color: #0b1020;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: flex-end;
}

.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }

.hero {
  padding: 3rem 0 2rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    padding: 4rem 0 3rem;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--ok);
  font-weight: 700;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 0.8rem;
  letter-spacing: -0.03em;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 38rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b1020;
}
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #0b1020; }

.hero-frame {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #000;
}

figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

section { padding: 2.5rem 0; }
section h2 {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.muted { color: var(--muted); }

.states {
  display: grid;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .states { grid-template-columns: 1fr 1fr; }
}

.states li {
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}
.states { padding: 0; }
.states strong { display: block; margin-bottom: 0.15rem; }

.gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .wide { grid-column: 1 / -1; }
}

.shot {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot img { width: 100%; }
.shot figcaption { padding: 0 1rem 1rem; margin: 0; }

.narrow-shot { max-width: 22rem; margin-inline: auto; }

.blocks { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .blocks { grid-template-columns: 1fr 1fr; align-items: start; }
}

.copy-block {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.copy-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
}
.copy-head h3 { margin: 0; font-size: 1rem; }
.copy-block pre {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  white-space: pre;
}
.copy-block .btn { padding: 0.35rem 0.8rem; font-size: 0.85rem; }

.limits {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.limits ul { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.limits li { margin: 0.4rem 0; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; margin-bottom: 0.8rem; }
