/* generated by tools/extract_css.py from style.css - do not edit by hand */
:root {
  --bg: #030308;
  --fg: #f2f3f7;
  --muted: #8b8fa3;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #3d5bff;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(16px, 3vw, 40px);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.brand { color: var(--fg); text-decoration: none; font-weight: 700; font-size: 24px; letter-spacing: 0.04em; }
.brand span { color: var(--muted); font-weight: 400; }
.nav nav { display: flex; gap: clamp(14px, 2.4vw, 36px); }
.nav nav a { color: var(--fg); text-decoration: none; font-family: var(--mono); font-size: clamp(13px, 1.35vw, 15px); opacity: 0.8; }
.nav nav a:hover { opacity: 1; }
.pill {
  font: 500 14px var(--mono);
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}
.pill { display: inline-block; text-decoration: none; }
.pill:hover { background: rgba(255, 255, 255, 0.12); }
.pill:active { transform: scale(0.97); }
.panel .pill { margin-top: 12px; width: 100%; }
.menu-btn { display: none; }
@media (max-width: 700px) {
.nav { padding: 14px 16px; gap: 8px; }
.brand, .nav .pill, .menu-btn { white-space: nowrap; flex-shrink: 0; }
.brand { font-size: 18px; }
.nav .pill { font-size: 12px; padding: 8px 12px; margin-left: auto; }
.menu-btn {
    display: inline-block;
    font-size: 12px;
    color: var(--fg);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 8px 0;
    width: 64px;                    /* same width for "Menu" and "Close" */
    text-align: center;
    cursor: pointer;
  }
@media (max-width: 360px) {
.brand span { display: none; }
}
.nav nav {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 6px 18px;
    background: rgba(8, 9, 18, 0.94);
    border: 1px solid var(--line);
    border-radius: 14px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  }
.nav.open nav { opacity: 1; transform: none; pointer-events: auto; }
.nav nav a { font-size: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nav nav a:last-child { border-bottom: none; }
body::after { height: 60vh; }
.c-actions .pill { flex: 1 1 auto; text-align: center; }
.c-footer { flex-direction: column; align-items: flex-start; }
}
body::after {
  content: "";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 45vh;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to top, rgba(3, 3, 8, 0.85), rgba(3, 3, 8, 0));
  opacity: 0;
  transition: opacity 0.8s;
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
.nav { transform: none !important; }
}
.nav { transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), background 0.4s; }
.c-actions .pill { font-size: 15px; padding: 14px 26px; }
.c-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 48px) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.c-footer .dim { color: var(--muted); }
.c-footer > span:first-child { color: var(--fg); font-family: var(--sans); font-weight: 700; font-size: 16px; }
.c-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.c-footer > * { min-width: 0; max-width: 100%; }
.c-footer a { color: var(--muted); text-decoration: none; }
.c-footer a:hover { color: var(--fg); }
.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.ct-next { list-style: none; margin: 20px 0 0; padding: 0; }
.ct-next li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding-bottom: 20px; }
.ct-next li:not(:last-child)::before {             /* the route between the dots */
  content: "";
  position: absolute;
  left: 5px; top: 16px; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--ct), rgba(143, 228, 255, 0.15));
}
.ct-dot { width: 11px; height: 11px; margin-top: 5px; border: 1px solid var(--ct); border-radius: 50%; background: #070b1c; box-shadow: 0 0 10px rgba(143, 228, 255, 0.35); }
.ct-next h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.ct-next p { margin-top: 3px; font-size: 14px; color: #a9aec0; }
.ct-link { display: inline-block; margin-top: 10px; font-size: 12px; letter-spacing: 0.12em; color: var(--ct); text-decoration: none; }
.ct-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ct-form {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(143, 228, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(20, 30, 70, 0.55), rgba(6, 8, 20, 0.9));
  box-shadow: 0 30px 80px -30px rgba(20, 40, 140, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ct-form-title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ct-field { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.ct-field label, .ct-choice legend { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 500; color: #cfd3e0; }
.ct-opt { margin-left: 6px; font-size: 11px; color: var(--muted); font-weight: 400; }
.ct-field input, .ct-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(3, 5, 14, 0.7);
  color: var(--fg);
  font: 400 15px/1.45 var(--sans);
  caret-color: var(--ct);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.ct-field textarea { resize: vertical; min-height: 104px; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: rgba(207, 211, 224, 0.4); }
@media (hover: hover) and (pointer: fine) {
.ct-field input:hover, .ct-field textarea:hover { border-color: rgba(255, 255, 255, 0.26); }
}
.ct-field input:focus-visible, .ct-field textarea:focus-visible { outline: none; border-color: var(--ct); box-shadow: 0 0 0 3px rgba(143, 228, 255, 0.18); background: rgba(3, 5, 14, 0.9); }
.ct-field [aria-invalid="true"] { border-color: #ff7a8a; box-shadow: 0 0 0 3px rgba(255, 122, 138, 0.14); }
.ct-err { min-height: 0; margin-top: 6px; font-size: 12.5px; color: #ff9aa6; }
.ct-err:empty { display: none; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips label { margin: 0; position: relative; }
.ct-chips input { position: absolute; opacity: 0; pointer-events: none; }
.ct-chips span {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 14px;
  color: #cfd3e0;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
.ct-chips span:hover { border-color: rgba(143, 228, 255, 0.5); }
}
.ct-chips input:checked + span { border-color: var(--ct); background: rgba(143, 228, 255, 0.12); color: #fff; }
.ct-chips input:focus-visible + span { outline: 2px solid var(--ct); outline-offset: 2px; }
.ct-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.ct-btn {
  position: relative;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font: 600 15px var(--sans);
  cursor: pointer;
  transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, opacity 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
.ct-btn:hover { background: #fff; }
}
.ct-btn:active { transform: scale(0.97); }
.ct-btn:focus-visible { outline: 2px solid var(--ct); outline-offset: 3px; }
.ct-btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.ct-note { font-size: 13px; color: var(--muted); }
.ct-status { margin-top: 14px; font-size: 14px; line-height: 1.5; color: #cfd3e0; }
.ct-status:empty { display: none; }
.ct-status.ok { color: var(--ct); }
.ct-status.bad { color: #ff9aa6; }
.ct-form.sent .ct-row, .ct-form.sent .ct-field, .ct-form.sent .ct-send { display: none; }
.ct-form.sent .ct-status { font-size: 17px; }
@media (max-width: 860px) {
.ct-grid { grid-template-columns: 1fr; gap: 36px; }
.ct-next { margin-top: 24px; }
}
@media (max-width: 520px) {
.ct-row { grid-template-columns: 1fr; }
.ct-form { padding: 20px 16px; border-radius: 16px; }
.ct-btn { width: 100%; }
}
.sb-ico * { stroke-dasharray: 1; stroke-dashoffset: clamp(0, calc(1.3 - var(--k, 1) * 1.6), 1); }
@media (prefers-reduced-motion: reduce) {
.sb-ico * { stroke-dashoffset: 0; }
}
body.glitching .c-about { animation: glitch-h 0.4s steps(10) 1; }
body.glitching .c-about .c-title, body.glitching .c-about .c-lead {
  text-shadow: 5px 0 rgba(255, 42, 85, 0.85), -5px 0 rgba(42, 240, 255, 0.85);
  animation: glitch-shift 0.4s steps(8) 1;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 14px; border-radius: 8px;
  background: #fff; color: #05060c; font-size: 14px; font-weight: 600;
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; }
@media (pointer: coarse) {
.pill { min-height: 44px; display: inline-flex; align-items: center; }
.menu-btn { min-height: 44px; }
.ct-link, .c-footer nav a { display: inline-block; padding-block: 14px; margin-block: -14px; }
.c-footer nav a { padding-inline: 4px; }
}
:where(a { outline: 2px solid #8fe4ff; outline-offset: 3px; border-radius: 4px; }
