:root {
  --bg: #07111f;
  --bg-2: #0b1627;
  --panel: rgba(12, 25, 43, 0.72);
  --panel-strong: rgba(10, 22, 39, 0.92);
  --line: rgba(125, 163, 255, 0.22);
  --line-strong: rgba(107, 146, 255, 0.55);
  --text: #f6f8fb;
  --muted: #a9b5c8;
  --muted-2: #7f8ba0;
  --accent: #79a4ff;
  --accent-2: #4ee4c1;
  --danger: #ff7188;
  --success: #66e3b4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(67, 105, 194, .18), transparent 24rem),
    radial-gradient(circle at 85% 5%, rgba(78, 228, 193, .08), transparent 24rem),
    linear-gradient(180deg, #06101d 0%, #081321 42%, #06101c 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(126, 158, 210, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 158, 210, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  z-index: -1;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  background: white;
  color: #07111f;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(135, 161, 202, .14);
  backdrop-filter: blur(20px);
  background: rgba(6, 16, 29, .76);
}
.nav-inner {
  width: min(calc(100% - 32px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .94rem;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(121, 164, 255, .7);
  border-radius: 9px;
  position: relative;
  box-shadow: inset 0 0 30px rgba(121, 164, 255, .1), 0 0 28px rgba(121, 164, 255, .1);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.brand-mark::before { width: 12px; height: 2px; left: 9px; top: 9px; box-shadow: 0 6px 0 var(--accent-2), 0 12px 0 var(--accent); }
.brand-mark::after { width: 2px; height: 12px; left: 15px; top: 9px; opacity: .55; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .93rem;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(121, 164, 255, .09); }
.nav-cta {
  border: 1px solid rgba(121, 164, 255, .5);
  background: linear-gradient(180deg, rgba(121,164,255,.2), rgba(121,164,255,.08));
  color: white !important;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(125, 163, 255, .2);
  background: rgba(255,255,255,.03);
  color: white;
}

main { overflow: clip; }
.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 96px 0;
}
.section.compact { padding: 64px 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .76rem;
  font-weight: 800;
}
.section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 980px;
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  margin-bottom: 22px;
}
h3 { letter-spacing: -.025em; line-height: 1.12; }
.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
}
.gradient-text {
  background: linear-gradient(110deg, #fff, #a9c3ff 58%, #83efd9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-content: center;
  position: relative;
  padding-top: 70px;
  padding-bottom: 70px;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: 70px;
  border: 1px solid rgba(121, 164, 255, .12);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(121, 164, 255, .04);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: end;
}
.hero-copy { position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #06101d;
  background: linear-gradient(135deg, #91b2ff, #65e4c7);
  box-shadow: 0 14px 34px rgba(91, 155, 219, .18);
}
.btn-secondary { border-color: rgba(138, 164, 205, .24); background: rgba(255,255,255,.025); color: white; }

.hero-console {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(121, 164, 255, .18);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(15, 29, 49, .86), rgba(7, 18, 33, .88));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
  padding: 22px;
  overflow: hidden;
}
.hero-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(121,164,255,.14), transparent 30%), linear-gradient(transparent 49%, rgba(121,164,255,.05) 50%, transparent 51%);
  background-size: auto, 100% 32px;
  pointer-events: none;
}
.console-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--muted-2);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.live-dot { display: inline-flex; align-items: center; gap: 7px; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--success); box-shadow: 0 0 14px var(--success); }
.orbit {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  border: 1px solid rgba(121,164,255,.18);
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
}
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px dashed rgba(121,164,255,.2);
  border-radius: 50%;
}
.orbit::after { inset: 88px; border-style: solid; border-color: rgba(78,228,193,.2); }
.orbit-core {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(121,164,255,.26), rgba(78,228,193,.13));
  border: 1px solid rgba(148,181,255,.36);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #dbe5ff;
  box-shadow: 0 0 50px rgba(92,144,255,.16);
}
.orbit-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}
.orbit-node.n1 { top: 16px; left: 138px; }
.orbit-node.n2 { top: 133px; right: 15px; background: var(--accent-2); box-shadow: 0 0 18px var(--accent-2); }
.orbit-node.n3 { bottom: 28px; left: 58px; }
.console-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  border-top: 1px solid rgba(121,164,255,.15);
  padding-top: 16px;
  color: var(--muted);
  font-size: .88rem;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(121,164,255,.12);
  border: 1px solid rgba(121,164,255,.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 42px;
}
.stat-cell { background: rgba(6,16,29,.9); padding: 20px; }
.stat-cell strong { display: block; font-size: .9rem; margin-bottom: 3px; }
.stat-cell span { color: var(--muted-2); font-size: .82rem; }

