:root {
  color-scheme: dark;
  --ink: #071016;
  --ink-2: #0d171c;
  --paper: #f8f5ea;
  --muted: #bfd4d8;
  --soft: #dfeceb;
  --teal: #27d4c8;
  --teal-2: #0f8f85;
  --gold: #f5c65b;
  --coral: #ff7666;
  --line: rgba(191, 212, 216, 0.22);
  --font-display: "Aptos Display", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  --font-body: Inter, "Aptos", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mx: 50%;
  --my: 24%;
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  background:
    linear-gradient(90deg, rgba(39, 212, 200, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(39, 212, 200, 0.05) 1px, transparent 1px),
    var(--ink);
  background-size: 96px 96px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgba(39, 212, 200, 0.18), transparent 36%),
    linear-gradient(250deg, rgba(245, 198, 91, 0.12), transparent 38%),
    #05090d;
}

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: calc(var(--scroll, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
}

.cursor-light {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
  background:
    linear-gradient(90deg, transparent, rgba(39, 212, 200, 0.08), transparent),
    radial-gradient(circle at var(--mx) var(--my), rgba(248, 245, 234, 0.16), transparent 24rem);
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(223, 236, 235, 0.14);
  border-radius: 8px;
  background: rgba(5, 9, 13, 0.68);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  min-height: 40px;
  padding: 10px 13px;
  border-radius: 8px;
  color: rgba(248, 245, 234, 0.75);
  font-size: 14px;
  font-weight: 750;
}

nav a:hover,
nav a.is-active {
  background: rgba(39, 212, 200, 0.13);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: 4vw;
  padding: 124px max(48px, calc((100vw - 1120px) / 2)) 48px;
  overflow: hidden;
}

.hero-bg,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.04);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.is-loaded .hero-bg {
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 3, 8, 0.96) 0%, rgba(2, 3, 8, 0.84) 37%, rgba(2, 3, 8, 0.28) 72%, rgba(2, 3, 8, 0.66) 100%),
    linear-gradient(180deg, rgba(2, 3, 8, 0.08), rgba(2, 3, 8, 0.72));
}

.hero-grid {
  opacity: 0.34;
  background:
    linear-gradient(90deg, rgba(248, 245, 234, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(248, 245, 234, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 74%);
}

.hero-copy,
.launch-stage {
  position: relative;
  z-index: 2;
}

.hero-nameplate {
  display: inline-grid;
  gap: 6px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(223, 236, 235, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(39, 212, 200, 0.16), rgba(255, 118, 102, 0.09)),
    rgba(5, 9, 13, 0.58);
  box-shadow: inset 0 0 0 1px rgba(248, 245, 234, 0.05);
  backdrop-filter: blur(14px);
}

.name-abbr {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 42px;
  font-weight: 950;
  line-height: 0.96;
}

.name-full {
  color: rgba(223, 236, 235, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  color: rgba(223, 236, 235, 0.88);
  font-size: 22px;
  line-height: 1.28;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(223, 236, 235, 0.18);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 850;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #041014;
}

.button.secondary {
  background: rgba(248, 245, 234, 0.08);
  color: var(--paper);
}

.launch-stage {
  display: grid;
  place-items: center;
  min-height: 560px;
}

.face-panel {
  position: relative;
  width: min(460px, 86vw);
  aspect-ratio: 1;
  border: 1px solid rgba(223, 236, 235, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: #081216;
  box-shadow:
    0 44px 90px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(39, 212, 200, 0.12);
  transform:
    perspective(900px)
    rotateX(calc((var(--py, 0) * -1deg)))
    rotateY(calc(var(--px, 0) * 1deg));
}

.face-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 45%;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.18);
}

.face-panel::before,
.face-panel::after,
.ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(39, 212, 200, 0.28);
  border-radius: 50%;
  content: "";
}

.face-panel::before {
  animation: rotateFace 14s linear infinite;
}

.face-panel::after {
  inset: 20%;
  border-color: rgba(245, 198, 91, 0.34);
  animation: rotateFace 10s linear infinite reverse;
}

.ring {
  pointer-events: none;
}

.ring-one {
  inset: 30%;
  border-color: rgba(248, 245, 234, 0.4);
  animation: pulseRing 2.9s ease-in-out infinite;
}

.ring-two {
  inset: 42%;
  border-color: rgba(255, 118, 102, 0.45);
  animation: pulseRing 3.7s ease-in-out infinite 0.2s;
}

.scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(248, 245, 234, 0.22), transparent);
  transform: translateX(-120%);
  animation: scan 2.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s both;
}

