:root {
  color-scheme: dark;
  --black: #07080a;
  --surface: #101114;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: #9c9ca0;
  --dim: #65666b;
  --blue: #2098ff;
  --blue-bright: #18a0ff;
  --purple: #6840e8;
  --purple-soft: #5850f0;
  --button: #f1f1f2;
  --button-text: #25262c;
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.62);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-block: 0;
  scroll-snap-type: y mandatory;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--black);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -10%, rgba(104, 64, 232, 0.2), transparent 36rem),
    radial-gradient(circle at 52% 36%, rgba(32, 152, 255, 0.1), transparent 30rem),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025), transparent 22rem);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  overflow: hidden;
}

section {
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero {
  position: relative;
  display: flex;
  min-height: 940px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 72px 24px 116px;
  overflow: hidden;
  text-align: center;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 280px;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0,
    rgba(7, 8, 10, 0.52) 72%,
    transparent 100%
  );
}

.back-link {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 2;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(7, 8, 10, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-size: 20px;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.back-link:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.075);
  transform: translateX(-1px);
}

.back-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.hero-art {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: translateX(-50%);
  filter: saturate(1.18);
}

.hero-art::before {
  position: absolute;
  inset: 6% 0 2%;
  content: "";
  background:
    radial-gradient(circle at 48% 46%, rgba(104, 64, 232, 0.36), transparent 19rem),
    radial-gradient(circle at 43% 52%, rgba(32, 152, 255, 0.26), transparent 23rem),
    linear-gradient(125deg, transparent 28%, rgba(255, 255, 255, 0.08), transparent 48%);
  filter: blur(18px);
  opacity: 0.84;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at center, transparent 0 26%, rgba(7, 8, 10, 0.2) 56%, rgba(7, 8, 10, 0.88) 86%);
  pointer-events: none;
}

.beam {
  position: absolute;
  width: 18%;
  height: 96%;
  border-radius: 999px;
  background:
    linear-gradient(180deg, transparent 0 6%, rgba(32, 152, 255, 0.34) 16%, rgba(104, 64, 232, 0.86) 48%, rgba(32, 152, 255, 0.3) 76%, transparent 96%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.08) 22px, transparent 28px);
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: 0.88;
  transform: rotate(var(--rotate, -32deg)) skewX(-8deg);
  transform-origin: center;
  animation: beam-drift 9s ease-in-out infinite alternate;
}

.beam-one {
  --rotate: -34deg;
  top: -9%;
  left: 34%;
}

.beam-two {
  --rotate: -30deg;
  top: -3%;
  left: 45%;
  width: 16%;
  opacity: 0.76;
  animation-duration: 12s;
}

.beam-three {
  --rotate: -40deg;
  top: 8%;
  left: 26%;
  width: 14%;
  opacity: 0.56;
  animation-duration: 15s;
}

.beam-four {
  --rotate: -25deg;
  top: -12%;
  left: 57%;
  width: 13%;
  opacity: 0.48;
  animation-duration: 18s;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 72px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.brand-lockup img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 0 34px rgba(32, 152, 255, 0.28);
}

.brand-lockup em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: clamp(48px, 5.1vw, 72px);
  font-weight: 650;
  line-height: 1;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--button-text);
  border-color: rgba(255, 255, 255, 0.82);
  background: var(--button);
  box-shadow:
    0 18px 48px rgba(255, 255, 255, 0.12),
    0 0 30px rgba(32, 152, 255, 0.15);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.085);
}

.hero-note {
  margin: 16px 0 44px;
  color: rgba(255, 255, 255, 0.48);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.announcement {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(104, 64, 232, 0.28);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(104, 64, 232, 0.08);
  box-shadow: 0 0 34px rgba(104, 64, 232, 0.1);
  font-size: 13px;
}

.announcement strong {
  color: var(--text);
  font-weight: 650;
}

.showcase {
  position: relative;
  padding: 24px 24px 154px;
}

.section-title {
  width: min(1100px, 100%);
  margin: 0 auto 60px;
}

.section-title.center {
  text-align: center;
}

.section-title h2,
.download-section h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 550;
  line-height: 1.2;
}

.section-title p,
.download-section p {
  color: var(--dim);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.product-frame {
  position: relative;
  width: min(1204px, 100%);
  min-height: 734px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 60% 42%, rgba(104, 64, 232, 0.17), transparent 24rem),
    radial-gradient(circle at 38% 62%, rgba(32, 152, 255, 0.13), transparent 30rem),
    rgba(0, 0, 0, 0.44);
  box-shadow: var(--shadow);
}

