:root {
  --bg: #f8faf7;
  --ink: #111513;
  --muted: #66706c;
  --paper: #ffffff;
  --line: #dfe7e1;
  --line-strong: #b7c7be;
  --cyan: #08c5f4;
  --cyan-soft: #dff8fb;
  --gold: #f5b82e;
  --gold-soft: #fff3ca;
  --sage: #6f8d7a;
  --coral: #d85d4a;
  --charcoal: #101816;
  --charcoal-soft: #1b2421;
  --shadow-sm: 0 1px 2px rgba(17, 21, 19, .06);
  --shadow: 0 12px 32px rgba(17, 21, 19, .12);
  --shadow-heavy: 0 24px 72px rgba(17, 21, 19, .28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #f8faf7 0%, #eef5f1 48%, #f8faf7 100%);
}

body.landing-page {
  min-height: 100svh;
  color: #f8faf7;
  background:
    radial-gradient(circle at 64% 36%, rgba(8, 197, 244, .24), transparent 28%),
    radial-gradient(circle at 73% 66%, rgba(245, 184, 46, .24), transparent 30%),
    linear-gradient(140deg, #07110f 0%, #101816 52%, #1a2117 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(248, 250, 247, .86);
  border-bottom: 1px solid rgba(183, 199, 190, .65);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 1rem;
  font-weight: 800;
}

.brand img {
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
}

.nav-links a {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  outline: none;
}

.nav-links .nav-cta {
  color: #0b2527;
  background: var(--cyan-soft);
  border: 1px solid rgba(8, 197, 244, .34);
}

.landing-page .site-header {
  position: fixed;
  background: rgba(6, 14, 13, .42);
  border-bottom-color: rgba(223, 231, 225, .12);
  color: #f8faf7;
}

.landing-page .brand img {
  box-shadow: 0 0 24px rgba(8, 197, 244, .35);
}

.landing-page .nav-links a {
  color: rgba(248, 250, 247, .76);
}

.landing-page .nav-links a:hover,
.landing-page .nav-links a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.landing-page .nav-links .nav-cta {
  color: #07110f;
  background: rgba(223, 248, 251, .94);
}

.cinematic-main {
  min-height: 100svh;
}

.cinematic-hero {
  position: relative;
  min-height: 100svh;
  padding: 96px max(24px, calc((100vw - 1180px) / 2)) 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, .18) 36%, rgba(0, 0, 0, .03) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, .42), transparent 38%, rgba(0, 0, 0, .34));
  z-index: -2;
}

.cinematic-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% -10%;
  height: 44%;
  background: radial-gradient(ellipse at center, rgba(8, 197, 244, .18), transparent 62%);
  filter: blur(12px);
  z-index: -1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.cinematic-copy {
  position: absolute;
  left: clamp(38px, 6vw, 112px);
  top: clamp(96px, 11vh, 132px);
  z-index: 3;
  max-width: 560px;
  transform: none;
}

.cinematic-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(4.4rem, 7vw, 6rem);
  line-height: .86;
  font-weight: 900;
  text-shadow: 0 18px 60px rgba(0, 0, 0, .42);
}

.floor-tagline {
  position: absolute;
  left: clamp(320px, 25vw, 470px);
  bottom: clamp(108px, 15vh, 178px);
  z-index: 3;
  max-width: 850px;
  margin: 0;
  color: #f8faf7;
  font-size: clamp(2.25rem, 3.75vw, 4.25rem);
  line-height: .9;
  font-weight: 900;
  text-shadow:
    0 14px 44px rgba(0, 0, 0, .72),
    0 0 22px rgba(8, 197, 244, .18);
}

.cinematic-visual {
  position: relative;
  min-height: 630px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.cinematic-visual::before {
  content: "";
  position: absolute;
  inset: 5% -3% 2% 4%;
  border: 1px solid rgba(223, 231, 225, .12);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(8, 197, 244, .16), transparent 34%),
    linear-gradient(320deg, rgba(245, 184, 46, .16), transparent 38%),
    linear-gradient(180deg, rgba(23, 32, 29, .64), rgba(16, 24, 22, .78));
  box-shadow: 0 40px 120px rgba(0, 0, 0, .38);
  transform: skewY(-1deg);
}

.cinematic-rig {
  width: min(660px, 100%);
  height: 560px;
}

.cinematic-rig .box-shadow {
  left: 175px;
  bottom: 42px;
}

.cinematic-rig .box-glow {
  left: 198px;
  bottom: 164px;
}