.state {
  position: absolute;
  min-width: 92px;
  padding: 8px 10px;
  border: 1px solid rgba(223, 236, 235, 0.2);
  border-radius: 8px;
  background: rgba(5, 9, 13, 0.68);
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  backdrop-filter: blur(10px);
}

.state-listen {
  top: 26px;
  left: 24px;
}

.state-think {
  right: 22px;
  top: 112px;
}

.state-act {
  right: 48px;
  bottom: 34px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
  box-shadow: inset 0 1px 0 rgba(248, 245, 234, 0.05);
}

.signal-strip div {
  position: relative;
  min-height: 156px;
  padding: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 245, 234, 0.045), transparent),
    rgba(7, 16, 22, 0.96);
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.signal-strip div::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  content: "";
}

.signal-strip div:hover {
  background:
    linear-gradient(180deg, rgba(39, 212, 200, 0.13), transparent),
    rgba(7, 16, 22, 0.98);
  transform: translateY(-2px);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 22px;
}

.signal-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  position: relative;
  padding: 108px max(48px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(180deg, rgba(39, 212, 200, 0.08), transparent 26%),
    #f8f5ea;
  color: #071016;
}

.section.dark {
  background:
    linear-gradient(180deg, rgba(245, 198, 91, 0.08), transparent 30%),
    #071016;
  color: var(--paper);
}

.split,
.control {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
  gap: 72px;
  align-items: center;
}

.section h2 {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  max-width: 700px;
  color: #52636b;
  font-size: 22px;
  line-height: 1.36;
}

.dark .section-heading p:not(.eyebrow),
.dark .section-copy p:not(.eyebrow) {
  color: var(--muted);
}

.section-heading::after,
.section-copy::after {
  display: block;
  width: 92px;
  height: 4px;
  margin-top: 28px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
  content: "";
}

.narrow {
  max-width: 820px;
}

.voice-board,
.control-panel {
  position: relative;
  border: 1px solid rgba(7, 16, 22, 0.12);
  border-radius: 8px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff, #f2faf8),
    #ffffff;
  box-shadow: 0 26px 64px rgba(7, 16, 22, 0.11);
}

.voice-board::before,
.control-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral));
  content: "";
}

.voice-board {
  display: grid;
  gap: 12px;
}

.voice-core {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  margin-bottom: 8px;
  border: 1px solid rgba(15, 143, 133, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(39, 212, 200, 0.1), transparent),
    #071016;
  color: var(--paper);
  overflow: hidden;
}

.voice-core::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(223, 236, 235, 0.13);
  border-radius: 8px;
  content: "";
}

.voice-core span {
  display: grid;
  place-items: center;
  width: 164px;
  height: 164px;
  border: 3px solid var(--teal);
  border-radius: 50%;
  background: rgba(248, 245, 234, 0.07);
  box-shadow: inset 0 0 34px rgba(39, 212, 200, 0.18);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 950;
  animation: breathe 3s ease-in-out infinite;
}

.voice-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(7, 16, 22, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.voice-row:hover {
  border-color: rgba(15, 143, 133, 0.32);
  transform: translateX(3px);
}

.voice-row b {
  font-family: var(--font-display);
  font-size: 18px;
}

.voice-row span {
  color: #52636b;
  line-height: 1.35;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

.timeline article,
.tool-grid article,
.proof-grid article {
  position: relative;
  border: 1px solid rgba(223, 236, 235, 0.14);
  border-radius: 8px;
  padding: 24px;
  overflow: hidden;
  background: rgba(248, 245, 234, 0.05);
  min-height: 220px;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.timeline article::before,
.tool-grid article::before,
.proof-grid article::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  content: "";
}

.timeline article:hover,
.tool-grid article:hover,
.proof-grid article:hover {
  transform: translateY(-4px);
}

.timeline span,
.tool-grid span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.timeline span {
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(39, 212, 200, 0.34);
  background: rgba(39, 212, 200, 0.08);
  color: var(--paper);
}

.timeline h3,
.tool-grid h3,
.proof-grid h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.05;
}

.timeline p,
.tool-grid p,
.proof-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.tool-grid article {
  background:
    linear-gradient(180deg, #ffffff, #f3fbf9);
  border-color: rgba(7, 16, 22, 0.1);
  min-height: 246px;
  box-shadow: 0 18px 42px rgba(7, 16, 22, 0.07);
}

.tool-grid article:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, var(--gold), var(--coral));
}

