:root {
  color-scheme: dark;
  --night: #0d111c;
  --text: #fff9f1;
  --muted: #c2c6d3;
  --orange: #ff5301;
  --accent: #ff8d55;
  --line: #ffffff26;
  --gutter: clamp(20px, 5vw, 64px);
  color: var(--text);
  background: var(--night);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.page-header, main { width: min(100%, 1350px); margin-inline: auto; padding-inline: var(--gutter); }
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding-block: 16px;
}
.page-header img { display: block; width: clamp(108px, 22vw, 158px); height: auto; }
.page-header span { color: var(--muted); font-size: .75rem; font-weight: 620; text-align: end; }
.hero { display: grid; gap: 24px; padding-top: 13px; }
.hero-copy { display: grid; justify-items: start; gap: 15px; }
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--accent);
  font-size: .67rem;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.kicker::before {
  width: 18px;
  height: 4px;
  background: var(--orange);
  transform: skewX(-26deg);
  content: "";
}
h1 {
  margin: 0;
  font-size: clamp(2.85rem, 12vw, 5rem);
  font-weight: 870;
  line-height: .91;
  letter-spacing: -.067em;
}
h1 em { color: var(--accent); font-style: normal; }
.intro { max-width: 36ch; margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.enter {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 20px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--night);
  font-size: .91rem;
  font-weight: 780;
  text-decoration: none;
}
.enter:hover { background: var(--accent); }
.enter:focus-visible, .demo-toggle:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.demo { min-width: 0; margin: 0; }
.demo-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #191f2b;
}
.demo-frame::after {
  position: absolute;
  inset: 0 auto auto 14px;
  width: 38px;
  height: 3px;
  transform: skewX(-25deg);
  background: var(--orange);
  pointer-events: none;
  content: "";
}
.demo video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.demo-toggle:not([hidden]) {
  position: absolute;
  inset: auto 10px 10px auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff60;
  border-radius: 12px;
  background: #0d111ce8;
  color: var(--text);
  cursor: pointer;
}
.demo-toggle .pause-icon, .demo-toggle[data-playing] .play-icon { display: none; }
.demo-toggle[data-playing] .pause-icon { display: block; }
.demo figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-top: 8px;
  color: var(--muted);
  font-size: .68rem;
}
.demo figcaption span:first-child { color: var(--text); font-weight: 690; }
.flow { margin-block: 29px; padding-top: 22px; border-top: 1px solid var(--line); }
.flow h2 { margin: 0 0 15px; font-size: 1.13rem; letter-spacing: -.025em; }
.flow ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.flow li { display: flex; align-items: baseline; gap: 10px; }
.step { color: var(--accent); font-size: .73rem; font-weight: 740; font-variant-numeric: tabular-nums; }
.flow h3 { margin: 0 0 3px; font-size: .9rem; }
.flow li p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.42; }
@media (min-width: 760px) {
  .page-header { min-height: 82px; }
  .hero {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(32px, 6vw, 78px);
    padding-top: clamp(16px, 3.4vw, 48px);
  }
  .hero-copy { gap: 20px; padding-bottom: 20px; }
  .kicker { font-size: .74rem; }
  h1 { font-size: clamp(3.25rem, 6.5vw, 6rem); }
  .intro { font-size: clamp(.98rem, 1.48vw, 1.17rem); }
  .demo-frame { border-radius: 21px; }
  .flow { margin-top: clamp(34px, 5vw, 64px); }
  .flow ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: appear 470ms ease-out both; }
  .demo { animation: appear 480ms 70ms ease-out both; }
  .enter svg { transition: transform 150ms ease-out; }
  .enter:hover svg { transform: translateX(3px); }
  @keyframes appear { from { opacity: 0; transform: translateY(9px); } }
}
