:root {
  color-scheme: dark;
  --bg: #050a14;
  --surface: #0d1629;
  --elevated: #14233d;
  --border: #1e3857;
  --cyan: #00c8ff;
  --cyan-soft: rgba(0, 200, 255, 0.18);
  --purple: #4a1a8a;
  --red: #ff3b3b;
  --text: #b8deff;
  --white: #f4fbff;
  --subtext: #7fa7cf;
  --dim: #385680;
  --steel: #8fa7bd;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(30, 56, 87, 0.72);
  background: rgba(5, 10, 20, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--white);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--subtext);
  font-size: 0.94rem;
}

nav a {
  transition: color 160ms ease, border-color 160ms ease;
}

nav a:hover {
  color: var(--white);
}

.nav-action {
  padding: 9px 13px;
  border: 1px solid rgba(0, 200, 255, 0.46);
  border-radius: 7px;
  color: var(--white);
  background: rgba(0, 200, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2)) 42px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(5, 10, 20, 0.98) 0%, rgba(5, 10, 20, 0.9) 36%, rgba(5, 10, 20, 0.42) 100%),
    radial-gradient(circle at 70% 24%, rgba(0, 200, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #050a14 0%, #08101f 58%, #050a14 100%);
}

.hero-art {
  position: absolute;
  right: max(-90px, calc((100vw - var(--max)) / 2 - 30px));
  top: 62px;
  width: min(62vw, 760px);
  max-height: 82vh;
  object-fit: contain;
  opacity: 0.72;
  filter: saturate(1.08) contrast(1.06);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 710px;
  padding-top: 26px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(4.2rem, 12vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  color: var(--subtext);
  line-height: 1.65;
}

.hero-subtitle {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
}

.hero-actions,
.input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary,
button {
  color: #03101a;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 200, 255, 0.22);
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.button[aria-disabled="true"],
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.secondary {
  color: var(--white);
  border-color: rgba(143, 167, 189, 0.34);
  background: rgba(13, 22, 41, 0.68);
}

.hero-status {
  position: absolute;
  left: max(24px, calc((100vw - var(--max)) / 2));
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 24px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(30, 56, 87, 0.8);
  background: var(--border);
}

.hero-status div {
  min-width: 0;
  padding: 18px;
  background: rgba(5, 10, 20, 0.78);
}

.status-label {
  display: block;
  margin-bottom: 6px;
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-status strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.25;
}

.section {
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 1px;
  padding-bottom: 1px;
  background: var(--border);
}

.strip-item {
  padding: 30px;
  background: var(--surface);
}

.strip-item span,
.roadmap-lanes span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.strip-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.16rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.terminal {
  overflow: hidden;
  border: 1px solid rgba(30, 56, 87, 0.9);
  border-radius: 8px;
  background: #05080f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 28px 80px rgba(0, 0, 0, 0.32);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
  background: #0a1220;
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--dim);
}

.terminal-bar span:first-child {
  background: var(--red);
}

.terminal-bar span:nth-child(2) {
  background: var(--steel);
}

.terminal-bar span:nth-child(3) {
  background: var(--cyan);
}

pre {
  margin: 0;
  padding: 26px;
  overflow-x: auto;
  color: var(--text);
  font: 0.98rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.terminal-note {
  padding: 0 26px 24px;
  color: var(--subtext);
  font-size: 0.9rem;
  line-height: 1.55;
}

.terminal-note strong,
.section-intro strong {
  color: var(--white);
}

.feature-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 24px;
  color: var(--text);
  line-height: 1.55;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--cyan);
  content: "✓";
  font-weight: 900;
}

.feature-list.compact {
  margin: 0 0 24px;
}

.workflow {
  background: #08101f;
}

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

.workflow-grid,
.roadmap-lanes,
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.workflow-grid article,
.roadmap-lanes article,
.download-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(30, 56, 87, 0.82);
  border-radius: 8px;
  background: rgba(13, 22, 41, 0.74);
}

.roadmap-lanes {
  grid-template-columns: repeat(3, 1fr);
}

.download-grid {
  grid-template-columns: repeat(3, 1fr);
}

.download-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-grid p {
  flex: 1;
}

.section-intro {
  max-width: 820px;
  margin-bottom: 0;
}

.card-kicker {
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card-links a {
  color: var(--cyan);
  font-weight: 800;
}

.readiness {
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 200, 255, 0.09), transparent 30%),
    #08101f;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
}

.readiness-grid article {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 104px;
  padding: 24px;
  background: rgba(13, 22, 41, 0.92);
}

.readiness-grid strong {
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.readiness-grid span {
  color: var(--subtext);
  line-height: 1.35;
}

.readiness-note {
  max-width: 920px;
  margin: 24px 0 0;
}

.early-access {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(74, 26, 138, 0.24), transparent 38%),
    #050a14;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.signup,
.access-panel {
  padding: 24px;
  border: 1px solid rgba(30, 56, 87, 0.88);
  border-radius: 8px;
  background: var(--surface);
}

.access-panel h3 {
  margin-bottom: 16px;
}

.access-steps {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text);
}

.access-steps li {
  margin-bottom: 12px;
  line-height: 1.55;
}

