:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0d0d0f;
  --panel-2: #141416;
  --text: #f7f7f3;
  --muted: #a3a3a3;
  --soft: #6d6d6d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #ffffff;
  --cyan: #6ee7f8;
  --green: #9dfc9a;
  --amber: #ffd166;
  --red: #ff6b6b;
  --blue: #72a7ff;
  --violet: #bca7ff;
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.16), transparent 32rem),
    linear-gradient(180deg, #050505 0%, #080808 54%, #030303 100%);
  color: var(--text);
  font-family: "Aptos", "IBM Plex Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

.site-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  height: 68px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.nav-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), var(--line-strong) 50%, transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), var(--line-strong) 50%, transparent calc(50% + 1px)),
    #090909;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.08), 0 0 22px rgba(255, 255, 255, 0.08);
  transform: rotate(45deg);
}

.main-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.main-nav a,
.nav-cta,
.button {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.main-nav a:hover {
  color: var(--text);
}

.nav-cta {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #0b0b0b;
  background: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 40px;
  align-items: center;
  width: min(calc(100% - 32px), var(--max));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 72px 0 88px;
}

.landing-hero {
  min-height: calc(100vh - 68px);
}

.eyebrow {
  margin: 0 0 18px;
  color: #d8d8d8;
  font-family: "SF Mono", "Cascadia Mono", "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 720;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 680;
}

.button-primary {
  background: var(--text);
  color: #090909;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-proof {
  margin-top: 36px;
}

.hero-proof span,
.capability-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d9d9d9;
  background: rgba(255, 255, 255, 0.025);
  font-family: "SF Mono", "Cascadia Mono", "IBM Plex Mono", monospace;
  font-size: 12px;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 32px), var(--max));
  margin: -38px auto 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.metrics-strip div {
  display: grid;
  gap: 12px;
  min-height: 132px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-strip strong {
  color: var(--soft);
  font-family: "SF Mono", "Cascadia Mono", "IBM Plex Mono", monospace;
  font-size: 12px;
}

.metrics-strip span {
  max-width: 280px;
  color: #ececea;
  font-size: 18px;
  line-height: 1.25;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.13), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.012));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 32px 120px rgba(0, 0, 0, 0.45);
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, black 18%, transparent 72%);
}

.moon-stage {
  position: relative;
  width: min(360px, 74vw);
  height: min(360px, 74vw);
  perspective: 980px;
  transform-style: preserve-3d;
  transform: translateY(-6px) rotateX(58deg) rotateZ(-22deg);
}

.moon-core {
  position: absolute;
  inset: 17%;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #ffffff 0 11%, transparent 12%),
    radial-gradient(circle at 62% 58%, rgba(255, 255, 255, 0.42) 0 8%, transparent 9%),
    radial-gradient(circle at 44% 68%, rgba(0, 0, 0, 0.18) 0 7%, transparent 8%),
    radial-gradient(circle at 36% 34%, #ffffff 0%, #e9f7f8 32%, #b6d8de 62%, #5c737b 100%);
  box-shadow:
    inset -36px -42px 66px rgba(0, 0, 0, 0.46),
    inset 14px 16px 34px rgba(255, 255, 255, 0.42),
    0 0 84px rgba(197, 246, 255, 0.28),
    0 36px 90px rgba(0, 0, 0, 0.48);
  animation: moon-float 7s ease-in-out infinite;
  transform: rotateZ(22deg) rotateX(-58deg) translateZ(86px);
}

.moon-core::after {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: blur(0.2px);
}

.moon-shadow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 76% 48%, rgba(0, 0, 0, 0.22), transparent 42%);
}

.moon-crater {
  position: absolute;
  border-radius: 50%;
  background: rgba(79, 103, 111, 0.36);
  box-shadow: inset 4px 5px 12px rgba(0, 0, 0, 0.22), inset -3px -3px 8px rgba(255, 255, 255, 0.3);
}

.crater-one {
  top: 28%;
  left: 31%;
  width: 19%;
  height: 19%;
}

.crater-two {
  right: 25%;
  top: 45%;
  width: 13%;
  height: 13%;
}

.crater-three {
  left: 43%;
  bottom: 25%;
  width: 10%;
  height: 10%;
}

.orbit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px rgba(157, 252, 154, 0.85);
}

.orbit span {
  position: absolute;
  top: 4%;
  left: 50%;
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #f0f0ee;
  background: rgba(8, 8, 8, 0.72);
  font-family: "SF Mono", "Cascadia Mono", "IBM Plex Mono", monospace;
  font-size: 11px;
  transform: translateX(-50%) rotateZ(22deg) rotateX(-58deg);
}

.orbit-one {
  animation: orbit-turn 13s linear infinite;
}

.orbit-two {
  inset: 8%;
  border-style: dashed;
  animation: orbit-turn 17s linear infinite reverse;
}

.orbit-two::before {
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(110, 231, 248, 0.85);
}

.orbit-three {
  inset: -9%;
  opacity: 0.72;
  transform: rotateZ(64deg);
  animation: orbit-turn-wide 21s linear infinite;
}