.mission-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 22px;
  margin-top: 46px;
}
.stage-list { display: grid; gap: 10px; }
.stage-btn {
  width: 100%;
  text-align: left;
  color: var(--muted);
  border: 1px solid rgba(130,157,200,.14);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: 16px 17px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
}
.stage-btn .num { font-variant-numeric: tabular-nums; color: var(--muted-2); }
.stage-btn:hover,
.stage-btn:focus-visible,
.stage-btn.active {
  color: white;
  border-color: rgba(121,164,255,.5);
  background: linear-gradient(90deg, rgba(121,164,255,.12), rgba(78,228,193,.04));
}
.mission-panel {
  min-height: 390px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(121,164,255,.18);
  background: linear-gradient(160deg, rgba(18,33,55,.82), rgba(8,19,34,.88));
  padding: clamp(24px, 4vw, 42px);
  position: relative;
  overflow: hidden;
}
.mission-panel::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(121,164,255,.14);
  right: -100px;
  bottom: -120px;
}
.mission-kicker { color: var(--accent-2); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.mission-panel h3 { font-size: clamp(1.8rem, 4vw, 3.2rem); margin: 12px 0 16px; }
.mission-panel p { color: var(--muted); max-width: 650px; }
.output-chip {
  display: inline-flex;
  margin-top: 20px;
  border: 1px solid rgba(121,164,255,.24);
  border-radius: 999px;
  padding: 7px 12px;
  color: #cbd8f6;
  background: rgba(121,164,255,.07);
  font-size: .84rem;
}

.industry-console {
  margin-top: 44px;
  border: 1px solid rgba(121,164,255,.16);
  border-radius: var(--radius-xl);
  background: rgba(9,20,35,.8);
  overflow: hidden;
}
.industry-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px;
  border-bottom: 1px solid rgba(121,164,255,.12);
}
.industry-tab {
  border: 1px solid rgba(121,164,255,.16);
  background: rgba(255,255,255,.02);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 13px;
}
.industry-tab.active,
.industry-tab:hover,
.industry-tab:focus-visible { color: white; border-color: rgba(121,164,255,.48); background: rgba(121,164,255,.09); }
.flow-wrap { padding: clamp(24px, 5vw, 48px); }
.flow-title { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 28px; }
.flow-title p { color: var(--muted); max-width: 680px; margin-bottom: 0; }
.flow-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.flow-step {
  min-height: 128px;
  border: 1px solid rgba(121,164,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.018);
  padding: 16px;
  position: relative;
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 1px;
  background: rgba(121,164,255,.36);
  right: -11px;
  top: 50%;
}
.flow-step small { color: var(--muted-2); display: block; margin-bottom: 18px; }
.flow-step strong { display: block; line-height: 1.2; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}
.feature {
  border: 1px solid rgba(121,164,255,.13);
  border-radius: 18px;
  padding: 24px;
  background: rgba(255,255,255,.018);
}
.feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(121,164,255,.22);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--accent);
  background: rgba(121,164,255,.06);
}
.feature p { color: var(--muted); margin-bottom: 0; }

.cta-band {
  border: 1px solid rgba(121,164,255,.2);
  background: linear-gradient(135deg, rgba(121,164,255,.12), rgba(78,228,193,.06));
  border-radius: var(--radius-xl);
  padding: clamp(28px, 6vw, 64px);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}
.cta-band h2 { max-width: 760px; margin-bottom: 0; }

.page-hero { padding-top: 110px; padding-bottom: 54px; }
.page-hero h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); margin-top: 54px; }
.prose h3 { margin-top: 34px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; }

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.security-card {
  border: 1px solid rgba(121,164,255,.14);
  background: rgba(255,255,255,.018);
  border-radius: 18px;
  padding: 24px;
}
.security-card span { color: var(--accent-2); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.security-card p { color: var(--muted); margin-bottom: 0; }

.form-shell {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 24px;
  margin-top: 42px;
}
.form-aside,
.form-card {
  border: 1px solid rgba(121,164,255,.15);
  border-radius: var(--radius-xl);
  background: rgba(8,19,34,.82);
}
.form-aside { padding: 30px; height: fit-content; }
.form-card { padding: clamp(24px, 4vw, 40px); }
.progress { height: 4px; background: rgba(121,164,255,.1); border-radius: 99px; overflow: hidden; margin-bottom: 30px; }
.progress-bar { height: 100%; width: 20%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s ease; }
.form-step[hidden] { display: none; }
.form-step h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: .9rem; }
.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(121,164,255,.18);
  background: rgba(255,255,255,.025);
  color: white;
  padding: 13px 14px;
  outline: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: rgba(121,164,255,.68); box-shadow: 0 0 0 3px rgba(121,164,255,.08); }
