:root {
  --void: #04060b;
  --abyss: #070a12;
  --panel: #0a1120;
  --line: rgba(94, 200, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --blue: #2fa9ff;
  --blue-2: #5ec8ff;
  --blue-3: #9ddcff;
  --ink: #e8f0fb;
  --muted: #8496ae;
  --faint: #56657c;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: rgba(47, 169, 255, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(47, 169, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 169, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 18%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 18%, #000 10%, transparent 78%);
}
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(157, 220, 255, 0.05) 0px,
    rgba(157, 220, 255, 0.05) 1px,
    transparent 1px,
    transparent 4px
  );
}
.wrap { position: relative; z-index: 1; width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo strong { font-size: 15px; letter-spacing: 0.34em; }
.logo span { margin-top: 5px; font-family: var(--mono); font-size: 7px; letter-spacing: 0.36em; color: var(--faint); }
.top nav { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.top .nav-cta { border: 1px solid rgba(94, 200, 255, 0.35); background: rgba(47, 169, 255, 0.1); color: var(--blue-3); padding: 9px 14px; }
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding: 72px 0 58px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-3);
}
.led { width: 7px; height: 7px; background: var(--blue); box-shadow: 0 0 12px 2px rgba(47, 169, 255, 0.8); animation: blink 1.8s steps(2, end) infinite; }
h1 { margin: 20px 0 0; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 0.99; letter-spacing: -0.045em; font-weight: 800; text-wrap: balance; }
h1 em { font-style: normal; color: var(--blue-2); }
.lede { margin: 20px 0 0; max-width: 680px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #04121f;
  background: linear-gradient(180deg, var(--blue-3), var(--blue));
  box-shadow: 0 14px 42px -18px rgba(47, 169, 255, 0.9);
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { color: var(--blue-3); background: rgba(47, 169, 255, 0.06); border-color: rgba(94, 200, 255, 0.28); box-shadow: none; }
.portrait {
  display: block;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--panel);
}
.portrait figcaption { padding: 10px 12px; font-family: var(--mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.section { padding: 58px 0; border-top: 1px solid var(--line-soft); }
.section h2 { margin: 14px 0 0; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
.section p { color: var(--muted); line-height: 1.75; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 42px; }
.prose h3 { margin: 30px 0 0; font-size: 1.12rem; color: var(--ink); }
.prose p, .prose li { font-size: 15px; line-height: 1.85; color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--blue-3); }
.prose blockquote {
  margin: 26px 0;
  padding: 16px 20px;
  border-left: 2px solid var(--blue);
  background: rgba(47, 169, 255, 0.05);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}
.prose pre {
  overflow-x: auto;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: #060a13;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--blue-3);
}
.prose code { font-family: var(--mono); font-size: 0.9em; color: var(--blue-3); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.card { position: relative; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.015); padding: 20px; }
.card::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(94, 200, 255, 0.5), transparent); }
.card h3 { margin: 10px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.card p { margin: 9px 0 0; font-size: 13px; line-height: 1.7; }
.card .role { font-family: var(--mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(94, 200, 255, 0.35);
  background: radial-gradient(circle at 35% 25%, rgba(94, 200, 255, 0.25), rgba(7, 16, 28, 0.9));
  font-family: var(--mono);
  font-size: 16px;
  color: var(--blue-3);
  letter-spacing: 0.08em;
}
.byline { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; }
.byline .who { font-size: 13px; color: var(--ink); }
.byline .meta { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.callout { margin: 26px 0; padding: 18px 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 18, 32, 0.8), rgba(4, 6, 11, 0.9)); }
.callout .label { font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-3); }
.callout p { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 13.5px; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.table th { font-family: var(--mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); font-weight: 400; }
.table td { color: var(--muted); }
.table td:last-child { text-align: right; color: var(--ink); font-family: var(--mono); }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.checklist li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.checklist li::before { content: '>'; position: absolute; left: 0; color: var(--blue-2); font-family: var(--mono); }
.form { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 18, 32, 0.88), rgba(4, 6, 11, 0.94)); padding: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.field label { font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  padding: 12px;
  font: 14px var(--sans);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(94, 200, 255, 0.6); }
.field textarea { resize: vertical; min-height: 88px; }
.form-status { min-height: 18px; margin: 12px 0 0; font-family: var(--mono); font-size: 10px; line-height: 1.5; color: var(--faint); }
.form-status.ok { color: var(--blue-3); }
.form-status.err { color: #ff9d9d; }
.post-list { display: grid; gap: 14px; margin-top: 28px; }
.post-card { display: block; text-decoration: none; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.015); padding: 22px; transition: border-color 0.2s; }
.post-card:hover { border-color: rgba(94, 200, 255, 0.35); }
.post-card .meta { font-family: var(--mono); font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.post-card h2 { margin: 10px 0 0; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.1; }
.post-card p { margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.post-card .read { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-3); }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 15px 0; }
.faq summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+'; margin-right: 10px; color: var(--blue-2); font-family: var(--mono); }
.faq details[open] summary::before { content: '−'; }
.faq details p { margin: 10px 0 0 24px; font-size: 13.5px; }
footer { border-top: 1px solid var(--line-soft); padding: 26px 0 40px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--ink); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; }
  .portrait { margin-left: 0; max-width: 300px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1080px); }
  .top nav a:not(.nav-cta) { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .led { animation: none !important; }
  html { scroll-behavior: auto; }
}
