:root {
  --night: #020b12;
  --night-2: #061823;
  --text: #effaf7;
  --muted: #a4bdb8;
  --soft: #789690;
  --cyan: #8de9e2;
  --cyan-dim: rgba(141, 233, 226, .18);
  --amber: #e0b66a;
  --line: rgba(141, 233, 226, .22);
  --shell: min(100% - 32px, 1080px);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; overflow-x: clip; scroll-behavior: smooth; }
body {
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(71, 183, 177, .12), transparent 34rem),
    radial-gradient(circle at 14% 86%, rgba(224, 182, 106, .08), transparent 28rem),
    linear-gradient(135deg, var(--night), var(--night-2));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .3;
  background-image: linear-gradient(rgba(141,233,226,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(141,233,226,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
a { color: inherit; }
.skip-link {
  position: fixed;
  z-index: 50;
  top: 10px;
  left: 12px;
  padding: 8px 12px;
  color: var(--night);
  background: var(--cyan);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(141, 233, 226, .16);
  background: rgba(2, 11, 18, .78);
  backdrop-filter: blur(18px);
}
.nav {
  width: var(--shell);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(141, 233, 226, .45);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(141, 233, 226, .2);
}
.brand span { display: grid; line-height: 1.1; }
.brand strong {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand span span {
  margin-top: 4px;
  color: var(--cyan);
  font: 9px/1.1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.back {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan);
  font: 10px/1 var(--mono);
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.back:hover, .back:focus-visible { color: var(--night); border-color: var(--cyan); background: var(--cyan); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
main {
  position: relative;
  width: var(--shell);
  flex: 1;
  margin: 0 auto;
  padding: clamp(62px, 9vw, 118px) 0 110px;
  overflow-x: clip;
}
main::before {
  position: absolute;
  top: 34px;
  right: -12vw;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(141, 233, 226, .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  box-shadow: 0 0 90px rgba(141, 233, 226, .06), inset 0 0 70px rgba(141, 233, 226, .04);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font: 11px/1.4 var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
h1 {
  max-width: 780px;
  margin: 0 0 46px;
  color: var(--text);
  font-size: clamp(46px, 8vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
}
h1::after {
  display: block;
  width: 84px;
  height: 3px;
  margin-top: 26px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  content: "";
}
h2 {
  max-width: 780px;
  margin: 48px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--cyan);
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: -.025em;
}
p, li { max-width: 780px; color: var(--muted); font-size: 16px; }
.panel {
  position: relative;
  max-width: 720px;
  margin: 0 0 12px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  background: linear-gradient(135deg, rgba(8, 34, 45, .82), rgba(3, 18, 27, .68));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .22), inset 0 0 30px rgba(141, 233, 226, .04);
}
.panel::before {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  content: "";
}
.panel p { margin: 0 0 20px; }
.panel p:last-child { margin-bottom: 0; }
strong { color: var(--text); }
.muted { color: var(--soft); }
footer {
  border-top: 1px solid rgba(141, 233, 226, .16);
  background: rgba(2, 11, 18, .68);
}
.footer-inner {
  width: var(--shell);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--soft);
  font-size: 12px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--cyan); text-underline-offset: 3px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--amber); }
@media (max-width: 620px) {
  .nav { min-height: 70px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand strong { font-size: 10px; letter-spacing: .09em; }
  .brand span span { font-size: 8px; letter-spacing: .12em; }
  .back { padding: 8px 10px; font-size: 9px; }
  main { padding: 52px 0 78px; }
  main::before { top: 8px; right: -18rem; width: 26rem; height: 26rem; opacity: .55; }
  h1 { margin-bottom: 34px; font-size: clamp(45px, 15vw, 66px); }
  h2 { margin-top: 38px; font-size: 22px; }
  p, li { font-size: 15px; }
  .panel { padding: 22px 20px; }
  .footer-inner { min-height: 88px; padding: 16px 0; align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer-links { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Language selector */
.language-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid rgba(129,237,224,.22);border-radius:999px;background:rgba(6,22,27,.78);font:600 9px/1 monospace;letter-spacing:.1em}
.language-switch button{border:0;border-radius:999px;background:transparent;color:#96aaa9;padding:5px 7px;font:inherit;cursor:pointer}
.language-switch button[aria-pressed="true"]{background:#83e7d8;color:#06171c}
.language-switch button:focus-visible{outline:2px solid #83e7d8;outline-offset:2px}
@media(max-width:640px){.nav .language-switch{margin-left:auto;margin-right:8px}}