.cinematic-rig .box-base {
  left: 178px;
  bottom: 82px;
}

.cinematic-rig .box-lid {
  left: 168px;
  bottom: 226px;
}

.demo-popout {
  position: absolute;
  left: 42px;
  top: 28px;
  width: 390px;
  padding: 8px;
  border: 1px solid rgba(223, 231, 225, .58);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
  transform: rotate(-7deg);
  animation: demoPop 4.4s cubic-bezier(.18, .9, .2, 1) infinite;
  animation-delay: -1.16s;
}

.demo-popout img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.demo-popout span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #07110f;
  background: rgba(223, 248, 251, .95);
  font-size: .72rem;
  font-weight: 860;
}

.cinematic-rig .artifact-brief {
  left: 46px;
  top: 298px;
}

.cinematic-rig .artifact-source {
  left: 458px;
  top: 76px;
}

.cinematic-rig .artifact-redline {
  right: 14px;
  top: 284px;
}

.poll-panel {
  position: absolute;
  right: clamp(28px, 6vw, 112px);
  bottom: clamp(28px, 6vh, 70px);
  z-index: 4;
  width: min(370px, calc(100% - 48px));
  padding: 12px;
  border: 1px solid rgba(223, 231, 225, .22);
  border-radius: 8px;
  background: linear-gradient(140deg, rgba(7, 17, 15, .66), rgba(23, 32, 29, .5));
  box-shadow: 0 20px 74px rgba(0, 0, 0, .36), 0 0 42px rgba(8, 197, 244, .1);
  backdrop-filter: blur(18px);
}

.demo-preview {
  position: relative;
  aspect-ratio: 1265 / 720;
  overflow: visible;
  border: 1px solid rgba(142, 231, 255, .3);
  border-radius: 8px;
  background: rgba(7, 17, 15, .42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .05),
    0 12px 44px rgba(0, 0, 0, .32),
    0 0 26px rgba(8, 197, 244, .16);
}

.demo-preview::before,
.demo-preview::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.demo-preview::before {
  inset: -10px -12px;
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(8, 197, 244, .28), transparent 18% 78%, rgba(245, 184, 46, .24));
  filter: blur(12px);
  opacity: .58;
  z-index: -1;
}

.demo-preview::after {
  left: 28px;
  right: 30px;
  bottom: -22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 197, 244, .68), rgba(245, 184, 46, .5), transparent);
}

.demo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  opacity: .82;
  mix-blend-mode: screen;
}

.spiderbot {
  position: absolute;
  left: -30px;
  bottom: -18px;
  z-index: 2;
  width: 50px;
  height: 42px;
  filter: drop-shadow(0 0 12px rgba(8, 197, 244, .55));
}

.spiderbot-body,
.spiderbot-eye,
.spiderbot .leg {
  position: absolute;
  display: block;
}

.spiderbot-body {
  left: 13px;
  top: 12px;
  width: 24px;
  height: 18px;
  border: 1px solid rgba(223, 231, 225, .82);
  border-radius: 8px;
  background:
    radial-gradient(circle at 68% 42%, rgba(245, 184, 46, .9) 0 12%, transparent 13%),
    linear-gradient(135deg, rgba(8, 197, 244, .95), rgba(13, 25, 29, .92));
}

.spiderbot-eye {
  left: 28px;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f5b82e;
  box-shadow: 0 0 9px rgba(245, 184, 46, .9);
}

.spiderbot .leg {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: rgba(223, 231, 225, .88);
  transform-origin: center;
}

.spiderbot .leg-1 {
  left: 0;
  top: 14px;
  transform: rotate(-30deg);
}

.spiderbot .leg-2 {
  left: 0;
  top: 27px;
  transform: rotate(24deg);
}

.spiderbot .leg-3 {
  right: 0;
  top: 14px;
  transform: rotate(30deg);
}

.spiderbot .leg-4 {
  right: 0;
  top: 27px;
  transform: rotate(-24deg);
}

.poll-panel .eyebrow {
  margin-top: 0;
  margin-bottom: 6px;
  color: #8ee7ff;
  font-size: .76rem;
}

.poll-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.05;
}

