:root {
  --bg: #0d1117;
  --bg-soft: #131922;
  --panel: rgba(13, 17, 23, 0.56);
  --text: #f4efe8;
  --muted: #b6aea2;
  --line: rgba(244, 239, 232, 0.12);
  --accent: #d98f5c;
  --accent-soft: rgba(217, 143, 92, 0.22);
  --max-width: 1200px;
  --header-height: 88px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 20% 15%, rgba(217, 143, 92, 0.18), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(69, 122, 171, 0.18), transparent 22%),
    linear-gradient(180deg, #0c1015 0%, #111722 42%, #0b0f14 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
}

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

.page-shell {
  position: relative;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-height);
  padding: 0 28px;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(9, 12, 18, 0.82), rgba(9, 12, 18, 0.38));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8b16f, #8eb6ff);
  box-shadow: 0 0 28px rgba(217, 143, 92, 0.55);
}

.site-nav {
  display: inline-flex;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 2rem;
  align-items: end;
  padding: 4rem 28px 3rem;
}

.hero-copy,
.hero-panel,
.section,
.cta {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 720px;
  align-self: center;
  padding: 4rem 0 6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #f2c7a7;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3,
strong {
  margin: 0;
}

h1,
h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.9rem, 9vw, 8.5rem);
}

h2 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.hero-text,
.capability p,
.workflow-step p,
.proof-copy p,
.panel-text {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 34rem;
  margin: 1.4rem 0 0;
}

.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
}

.hero-actions {
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.button {
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-primary {
  background: linear-gradient(135deg, #d98f5c, #ebbc7f);
  color: #19140f;
  font-weight: 800;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  justify-self: end;
  width: min(100%, 360px);
  margin-bottom: 4rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
}

.signal,
.metric-cluster,
.proof-stats,
.capability-list,
.proof-grid,
.workflow {
  display: grid;
}

.signal {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.signal-label,
.metric-label,
.proof-stats span,
.capability-index,
.workflow-step span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.signal-value {
  color: #a4f0b7;
  font-weight: 700;
}

.metric-cluster {
  gap: 1rem;
  padding: 1.2rem 0;
}

.metric-cluster strong,
.proof-stats strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.panel-text {
  margin: 0;
}

.hero-grid,
.hero-glow,
.hero-orbit,
.spatial-stage,
.spatial-ring,
.spatial-core,
.spatial-point {
  position: absolute;
}

.hero-grid {
  inset: 8% 18% 10% 8%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at center, rgba(116, 174, 255, 0.12), transparent 42%);
  box-shadow: inset 0 0 120px rgba(255, 255, 255, 0.03);
  transform: perspective(1200px) rotateX(67deg) rotateZ(-18deg);
  transform-origin: center;
}

.hero-glow {
  inset: auto 12% 18% auto;
  width: 38vw;
  height: 38vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 143, 92, 0.26), transparent 64%);
  filter: blur(12px);
}

.hero-orbit {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-orbit-one {
  right: 12%;
  top: 16%;
  width: 380px;
  height: 380px;
  animation: orbit 18s linear infinite;
}

.hero-orbit-two {
  right: 8%;
  top: 10%;
  width: 520px;
  height: 520px;
  border-style: dashed;
  animation: orbit 28s linear infinite reverse;
}

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

.section-heading {
  display: grid;
  gap: 1rem;
}

.capability-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.capability {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.capability h3 {
  margin-top: 1rem;
  font-size: 1.35rem;
}

.workflow {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.workflow-sticky {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.workflow-steps {
  display: grid;
  gap: 1.2rem;
  margin-top: 3rem;
}

.workflow-step {
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

.workflow-step p {
  max-width: 28rem;
  margin: 0.6rem 0 0;
}

.spatial-stage {
  position: relative;
  min-height: 720px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at center, rgba(142, 182, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(8, 11, 17, 0.5);
  overflow: hidden;
}

.spatial-core {
  inset: 50% auto auto 50%;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(135deg, rgba(217, 143, 92, 0.85), rgba(142, 182, 255, 0.8));
  box-shadow: 0 0 80px rgba(217, 143, 92, 0.22);
}

.spatial-ring {
  inset: 50% auto auto 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-a {
  width: 260px;
  height: 260px;
}

.ring-b {
  width: 460px;
  height: 460px;
}

.ring-c {
  width: 680px;
  height: 680px;
  border-style: dashed;
}

.spatial-point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f6e5d6;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
}

.point-a {
  top: 22%;
  left: 28%;
}

.point-b {
  top: 34%;
  right: 22%;
}

.point-c {
  bottom: 24%;
  left: 22%;
}

.point-d {
  bottom: 18%;
  right: 28%;
}

.proof-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-top: 3rem;
}

.proof-copy p {
  max-width: 34rem;
  margin: 0;
}

.proof-stats {
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 1.4rem;
}

.proof-stats div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 7rem;
}

.cta-copy {
  display: grid;
  gap: 1rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  transition-delay: var(--delay, 0ms);
}

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

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .hero,
  .workflow,
  .proof-grid,
  .cta,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-panel {
    justify-self: start;
    margin-bottom: 1rem;
  }

  .workflow-sticky {
    position: static;
  }

  .spatial-stage {
    min-height: 560px;
  }

  .proof-stats {
    grid-template-columns: 1fr;
  }

  .cta {
    align-items: start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 74px;
  }

  .site-header,
  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  .hero-copy {
    padding: 3rem 0 1rem;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  h2 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .hero-grid {
    inset: 16% -4% 44% -18%;
  }

  .hero-orbit-one {
    width: 220px;
    height: 220px;
    right: -12%;
    top: 10%;
  }

  .hero-orbit-two {
    width: 300px;
    height: 300px;
    right: -22%;
    top: 4%;
  }

  .spatial-stage {
    min-height: 420px;
  }

  .ring-a {
    width: 180px;
    height: 180px;
  }

  .ring-b {
    width: 280px;
    height: 280px;
  }

  .ring-c {
    width: 420px;
    height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