.product-frame::before {
  position: absolute;
  inset: -18% -12%;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.product-frame::after {
  position: absolute;
  top: 12%;
  right: -10%;
  width: 56%;
  height: 78%;
  content: "";
  background:
    repeating-linear-gradient(128deg, transparent 0 52px, rgba(32, 152, 255, 0.12) 60px, rgba(104, 64, 232, 0.22) 76px, transparent 98px);
  filter: blur(4px);
  opacity: 0.9;
  transform: rotate(-10deg);
}

.window-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 24px rgba(32, 152, 255, 0.65);
}

.window-bar strong {
  color: var(--text);
}

.window-bar em {
  margin-left: auto;
  color: var(--dim);
  font-style: normal;
}

.window-scene {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 220px minmax(360px, 620px) 250px;
  gap: 22px;
  min-height: 734px;
  align-items: center;
  justify-content: center;
  padding: 92px 42px 56px;
}

.side-panel,
.ambient-card,
.command-window {
  border: 1px solid rgba(255, 255, 255, 0.105);
  background: rgba(6, 7, 10, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 26px 72px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.side-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
}

.side-panel div {
  padding: 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.side-panel small,
.ambient-card p,
.command-row p {
  color: var(--muted);
}

.side-panel small {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
}

.side-panel strong {
  font-size: 22px;
  font-weight: 650;
}

.command-window {
  overflow: hidden;
  border-radius: 16px;
}

.command-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(32, 152, 255, 0.08), rgba(104, 64, 232, 0.09));
}

.command-search span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(32, 152, 255, 0.45);
  animation: pulse 1.8s ease-out infinite;
}

.command-search p,
.command-row p {
  margin: 0;
}

kbd {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 12px;
}

.command-list {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.command-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
}

.command-row.active {
  color: var(--text);
  border-color: rgba(32, 152, 255, 0.32);
  background: linear-gradient(90deg, rgba(32, 152, 255, 0.2), rgba(104, 64, 232, 0.11));
}

.command-row span {
  color: var(--dim);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.command-row strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.command-row p {
  margin-top: 4px;
  font-size: 13px;
}

.command-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.ambient-card {
  align-self: end;
  padding: 22px;
  border-radius: 14px;
}

.ambient-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 14px;
}

.ambient-card strong {
  display: block;
  margin-bottom: 8px;
}

.ambient-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.workflow {
  position: relative;
  padding: 0 24px 154px;
}

.showcase-title,
.workflow-title,
.download-title {
  max-width: 760px;
}

.showcase-title h2,
.workflow-title h2,
.download-title h2 {
  margin-bottom: 14px;
  font-size: 48px;
  font-weight: 650;
  line-height: 1.04;
}

.showcase-title p:last-child,
.workflow-title p:last-child,
.download-title p:last-child {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.workflow-stack {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 40px;
}

.workflow-panel {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  min-height: 470px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 48%, rgba(104, 64, 232, 0.09), transparent 28rem),
    linear-gradient(90deg, rgba(32, 152, 255, 0.025), transparent 34%);
}

.workflow-panel.review-panel {
  grid-template-columns: minmax(0, 1.24fr) minmax(260px, 0.76fr);
}

.review-panel::before {
  background:
    radial-gradient(circle at 26% 48%, rgba(32, 152, 255, 0.12), transparent 30rem),
    linear-gradient(270deg, rgba(104, 64, 232, 0.035), transparent 34%);
}

.workflow-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 54px 52px;
}

.workflow-copy .eyebrow {
  margin-bottom: 20px;
}

.workflow-copy h3 {
  max-width: 430px;
  margin-bottom: 18px;
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 640;
  line-height: 1.05;
}

.workflow-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.workflow-copy strong {
  color: var(--text);
  font-weight: 650;
}

.workflow-detail {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(104, 64, 232, 0.3);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(104, 64, 232, 0.09);
  font-size: 12px;
  font-weight: 650;
}

.workflow-visual {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  background: #030407;
}

.workflow-visual::after {
  position: absolute;
  inset: -20% -44%;
  content: "";
  pointer-events: none;
  background: linear-gradient(108deg, transparent 42%, rgba(255, 255, 255, 0.13) 50%, transparent 58%);
  mix-blend-mode: screen;
  opacity: 0.55;
  transform: translateX(-28%);
  animation: visual-sheen 10s ease-in-out infinite;
}

.workflow-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.95;
  transform: scale(1.02);
  transition: transform 700ms ease;
}

.workflow-panel:hover .workflow-visual img {
  transform: scale(1.05);
}

.export-panel .workflow-visual img {
  object-position: 54% center;
}

.download {
  padding: 24px 24px 154px;
}

