:root {
  color-scheme: dark;
  --bg: #180f46;
  --bg-soft: #251965;
  --ink: #fff8e8;
  --muted: rgba(255, 248, 232, 0.72);
  --faint: rgba(255, 226, 86, 0.1);
  --line: rgba(255, 226, 86, 0.18);
  --line-strong: rgba(255, 226, 86, 0.34);
  --purple: #3a2d7d;
  --purple-deep: #21185c;
  --purple-ink: #2f246d;
  --yellow: #ffe256;
  --yellow-soft: #fff3a8;
  --cream: #fff8e8;
  --gold: var(--yellow);
  --saffron: #ffd35f;
  --green: var(--yellow);
  --cyan: #b9adff;
  --indigo: #6d5bd7;
  --red: #ff7a8a;
  --panel: rgba(46, 35, 109, 0.68);
  --panel-strong: rgba(58, 45, 125, 0.9);
  --shadow: 0 34px 90px rgba(13, 7, 46, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 226, 86, 0.14), transparent 28%),
    radial-gradient(circle at 16% 18%, rgba(185, 173, 255, 0.18), transparent 30%),
    linear-gradient(180deg, var(--purple) 0%, var(--purple-deep) 42%, #120b38 100%),
    var(--bg);
  color: var(--ink);
  font-family: "Instrument Sans", "Manrope", system-ui, sans-serif;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 226, 86, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 226, 86, 0.03) 1px, transparent 1px),
    linear-gradient(115deg, rgba(255, 226, 86, 0.18), transparent 32%),
    linear-gradient(245deg, rgba(185, 173, 255, 0.18), transparent 36%);
  background-size: 64px 64px, 64px 64px, auto, auto;
  mask-image: linear-gradient(180deg, black, rgba(0, 0, 0, 0.42));
}

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

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

.section-shell,
.site-header {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  width: 100%;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 226, 86, 0.14);
  background: rgba(38, 28, 102, 0.82);
  backdrop-filter: blur(20px);
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  flex: none;
  color: var(--yellow);
  filter: drop-shadow(0 16px 36px rgba(255, 226, 86, 0.24));
}

.brand-nodes {
  color: var(--purple);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--cream);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 226, 86, 0.12);
  border-radius: 999px;
  background: rgba(58, 45, 125, 0.28);
  color: rgba(255, 248, 232, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
  backdrop-filter: blur(16px);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  background: rgba(255, 226, 86, 0.12);
  color: var(--cream);
  transform: translateY(-1px);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-cta {
  padding: 0 18px;
  border: 1px solid rgba(255, 226, 86, 0.42);
  background: rgba(255, 226, 86, 0.1);
  color: var(--yellow-soft);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.btn {
  min-height: 54px;
  padding: 0 23px;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-soft));
  color: var(--purple-ink);
  box-shadow: 0 20px 54px rgba(255, 226, 86, 0.24);
}

.btn.secondary {
  border-color: var(--line-strong);
  background: rgba(58, 45, 125, 0.34);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 84px));
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  opacity: 0.78;
  filter: saturate(0.9) contrast(1.08) hue-rotate(12deg);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(58, 45, 125, 0.42), rgba(58, 45, 125, 0.12) 46%, rgba(255, 226, 86, 0.08)),
    radial-gradient(circle at 82% 38%, rgba(255, 226, 86, 0.1), transparent 30%);
  mix-blend-mode: color;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 15, 70, 0.98) 0%, rgba(24, 15, 70, 0.78) 42%, rgba(24, 15, 70, 0.35) 72%, rgba(24, 15, 70, 0.66) 100%),
    linear-gradient(180deg, rgba(58, 45, 125, 0.1) 0%, #180f46 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 84px));
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 34px 0 46px;
}

.hero-copy {
  max-width: min(780px, calc(100% - 430px));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Manrope", "Instrument Sans", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 12.6ch;
  margin-bottom: 18px;
  font-size: clamp(3.25rem, 6.2vw, 6rem);
  line-height: 0.91;
  font-weight: 800;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 24px;
  color: rgba(255, 248, 232, 0.8);
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 22px;
}