.poll-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.poll-actions button {
  min-height: 38px;
  border: 1px solid rgba(223, 231, 225, .22);
  border-radius: 8px;
  color: #f8faf7;
  background: rgba(255, 255, 255, .08);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.poll-actions button:hover,
.poll-actions button:focus-visible {
  color: #07110f;
  background: #dff8fb;
  outline: none;
}

.poll-result {
  margin-top: 14px;
}

.poll-bars {
  height: 9px;
  display: grid;
  grid-template-columns: 78fr 22fr;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.poll-bars span:first-child {
  background: var(--gold);
}

.poll-bars span:last-child {
  background: var(--cyan);
}

.poll-result p {
  margin: 10px 0 14px;
  color: rgba(248, 250, 247, .78);
  font-size: .94rem;
}

.poll-result strong {
  color: #fff;
}

.poll-panel .button {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border-color: rgba(245, 184, 46, .65);
  background: var(--gold);
  color: #07110f;
}

@media (min-width: 981px) and (max-width: 1500px) {
  .cinematic-copy {
    left: clamp(34px, 6vw, 86px);
    top: 92px;
    max-width: 480px;
  }

  .poll-panel {
    right: clamp(24px, 5vw, 78px);
    bottom: 30px;
    width: 340px;
  }

  .poll-panel h2 {
    font-size: 1.06rem;
  }

  .poll-actions button {
    min-height: 36px;
  }
}

.hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  min-height: 86vh;
  margin: 0 auto;
  padding: 68px 0 50px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 36px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 141, 122, .42), transparent);
}

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

.eyebrow {
  margin: 0 0 10px;
  color: #416b5a;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 5.6rem;
  line-height: .95;
  font-weight: 860;
}

.tagline {
  max-width: 640px;
  margin: 16px 0 0;
  color: #14211d;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: .98;
  font-weight: 860;
}

.lede {
  max-width: 600px;
  margin: 22px 0 0;
  color: #3c4642;
  font-size: 1.25rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  font-weight: 780;
  box-shadow: var(--shadow-sm);
}

.button.primary {
  color: white;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  outline: none;
}

.signal-strip {
  margin: 34px 0 0;
  display: grid;
  gap: 10px;
}

.signal-strip div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.signal-strip dt {
  color: var(--ink);
  font-weight: 820;
}

.signal-strip dd {
  margin: 0;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% -6% 2% 2%;
  background:
    linear-gradient(120deg, rgba(8, 197, 244, .18), transparent 34%),
    linear-gradient(320deg, rgba(245, 184, 46, .18), transparent 38%),
    linear-gradient(180deg, #17201d, #101816);
  border: 1px solid rgba(223, 231, 225, .14);
  border-radius: 8px;
  box-shadow: var(--shadow-heavy);
  transform: skewY(-1deg);
}

.litbox-rig {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  width: 520px;
  height: 440px;
  max-width: 100%;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
}

.box-shadow {
  position: absolute;
  left: 122px;
  bottom: 44px;
  width: 300px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .42);
  filter: blur(18px);
  transform: rotateX(64deg);
}

.box-glow {
  position: absolute;
  left: 148px;
  bottom: 146px;
  width: 244px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 207, 75, .95), rgba(8, 197, 244, .28) 45%, transparent 72%);
  filter: blur(14px);
  animation: pulseGlow 3.2s ease-in-out infinite;
  animation-delay: -1.2s;
}

.box-base {
  position: absolute;
  left: 128px;
  bottom: 74px;
  width: 290px;
  height: 164px;
  border-radius: 34px 34px 44px 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(223, 240, 250, .9) 54%, rgba(173, 217, 242, .74)),
    linear-gradient(90deg, transparent 48%, rgba(15, 69, 102, .18) 49%, transparent 55%);
  box-shadow:
    inset -18px -22px 34px rgba(15, 69, 102, .16),
    inset 18px 18px 28px rgba(255, 255, 255, .76),
    0 18px 42px rgba(0, 0, 0, .28);
}

.box-base::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: -18px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255, 187, 35, .92), rgba(255, 232, 101, .95), rgba(255, 187, 35, .92));
  box-shadow: 0 0 28px rgba(245, 184, 46, .7);
}

.box-window {
  position: absolute;
  top: 70px;
  width: 80px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0065c9, var(--cyan));
  box-shadow: inset 0 4px 10px rgba(0, 32, 62, .54), 0 0 20px rgba(8, 197, 244, .45);
}

.box-window.left {
  left: 34px;
  transform: skewX(-12deg);
}

.box-window.right {
  right: 34px;
  transform: skewX(12deg);
}