.download-section {
  position: relative;
  display: flex;
  width: min(880px, 100%);
  margin: 0 auto;
  align-items: center;
  flex-direction: column;
  padding: 86px 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 152, 255, 0.16), transparent 22rem),
    rgba(255, 255, 255, 0.04);
  text-align: center;
}

.download-section img {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border-radius: 20px;
}

.download-section p {
  max-width: 610px;
  margin-bottom: 28px;
}

.download-section small {
  margin-top: 18px;
  color: var(--muted);
}

.download-section code {
  display: block;
  max-width: 100%;
  margin-top: 12px;
  padding: 11px 14px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(32, 152, 255, 0.32);
  border-radius: 8px;
  color: var(--dim);
  background: rgba(0, 0, 0, 0.22);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

@keyframes beam-drift {
  from {
    transform: translate3d(-18px, 10px, 0) rotate(var(--rotate, -32deg)) skewX(-8deg) scale(0.96);
  }
  to {
    transform: translate3d(24px, -10px, 0) rotate(calc(var(--rotate, -32deg) + 4deg)) skewX(-7deg) scale(1.04);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 152, 255, 0.48);
  }
  70% {
    box-shadow: 0 0 0 13px rgba(32, 152, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(32, 152, 255, 0);
  }
}

@keyframes visual-sheen {
  0%,
  35% {
    transform: translateX(-34%) rotate(0.001deg);
    opacity: 0;
  }
  54% {
    opacity: 0.5;
  }
  72%,
  100% {
    transform: translateX(34%) rotate(0.001deg);
    opacity: 0;
  }
}

@media (max-width: 1060px) {
  .window-scene {
    grid-template-columns: minmax(0, 1fr);
    padding: 86px 20px 24px;
  }

  .side-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ambient-card {
    align-self: stretch;
  }

  .workflow-panel,
  .workflow-panel.review-panel {
    grid-template-columns: 1fr;
  }

  .workflow-panel.review-panel .workflow-visual {
    order: 2;
  }
}

@media (max-width: 640px) {
  .back-link {
    top: 20px;
    left: 20px;
  }

  .hero {
    min-height: 812px;
    padding: 36px 16px 86px;
  }

  .brand-lockup {
    margin-bottom: 80px;
  }

  .hero-art {
    top: 0;
    width: 100%;
    height: 100%;
  }

  h1 {
    font-size: 39px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .announcement {
    align-items: center;
    flex-direction: column;
    height: auto;
    padding: 10px 16px;
    gap: 2px;
  }

  .showcase {
    padding: 20px 16px 104px;
  }

  .workflow {
    padding: 0 16px 104px;
  }

  .section-title {
    margin-bottom: 26px;
  }

  .section-title h2,
  .download-section h3 {
    font-size: 20px;
  }

  .showcase-title h2,
  .workflow-title h2,
  .download-title h2 {
    font-size: 32px;
  }

  .section-title p,
  .download-section p {
    font-size: 16px;
    line-height: 1.45;
  }

  .product-frame {
    min-height: 0;
    border-radius: 12px;
  }

  .window-scene {
    min-height: 0;
    gap: 12px;
    padding: 58px 10px 10px;
  }

  .window-bar {
    height: 44px;
    padding: 0 14px;
  }

  .window-bar em {
    display: none;
  }

  .side-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .side-panel div {
    min-height: 72px;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 8px;
  }

  .side-panel small {
    min-height: 28px;
    margin-bottom: 5px;
    font-size: 10px;
    line-height: 1.2;
  }

  .side-panel strong {
    font-size: 17px;
  }

  .command-window {
    border-radius: 10px;
  }

  .command-search {
    min-height: 52px;
    padding: 0 13px;
  }

  .command-search p {
    font-size: 14px;
  }

  .command-list {
    gap: 4px;
    padding: 6px;
  }

  .command-row {
    min-height: 46px;
    gap: 10px;
    padding: 0 10px;
    border-radius: 8px;
  }

  .command-row strong {
    font-size: 13px;
  }

  .command-row p {
    display: none;
  }

  .ambient-card {
    display: none;
  }

  .command-search,
  .command-row {
    grid-template-columns: auto 1fr;
  }

  .command-search kbd,
  .command-row em {
    display: none;
  }

  .download-section {
    width: 100%;
    padding: 66px 20px;
  }

  .download {
    padding: 20px 16px 104px;
  }

  .workflow-stack {
    gap: 28px;
  }

  .workflow-panel {
    min-height: 0;
  }

  .workflow-copy {
    padding: 42px 22px 32px;
  }

  .workflow-copy h3 {
    font-size: 31px;
  }

  .workflow-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .workflow-visual {
    min-height: 240px;
  }

  .workflow-visual img {
    min-height: 240px;
    object-fit: cover;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