.tool-grid article:nth-child(3n)::before {
  background: linear-gradient(90deg, var(--coral), var(--teal));
}

.tool-grid article:hover {
  border-color: rgba(15, 143, 133, 0.22);
  box-shadow: 0 24px 52px rgba(7, 16, 22, 0.12);
}

.tool-grid p {
  color: #52636b;
}

.tool-grid span {
  padding: 0 10px;
  background: rgba(15, 143, 133, 0.08);
  color: var(--teal-2);
  margin-bottom: 20px;
}

.control-panel {
  background:
    linear-gradient(135deg, rgba(39, 212, 200, 0.14), transparent 44%),
    linear-gradient(180deg, #071016, #0d171c);
  color: var(--paper);
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(223, 236, 235, 0.14);
}

.panel-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 24px rgba(39, 212, 200, 0.7);
}

.panel-bar b {
  font-family: var(--font-display);
}

.toggle-row {
  position: relative;
  padding: 18px 18px 18px 66px;
  border: 1px solid rgba(223, 236, 235, 0.14);
  border-radius: 8px;
  background: rgba(248, 245, 234, 0.04);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.toggle-row.active {
  border-color: rgba(39, 212, 200, 0.34);
  background: rgba(39, 212, 200, 0.08);
}

.toggle-row:hover {
  border-color: rgba(245, 198, 91, 0.32);
}

.toggle-row + .toggle-row {
  margin-top: 12px;
}

.toggle-row::before {
  position: absolute;
  left: 18px;
  top: 20px;
  width: 30px;
  height: 18px;
  border: 1px solid rgba(223, 236, 235, 0.32);
  border-radius: 8px;
  content: "";
}

.toggle-row::after {
  position: absolute;
  left: 22px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(223, 236, 235, 0.7);
  content: "";
  transition: transform 240ms ease, background 240ms ease;
}

.toggle-row.active::after {
  transform: translateX(13px);
  background: var(--teal);
}

.toggle-row b,
.toggle-row span {
  display: block;
}

.toggle-row b {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 18px;
}

.toggle-row span {
  color: var(--muted);
  line-height: 1.4;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.proof-grid article {
  background:
    linear-gradient(180deg, rgba(248, 245, 234, 0.07), rgba(248, 245, 234, 0.035));
}

.proof-grid article:hover {
  border-color: rgba(245, 198, 91, 0.28);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.18);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 34px max(32px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  background: #05090d;
  color: var(--muted);
  font-weight: 750;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes scan {
  to {
    transform: translateX(120%);
  }
}

@keyframes rotateFace {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseRing {
  50% {
    transform: scale(1.16);
    opacity: 0.42;
  }
}

@keyframes breathe {
  50% {
    transform: scale(1.045);
    box-shadow: inset 0 0 42px rgba(39, 212, 200, 0.28);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

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

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

  h1 {
    font-size: 58px;
    line-height: 0.98;
  }

  .hero-lede {
    font-size: 22px;
  }

  .section h2 {
    font-size: 50px;
    line-height: 1.04;
  }

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

  .signal-strip,
  .timeline,
  .tool-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero,
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-copy {
    padding-top: 16px;
  }

  h1 {
    font-size: 44px;
    line-height: 1.02;
  }

  .hero-lede,
  .section-copy p:not(.eyebrow),
  .section-heading p:not(.eyebrow) {
    font-size: 19px;
  }

  .section h2 {
    font-size: 38px;
  }

  .name-abbr {
    font-size: 34px;
  }

  .hero-nameplate {
    width: 100%;
  }

  .state-act {
    right: 22px;
    bottom: 28px;
  }

  .signal-strip,
  .timeline,
  .tool-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    min-height: 132px;
    padding: 26px 22px;
  }

  .voice-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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