.box-lid {
  position: absolute;
  left: 118px;
  bottom: 218px;
  width: 314px;
  height: 112px;
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(238, 247, 250, .92) 60%, rgba(187, 224, 245, .8));
  box-shadow:
    inset -16px -14px 24px rgba(15, 69, 102, .14),
    inset 14px 14px 20px rgba(255, 255, 255, .8),
    0 28px 46px rgba(0, 0, 0, .2);
  transform-origin: 50% 100%;
  animation: lidOpen 4.4s cubic-bezier(.18, .9, .2, 1) infinite;
  animation-delay: -1.4s;
}

.artifact {
  position: absolute;
  width: 126px;
  min-height: 88px;
  padding: 10px;
  border: 1px solid rgba(223, 231, 225, .56);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
  transform-origin: center;
  opacity: 0;
  animation: artifactRise 4.4s cubic-bezier(.18, .9, .2, 1) infinite;
}

.artifact span:not(.artifact-kicker) {
  display: block;
  height: 5px;
  margin-top: 8px;
  border-radius: 999px;
  background: #d6ded9;
}

.artifact span:nth-child(3) {
  width: 72%;
}

.artifact span:nth-child(4) {
  width: 48%;
}

.artifact-kicker {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: #18332f;
  background: var(--cyan-soft);
  font-size: .72rem;
  font-weight: 850;
}

.artifact-brief {
  left: 42px;
  top: 68px;
  border-top: 3px solid var(--gold);
  animation-delay: -1.34s;
}

.artifact-source {
  left: 206px;
  top: 10px;
  border-top: 3px solid var(--cyan);
  animation-delay: -1.18s;
}

.artifact-redline {
  right: 14px;
  top: 108px;
  border-top: 3px solid var(--coral);
  animation-delay: -1.02s;
}

.artifact-check {
  right: 96px;
  top: 234px;
  border-top: 3px solid var(--sage);
  animation-delay: -.88s;
}

.agent-thread {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(8, 197, 244, .85), rgba(245, 184, 46, .75), transparent);
  transform-origin: left center;
  opacity: .7;
  filter: drop-shadow(0 0 8px rgba(8, 197, 244, .6));
  animation: threadTrace 4.4s ease-in-out infinite;
}

.thread-one {
  left: 166px;
  top: 190px;
  width: 230px;
  transform: rotate(-24deg);
}

.thread-two {
  left: 192px;
  top: 210px;
  width: 248px;
  transform: rotate(24deg);
  animation-delay: -1.08s;
}

.thread-three {
  left: 128px;
  top: 234px;
  width: 210px;
  transform: rotate(-56deg);
  animation-delay: -.96s;
}

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 184, 46, .18), 0 0 18px rgba(245, 184, 46, .8);
  opacity: 0;
  animation: pinPop 4.4s ease-in-out infinite;
}

.pin-one { left: 134px; top: 88px; animation-delay: .74s; }
.pin-two { left: 308px; top: 44px; animation-delay: .9s; }
.pin-three { right: 78px; top: 182px; animation-delay: 1.04s; }

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: start;
}

.section-copy h2,
.workflow-copy h2,
.deploy-section h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 840;
}

.section-copy p:not(.eyebrow),
.deploy-section p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.system-grid article {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.tile-index {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(8, 197, 244, .28);
  border-radius: 999px;
  color: #0d5b64;
  background: var(--cyan-soft);
  font-size: .75rem;
  font-weight: 850;
}

.system-grid h3 {
  margin: 22px 0 10px;
  font-size: 1.15rem;
}

.system-grid p {
  margin: 0;
  color: var(--muted);
}

.workflow-band {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  min-height: 190px;
  padding: 18px;
  border-radius: 8px;
  background: #101816;
  color: white;
}

.workflow-steps span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #13201d;
  background: var(--gold);
  font-weight: 850;
}

.workflow-steps strong {
  display: block;
  margin-top: 18px;
  font-size: 1.05rem;
}

.workflow-steps p {
  margin: 9px 0 0;
  color: #cfdbd5;
  font-size: .94rem;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(300px, .74fr) minmax(0, 1.26fr);
  align-items: center;
  gap: 32px;
}

.demo-copy h2 {
  max-width: 540px;
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.04;
}

.demo-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: #56625e;
  font-size: 1.02rem;
  line-height: 1.65;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.demo-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(183, 199, 190, .92);
  border-radius: 8px;
  background: #fdfefa;
  box-shadow: var(--shadow-heavy);
}

.demo-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.demo-shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  background: rgba(16, 24, 22, .78);
  color: #f8faf7;
  font-size: .72rem;
  font-weight: 780;
}

.deploy-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(300px, .58fr);
  gap: 32px;
  align-items: center;
}

