:root {
  color-scheme: dark;
  --ink: #f5f7f2;
  --muted: #9da3ad;
  --bg: #080a0f;
  --panel: #11141b;
  --line: rgba(255, 255, 255, 0.13);
  --coral: #ff5c51;
  --acid: #d9ff60;
  --cyan: #5ae1ff;
  --max-width: 1440px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 77% 46%, rgba(90, 225, 255, 0.09), transparent 24rem),
    radial-gradient(circle at 51% 100%, rgba(255, 92, 81, 0.08), transparent 30rem),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.13;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  color: #080a0f;
  background: var(--acid);
  border-radius: 999px;
  font-weight: 750;
  transform: translateY(-200%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, var(--max-width));
  min-height: 100svh;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 6.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-dot {
  color: var(--coral);
}

.brand-mark {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  transform: rotate(-4deg);
}

.brand-mark span {
  width: 3px;
  border-radius: 999px;
  background: var(--ink);
}

.brand-mark span:nth-child(1) { height: 45%; }
.brand-mark span:nth-child(2) { height: 100%; background: var(--coral); }
.brand-mark span:nth-child(3) { height: 68%; }

.status {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 92, 81, 0.55);
  animation: pulse 2.2s ease-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(28rem, 1.12fr);
  gap: clamp(2rem, 4vw, 6rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vh, 6.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 41rem;
}

.eyebrow {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--coral);
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.5rem, 6.8vw, 7.5rem);
  font-weight: 740;
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--ink);
}

.lede {
  max-width: 34rem;
  margin: 2rem 0 0;
  color: #b5bac2;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3.3rem;
  gap: 1.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #07090d;
  background: var(--acid);
}

.button-primary:hover {
  background: #e5ff8e;
}

.button-primary svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.button-primary:hover svg {
  transform: translateX(4px);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.signal-line {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  max-width: 22rem;
  margin-top: clamp(3.5rem, 8vh, 6rem);
  color: #565d69;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
}

.signal-line i {
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent 70%);
}

.hero-visual {
  position: relative;
  min-height: min(67svh, 47rem);
  isolation: isolate;
}

.image-wrap {
  position: absolute;
  inset: 4% -14% 3% -26%;
  z-index: 1;
  overflow: hidden;
  border-radius: 52% 26% 46% 34% / 42% 38% 34% 48%;
  filter: drop-shadow(0 2rem 4rem rgba(0, 0, 0, 0.38));
}

.image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 21%, transparent 88%, var(--bg) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 16%, transparent 89%, var(--bg) 100%);
  pointer-events: none;
}

.image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  animation: drift 7s ease-in-out infinite;
}

.visual-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(90, 225, 255, 0.16);
  border-radius: 50%;
}

.orbit-one {
  top: 4%;
  right: -4%;
  width: 31rem;
  height: 31rem;
}

.orbit-two {
  right: 18%;
  bottom: 4%;
  width: 13rem;
  height: 13rem;
  border-color: rgba(255, 92, 81, 0.2);
}

.spark {
  position: absolute;
  z-index: 3;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 1rem var(--cyan);
  animation: blink 3.1s ease-in-out infinite;
}

.spark-a { top: 16%; right: 16%; }
.spark-b { right: 2%; bottom: 31%; animation-delay: -0.9s; }
.spark-c { bottom: 12%; left: 15%; background: var(--coral); box-shadow: 0 0 1rem var(--coral); animation-delay: -1.8s; }

.visual-caption {
  position: absolute;
  right: 0;
  bottom: 1.5rem;
  z-index: 4;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(8, 10, 15, 0.72);
  backdrop-filter: blur(12px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.caption-index {
  color: var(--acid);
  font-size: 1.1rem;
  font-weight: 800;
}

.site-footer {
  min-height: 5rem;
  gap: 1rem;
  color: #707681;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.footer-meta {
  display: flex;
  gap: 0.5rem;
}

@keyframes pulse {
  45% { box-shadow: 0 0 0 0.55rem rgba(255, 92, 81, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 81, 0); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.01); }
  50% { transform: translate3d(0, -0.65rem, 0) scale(1.02); }
}

@keyframes blink {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.25); }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 3.5rem 2rem;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero-visual {
    min-height: clamp(25rem, 68vw, 38rem);
  }

  .image-wrap {
    inset: -8% -12% -1% -20%;
  }

  .signal-line {
    margin-top: 3.5rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 5.25rem;
  }

  .status {
    padding: 0.45rem 0.6rem;
    font-size: 0.65rem;
  }

  .hero {
    gap: 1.25rem;
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .lede {
    line-height: 1.62;
  }

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

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 23rem;
  }

  .image-wrap {
    inset: -3% -32% 2% -52%;
  }

  .visual-caption {
    right: -0.5rem;
    bottom: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.25rem;
  }
}

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