:root {
  --bg: #02070d;
  --bg-2: #040b14;
  --surface: #07101b;
  --surface-2: #0a1624;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.055);
  --text: #f4f9ff;
  --muted: #9baabd;
  --muted-2: #607086;
  --accent: #147dff;
  --accent-2: #39a8ff;
  --accent-bright: #b8dcff;
  --green: #72e5ad;
  --red: #ff7a89;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

::selection {
  background: rgba(20, 125, 255, 0.58);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

.section-shell,
.nav-shell {
  width: min(1240px, calc(100% - 56px));
  margin-inline: auto;
}

.home-page {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(10, 31, 54, 0.34), transparent 38%),
    var(--bg);
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  padding: 22px 0;
}

.nav-shell {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 8px 10px 8px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(3, 10, 18, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(87, 173, 255, 0.42);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(45, 151, 255, 0.26), rgba(20, 125, 255, 0.08)),
    #06101c;
  box-shadow: inset 0 0 20px rgba(46, 157, 255, 0.10), 0 0 28px rgba(20, 125, 255, 0.12);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  content: "";
  position: absolute;
  display: block;
  background: linear-gradient(135deg, #edf8ff, #1685ff);
}

.brand-mark::before {
  width: 7px;
  height: 20px;
  left: 9px;
  top: 7px;
  border-radius: 2px;
  transform: skewX(-9deg);
}

.brand-mark::after {
  width: 14px;
  height: 6px;
  left: 12px;
  top: 7px;
  border-radius: 1px 3px 3px 1px;
}

.brand-mark i {
  width: 11px;
  height: 5px;
  left: 12px;
  top: 15px;
  border-radius: 1px 3px 3px 1px;
}

.brand-name {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.primary-nav a,
.nav-login {
  position: relative;
  color: #9aa9bb;
  font-size: 13px;
  font-weight: 520;
  transition: color 180ms ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -8px;
  height: 1px;
  background: var(--accent-bright);
  transition: left 180ms ease, right 180ms ease;
}

.primary-nav a:hover,
.nav-login:hover {
  color: #fff;
}

.primary-nav a:hover::after {
  left: 0;
  right: 0;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  color: #f6fbff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding-inline: 17px;
  border-color: rgba(63, 156, 255, 0.32);
  background: rgba(20, 125, 255, 0.09);
}

.button-primary {
  border-color: rgba(94, 184, 255, 0.48);
  background: linear-gradient(135deg, #0877f9, #22a2ff);
  box-shadow: 0 14px 45px rgba(0, 112, 255, 0.24), inset 0 1px rgba(255, 255, 255, 0.28);
}

.button-primary:hover {
  border-color: rgba(184, 224, 255, 0.78);
  background: linear-gradient(135deg, #1689ff, #45b5ff);
  box-shadow: 0 18px 58px rgba(0, 132, 255, 0.32), inset 0 1px rgba(255, 255, 255, 0.34);
}

.button-ghost:hover,
.button-small:hover {
  border-color: rgba(94, 184, 255, 0.46);
  background: rgba(20, 125, 255, 0.10);
}

.button-full {
  width: 100%;
}

.button:disabled {
  opacity: 0.48;
  cursor: wait;
  transform: none;
}

.hero {
  position: relative;
  min-height: max(780px, 100svh);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  isolation: isolate;
  background:
    radial-gradient(ellipse 58% 32% at 50% 49%, rgba(16, 113, 224, 0.09), transparent 72%),
    linear-gradient(180deg, #02070d 0%, #030a13 48%, #02070d 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: radial-gradient(ellipse 45% 22% at 50% 47%, rgba(75, 178, 255, 0.11), transparent 75%);
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 72%, var(--bg) 100%),
    radial-gradient(ellipse 92% 78% at 50% 48%, transparent 48%, rgba(1, 6, 12, 0.36) 100%);
}

.hero-light {
  position: absolute;
  z-index: -2;
  top: 49%;
  left: 50%;
  width: min(1040px, 88vw);
  height: 390px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(72, 180, 255, 0.25) 0%, rgba(20, 125, 255, 0.12) 38%, rgba(7, 73, 151, 0.035) 58%, transparent 76%);
  filter: blur(30px);
  animation: focus-glow 8s ease-in-out infinite;
}

.focus-field {
  display: none;
}

.focus-field::before {
  content: "";
  position: absolute;
  inset: 2% 7%;
  border: 1px solid rgba(105, 198, 255, 0.11);
  border-radius: 46% 54% 43% 57% / 57% 42% 58% 43%;
  background:
    radial-gradient(circle at 30% 25%, rgba(159, 225, 255, 0.12), transparent 23%),
    radial-gradient(circle at 67% 66%, rgba(6, 109, 240, 0.17), transparent 34%),
    linear-gradient(138deg, rgba(8, 52, 101, 0.10), rgba(30, 147, 255, 0.105) 48%, rgba(2, 28, 58, 0.06));
  box-shadow: inset 0 0 90px rgba(62, 177, 255, 0.06), 0 0 120px rgba(0, 105, 229, 0.11);
  animation: nebula-shape 15s ease-in-out infinite;
}

.focus-field::after {
  content: "";
  position: absolute;
  inset: 17% 15%;
  border-radius: 57% 43% 56% 44% / 42% 57% 43% 58%;
  background:
    radial-gradient(circle at 38% 35%, rgba(97, 197, 255, 0.22), transparent 24%),
    radial-gradient(circle at 63% 61%, rgba(0, 93, 225, 0.22), transparent 32%),
    conic-gradient(from 45deg, rgba(2, 50, 120, 0.02), rgba(52, 165, 255, 0.15), rgba(1, 75, 180, 0.05), rgba(96, 202, 255, 0.13), rgba(2, 50, 120, 0.02));
  filter: blur(24px);
  animation: nebula-core 13s ease-in-out infinite;
}

.focus-field > span {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 42px));
  padding-top: 54px;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 0 0 34px;
  color: #b8c8da;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 16px var(--accent);
}

.hero h1 {
  margin: 0;
  line-height: 0.82;
}

.hero-word {
  position: relative;
  display: inline-block;
  color: transparent;
  font-family: "Arial Black", "Segoe UI Black", Impact, var(--sans);
  font-size: clamp(86px, 17.4vw, 248px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.058em;
  text-indent: -0.058em;
  background: linear-gradient(180deg, #ffffff 5%, #cce9ff 48%, #4c8fca 108%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(213, 238, 255, 0.14);
  filter: drop-shadow(0 20px 72px rgba(0, 118, 255, 0.34));
}

.hero-word::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: rgba(39, 149, 255, 0.42);
  filter: blur(34px);
  opacity: 0.66;
}

.hero-copy {
  max-width: 650px;
  margin: 48px auto 0;
  color: #a2b2c5;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.hero-meta {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 28px;
  width: min(1240px, calc(100% - 56px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transform: translateX(-50%);
  border-top: 1px solid var(--line-soft);
  color: #6f8195;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.hero-meta span {
  padding: 18px 0 0;
}

.hero-meta span:nth-child(2) {
  text-align: center;
}

.hero-meta span:last-child {
  text-align: right;
}

.hero-meta b {
  margin-right: 8px;
  color: #a9bed3;
  font-weight: 500;
}

.statement {
  padding-block: 150px 155px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7f91a6;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #b8c9da;
  letter-spacing: 0;
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 80px;
  align-items: end;
  margin-top: 54px;
}

.statement h2,
.section-heading h2,
.closing-content h2,
.auth-heading h1 {
  margin: 0;
  font-size: clamp(46px, 6.2vw, 92px);
  font-weight: 590;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.statement h2 em,
.section-heading h2 em {
  color: var(--muted-2);
  font-style: normal;
  font-weight: 480;
}

.statement-copy {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.statement-copy p {
  margin: 0;
  color: #9aabba;
  font-size: 16px;
  line-height: 1.75;
}

.statement-copy p + p {
  margin-top: 18px;
  color: #65768a;
}

.capabilities {
  padding-bottom: 140px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  margin-bottom: 44px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
}

.section-heading h2 {
  font-size: clamp(42px, 5.7vw, 78px);
}

.section-heading > p {
  max-width: 340px;
  margin: 0 0 4px;
  color: #77899d;
  line-height: 1.65;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.capability-card {
  position: relative;
  min-height: 270px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 25px;
  overflow: hidden;
  padding: 27px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(20, 125, 255, 0.10), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.006)),
    var(--surface);
  transition: transform 250ms ease, border-color 250ms ease, background 250ms ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 169, 255, 0.28);
  background:
    radial-gradient(circle at 100% 0, rgba(20, 125, 255, 0.17), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.009)),
    var(--surface);
}

.capability-card-wide {
  min-height: 270px;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card-top > span {
  color: #62758a;
  font-family: var(--mono);
  font-size: 10px;
}

.card-glyph {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(91, 179, 255, 0.23);
  border-radius: 13px;
  background: rgba(20, 125, 255, 0.07);
}

.glyph-vision::before,
.glyph-aim::before,
.glyph-player::before,
.glyph-profile::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid #71baff;
}

.glyph-vision::before {
  inset: 15px 10px;
  border-radius: 100% 0;
  transform: rotate(45deg);
}

.glyph-vision::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: #8dceff;
  box-shadow: 0 0 12px #168cff;
}

.glyph-aim::before {
  border-radius: 50%;
}

.glyph-aim::after {
  content: "";
  position: absolute;
  inset: 23px 8px;
  background: #7fc5ff;
  box-shadow: 16px 0 #7fc5ff;
}

.glyph-player::before {
  inset: 11px 17px 23px;
  border-radius: 50%;
  background: #4fa5ee;
}

.glyph-player::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 11px;
  left: 13px;
  bottom: 10px;
  border: 1px solid #71baff;
  border-radius: 12px 12px 5px 5px;
}

.glyph-profile::before {
  inset: 12px 10px;
  border-radius: 4px;
  box-shadow: inset 0 6px rgba(55, 158, 255, 0.15);
}

.capability-card h3 {
  margin: 0;
  font-size: clamp(31px, 3.2vw, 44px);
  font-weight: 540;
  letter-spacing: -0.045em;
}

.capability-card p {
  max-width: 520px;
  margin: 11px 0 0;
  color: #8193a7;
  font-size: 14px;
  line-height: 1.6;
}

.capability-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-card li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #7b8da1;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-signal,
.card-meter {
  display: none;
}

.card-signal {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 122px;
  height: 122px;
  border: 1px solid rgba(67, 164, 255, 0.16);
  border-radius: 50%;
}

.card-signal span {
  position: absolute;
  border: 1px solid rgba(67, 164, 255, 0.17);
  border-radius: 50%;
}

.card-signal span:nth-child(1) { inset: 16px; }
.card-signal span:nth-child(2) { inset: 34px; }
.card-signal span:nth-child(3) { inset: 51px; background: #83cbff; box-shadow: 0 0 20px #087dff; }
.card-signal i { position: absolute; inset: 60px -14px; height: 1px; background: linear-gradient(90deg, transparent, #3f9ee8, transparent); }

.card-meter {
  position: relative;
  height: 4px;
  margin-top: 48px;
  overflow: visible;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.card-meter::before {
  content: "SPEED / 78";
  position: absolute;
  left: 0;
  bottom: 13px;
  color: #64768a;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.10em;
}

.card-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0878ff, #43b5ff);
  box-shadow: 0 0 18px rgba(20, 125, 255, 0.52);
}

.access-section {
  position: relative;
  overflow: hidden;
  padding: 150px 0;
  border-block: 1px solid var(--line-soft);
  background: #030a12;
}

.access-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}

.access-glow {
  position: absolute;
  top: -420px;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(10, 112, 224, 0.24);
  filter: blur(130px);
  pointer-events: none;
}

.access-section .section-shell {
  position: relative;
  z-index: 1;
}

.section-heading-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-heading-centered .section-kicker {
  margin-bottom: 24px;
}

.access-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 82px 0 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.access-steps li {
  min-height: 245px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.access-steps li:last-child {
  border-right: 0;
}

.access-steps > li > span {
  color: #6d7f93;
  font-family: var(--mono);
  font-size: 10px;
}

.access-steps strong {
  display: block;
  margin-top: 82px;
  font-size: 20px;
  font-weight: 560;
}

.access-steps p {
  max-width: 310px;
  margin: 13px 0 0;
  color: #73859a;
  font-size: 14px;
  line-height: 1.65;
}

.access-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-top: 96px;
  padding: 42px;
  border: 1px solid rgba(76, 169, 255, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 50%, rgba(20, 125, 255, 0.17), transparent 40%),
    rgba(5, 15, 26, 0.88);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.25);
}

.access-cta > div > span,
.closing-content > span,
.auth-card-head span,
.dashboard-download > div > span,
.dashboard-identity > span,
.not-found-card > span {
  color: #7f91a6;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.access-cta h3 {
  margin: 10px 0 0;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 560;
  letter-spacing: -0.035em;
}

.access-cta p {
  margin: 13px 0 0;
  color: #718499;
  font-size: 14px;
}

.access-cta .button {
  flex: 0 0 auto;
}

.faq-section {
  padding-block: 150px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 94px;
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  align-items: center;
  gap: 20px;
  padding: 0 12px;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span {
  color: #62758a;
  font-family: var(--mono);
  font-size: 10px;
}

.faq-list summary strong {
  font-size: 18px;
  font-weight: 520;
}

.faq-list summary i {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 8px;
  width: 10px;
  height: 1px;
  background: #9db4ca;
  transition: transform 180ms ease;
}

.faq-list summary i::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary i::after {
  transform: rotate(0);
}

.faq-list details[open] summary strong {
  color: var(--accent-bright);
}

.faq-list details > p {
  max-width: 800px;
  margin: -10px 0 0 74px;
  padding: 0 0 34px;
  color: #7f91a5;
  font-size: 15px;
  line-height: 1.7;
}

.closing-section {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background: #030912;
}

.closing-section::before {
  content: "";
  position: absolute;
  top: -390px;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(9, 107, 218, 0.27);
  filter: blur(115px);
}

.closing-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.036) 1px, transparent 1px);
  background-size: 82px 82px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}

.closing-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.closing-content h2 {
  margin-top: 26px;
  color: transparent;
  font-size: clamp(104px, 18vw, 250px);
  letter-spacing: -0.09em;
  text-indent: -0.09em;
  background: linear-gradient(180deg, #fff, #6faee2);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 24px 64px rgba(0, 103, 220, 0.24));
}

.closing-content p {
  margin: 32px 0 0;
  color: #899caf;
  font-size: 17px;
}

.closing-content > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.text-link {
  color: #afc4d8;
  font-size: 13px;
  transition: color 180ms ease;
}

.text-link:hover {
  color: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #02070d;
}

.footer-inner {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-inner nav {
  display: flex;
  gap: 26px;
}

.footer-inner nav a,
.footer-inner > span {
  color: #65768a;
  font-size: 11px;
}

.footer-inner nav a:hover {
  color: #fff;
}

.footer-inner > span {
  justify-self: end;
  font-family: var(--mono);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.2, 0.75, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Auth and dashboard */
.portal-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #030912;
  isolation: isolate;
}

.portal-grid {
  position: fixed;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.034) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: radial-gradient(ellipse 90% 82% at 50% 44%, #000, transparent 74%);
  mask-image: radial-gradient(ellipse 90% 82% at 50% 44%, #000, transparent 74%);
}

.portal-glow {
  position: fixed;
  z-index: -2;
  top: -510px;
  left: 50%;
  width: 950px;
  height: 800px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(10, 109, 222, 0.24);
  filter: blur(135px);
}

.portal-nav {
  position: relative;
  z-index: 5;
  min-height: 88px;
  width: min(1240px, calc(100% - 56px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  border-bottom: 1px solid var(--line-soft);
}

.portal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7b8da1;
  font-size: 12px;
  transition: color 180ms ease;
}

.portal-back:hover {
  color: #fff;
}

.auth-shell {
  width: min(1120px, calc(100% - 44px));
  min-height: calc(100svh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 0.72fr);
  align-items: center;
  gap: clamp(60px, 9vw, 150px);
  margin-inline: auto;
  padding: 80px 0 100px;
}

.auth-heading h1 {
  margin-top: 20px;
  font-size: clamp(54px, 7vw, 94px);
}

.auth-heading > p:last-child {
  max-width: 470px;
  margin: 28px 0 0;
  color: #8092a6;
  font-size: 16px;
  line-height: 1.7;
}

.auth-heading .eyebrow {
  justify-content: flex-start;
  margin-bottom: 0;
}

.auth-card,
.dashboard-surface,
.not-found-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(20, 125, 255, 0.11), transparent 32%),
    rgba(5, 14, 24, 0.94);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.40), inset 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px);
}

.auth-card {
  padding: 10px 30px 30px;
}

.auth-card-head {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.auth-card-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(114, 229, 173, 0.70);
}

.js-auth-form {
  padding-top: 27px;
}

.form-field {
  display: block;
  margin-bottom: 18px;
}

.form-field > span {
  display: block;
  margin: 0 0 9px 2px;
  color: #9aacc0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.form-field input {
  width: 100%;
  height: 53px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.025);
  color: #f2f8ff;
  font-size: 14px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.form-field input::placeholder {
  color: #526275;
}

.form-field input:focus {
  border-color: rgba(74, 171, 255, 0.56);
  background: rgba(20, 125, 255, 0.055);
  box-shadow: 0 0 0 3px rgba(20, 125, 255, 0.10);
}

.form-field input[aria-invalid="true"] {
  border-color: rgba(255, 122, 137, 0.58);
}

.mono-input {
  font-family: var(--mono);
  font-size: 12px !important;
  letter-spacing: 0.02em;
}

.form-field small {
  min-height: 16px;
  display: block;
  margin: 7px 0 0 2px;
  color: #5d6e82;
  font-size: 10px;
}

.form-field small.field-error {
  color: var(--red);
}

.password-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.show-password {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 22px;
  color: #73859a;
  font-size: 11px;
  cursor: pointer;
}

.show-password input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--accent);
}