.deploy-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.deploy-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.deploy-panel div:last-child {
  border-bottom: 0;
}

.deploy-panel strong {
  font-weight: 850;
}

.deploy-panel span {
  color: var(--muted);
  text-align: right;
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.route-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.route-hero {
  min-height: calc(100vh - 68px);
  padding: 70px 0 52px;
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 34px;
}

.route-copy h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 6.2rem);
  line-height: .94;
  font-weight: 860;
}

.route-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(183, 199, 190, .92);
  border-radius: 8px;
  background: #fdfefa;
  box-shadow: var(--shadow-heavy);
}

.route-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.route-shot figcaption {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 760;
}

.route-panel {
  max-width: 760px;
  margin-left: 0;
}

.route-panel h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.06;
}

.route-panel p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #56625e;
  font-size: 1.02rem;
  line-height: 1.65;
}

@keyframes lidOpen {
  0%, 12% {
    transform: translateY(0) rotateX(0deg);
  }
  32%, 72% {
    transform: translateY(-42px) rotateX(16deg);
  }
  100% {
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: .62;
    transform: scale(.94);
  }
  45%, 72% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes artifactRise {
  0%, 16% {
    opacity: 0;
    transform: translate3d(0, 90px, 0) scale(.72) rotate(-4deg);
  }
  34%, 72% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(.84) rotate(3deg);
  }
}

@keyframes threadTrace {
  0%, 20% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  36%, 74% {
    opacity: .78;
    clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
  }
}

@keyframes pinPop {
  0%, 28% {
    opacity: 0;
    transform: scale(.4);
  }
  40%, 72% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(.7);
  }
}

@keyframes demoPop {
  0%, 16% {
    opacity: 0;
    transform: translate3d(76px, 118px, 0) scale(.68) rotate(-2deg);
  }
  34%, 74% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(-7deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(34px, 62px, 0) scale(.82) rotate(-4deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero,
  .section-intro,
  .workflow-band,
  .demo-section,
  .route-hero,
  .deploy-section {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(760px, calc(100% - 40px));
    min-height: auto;
    padding-top: 54px;
  }

  h1 {
    font-size: 4.25rem;
  }

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

  .cinematic-hero {
    min-height: auto;
    padding: 108px 20px 28px;
    align-items: start;
    display: grid;
    gap: 330px;
  }

  .cinematic-copy {
    position: relative;
    left: auto;
    top: auto;
    max-width: min(520px, 100%);
    transform: none;
  }

  .floor-tagline {
    left: 20px;
    right: 20px;
    bottom: 230px;
    max-width: 560px;
    font-size: clamp(2.15rem, 7.2vw, 3.35rem);
  }

  .hero-backdrop {
    object-position: 54% center;
  }

  .poll-panel {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(520px, 100%);
    margin-top: 8px;
  }

  .workflow-band {
    gap: 20px;
  }

  .demo-section {
    gap: 24px;
  }

  .workflow-steps,
  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .nav-links a {
    min-width: 0;
    min-height: 36px;
    padding: 0 8px;
    font-size: .82rem;
  }

  .nav-links .nav-cta {
    grid-column: 1 / -1;
  }

  .hero,
  .section,
  .route-page,
  .site-footer {
    width: calc(100% - 32px);
    max-width: 560px;
  }

  .hero {
    padding-top: 42px;
    gap: 18px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .cinematic-copy h1 {
    font-size: 4.6rem;
  }

  .cinematic-hero {
    padding: 184px 16px 22px;
    gap: 330px;
  }

  .floor-tagline {
    left: 16px;
    right: 16px;
    bottom: 204px;
    font-size: 2.05rem;
  }

  .hero-backdrop {
    object-position: 58% center;
  }

  .lede {
    font-size: 1.08rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .signal-strip div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .litbox-rig {
    width: 380px;
    height: 350px;
    transform: scale(.82);
    transform-origin: center;
  }

  .hero-visual::before {
    inset: 3% -2% 2%;
  }

  .system-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .system-grid article,
  .workflow-steps li {
    min-height: auto;
  }

  .section-copy h2,
  .workflow-copy h2,
  .demo-copy h2,
  .route-panel h2,
  .deploy-section h2 {
    font-size: 1.75rem;
  }

  .demo-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .demo-shot figcaption {
    position: static;
    max-width: none;
    border-width: 1px 0 0;
    border-radius: 0;
    background: #101816;
  }

  .deploy-panel div,
  .site-footer {
    flex-direction: column;
  }

  .deploy-panel span {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