.field textarea { min-height: 120px; resize: vertical; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(121,164,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
}
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.form-note { color: var(--muted-2); font-size: .84rem; }
.status-box {
  margin-top: 18px;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(121,164,255,.14);
  color: var(--muted);
  background: rgba(255,255,255,.02);
}
.status-box.success { border-color: rgba(102,227,180,.35); color: #bff8e2; }
.status-box.error { border-color: rgba(255,113,136,.35); color: #ffc1cc; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer {
  border-top: 1px solid rgba(121,164,255,.12);
  margin-top: 70px;
}
.footer-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  color: var(--muted-2);
  font-size: .88rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) {
  .hero-grid,
  .mission-layout,
  .form-shell { grid-template-columns: 1fr; }
  .hero-console { min-height: 390px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-rail { grid-template-columns: 1fr; }
  .flow-step:not(:last-child)::after { display: none; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(121,164,255,.18);
    border-radius: 16px;
    background: rgba(6,16,29,.97);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .security-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --nav-h: 68px; }
  .section { padding: 72px 0; }
  .hero { min-height: auto; padding-top: 70px; }
  .hero::after { display: none; }
  .hero-console { min-height: 340px; }
  .orbit { width: 230px; height: 230px; }
  .orbit-node.n1 { left: 108px; }
  .stats-strip { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-band { align-items: stretch; flex-direction: column; }
  .choice-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .nav-inner, .section, .footer-inner { width: min(calc(100% - 22px), var(--max)); }
  h1 { font-size: clamp(2.65rem, 14vw, 4.1rem); }
  .hero-console { padding: 16px; }
  .console-caption { left: 16px; right: 16px; bottom: 16px; }
  .orbit { width: 205px; height: 205px; }
  .orbit::before { inset: 32px; }
  .orbit::after { inset: 68px; }
  .orbit-node.n1 { left: 96px; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* The content is immediately available, even when observation or animation is delayed. */
.reveal { opacity: 1; transform: none; }
.demo-shell { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 20px; margin-top: 32px; }
.demo-controls, .demo-workspace { border: 1px solid rgba(121,164,255,.22); border-radius: 22px; background: rgba(9,25,44,.9); padding: clamp(22px,3vw,36px); }
.demo-controls { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.demo-controls label, .demo-priority legend { font-weight: 700; color: #e6f2ff; }
.demo-controls select { padding: 14px; border-radius: 12px; border: 1px solid rgba(121,164,255,.35); background: #0b1c31; color: #fff; font: inherit; }
.demo-controls .btn { margin-top: 12px; text-align: center; }
.demo-topline { display: flex; justify-content: space-between; gap: 12px; color: #78dce8; font-size: .76rem; font-weight: 800; letter-spacing: .08em; }
.demo-progress { height: 5px; margin: 18px 0 32px; border-radius: 8px; background: rgba(121,164,255,.18); overflow: hidden; }
.demo-progress span { display: block; height: 100%; width: 0; background: #71e2e7; transition: width .25s ease; }
.demo-workspace h3 { font-size: clamp(1.5rem,3vw,2.35rem); margin: 16px 0; }
.demo-workspace p { max-width: 56ch; line-height: 1.65; }
.demo-tag { color: #71e2e7; font-size: .85rem; font-weight: 800; }
.demo-priority { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; padding: 16px; border: 1px solid rgba(121,164,255,.26); border-radius: 12px; }
.demo-priority legend { padding: 0 5px; }
.demo-priority label { cursor: pointer; }
.demo-note { font-size: .88rem; color: #b8cbdc; }
[hidden] { display: none !important; }
@media (max-width: 767px) { .demo-shell { grid-template-columns: 1fr; } }

.stage-illustration { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; margin-bottom: 25px; border: 1px solid rgba(121,164,255,.24); border-radius: 16px; background: #0a1729; }