.launch-note {
  display: flex;
  max-width: 650px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 226, 86, 0.28);
  border-radius: 8px;
  background: rgba(33, 24, 92, 0.5);
  backdrop-filter: blur(18px);
}

.launch-note span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.launch-note strong {
  color: rgba(255, 248, 232, 0.9);
  font-size: 0.95rem;
}

.launch-card,
.prestige-strip article,
.engine-grid article,
.memo-panel,
.moat-points article,
.product-grid article,
.roadmap article,
.closing-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.08), rgba(255, 226, 86, 0.025)),
    rgba(38, 28, 102, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.launch-card {
  position: relative;
  padding: 15px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero .launch-card {
  position: absolute;
  right: 0;
  top: 50%;
  width: 390px;
  transform: translateY(-44%);
}

.launch-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 226, 86, 0.54), transparent 38%, rgba(185, 173, 255, 0.5));
}

.launch-card-top,
.closing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.launch-card-top {
  margin-bottom: 12px;
  color: rgba(255, 248, 232, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
}

.launch-card-top strong {
  color: var(--yellow);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sealed-box {
  position: relative;
  display: grid;
  min-height: 210px;
  place-items: end center;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 226, 86, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 226, 86, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(255, 248, 232, 0.07), rgba(255, 226, 86, 0.025));
  perspective: 900px;
}

.box-aura {
  position: absolute;
  inset: auto 20% 38px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 86, 0.5), rgba(185, 173, 255, 0.18) 48%, transparent 72%);
  filter: blur(18px);
  animation: auraPulse 2.8s ease-in-out infinite;
}

.box-lid,
.box-body {
  position: relative;
  width: min(240px, 74%);
  border: 1px solid rgba(255, 248, 232, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 226, 86, 0.26), rgba(255, 248, 232, 0.08) 44%, rgba(185, 173, 255, 0.18)),
    rgba(33, 24, 92, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.box-lid {
  height: 54px;
  border-radius: 8px 8px 4px 4px;
  transform: translateY(16px) rotateX(0deg);
  transform-origin: bottom center;
  animation: sealedLid 3.4s ease-in-out infinite;
}

.box-lid::before,
.box-lid::after {
  content: "";
  position: absolute;
  inset: 12px auto 12px 50%;
  width: 1px;
  background: rgba(255, 226, 86, 0.58);
}

.box-lid::after {
  inset: auto 18px 50%;
  width: auto;
  height: 1px;
}

.box-lid span {
  position: absolute;
  inset: 8px 46% auto;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), rgba(255, 226, 86, 0.16));
  box-shadow: 0 0 24px rgba(255, 226, 86, 0.36);
}

.box-body {
  display: grid;
  min-height: 122px;
  justify-items: center;
  padding: 42px 18px 18px;
  border-radius: 4px 4px 8px 8px;
}

.box-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.1) 45%, transparent 58%);
  transform: translateX(-120%);
  animation: boxSheen 3.2s ease-in-out infinite;
}

.box-lock {
  position: absolute;
  top: -18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 226, 86, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--yellow), var(--yellow-soft));
  box-shadow: 0 0 0 8px rgba(255, 226, 86, 0.1), 0 18px 36px rgba(13, 7, 46, 0.32);
}

.box-lock::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 12px;
  border: 3px solid var(--purple-ink);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  transform: translateY(-8px);
}

.box-lock span {
  width: 6px;
  height: 14px;
  border-radius: 999px;
  background: var(--purple-ink);
  transform: translateY(5px);
}

.box-body strong {
  position: relative;
  margin-bottom: 5px;
  font-size: 1.22rem;
  line-height: 1.1;
}

.box-body small {
  position: relative;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.box-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 226, 86, 0.16), transparent);
  transform: translateY(-100%);
  animation: scanLine 2.6s ease-in-out infinite;
  pointer-events: none;
}

.box-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.box-chips span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 226, 86, 0.2);
  border-radius: 999px;
  background: rgba(255, 226, 86, 0.08);
  color: rgba(255, 248, 232, 0.88);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
}

