body { -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable="true"] { -webkit-user-select: text; user-select: text; }

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin-wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
/* Public release explorer */
.release-launcher {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  overflow: hidden;
  border: 1px solid rgba(83, 218, 162, .25);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(83, 218, 162, .1), rgba(88, 199, 239, .035)), rgba(4, 15, 12, .82);
  color: var(--text);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 12px 30px -24px rgba(83, 218, 162, .8);
  transition: transform .24s var(--ease), border-color .24s ease, background .24s ease, box-shadow .24s ease;
}
.release-launcher::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgba(121, 239, 188, .1) 48%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .5s ease;
}
.release-launcher:hover {
  transform: translateY(-2px);
  border-color: rgba(121, 239, 188, .55);
  background: linear-gradient(135deg, rgba(83, 218, 162, .15), rgba(88, 199, 239, .055)), rgba(4, 15, 12, .9);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 16px 34px -24px rgba(83, 218, 162, .9);
}
.release-launcher:hover::after { transform: translateX(120%); }
.release-launcher-signal {
  position: relative;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 5px rgba(83, 218, 162, .08), 0 0 16px rgba(83, 218, 162, .75);
}
.release-launcher-signal::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(121, 239, 188, .35);
  border-radius: inherit;
  animation: release-ping 2.2s ease-out infinite;
}
@keyframes release-ping {
  0%, 35% { opacity: 0; transform: scale(.65); }
  55% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.45); }
}
.release-launcher-copy { min-width: 0; display: grid; gap: 0; text-align: left; line-height: 1.05; }
.release-launcher-copy small {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .12em;
  white-space: nowrap;
}
.release-launcher-copy strong {
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.release-launcher-arrow { color: var(--cyan); font-size: 13px; transition: transform .24s ease; }
.release-launcher:hover .release-launcher-arrow { transform: translate(2px, -2px); }

.release-explorer {
  width: min(1000px, calc(100% - 34px));
  max-width: none;
  height: min(760px, calc(100vh - 42px));
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(83, 218, 162, .28);
  border-radius: 28px;
  background: #071410;
  color: var(--text);
  box-shadow: 0 60px 160px -35px rgba(0, 0, 0, .96), 0 0 90px -60px rgba(83, 218, 162, .8);
}
.release-explorer::backdrop {
  background: rgba(1, 7, 5, .84);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.release-explorer-surface { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.release-explorer-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 28px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(480px circle at 6% -20%, rgba(83, 218, 162, .14), transparent 65%),
    linear-gradient(110deg, rgba(14, 37, 30, .98), rgba(7, 20, 16, .98));
}
.release-explorer-header::after {
  content: "";
  position: absolute;
  right: 95px;
  bottom: -1px;
  width: 150px;
  height: 34px;
  opacity: .3;
  background: linear-gradient(155deg, transparent 0 46%, var(--cyan) 47% 48%, transparent 49% 61%, var(--accent) 62% 63%, transparent 64%);
}
.release-explorer-identity { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 15px; }
.release-explorer-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent-bright), var(--accent));
  color: #03130d;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 12px 36px -18px rgba(83, 218, 162, .9);
}
.release-explorer-eyebrow { margin: 0 0 4px; color: var(--accent); font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; }
.release-explorer-title { margin: 0; font-family: var(--font-display); font-size: clamp(25px, 3vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.release-explorer-description { max-width: 640px; margin: 7px 0 0; color: var(--text-dim); font-size: 12px; line-height: 1.5; }
.release-explorer-close {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(3, 13, 10, .74);
  color: var(--text-dim);
  font-size: 23px;
  line-height: 1;
  transition: color .2s ease, border-color .2s ease, transform .2s ease, background .2s ease;
}
.release-explorer-close:hover { transform: rotate(7deg); border-color: var(--accent); background: rgba(83, 218, 162, .08); color: var(--accent-bright); }
.release-explorer-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; }
.release-explorer-language { min-width: 44px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(3,13,10,.74); color: var(--accent-bright); font-family: var(--font-mono); font-size: 10px; font-weight: 600; }
.release-explorer-language:hover { border-color: var(--accent); background: rgba(83,218,162,.08); }
.release-explorer-body { min-height: 0; display: grid; grid-template-columns: 310px minmax(0, 1fr); }
.release-explorer-rail {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-right: 1px solid var(--line);
  background: #06110f;
}
.release-rail-header { min-height: 51px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line-soft); }
.release-rail-label { color: var(--text-faint); font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.release-rail-pulse { width: 34px; height: 10px; background: linear-gradient(155deg, transparent 0 20%, var(--cyan) 21% 25%, transparent 26% 48%, var(--accent) 49% 53%, transparent 54%); opacity: .55; }
.release-index { overflow: auto; padding: 10px; scrollbar-color: rgba(83, 218, 162, .3) transparent; }
.release-index-item {
  position: relative;
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  padding: 12px 11px 12px 7px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--text-dim);
  text-align: left;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.release-index-item:hover { transform: translateX(2px); border-color: var(--line); background: rgba(83, 218, 162, .035); color: var(--text); }
.release-index-item.is-selected { border-color: rgba(83, 218, 162, .28); background: linear-gradient(105deg, rgba(83, 218, 162, .11), rgba(88, 199, 239, .025)); color: var(--text); }
.release-index-marker {
  position: relative;
  width: 7px;
  height: 7px;
  margin: 5px auto 0;
  border: 1px solid var(--text-faint);
  border-radius: 50%;
}
.release-index-marker::after { content: ""; position: absolute; top: 10px; bottom: -62px; left: 2px; width: 1px; background: var(--line); }
.release-index-item:last-child .release-index-marker::after { display: none; }
.release-index-item.is-current .release-index-marker { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px rgba(83, 218, 162, .09); }
.release-index-copy { min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 9px; }
.release-index-copy strong { color: var(--accent-bright); font-family: var(--font-mono); font-size: 10px; }
.release-index-copy small { color: var(--text-faint); font-size: 9px; white-space: nowrap; }
.release-index-copy > span { grid-column: 1 / -1; overflow: hidden; color: inherit; font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.release-rail-footer { padding: 10px 14px 14px; border-top: 1px solid var(--line-soft); }
.release-family-note { margin: 0; color: var(--text-faint); font-size: 9px; line-height: 1.45; }
.release-load-more {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(83, 218, 162, .24);
  border-radius: 999px;
  background: rgba(83, 218, 162, .055);
  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.release-load-more:hover { transform: translateY(-1px); border-color: var(--accent); background: rgba(83, 218, 162, .1); }
.release-detail {
  min-width: 0;
  overflow: auto;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    radial-gradient(480px circle at 100% 0, rgba(88, 199, 239, .07), transparent 64%),
    #081713;
  background-size: 48px 48px, 48px 48px, auto, auto;
  scrollbar-color: rgba(83, 218, 162, .3) transparent;
}
.release-detail-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.release-detail-statuses { display: flex; flex-wrap: wrap; gap: 6px; }
.release-detail-statuses span, .release-change-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .06em;
}
.release-detail-statuses .is-current { border-color: rgba(83, 218, 162, .38); background: rgba(83, 218, 162, .08); color: var(--accent-bright); }
.release-detail-date { color: var(--text-faint); font-family: var(--font-mono); font-size: 9px; }
.release-detail-version { margin: 36px 0 8px; color: var(--cyan); font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; }
.release-detail-title { max-width: 630px; margin: 0; font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.release-detail-summary { max-width: 680px; margin: 18px 0 0; color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.release-detail-changes-label { margin: 34px 0 12px; color: var(--text-faint); font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.release-detail-changes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.release-detail-change { display: grid; grid-template-columns: 94px minmax(0, 1fr); align-items: start; gap: 13px; padding: 13px 14px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(4, 15, 12, .68); }
.release-change-badge { width: fit-content; color: var(--cyan); }
.release-change-badge.is-fix { border-color: rgba(242, 119, 109, .28); color: var(--danger); }
.release-change-badge.is-improvement { border-color: rgba(83, 218, 162, .28); color: var(--accent); }
.release-change-copy { color: var(--text-dim); font-size: 12px; line-height: 1.55; }
.release-loading, .release-failure { min-height: 260px; display: grid; place-items: center; color: var(--text-dim); font-size: 13px; text-align: center; }
.release-loading::before { content: ""; width: 30px; height: 30px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: release-spin .8s linear infinite; }
@keyframes release-spin { to { transform: rotate(360deg); } }
.release-failure { align-content: center; gap: 14px; }
.release-failure p { margin: 0; }
.release-failure .release-load-more { width: auto; }
.release-history-toggle { width: auto; margin-top: 24px; padding: 0 18px; }
.release-family-history { margin-top: 22px; padding-top: 2px; }
.release-family-history-list { display: grid; gap: 7px; }
.release-history-item { width: 100%; display: grid; grid-template-columns: 145px 120px minmax(0,1fr); gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 11px; background: rgba(4,15,12,.68); color: var(--text-dim); text-align: left; }
.release-history-item:hover, .release-history-item.is-selected { border-color: rgba(83,218,162,.34); background: rgba(83,218,162,.07); color: var(--text); }
.release-history-item strong { color: var(--accent-bright); font-family: var(--font-mono); font-size: 9px; }
.release-history-item time { color: var(--text-faint); font-family: var(--font-mono); font-size: 8px; }
.release-history-item span { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 720px) {
  .release-launcher { min-height: 44px; padding: 5px 9px; border-radius: 12px; gap: 8px; }
  .release-launcher-copy small { display: none; }
  .release-launcher-copy strong { font-size: 9px; }
  .release-launcher-arrow { display: none; }
  .release-explorer { width: calc(100% - 14px); height: calc(100dvh - 14px); border-radius: 22px; }
  .release-explorer-header { padding: 19px 18px; }
  .release-explorer-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
  .release-explorer-title { font-size: 25px; }
  .release-explorer-description { max-width: 78vw; font-size: 11px; }
  .release-explorer-close { width: 40px; height: 40px; }
  .release-explorer-language { min-width: 40px; height: 38px; padding: 0 10px; }
  .release-explorer-header::after { display: none; }
  .release-explorer-body { display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
  .release-explorer-rail { display: block; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--line); }
  .release-rail-header { min-height: 38px; padding: 0 16px; }
  .release-index { display: flex; gap: 7px; overflow-x: auto; padding: 9px 10px 11px; scroll-snap-type: x proximity; }
  .release-index-item { width: 146px; min-width: 146px; min-height: 59px; display: block; padding: 9px 10px; scroll-snap-align: start; }
  .release-index-item:hover { transform: none; }
  .release-index-marker, .release-index-copy > span { display: none; }
  .release-index-copy { display: grid; grid-template-columns: 1fr; gap: 1px; }
  .release-index-copy small { font-size: 8px; }
  .release-rail-footer { padding: 0 10px 10px; border-top: 0; }
  .release-load-more { min-height: 38px; }
  .release-detail { padding: 25px 18px 40px; scroll-padding-top: 18px; }
  .release-detail-version { margin-top: 25px; }
  .release-detail-title { font-size: clamp(28px, 9vw, 38px); }
  .release-detail-summary { font-size: 13px; line-height: 1.62; }
  .release-detail-change { grid-template-columns: 1fr; gap: 7px; padding: 12px; }
  .release-history-item { grid-template-columns: 1fr auto; gap: 3px 10px; }
  .release-history-item span { grid-column: 1 / -1; }
}
@media (max-width: 390px) {
  .release-launcher { padding-right: 8px; padding-left: 8px; }
  .release-launcher-signal { width: 8px; height: 8px; }
  .release-explorer-identity { gap: 10px; }
  .release-explorer-description { display: none; }
  .release-detail-meta { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .release-launcher-signal::after, .release-loading::before { animation: none !important; }
  .release-launcher, .release-launcher-arrow, .release-explorer-close, .release-index-item, .release-load-more { transform: none !important; }
}


@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-latin-wdth-wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #06110f;
  --bg-alt: #081815;
  --panel: #0c1e19;
  --panel-strong: #10271f;
  --line: #1b352d;
  --line-soft: #122720;
  --text: #eef6f2;
  --text-dim: #a5bdb4;
  --text-faint: #6e8a80;
  --accent: #53daa2;
  --accent-bright: #79efbc;
  --cyan: #58c7ef;
  --violet: #9b8cff;
  --amber: #e9bb5c;
  --danger: #f2776d;
  --font-display: "Space Grotesk", "Aptos Display", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Aptos", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --radius-small: 10px;
  --radius-medium: 17px;
  --radius-large: 28px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

* { box-sizing: border-box; }
html { min-width: 0; background: var(--bg); }
body { min-width: 0; min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: rgba(83, 218, 162, .18); }
button { cursor: pointer; }
::selection { background: var(--accent); color: #03110c; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

.auth-grid { position: fixed; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 72% at 50% 30%, #000 22%, transparent 80%); opacity: .48; }
.auth-glow { position: fixed; width: 430px; height: 430px; border-radius: 50%; filter: blur(110px); pointer-events: none; opacity: .2; animation: auth-drift 16s ease-in-out infinite; }
.auth-glow-mint { top: -210px; left: -160px; background: var(--accent); }
.auth-glow-cyan { right: -180px; bottom: -230px; background: var(--cyan); animation-delay: -7s; }
@keyframes auth-drift { 50% { transform: translate3d(26px, -20px, 0) scale(1.06); } }

.auth-topbar { position: relative; z-index: 10; width: min(1180px, calc(100% - 48px)); min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; }
.auth-topbar-actions { display: flex; align-items: center; gap: 9px; }
.back-home { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-dim); font-size: 13px; font-weight: 700; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.back-home:hover { transform: translateX(-2px); border-color: rgba(83, 218, 162, .42); background: rgba(83, 218, 162, .05); color: var(--accent-bright); }
.language-toggle { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: rgba(6, 17, 15, .58); color: var(--text-dim); font-family: var(--font-mono); font-size: 12px; font-weight: 600; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.language-toggle:hover { transform: translateY(-2px); border-color: var(--accent); background: rgba(83, 218, 162, .07); color: var(--accent-bright); }

.auth-shell { position: relative; z-index: 2; width: min(1180px, calc(100% - 48px)); min-height: min(720px, calc(100vh - 116px)); display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr); margin: 0 auto 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-large); background: rgba(7, 20, 17, .94); box-shadow: 0 38px 110px -35px rgba(0, 0, 0, .9); }

.auth-intro { position: relative; overflow: hidden; display: flex; align-items: center; padding: clamp(46px, 6vw, 76px); border-right: 1px solid var(--line); background: radial-gradient(circle at 18% 4%, rgba(83, 218, 162, .12), transparent 34%), linear-gradient(145deg, rgba(16, 39, 31, .98), rgba(8, 24, 21, .94)); }
.auth-spotlight { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--auth-x, 32%) var(--auth-y, 28%), rgba(88, 199, 239, .1), transparent 72%); }
.auth-orbit { position: absolute; right: -150px; bottom: -170px; width: 420px; height: 420px; border: 1px solid rgba(83, 218, 162, .12); border-radius: 50%; }
.auth-orbit::before, .auth-orbit::after { content: ""; position: absolute; border: 1px solid rgba(88, 199, 239, .1); border-radius: 50%; }
.auth-orbit::before { inset: 54px; }
.auth-orbit::after { inset: 112px; border-color: rgba(155, 140, 255, .11); }
.auth-orbit i { position: absolute; z-index: 1; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 16px currentColor; animation: orbit-pulse 3.2s ease-in-out infinite; }
.auth-orbit i:nth-child(1) { top: 68px; left: 68px; color: var(--accent); background: currentColor; }
.auth-orbit i:nth-child(2) { top: 178px; left: 14px; color: var(--cyan); background: currentColor; animation-delay: -1.1s; }
.auth-orbit i:nth-child(3) { top: 116px; left: 142px; color: var(--violet); background: currentColor; animation-delay: -2.2s; }
@keyframes orbit-pulse { 50% { transform: scale(1.8); opacity: .42; } }

.auth-intro-content { position: relative; z-index: 2; max-width: 630px; }
.auth-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 52px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(145deg, var(--accent-bright), var(--accent)); color: #03130d; font-family: var(--font-display); font-size: 17px; font-weight: 700; box-shadow: 0 10px 34px rgba(83, 218, 162, .16); }
.brand-copy { display: grid; gap: 1px; line-height: 1.15; }
.brand-copy strong { font-family: var(--font-display); font-size: 16px; }
.brand-copy small { color: var(--text-faint); font-family: var(--font-mono); font-size: 10px; letter-spacing: .035em; }
.eyebrow, .auth-card-heading > p, .auth-heading-line > p { margin: 0; color: var(--accent); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .65; }
h1 { max-width: 650px; margin: 18px 0 22px; font-family: var(--font-display); font-size: clamp(42px, 4.4vw, 62px); font-weight: 600; letter-spacing: -.045em; line-height: 1.01; text-wrap: balance; }
.auth-description { max-width: 590px; margin: 0; color: var(--text-dim); font-size: 16px; line-height: 1.72; text-wrap: pretty; }

.auth-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 34px; }
.auth-benefit { position: relative; overflow: hidden; min-width: 0; padding: 15px 13px; border: 1px solid var(--line-soft); border-radius: var(--radius-small); background: rgba(6, 17, 15, .48); transition: transform .3s var(--ease), border-color .3s ease, background .3s ease; }
.auth-benefit::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(150px circle at var(--benefit-x, 50%) var(--benefit-y, 50%), rgba(88, 199, 239, .1), transparent 72%); opacity: 0; transition: opacity .25s ease; }
.auth-benefit:hover { transform: translateY(-3px); border-color: rgba(88, 199, 239, .32); background: rgba(8, 25, 22, .74); }
.auth-benefit:hover::before { opacity: 1; }
.auth-benefit > span { position: relative; color: var(--cyan); font-family: var(--font-mono); font-size: 10px; }
.auth-benefit:nth-child(2) > span { color: var(--violet); }
.auth-benefit:nth-child(3) > span { color: var(--accent); }
.auth-benefit p { position: relative; display: grid; gap: 5px; margin: 10px 0 0; color: var(--text-faint); font-size: 11px; line-height: 1.48; }
.auth-benefit strong { color: var(--text); font-size: 12px; line-height: 1.35; }
.risk-note { display: flex; align-items: flex-start; gap: 9px; margin: 28px 0 0; color: var(--text-faint); font-size: 11px; line-height: 1.55; }
.risk-note > span:first-child { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(233, 187, 92, .08); }

.auth-card { position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(42px, 5vw, 68px); background: linear-gradient(155deg, rgba(12, 30, 25, .98), rgba(7, 19, 16, .98)); }
.auth-card-glow { position: absolute; top: -160px; right: -150px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(155, 140, 255, .1), transparent 68%); pointer-events: none; }
.auth-card-content { position: relative; z-index: 1; width: min(100%, 430px); }
.auth-card-heading { margin-bottom: 25px; }
.auth-heading-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.secure-state { display: inline-flex; align-items: center; gap: 7px; color: var(--text-faint); font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; }
.secure-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(83, 218, 162, .08); animation: secure-pulse 2.2s ease-in-out infinite; }
@keyframes secure-pulse { 50% { opacity: .3; } }
.auth-card-heading h2 { margin: 9px 0 8px; font-family: var(--font-display); font-size: clamp(30px, 3vw, 38px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.auth-card-heading > span { display: block; max-width: 390px; color: var(--text-dim); font-size: 13px; line-height: 1.55; }

.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 24px; padding: 5px; border: 1px solid var(--line-soft); border-radius: 13px; background: var(--bg-alt); }
.auth-tab { min-height: 42px; border: 0; border-radius: 9px; background: transparent; color: var(--text-faint); font-size: 13px; font-weight: 700; transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.auth-tab:hover { color: var(--text); background: rgba(83, 218, 162, .05); }
.auth-tab:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.auth-tab.is-active { background: var(--accent); color: #03110c; box-shadow: 0 8px 24px -12px rgba(83, 218, 162, .8); }

.form-field + .form-field { margin-top: 15px; }
label { display: block; margin: 0 0 7px; color: #c9d7d2; font-size: 12px; font-weight: 700; }
input { width: 100%; min-height: 48px; border: 1px solid #29443b; border-radius: var(--radius-small); padding: 12px 14px; background: #071511; color: var(--text); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
input:hover { border-color: #385a4f; }
input:focus-visible { border-color: var(--accent); background: #091a15; box-shadow: 0 0 0 3px rgba(83, 218, 162, .1); }
.password-control { position: relative; }
.password-control input { padding-right: 50px; }
.password-toggle { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--text-faint); }
.password-toggle:hover { background: rgba(83, 218, 162, .06); color: var(--accent); }
.password-toggle > span { position: relative; width: 18px; height: 12px; border: 1.5px solid currentColor; border-radius: 50% / 65%; }
.password-toggle > span::before { content: ""; position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); }
.password-toggle[aria-pressed="true"] > span::after { content: ""; position: absolute; top: 5px; left: -2px; width: 22px; height: 1.5px; background: currentColor; transform: rotate(-35deg); }
.help, .edge-identity { margin: 7px 0 0; color: #8299a3; font-size: 11px; }

.terms-field { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin-top: 17px; color: #93a7a0; font-size: 11px; font-weight: 500; line-height: 1.5; }
.terms-field[hidden] { display: none; }
.terms-field input { width: 17px; min-height: 17px; height: 17px; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
.terms-field a { color: var(--accent); font-weight: 700; }
.terms-field a:hover { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }

.primary { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 19px; border: 0; border-radius: 999px; background: var(--accent); color: #03110c; font-family: var(--font-display); font-size: 14px; font-weight: 700; transition: background .2s ease, transform .25s var(--ease), box-shadow .25s ease; }
.primary::after { content: "→"; transition: transform .25s var(--ease); }
.primary:hover { transform: translateY(-2px); background: var(--accent-bright); box-shadow: 0 14px 34px -15px rgba(83, 218, 162, .8); }
.primary:hover::after { transform: translateX(4px); }
.primary:disabled { cursor: wait; opacity: .55; transform: none; box-shadow: none; }
.status { min-height: 2.5rem; margin: 10px 0 0; color: #ffb9a8; font-size: 12px; line-height: 1.45; }
.status:empty { min-height: 12px; margin-top: 0; }
.status.success { color: #82e8b6; }

.auth-boundaries { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.auth-boundaries span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-faint); font-family: var(--font-mono); font-size: 8px; letter-spacing: .05em; }
.auth-boundaries span:nth-child(2) { border-color: rgba(83, 218, 162, .22); color: var(--accent); }
.auth-boundaries span:nth-child(3) { border-color: rgba(242, 119, 109, .22); color: var(--danger); }
.auth-footnote { margin: 12px 0 0; color: var(--text-faint); font-size: 10px; line-height: 1.55; }

.auth-motion-ready .auth-intro-content > *, .auth-motion-ready .auth-card-content { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.auth-motion-ready.auth-is-ready .auth-intro-content > *, .auth-motion-ready.auth-is-ready .auth-card-content { opacity: 1; transform: translateY(0); }
.auth-motion-ready .auth-intro-content > :nth-child(2) { transition-delay: 50ms; }
.auth-motion-ready .auth-intro-content > :nth-child(3) { transition-delay: 100ms; }
.auth-motion-ready .auth-intro-content > :nth-child(4) { transition-delay: 150ms; }
.auth-motion-ready .auth-intro-content > :nth-child(5) { transition-delay: 200ms; }
.auth-motion-ready .auth-intro-content > :nth-child(6) { transition-delay: 250ms; }
.auth-motion-ready .auth-card-content { transition-delay: 130ms; }

@media (max-width: 980px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-intro { min-height: 600px; border-right: 0; border-bottom: 1px solid var(--line); }
  .auth-card { padding-top: 58px; padding-bottom: 58px; }
}

@media (max-width: 680px) {
  .auth-topbar { width: min(100% - 28px, 1180px); min-height: 72px; }
  .auth-shell { width: min(100% - 24px, 620px); min-height: 0; margin-bottom: 20px; border-radius: 21px; }
  .auth-intro { min-height: 0; padding: 34px 24px 38px; }
  .auth-orbit { right: -245px; bottom: -260px; }
  .auth-brand { margin-bottom: 42px; }
  h1 { font-size: clamp(38px, 11.5vw, 50px); }
  .auth-description { font-size: 15px; }
  .auth-benefits { grid-template-columns: 1fr; }
  .auth-benefit { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 13px; }
  .auth-benefit p { margin: 0; }
  .auth-card { padding: 40px 24px; }
}

@media (max-width: 420px) {
  .back-home { padding: 0 12px; }
  .brand-copy small { display: none; }
  .auth-heading-line { align-items: flex-start; }
  .secure-state > span { display: none; }
  .auth-card { padding-right: 18px; padding-left: 18px; }
  .auth-tabs { gap: 3px; }
  .auth-tab { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .auth-motion-ready .auth-intro-content > *, .auth-motion-ready .auth-card-content { opacity: 1; transform: none; }
}
.pending-access-panel{display:grid;gap:12px;margin-top:14px;padding:16px;border:1px solid rgba(83,218,162,.28);border-radius:16px;background:rgba(8,32,24,.8);user-select:none;-webkit-user-select:none}.pending-access-panel[hidden]{display:none}.pending-access-panel header{display:flex;align-items:center;gap:10px}.pending-access-panel header>i{width:10px;height:10px;border-radius:50%;background:#e9bb5c;box-shadow:0 0 18px rgba(233,187,92,.8)}.pending-access-panel header div{display:grid;gap:3px}.pending-access-panel small,.pending-access-panel>strong{color:#58c7ef;font:600 9px var(--font-mono);letter-spacing:.1em}.pending-access-panel header strong{color:#eef6f2;font-size:14px}.pending-access-panel p{margin:0;color:#9bb3aa;font-size:12px;line-height:1.55}.pending-access-scenario{position:relative;display:flex;align-items:center;justify-content:space-between;gap:7px;padding:12px;border:1px solid rgba(88,199,239,.18);border-radius:12px;background:#06110f;overflow:hidden}.pending-access-scenario span{padding:5px 7px;border:1px solid rgba(83,218,162,.24);border-radius:999px;color:#53daa2;font:8px var(--font-mono)}.pending-access-scenario i{height:1px;flex:1;background:linear-gradient(90deg,#53daa2,#58c7ef)}.pending-access-scenario b{position:absolute;left:12%;bottom:4px;color:#fff;animation:pending-cursor 4s ease-in-out infinite}@keyframes pending-cursor{0%,15%{transform:translateX(0);opacity:0}30%,80%{opacity:1}100%{transform:translateX(250px);opacity:0}}@media(prefers-reduced-motion:reduce){.pending-access-scenario b{animation:none}}