.form-message {
  padding: 12px 14px;
  margin: 0 0 16px;
  border: 1px solid rgba(255, 122, 137, 0.30);
  border-radius: 10px;
  background: rgba(255, 94, 114, 0.06);
  color: #ff9eaa;
  font-size: 12px;
  line-height: 1.5;
}

.form-switch {
  margin: 20px 0 0;
  color: #65768a;
  font-size: 11px;
  text-align: center;
}

.form-switch a {
  color: #a9d3f7;
}

.dashboard-loading {
  min-height: calc(100svh - 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #7b8da1;
  font-size: 13px;
}

.dashboard-loading a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dashboard-loader {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top-color: var(--accent-bright);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.dashboard-error-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 122, 137, 0.45);
  border-radius: 50%;
}

.dashboard-error-mark::before,
.dashboard-error-mark::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 9px;
  width: 18px;
  height: 1px;
  background: var(--red);
  transform: rotate(45deg);
}

.dashboard-error-mark::after {
  transform: rotate(-45deg);
}

.dashboard-shell {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
  padding: 78px 0 110px;
}

.dashboard-surface {
  overflow: hidden;
}

.dashboard-profile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 30px;
  border-bottom: 1px solid var(--line);
}

.dashboard-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78, 172, 255, 0.38);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(36, 145, 255, 0.28), rgba(20, 125, 255, 0.08));
  color: #d9efff;
  font-size: 24px;
  font-weight: 650;
  box-shadow: inset 0 0 24px rgba(20, 125, 255, 0.10);
}

