@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #000000;
  --text: #e8f3f9;
  --muted: #9eb4c3;
  --faint: #6d8796;
  --line: rgba(0, 144, 208, 0.22);
  --blue: #0090d0;
  --blue-bright: #3ec0f0;
  --blue-deep: #004870;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 144, 208, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 144, 208, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 12% 0%, #000 8%, transparent 64%);
}

body {
  margin: 0;
  min-height: 100svh;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 440;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #0070a8;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
}

img { display: block; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-stuck {
  background: rgba(0, 0, 0, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  height: 54px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  position: relative;
  color: #d5e6f0;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover { color: var(--text); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.hero {
  position: relative;
  padding: 140px 0 36px;
}

.glow {
  position: absolute;
  width: 560px;
  height: 560px;
  left: -180px;
  top: -80px;
  background: radial-gradient(circle, rgba(0, 112, 168, 0.42), rgba(0, 112, 168, 0) 68%);
  filter: blur(6px);
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #8ec4de;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dot-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-bright);
}

h1, h2, h3 { font-weight: 520; letter-spacing: -0.04em; }

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.4vw, 4.65rem);
  line-height: 0.94;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  text-wrap: pretty;
}

.who {
  margin: 26px 0 0;
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 560;
  letter-spacing: -0.015em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, #1496cf, #0a6ea3);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 112, 168, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #2aa8df, #0c7cb5);
  box-shadow: 0 14px 34px rgba(0, 144, 208, 0.34);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(62, 192, 240, 0.4);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--blue-bright); }

.keep { white-space: nowrap; }

.caret {
  display: inline-block;
  width: 0.32ch;
  height: 0.68em;
  margin-left: 0.08em;
  background: var(--blue-bright);
  vertical-align: -0.04em;
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(62, 192, 240, 0.45);
  animation: blink 1.06s linear infinite;
}

.term {
  background:
    linear-gradient(180deg, rgba(10, 22, 32, 0.96), rgba(6, 10, 14, 0.96));
  border: 1px solid rgba(0, 144, 208, 0.32);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 30px 80px rgba(0, 72, 112, 0.22);
  overflow: hidden;
}

.term-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 144, 208, 0.16);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
}

.term-top img {
  width: 16px;
  height: 18px;
  object-fit: contain;
}

.term-body {
  margin: 0;
  padding: 20px 18px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.75;
}

.term-body p {
  margin: 0;
  white-space: nowrap;
}

.term-body .ind { padding-left: 1.25em; }
.term-body .gap { margin-top: 0.85em; }

.term .caret {
  width: 0.62ch;
  height: 1.02em;
  margin-left: 0;
  vertical-align: text-bottom;
  border-radius: 1px;
}

.tok-cmt { color: #5f8294; }
.tok-kw { color: #3ec0f0; }
.tok-var { color: #d7ebf5; }
.tok-key { color: #8ebbd2; }
.tok-str { color: #f2f8fb; }
.tok-fn { color: #9fd4ef; }

.section { padding: 28px 0 96px; }

.section-head { margin-bottom: 28px; }
.section-head .eyebrow { margin-bottom: 12px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  min-height: 100%;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 112, 168, 0.09), rgba(0, 0, 0, 0.15));
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-bright), transparent);
}

.card:hover {
  border-color: rgba(62, 192, 240, 0.55);
  transform: translateY(-3px);
  background:
    linear-gradient(180deg, rgba(0, 144, 208, 0.14), rgba(0, 0, 0, 0.2));
}

.card-no {
  margin: 0 0 22px;
  color: var(--blue-bright);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.card p:last-child {
  margin: 0;
  color: var(--muted);
}

.contact-panel {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(0, 112, 168, 0.2), transparent 62%),
    #070b10;
  overflow: hidden;
}

.contact-panel h2 { margin-top: 4px; }

.contact-list { margin-top: 28px; }

.contact-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 144, 208, 0.18);
}

.contact-row:last-child { border-bottom: 1px solid rgba(0, 144, 208, 0.18); }

.contact-link {
  min-width: 0;
  text-decoration: none;
}

.contact-link:hover .v { color: var(--blue-bright); }

.k {
  display: block;
  margin-bottom: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v {
  display: block;
  font-size: clamp(1.35rem, 3.4vw, 2.15rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.copy {
  flex: none;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(62, 192, 240, 0.38);
  background: transparent;
  color: #b7dff0;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 520;
  cursor: pointer;
}

.copy:hover,
.copy.is-copied {
  border-color: var(--blue-bright);
  color: #fff;
}

.site-footer {
  padding: 8px 0 28px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 144, 208, 0.16);
  color: var(--faint);
  font-size: 0.92rem;
}

.footer-row p { margin: 0; }

.footer-row a {
  color: var(--muted);
  text-decoration: none;
}

.footer-row a:hover { color: var(--text); }

.page {
  padding: 140px 0 72px;
}

.prose { max-width: 44rem; }

.prose h1 { margin-bottom: 8px; }

.prose h2 {
  margin-top: 2.3rem;
  font-size: 1.45rem;
}

.prose p { color: #c5d7e3; }

.prose a {
  color: var(--blue-bright);
  text-underline-offset: 3px;
}

.updated {
  margin-top: 2.4rem;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 400;
}

.missing {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 132px 0 48px;
}

.missing .lead { margin-bottom: 28px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.d1.in { transition-delay: 0.05s; }
.js .reveal.d2.in { transition-delay: 0.14s; }
.js .reveal.d3.in { transition-delay: 0.23s; }

@keyframes blink {
  0%, 49.9% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(28px, 18px, 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero-copy > * {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.36s; }

.term { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.18s both; }

@media (max-width: 860px) {
  .hero-grid,
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 118px; }
  .term { animation-delay: 0.28s; }
  h1 { font-size: clamp(2.5rem, 11vw, 4.2rem); }
}

@media (max-width: 560px) {
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .site-header { padding: 12px 14px; }
  .brand img { height: 44px; }
  .nav { gap: 16px; }
  .nav a { font-size: 0.9rem; }
  .contact-row { align-items: flex-start; flex-direction: column; }
  .footer-row { flex-direction: column; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .caret { opacity: 1 !important; }
  .card:hover { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
