/* Design tokens, reset and atmosphere */ :root {
  color-scheme: dark;
  --bg: #070b16;
  --paper: #eef3ff;
  --muted: #9aa9c4;
  --muted2: #70819f;
  --line: rgba(157,181,232,.16);
  --cyan: #75ecf0;
  --blue: #85a6ff;
  --violet: #ad91ff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-synthesis: none;
}
*,*::before,*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
  color: var(--paper);
  background: var(--bg);
}
button,a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
button:focus-visible,a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
::selection {
  color: #07101a;
  background: #9feaf2;
}
.ambient {
  position: fixed;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse 40% 38% at 89% 10%, rgba(36,72,179,.18), transparent 86%),                   radial-gradient(ellipse 48% 52% at 3% 94%, rgba(17,126,147,.15), transparent 80%), #070b16;
}
.ambient::before {
  content: "";
  position: absolute;
  inset: -30%;
  opacity:.7;
  background: radial-gradient(ellipse 28% 24% at 66% 43%, rgba(41,69,188,.25),transparent 85%),                   radial-gradient(ellipse 20% 22% at 22% 50%,rgba(33,120,156,.12),transparent 85%);
  animation: ambience 22s ease-in-out infinite alternate;
}
.ambient::after {
  content: "";
  position: absolute;
  inset:0;
  opacity: .17;
  background-image: linear-gradient(rgba(129,165,223,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(129,165,223,.18) 1px,transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom,transparent,black 22%,black 80%,transparent);
}
.ambient-glow {
  position:fixed;
  inset:0;
  z-index:-3;
  pointer-events:none;
  opacity: .53;
  background: radial-gradient(420px circle at var(--px,72%) var(--py,38%),rgba(83,125,235,.13),transparent 72%);
}
.noise {
  position: fixed;
  inset:0;
  z-index:8;
  pointer-events:none;
  opacity: .045;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.shell {
  width: min(1350px,calc(100% - 112px));
  margin-inline:auto;
}
.topbar {
  height:108px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  position:relative;
  z-index:6;
}
.identity {
  display:inline-flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:var(--paper);
}
.logo {
  position:relative;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  color:#f6faff;
  font-size:22px;
  font-weight:750;
  letter-spacing:-.07em;
  border:1px solid rgba(176,205,255,.32);
  background:linear-gradient(140deg,rgba(172,194,255,.2),rgba(78,110,189,.055));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 40px rgba(0,0,0,.22);
}
.logo::after {
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:16px;
  border:1px solid rgba(120,162,238,.1);
}
.brand-name {
  display:block;
  font-weight:820;
  letter-spacing:.24em;
  font-size:14px;
  line-height:1.25;
}
.brand-note {
  display:block;
  font-size:10px;
  letter-spacing:.20em;
  color:#7384a5;
  margin-top:5px;
  font-weight:650;
}
.top-actions {
  display:flex;
  align-items:center;
  gap:28px;
}
.top-status {
  display:flex;
  align-items:center;
  gap:8px;
  color:#95a7c7;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:10px;
  font-weight:750;
}
.signal {
  height:7px;
  width:7px;
  flex:none;
  border-radius:50%;
  background:var(--cyan);
  box-shadow:0 0 0 4px rgba(109,225,233,.1),0 0 18px rgba(109,225,233,.9);
  animation:beacon 2.8s ease-in-out infinite;
}
.languages {
  display:flex;
  gap:4px;
  padding:5px;
  border:1px solid rgba(166,194,242,.17);
  background:rgba(137,158,217,.07);
  border-radius:13px;
  backdrop-filter:blur(18px);
}
.lang {
  border:0;
  padding:10px 12px;
  color:#92a3c2;
  border-radius:9px;
  background:transparent;
  cursor:pointer;
  font-weight:790;
  font-size:12px;
  line-height:1;
  transition:background .2s,color .2s,box-shadow .2s;
}
.lang:hover {
  color:white;
  background:rgba(183,206,255,.1);
}
.lang[aria-pressed="true"] {
  background:rgba(145,173,244,.23);
  color:white;
  box-shadow:inset 0 0 0 1px rgba(191,213,255,.15),0 3px 12px rgba(0,0,0,.2);
}