.dashboard-identity h1 {
  margin: 6px 0 0;
  font-size: 25px;
  font-weight: 580;
  letter-spacing: -0.025em;
}

.dashboard-identity p {
  margin: 7px 0 0;
  color: #6b7d91;
  font-size: 12px;
}

.dashboard-active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(114, 229, 173, 0.19);
  border-radius: 999px;
  background: rgba(114, 229, 173, 0.045);
  color: #94eec0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.10em;
}

.dashboard-active i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(114, 229, 173, 0.72);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.dashboard-stats article {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 30px;
  border-right: 1px solid var(--line);
}

.dashboard-stats article:last-child {
  border-right: 0;
}

.dashboard-stats small {
  color: #607287;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.dashboard-stats strong {
  margin-top: 15px;
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 560;
}

.dashboard-stats strong.green {
  color: var(--green);
}

.dashboard-stats span {
  margin-top: 6px;
  color: #5e7084;
  font-size: 10px;
}

.dashboard-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 16px;
  padding: 38px;
  border: 1px solid rgba(67, 164, 255, 0.21);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 50%, rgba(20, 125, 255, 0.15), transparent 43%),
    rgba(255, 255, 255, 0.018);
}

.dashboard-download h2 {
  margin: 10px 0 0;
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 560;
  letter-spacing: -0.04em;
}

