:root {
  color-scheme: dark;
  --ink: #f5f8fb;
  --muted: #aebdcc;
  --deep: #06111f;
  --panel: rgba(8, 20, 34, 0.72);
  --panel-strong: rgba(9, 24, 40, 0.88);
  --line: rgba(205, 226, 242, 0.18);
  --cyan: #38d8ff;
  --green: #39d98a;
  --gold: #d9b35b;
  --ember: #e47b4f;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --max: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(56, 216, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #06111f 0%, #071827 52%, #06111f 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 17, 31, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  animation: headerDrop 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(217, 179, 91, 0.5);
  border-radius: var(--radius);
  object-fit: cover;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong,
.site-footer span {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(56, 216, 255, 0.1);
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.main-nav a.is-active {
  background: rgba(56, 216, 255, 0.1);
  color: var(--ink);
}

.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #05111d;
  box-shadow: 0 12px 34px rgba(56, 216, 255, 0.18);
}

.hero {
  position: relative;
  min-height: clamp(640px, 76svh, 720px);
  padding: 146px 0 76px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 13, 24, 0.98) 0%, rgba(5, 13, 24, 0.78) 48%, rgba(5, 13, 24, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 13, 24, 0.18), rgba(5, 13, 24, 0.92)),
    url("/assets/hero-command-center-premium.png") center / cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(56, 216, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 216, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 0%, black 24%, black 66%, transparent 100%);
  pointer-events: none;
  animation: gridDrift 16s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  right: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 70px;
  width: min(42vw, 440px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold));
  animation: railPulse 3.8s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(620px, 0.62fr);
  align-items: center;
  gap: 58px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.hero-copy {
  max-width: 780px;
}

.status-line,
.section-intro p,
.roadmap-copy p {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.35rem, 8.7vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
  max-width: 690px;
  margin: 26px 0 0;
  color: #edf7ff;
  font-size: clamp(1.16rem, 2vw, 1.54rem);
  line-height: 1.32;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 820;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #05111d;
  box-shadow: 0 16px 42px rgba(57, 217, 138, 0.16);
}

.button.secondary {
  border-color: rgba(245, 248, 251, 0.34);
  background: rgba(245, 248, 251, 0.08);
  color: var(--ink);
}

.launch-panel {
  position: relative;
  display: grid;
  justify-self: end;
  width: 100%;
  min-width: 0;
  gap: 16px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(56, 216, 255, 0.08), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  animation: panelFloat 7s ease-in-out infinite;
}

.launch-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(56, 216, 255, 0.13), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 48%);
  opacity: 0.72;
  pointer-events: none;
}

.launch-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.launch-panel:hover {
  border-color: rgba(56, 216, 255, 0.34);
  box-shadow: 0 36px 108px rgba(0, 0, 0, 0.4), 0 0 44px rgba(56, 216, 255, 0.08);
}

.launch-panel > * {
  position: relative;
  z-index: 1;
}

.launch-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.launch-panel-head span,
.panel-signals span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launch-panel-head small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  white-space: nowrap;
}

.launch-panel strong {
  display: block;
  max-width: 100%;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 3.2vw, 4.35rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.launch-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.panel-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.panel-signals span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 9px 12px;
  border: 1px solid rgba(205, 226, 242, 0.16);
  border-radius: 7px;
  background: rgba(245, 248, 251, 0.06);
  color: var(--ink);
  letter-spacing: 0.03em;
}

.signal-scan {
  height: 42px;
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid rgba(205, 226, 242, 0.1);
  border-radius: 7px;
  background:
    repeating-linear-gradient(90deg, rgba(56, 216, 255, 0.14) 0 1px, transparent 1px 22px),
    linear-gradient(90deg, rgba(56, 216, 255, 0.06), rgba(57, 217, 138, 0.1), rgba(217, 179, 91, 0.12));
}

.signal-scan i {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  filter: blur(1px);
  animation: scanSweep 2.7s ease-in-out infinite;
}

.vision-strip,
.roadmap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.vision-strip {
  padding: 40px 0 88px;
}

.section-intro {
  max-width: 760px;
}

.section-intro h2,
.roadmap-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4.3rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.vision-grid article,
.roadmap-list li {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--panel-strong);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.vision-grid article:hover,
.roadmap-list li:hover {
  border-color: rgba(56, 216, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(56, 216, 255, 0.08), transparent),
    var(--panel-strong);
  transform: translateY(-3px);
}

.vision-grid span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
}

.vision-grid h3 {
  margin: 54px 0 12px;
  font-size: 1.12rem;
}

.vision-grid p,
.roadmap-copy span,
.roadmap-list span {
  margin: 0;
  color: var(--muted);
}

.roadmap {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.58fr);
  gap: 54px;
  padding: 0 0 92px;
}

.roadmap-copy {
  position: sticky;
  top: 112px;
  align-self: start;
}

.roadmap-copy span {
  display: block;
  max-width: 570px;
  margin-top: 22px;
  font-size: 1.02rem;
}

.roadmap-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-list li {
  min-height: 126px;
}

.roadmap-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.03rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translate(-50%, -12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 96px 48px, 96px 48px;
  }
}

@keyframes railPulse {
  0%,
  100% {
    opacity: 0.62;
    transform: scaleX(0.96);
    transform-origin: right center;
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes panelFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes scanSweep {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(260%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  .motion-ready .vision-grid article:nth-child(2),
  .motion-ready .roadmap-list li:nth-child(2) {
    transition-delay: 80ms;
  }

  .motion-ready .vision-grid article:nth-child(3),
  .motion-ready .roadmap-list li:nth-child(3) {
    transition-delay: 160ms;
  }

  .motion-ready .roadmap-list li:nth-child(4) {
    transition-delay: 240ms;
  }
}

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

@media (max-width: 1180px) {
  .site-header {
    top: 10px;
  }

  .main-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 128px 0 58px;
  }

  .hero-inner,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .launch-panel {
    justify-self: start;
    max-width: 620px;
    width: 100%;
  }

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

  .vision-grid article {
    min-height: 180px;
  }

  .vision-grid h3 {
    margin-top: 32px;
  }

  .roadmap-copy {
    position: static;
  }
}

@media (min-width: 1181px) and (max-height: 760px) {
  .hero {
    min-height: clamp(610px, 72svh, 650px);
    padding: 116px 0 48px;
  }

  .hero h1 {
    font-size: clamp(4rem, 8vw, 7.1rem);
  }

  .hero-subtitle {
    margin-top: 20px;
    font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  }

  .hero-actions {
    margin-top: 24px;
  }
}

@media (max-width: 540px) {
  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .main-nav .nav-cta {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 17vw, 4.6rem);
  }

  .hero {
    padding: 96px 0 32px;
  }

  .hero-inner {
    gap: 24px;
  }

  .status-line {
    margin-bottom: 10px;
  }

  .hero-subtitle {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.28;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .launch-panel,
  .vision-grid article,
  .roadmap-list li {
    padding: 18px;
  }

  .launch-panel {
    gap: 9px;
  }

  .launch-panel strong {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .launch-panel p {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .button {
    min-height: 43px;
    font-size: 0.88rem;
  }

  .launch-panel-head small {
    display: none;
  }

  .panel-signals {
    gap: 6px;
  }

  .panel-signals span {
    min-height: 29px;
    padding: 7px 9px;
    font-size: 0.66rem;
    text-align: center;
  }

  .site-footer {
    display: grid;
  }
}