.orbit-three::before {
  background: var(--amber);
  box-shadow: 0 0 22px rgba(255, 209, 102, 0.75);
}

.stack-layer {
  position: absolute;
  left: 20%;
  right: 20%;
  height: 32px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.025) 68%, transparent 70%);
  box-shadow: 0 0 38px rgba(255, 255, 255, 0.05);
}

.layer-one {
  bottom: 17%;
  transform: translateZ(8px);
}

.layer-two {
  bottom: 10%;
  transform: translateZ(-10px);
}

.layer-three {
  bottom: 3%;
  transform: translateZ(-26px);
}

@keyframes moon-float {
  0%, 100% { transform: rotateZ(22deg) rotateX(-58deg) translateZ(86px) translateY(0); }
  50% { transform: rotateZ(22deg) rotateX(-58deg) translateZ(98px) translateY(-8px); }
}

@keyframes orbit-turn {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}

@keyframes orbit-turn-wide {
  from { transform: rotateZ(64deg); }
  to { transform: rotateZ(424deg); }
}

.status-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.72);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.status-card-top {
  top: 24px;
  right: 24px;
  min-height: 38px;
  padding: 0 12px;
  color: #e9e9e9;
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.status-card-bottom {
  left: 24px;
  bottom: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 14px 16px;
}

.status-card-bottom span,
.status-card-bottom small {
  color: var(--soft);
  font-family: "SF Mono", "Cascadia Mono", "IBM Plex Mono", monospace;
  font-size: 11px;
}

.status-card-bottom strong {
  font-size: 20px;
  letter-spacing: 0;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band p {
  max-width: 940px;
  margin-bottom: 0;
  color: #e8e8e8;
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 42px;
  max-width: none;
  align-items: end;
}

.split-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 330px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #d8d8d5;
  font-size: 14px;
}

.service-card li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(157, 252, 154, 0.48);
}

.service-index {
  color: var(--soft);
  font-family: "SF Mono", "Cascadia Mono", "IBM Plex Mono", monospace;
  font-size: 12px;
}

h3 {
  margin: 92px 0 16px;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: 0;
}

.service-card p,
.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.outcome-grid,
.engagement-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.outcome-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.outcome-grid article,
.engagement-grid article {
  min-height: 236px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.outcome-grid span,
.engagement-grid span {
  color: var(--soft);
  font-family: "SF Mono", "Cascadia Mono", "IBM Plex Mono", monospace;
  font-size: 12px;
}

.outcome-grid h3,
.engagement-grid h3 {
  margin: 54px 0 12px;
  font-size: 23px;
}

.outcome-grid p,
.engagement-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.terminal-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #09090a;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.42);
}

.panel-topbar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #111113;
}

.panel-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b3b3d;
}

.terminal-panel pre {
  margin: 0;
  padding: 26px;
  overflow-x: auto;
}

.terminal-panel code {
  color: #f0f0ee;
  font-family: "SF Mono", "Cascadia Mono", "IBM Plex Mono", monospace;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.75;
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.steps div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.steps span {
  color: #f2f2f0;
  font-weight: 700;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 960px;
}

.final-cta {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 430px;
  margin-top: 24px;
  padding: 92px 24px 102px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.18), transparent 20rem),
    radial-gradient(ellipse at 50% 100%, rgba(110, 231, 248, 0.1), transparent 22rem);
  opacity: 0.8;
  pointer-events: none;
}

.final-cta > * {
  position: relative;
}

.final-cta .eyebrow {
  margin-bottom: 18px;
}

.final-cta h2 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 86px);
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 58px;
  align-items: start;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 24px;
  padding: 46px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-brand-block {
  display: grid;
  gap: 18px;
}

.footer-brand-block p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-status {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #e7e7e4;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-links div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links h3 {
  margin: 0 0 8px;
  color: #f2f2ef;
  font-size: 13px;
  line-height: 1;
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
}

@media (max-width: 920px) {
  .main-nav {
    display: none;
  }

  .hero,
  .process,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
    min-height: auto;
  }

  .hero-visual {
    min-height: 480px;
  }

  .service-grid,
  .metrics-strip,
  .outcome-grid,
  .engagement-grid {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    margin-top: 0;
  }

  .service-card {
    min-height: 240px;
  }

  h3 {
    margin-top: 58px;
  }

  .outcome-grid h3,
  .engagement-grid h3 {
    margin-top: 42px;
  }

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

@media (max-width: 620px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .section,
  .footer,
  .metrics-strip {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-visual {
    min-height: 390px;
  }

  .moon-stage {
    width: 230px;
    height: 230px;
  }

  .orbit span {
    font-size: 10px;
  }

  .status-card-top {
    top: 16px;
    right: 16px;
  }

  .status-card-bottom {
    left: 16px;
    bottom: 16px;
  }

  .section {
    padding: 70px 0;
  }

  .final-cta {
    min-height: 360px;
    padding: 74px 0 82px;
  }

  .final-actions,
  .final-actions .button {
    width: 100%;
  }

  .steps div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .footer-links {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

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