.access-steps strong {
  color: var(--white);
}

label {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-weight: 800;
}

input,
select {
  min-width: 0;
  flex: 1 1 220px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(143, 167, 189, 0.26);
  border-radius: 7px;
  color: var(--white);
  background: #07101f;
  font: inherit;
}

input:focus,
select:focus {
  outline: 2px solid var(--cyan-soft);
  border-color: var(--cyan);
}

input::placeholder {
  color: var(--dim);
}

.account-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 6%, rgba(0, 200, 255, 0.13), transparent 28%),
    radial-gradient(circle at 5% 80%, rgba(74, 26, 138, 0.18), transparent 32%),
    var(--bg);
}

.account-header {
  position: static;
}

.account-main {
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100vh - 132px);
  margin: 0 auto;
  padding: 64px 0 84px;
}

.account-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 36px;
}

.account-heading h1 {
  margin-bottom: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.account-heading p:last-child {
  margin-bottom: 4px;
}

.service-status,
.form-message {
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  background: rgba(13, 22, 41, 0.88);
  line-height: 1.5;
}

.service-status {
  margin-bottom: 22px;
}

.service-status[data-tone="ok"],
.form-message[data-tone="ok"] {
  border-color: rgba(54, 211, 153, 0.5);
  color: #baf7dd;
  background: rgba(19, 96, 72, 0.18);
}

.service-status[data-tone="error"],
.form-message[data-tone="error"] {
  border-color: rgba(255, 59, 59, 0.55);
  color: #ffc2c2;
  background: rgba(129, 28, 28, 0.2);
}

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

.account-card {
  padding: 28px;
  border: 1px solid rgba(30, 56, 87, 0.88);
  border-radius: 9px;
  background: rgba(13, 22, 41, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.account-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.account-card > p {
  margin-bottom: 24px;
}

.field {
  margin-bottom: 17px;
}

.field label {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.field input {
  width: 100%;
}

.field-help {
  display: block;
  margin-top: 7px;
  color: var(--dim);
  font-size: 0.8rem;
  line-height: 1.45;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.form-message {
  display: none;
  margin-top: 18px;
}

.form-message:not(:empty) {
  display: block;
}

.account-dashboard {
  display: none;
}

.account-dashboard.is-visible {
  display: block;
}

.account-auth.is-hidden {
  display: none;
}

.profile-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
  margin: 0 0 24px;
}

.profile-line strong {
  color: var(--white);
  font-size: 1.25rem;
}

.account-settings {
  max-width: 640px;
  margin: 28px 0 8px;
  padding: 24px;
  border: 1px solid rgba(30, 56, 87, 0.8);
  border-radius: 7px;
  background: #07101f;
}

.account-settings h3 {
  margin: 4px 0 10px;
}

.account-settings > p:not(.eyebrow) {
  margin-bottom: 20px;
}

.status-pill {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(0, 200, 255, 0.35);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 200, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-panel {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.pending-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pending-account {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(30, 56, 87, 0.8);
  border-radius: 7px;
  background: #07101f;
}

.pending-account strong,
.pending-account span {
  display: block;
}

.license-controls {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 82px minmax(150px, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.license-controls input,
.license-controls select,
.license-controls button {
  min-height: 38px;
  min-width: 0;
  padding: 0 10px;
  font-size: 0.82rem;
}

.license-controls .secondary {
  border-color: rgba(255, 59, 59, 0.45);
  color: #ffc2c2;
}

.pending-account span {
  margin-top: 4px;
  color: var(--subtext);
  font-size: 0.86rem;
}

.empty-state {
  color: var(--dim);
}

.privacy-note {
  margin-top: 22px;
  color: var(--dim);
  font-size: 0.84rem;
}

.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;
}

.signup p {
  margin: 12px 0 0;
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--dim);
  background: #03060c;
}

.release-notes {
  min-height: 100vh;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--bg);
}

.release-notes h1 {
  font-size: clamp(3rem, 9vw, 7rem);
}

.release-notes p {
  max-width: 720px;
  font-size: 1.1rem;
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 260px;
  }

  .hero-art {
    right: -130px;
    top: auto;
    bottom: 46px;
    width: 560px;
    max-width: none;
    opacity: 0.42;
  }

  .hero-status,
  .product-strip,
  .split,
  .workflow-grid,
  .download-grid,
  .roadmap-lanes,
  .readiness-grid,
  .account-heading,
  .account-grid,
  .early-access {
    grid-template-columns: 1fr;
  }

  .hero-status {
    bottom: 16px;
  }

  .hero-status div {
    padding: 14px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .workflow-grid article,
  .roadmap-lanes article {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-bottom: 330px;
  }

  .hero-actions .button,
  .input-row button,
  .input-row input,
  .form-actions .button,
  .form-actions button {
    width: 100%;
  }

  .hero-status {
    gap: 1px;
  }

  h1 {
    font-size: 4.15rem;
  }

  .account-main {
    width: min(calc(100% - 32px), var(--max));
    padding-top: 42px;
  }

  .account-card {
    padding: 22px;
  }

  .pending-account {
    align-items: stretch;
    flex-direction: column;
  }

  .license-controls {
    grid-template-columns: 1fr;
  }
}
