:root {
  --ink-0: #0d0a2a;
  --ink-1: #14103d;
  --ink-2: #1d1860;
  --text: #f3f1ff;
  --muted: #bdb8ea;
  --line: rgba(243, 241, 255, .14);
  --go: #6ee7a2;
  --prod: #ff8f8f;
  --violet: #4b2fb0;
  --blue: #1f4fb5;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #4a4488 var(--ink-0); }
body {
  margin: 0;
  background: var(--ink-1);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--go); color: var(--ink-0); }
:focus-visible { outline: 2px solid var(--go); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
code { font: 500 .88em var(--mono); color: var(--go); }
a { color: inherit; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.wrap-wide { width: min(1240px, 100% - 48px); }

/* nav */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 5;
  display: flex; align-items: center; gap: 32px;
  padding: 20px max(24px, calc((100% - 1120px) / 2));
}
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.05rem var(--display); letter-spacing: -.01em; text-decoration: none; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: .95rem; }
.nav-links a { color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px;
  background: var(--text); color: var(--ink-1);
  font: 600 1rem var(--body); text-decoration: none;
  box-shadow: 0 1px 0 #fff inset, 0 10px 30px -10px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease), background .2s;
}
.btn:hover { background: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; border-radius: 10px; font-size: .92rem; }
.btn-lg { padding: 18px 32px; font-size: 1.125rem; }

/* hero */
.hero {
  padding: 150px 0 0;
  background:
    linear-gradient(155deg, #3f2a98 0%, #1d1763 38%, #1b3c93 100%);
  overflow-x: clip;
}
h1, h2 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 {
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.025em;
  max-width: 16ch;
}
.lede { max-width: 52ch; margin: 28px 0 0; font-size: 1.25rem; color: var(--muted); text-wrap: pretty; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 36px; }
.cta-note { color: var(--muted); font-size: .95rem; }
.shot-wrap { margin-top: 64px; }
.hero .win { margin-bottom: -120px; z-index: 1; }
.hero + .pipeline { padding-top: 180px; }

/* app windows */
.win { margin: 0; container-type: inline-size; position: relative; }
.win-crop img, .win-sm img { border-radius: 10px; }
.win img {
  width: 100%;
  border-radius: 2.2cqw;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 90px -30px rgba(4, 2, 30, .8), 0 20px 40px -20px rgba(4, 2, 30, .6);
}

/* pipeline */
.pipeline { padding: 96px 0; background: var(--ink-0); }
.pipeline h2, .close h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; max-width: 20ch;
}
.steps {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 20px;
  position: relative;
}
.steps::before { /* the rail */
  content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--line);
}
.steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding-top: 36px; }
.steps b { font: 700 1.05rem var(--display); }
.steps li > span:not(.dot) { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.dot {
  position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--go); box-shadow: 0 0 0 4px var(--ink-0);
}
.dot::after { /* check */
  content: ""; position: absolute; left: 5px; top: 3px; width: 5px; height: 9px;
  border: solid var(--ink-0); border-width: 0 2.2px 2.2px 0; transform: rotate(40deg);
}
.steps.armed .dot { background: #3b3680; transition: background .35s var(--ease) calc(var(--i) * .28s + .2s); }
.steps.armed .dot::after { opacity: 0; transition: opacity .2s calc(var(--i) * .28s + .35s); }
.steps.armed.run .dot { background: var(--go); }
.steps.armed.run .dot::after { opacity: 1; }
.steps li:nth-child(1) { --i: 0 } .steps li:nth-child(2) { --i: 1 } .steps li:nth-child(3) { --i: 2 }
.steps li:nth-child(4) { --i: 3 } .steps li:nth-child(5) { --i: 4 } .steps li:nth-child(6) { --i: 5 }

/* features */
.feature { padding: 120px 0 40px; }
.feature .head { max-width: 640px; margin-bottom: 56px; }
.feature h2, .duo h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08;
}
.feature p, .duo p { margin: 16px 0 0; color: var(--muted); max-width: 44ch; text-wrap: pretty; }
.feature .head p { font-size: 1.25rem; }
.small { font-size: .98rem; }
.facts {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.facts li { padding: 24px 32px 0 0; color: var(--muted); font-size: .98rem; }
.facts li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.facts b { display: block; color: var(--text); font: 700 1.05rem var(--display); margin-bottom: 6px; }

.feature.split .wrap { width: min(1280px, 100% - 48px); }
.split-grid { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 8.6fr); gap: 56px; align-items: center; }
.flip .split-grid { grid-template-columns: minmax(0, 8.6fr) minmax(0, 3.4fr); }
.tag-line { margin-top: 28px !important; }
.tag-line code {
  display: inline-block; padding: 8px 14px; border-radius: 8px;
  background: var(--ink-0); border: 1px solid var(--line); font-size: .95rem;
}
.feature { overflow-x: clip; }
.prod {
  font: 600 .72rem var(--mono); letter-spacing: .06em; color: var(--prod);
  background: rgba(255, 143, 143, .14); padding: 2px 7px; border-radius: 5px;
}

.duo { padding: 160px 0 120px; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.duo article { display: flex; flex-direction: column; }
.duo .win { margin-bottom: 40px; }
.duo article:last-child { padding-top: 0; }

/* close */
.close {
  padding: 140px 0;
  background:
    linear-gradient(155deg, #3f2a98 0%, #1d1763 45%, #1b3c93 100%);
}
.close .btn { margin-top: 40px; }
.close .small { margin: 20px 0 0; color: var(--muted); }
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.foot-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.credit { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.credit img { width: 40px; height: auto; }
.credit p { margin: 0; line-height: 1.55; }
.credit a { color: var(--text); text-underline-offset: 3px; text-decoration-color: var(--line); transition: text-decoration-color .2s; }
.credit a:hover { text-decoration-color: currentColor; }

/* tablet + mobile */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .steps { grid-template-columns: 1fr; gap: 28px 0; margin-top: 40px; }
  .steps::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps li { padding: 0 0 0 40px; }
  .split-grid, .flip .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .flip .copy { order: -1; }
  .win-lg { overflow-x: auto; scroll-snap-type: x proximity; border-radius: 12px; }
  .win-lg img { width: 760px; max-width: none; border-radius: 12px; }
  .win-crop img { width: 640px; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .duo-grid { grid-template-columns: 1fr; gap: 80px; }
  .feature { padding-top: 88px; }
  .hero { padding-top: 110px; }
  .hero .win { margin-bottom: -60px; }
  .hero + .pipeline { padding-top: 130px; }
  .shot-wrap { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