.dashboard-download p {
  max-width: 590px;
  margin: 13px 0 0;
  color: #728499;
  font-size: 13px;
  line-height: 1.6;
}

.download-hash {
  display: block;
  max-width: 610px;
  margin-top: 22px;
  overflow-wrap: anywhere;
  color: #5b6d81;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
}

.dashboard-download-button {
  flex: 0 0 auto;
}

.dashboard-logout-error {
  margin: 0 16px 16px;
}

.dashboard-footer {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 30px;
  border-top: 1px solid var(--line);
  color: #5e7084;
  font-size: 10px;
}

.dashboard-footer button {
  padding: 0;
  border: 0;
  background: none;
  color: #8ca0b5;
  font-size: 11px;
  cursor: pointer;
}

.dashboard-footer button:hover {
  color: #fff;
}

.dashboard-footer button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.not-found-page {
  display: grid;
  place-items: center;
  padding: 30px;
}

.not-found-card {
  width: min(620px, 100%);
  padding: 54px;
  text-align: center;
}

.not-found-card h1 {
  margin: 20px 0 0;
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: -0.055em;
}

.not-found-card p {
  margin: 18px 0 32px;
  color: #75879b;
}

@keyframes focus-glow {
  0%, 100% { opacity: 0.72; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes nebula-shape {
  0%, 100% { opacity: 0.64; transform: scale(0.97) rotate(-2deg); border-radius: 46% 54% 43% 57% / 57% 42% 58% 43%; }
  50% { opacity: 0.92; transform: scale(1.035) rotate(2deg); border-radius: 55% 45% 58% 42% / 44% 59% 41% 56%; }
}

@keyframes nebula-core {
  0%, 100% { opacity: 0.58; transform: translate3d(-8px, 5px, 0) scale(0.95) rotate(3deg); }
  50% { opacity: 0.90; transform: translate3d(10px, -8px, 0) scale(1.06) rotate(-3deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 940px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .statement-copy {
    max-width: 620px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 60px;
  }

  .auth-heading {
    text-align: center;
  }

  .auth-heading .eyebrow {
    justify-content: center;
  }

  .auth-heading > p:last-child {
    margin-inline: auto;
  }

  .auth-card {
    width: min(590px, 100%);
    margin-inline: auto;
  }

  .dashboard-download {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .section-shell,
  .nav-shell,
  .portal-nav {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    padding-top: 12px;
  }

  .nav-shell {
    min-height: 56px;
    padding-left: 10px;
    border-radius: 15px;
  }

  .brand-name,
  .nav-login {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .nav-actions {
    gap: 8px;
  }

  .button-small {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 11px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-top: 0;
  }

  .hero-word {
    font-size: clamp(75px, 27vw, 150px);
  }

  .hero-copy {
    margin-top: 36px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(360px, 100%);
    margin-inline: auto;
  }

  .hero-meta {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .hero-meta span {
    display: none;
  }

  .hero-meta span:first-child {
    display: block;
    text-align: center;
  }

  .statement,
  .faq-section {
    padding-block: 100px;
  }

  .capabilities {
    padding-bottom: 100px;
  }

  .statement-grid {
    margin-top: 40px;
  }

  .statement h2,
  .section-heading h2 {
    font-size: clamp(39px, 12vw, 62px);
  }

  .statement-copy {
    padding-left: 19px;
  }

  .section-heading {
    display: block;
    margin-bottom: 42px;
  }

  .section-heading .section-kicker {
    margin-bottom: 34px;
  }

  .section-heading > p {
    margin-top: 22px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .capability-card-wide {
    min-height: 250px;
    padding: 24px;
    border-radius: 20px;
  }

  .access-section {
    padding-block: 100px;
  }

  .access-steps {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .access-steps li {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .access-steps li:last-child {
    border-bottom: 0;
  }

  .access-steps strong {
    margin-top: 48px;
  }

  .access-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 62px;
    padding: 28px;
  }

  .faq-list summary {
    min-height: 86px;
    grid-template-columns: 26px 1fr 28px;
    gap: 10px;
    padding-inline: 0;
  }

  .faq-list summary strong {
    font-size: 15px;
  }

  .faq-list details > p {
    margin-left: 36px;
    padding-right: 10px;
  }

  .closing-section {
    min-height: 540px;
  }

  .closing-content h2 {
    font-size: clamp(90px, 30vw, 170px);
  }

  .closing-content > div {
    flex-direction: column;
  }

  .footer-inner {
    min-height: 150px;
    grid-template-columns: 1fr auto;
  }

  .footer-inner nav {
    display: none;
  }

  .portal-nav {
    min-height: 72px;
  }

  .portal-nav .brand-name {
    display: inline;
  }

  .auth-shell {
    width: calc(100% - 28px);
    min-height: calc(100svh - 72px);
    padding: 54px 0 70px;
  }

  .auth-heading h1 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .auth-card {
    padding: 8px 18px 22px;
    border-radius: 20px;
  }

  .password-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dashboard-shell {
    width: calc(100% - 28px);
    padding: 48px 0 72px;
  }

  .dashboard-profile {
    grid-template-columns: auto 1fr;
    padding: 22px;
  }

  .dashboard-active {
    grid-column: 1 / -1;
    width: max-content;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-stats article {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard-stats article:last-child {
    border-bottom: 0;
  }

  .dashboard-download {
    margin: 10px;
    padding: 26px 22px;
  }

  .dashboard-download-button {
    width: 100%;
  }

  .dashboard-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 22px;
  }

  .not-found-card {
    padding: 36px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