.section-shell:not(.prestige-strip) {
  padding-top: 96px;
}

.prestige-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 20px;
}

.prestige-strip article,
.engine-grid article,
.moat-points article,
.product-grid article,
.roadmap article {
  min-height: 170px;
  padding: 22px;
}

.prestige-strip span,
.engine-grid span,
.memo-panel span,
.moat-points span,
.roadmap span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 226, 86, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.prestige-strip strong {
  display: block;
  max-width: 12ch;
  font-family: "Manrope", sans-serif;
  font-size: 1.38rem;
  line-height: 1.08;
}

.thesis-section,
.moat-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: start;
}

.section-heading h2,
.closing-section h2 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  line-height: 0.94;
  font-weight: 800;
}

.section-heading.center {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.center p:last-child {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.thesis-copy p {
  margin-bottom: 18px;
  color: rgba(255, 248, 232, 0.74);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.82;
}

.thesis-copy p:last-child {
  margin-bottom: 0;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.engine-grid h3,
.product-grid h3,
.roadmap h3,
.memo-panel h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.08;
}

.engine-grid p,
.product-grid p,
.roadmap p,
.memo-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.moat-layout {
  display: contents;
}

.memo-panel {
  min-height: 360px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 226, 86, 0.15), rgba(185, 173, 255, 0.12)),
    rgba(38, 28, 102, 0.72);
}

.memo-panel h3 {
  max-width: 14ch;
  font-size: clamp(2rem, 3vw, 3rem);
}

.moat-points {
  display: grid;
  gap: 12px;
}

.moat-points article {
  min-height: 112px;
}

.moat-points strong {
  display: block;
  max-width: 46ch;
  font-size: 1.08rem;
  line-height: 1.38;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.closing-section {
  margin-bottom: 78px;
  padding: 30px;
  background:
    linear-gradient(115deg, rgba(255, 226, 86, 0.18), rgba(58, 45, 125, 0.28) 56%, rgba(185, 173, 255, 0.13)),
    rgba(38, 28, 102, 0.72);
}

.closing-section > div {
  max-width: 760px;
}

.closing-section h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.closing-section p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes auraPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes sealedLid {
  0%,
  100% {
    transform: translateY(16px) rotateX(0deg);
  }

  48% {
    transform: translateY(10px) rotateX(-5deg);
  }

  58% {
    transform: translateY(16px) rotateX(0deg);
  }
}

@keyframes boxSheen {
  0%,
  45% {
    transform: translateX(-120%);
  }

  75%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes scanLine {
  0% {
    transform: translateY(-105%);
    opacity: 0;
  }

  18%,
  70% {
    opacity: 1;
  }

  100% {
    transform: translateY(105%);
    opacity: 0;
  }
}

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

@media (max-width: 1080px) {
  .prestige-strip,
  .engine-grid,
  .roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thesis-section,
  .moat-section,
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

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

  .hero .launch-card {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 620px;
    transform: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-image img {
    object-position: 72% center;
    opacity: 0.62;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(24, 15, 70, 0.97), rgba(24, 15, 70, 0.78)),
      linear-gradient(180deg, rgba(58, 45, 125, 0.14), #180f46);
  }

  .launch-note,
  .closing-section {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .site-header.is-scrolled {
    padding-inline: 14px;
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.78rem;
  }

  .nav-links {
    font-size: 0.84rem;
  }

  .hero-inner {
    padding: 32px 0 48px;
  }

  h1 {
    font-size: clamp(3rem, 14.5vw, 4.5rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .btn {
    padding-inline: 18px;
  }

  .prestige-strip,
  .engine-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .section-shell:not(.prestige-strip) {
    padding-top: 68px;
  }

  .launch-card,
  .prestige-strip article,
  .engine-grid article,
  .memo-panel,
  .moat-points article,
  .product-grid article,
  .roadmap article,
  .closing-section {
    min-height: 0;
    padding: 18px;
  }

  .box-chips {
    grid-template-columns: 1fr;
  }
}
