:root {
  --navy: #11172a;
  --teal: #2ab6ac;
  --text: #f7fbff;
  --muted: #aeb8ca;
  --mx: 72%;
  --my: 20%;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(42, 182, 172, .16), transparent 28rem),
    var(--navy);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image:
    linear-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .15) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(#000, transparent 92%);
}

.glow {
  position: fixed;
  right: -10rem;
  top: -12rem;
  width: 32rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(42, 182, 172, .11);
  filter: blur(90px);
  animation: breathe 7s ease-in-out infinite alternate;
}

.page {
  position: relative;
  display: grid;
  width: min(100% - 3rem, 1240px);
  min-height: 100svh;
  margin: auto;
  grid-template-rows: auto 1fr auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
  opacity: 0;
  transform: translateY(12px);
}

.logo {
  width: clamp(10rem, 17vw, 13rem);
  height: auto;
  border-radius: .8rem;
  background: white;
  padding: .72rem .9rem;
}

header span {
  color: #8793a8;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding: 3rem 0 5rem;
}

.copy {
  opacity: 0;
  transform: translateY(18px);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 clamp(2rem, 5vh, 3.5rem);
  border: 1px solid rgba(42, 182, 172, .3);
  border-radius: 99px;
  padding: .6rem .85rem;
  color: #d5f6f3;
  background: rgba(42, 182, 172, .07);
  font-size: .84rem;
}

.status i {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6.4vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .95;
}

h1 em { color: var(--teal); font-style: normal; }

.intro {
  max-width: 38rem;
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
}

.systems {
  margin: 1.8rem 0 0;
  color: #e4eaf2;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.systems b { margin: 0 .55rem; color: var(--teal); }

.visual {
  position: relative;
  width: min(37vw, 29rem);
  aspect-ratio: 1;
  justify-self: center;
  opacity: 0;
  transform: scale(.92);
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(42, 182, 172, .28);
  border-radius: 50%;
}

.orbit-outer { inset: 10%; }

.orbit-inner {
  inset: 27%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, .17);
  animation: spin 24s linear infinite reverse;
}

.electron {
  position: absolute;
  inset: 10%;
  animation: spin 22s linear infinite;
  animation-delay: var(--delay);
}

.electron-chip {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  align-items: center;
  gap: .48rem;
  min-width: max-content;
  border: 1px solid rgba(42, 182, 172, .27);
  border-radius: 999px;
  background: rgba(17, 23, 42, .9);
  padding: .48rem .7rem .48rem .5rem;
  color: #eaf6f5;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  transform: translate(50%, -50%);
  animation: counter-spin 22s linear infinite;
  animation-delay: var(--delay);
  backdrop-filter: blur(8px);
}

.electron-chip i {
  width: .55rem;
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px var(--teal);
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(9rem, 13vw, 10.5rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  place-content: center;
  text-align: center;
  border: 1px solid rgba(42, 182, 172, .38);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 .65rem rgba(42, 182, 172, .04), 0 20px 60px rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
}

.core img { display: block; width: 76%; height: auto; margin: auto; }

footer {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.25rem 0 1.5rem;
  color: #778399;
  font-size: .8rem;
  opacity: 0;
}

.is-ready header,
.is-ready .copy,
.is-ready .visual,
.is-ready footer {
  opacity: 1;
  transform: none;
  transition: opacity .8s ease, transform .8s ease;
}

.is-ready .copy { transition-delay: .12s; }
.is-ready .visual { transition-delay: .25s; }
.is-ready footer { transition-delay: .4s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter-spin {
  to { transform: translate(50%, -50%) rotate(-360deg); }
}
@keyframes breathe { to { transform: translate(-3rem, 2rem) scale(1.1); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 182, 172, .55); }
  75%, 100% { box-shadow: 0 0 0 .65rem rgba(42, 182, 172, 0); }
}

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .visual { width: min(78vw, 27rem); margin: 2rem 0; }
}

@media (max-width: 560px) {
  .page { width: min(100% - 2.2rem, 1240px); }
  header span { display: none; }
  .hero { padding-top: 2.5rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .visual { width: min(84vw, 21rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  header, .copy, .visual, footer { opacity: 1; transform: none; }
}
