:root {
  --ink: #0d0e10;
  --ink-soft: #111316;
  --panel: #171a1e;
  --panel-raised: #1e2228;
  --line: #30353d;
  --line-strong: #4b525c;
  --paper: #f3efe7;
  --paper-deep: #e5dfd3;
  --text: #f8f5ef;
  --muted: #a9afb8;
  --muted-dark: #6e747d;
  --accent: #ff6a35;
  --accent-hot: #ff8a2a;
  --yellow: #ffc857;
  --cyan: #7bdff2;
  --green: #b7e4c7;
  --max-width: 1240px;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.035);
  border-left: 1px solid rgba(255, 255, 255, 0.035);
  content: "";
  pointer-events: none;
}

img,
video {
  max-width: 100%;
}

img {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

code {
  color: var(--yellow);
  font-size: 0.9em;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-right: auto;
  margin-left: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
}

.status-dot,
.release-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 53, 0.14);
}

.release-dot {
  width: 7px;
  height: 7px;
  box-shadow: none;
  background: var(--yellow);
}

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

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

h2 {
  margin-bottom: 24px;
  color: var(--text);
  font-size: 52px;
  font-weight: 650;
  line-height: 1.2;
}

h2 span,
h2 em,
h1 em {
  color: var(--accent);
  font-style: normal;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button:focus-visible,
.hero-source-link:focus-visible,
.nav-links a:focus-visible,
.nav-stars:focus-visible,
.nav-github:focus-visible,
.footer-links a:focus-visible,
.mobile-menu a:focus-visible,
.github-live:focus-visible,
.shot-open:focus-visible,
.copy-button:focus-visible,
.menu-toggle:focus-visible,
.lightbox-close:focus-visible,
.video-caption a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.button-primary,
.button-accent {
  color: #241006;
  background: linear-gradient(135deg, #ff3b30 0%, #ff7a18 58%, #ffd34e 100%);
  box-shadow: 0 7px 20px rgba(255, 94, 31, 0.2);
}

.button-primary:hover,
.button-accent:hover {
  background: linear-gradient(135deg, #ff5143 0%, #ff8b24 58%, #ffdc69 100%);
  filter: brightness(1.06);
}

.button-quiet {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}

.button-quiet:hover {
  border-color: var(--text);
  background: var(--panel-raised);
}

.hero-source-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 8px;
  padding-right: 0;
  padding-left: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(169, 175, 184, 0.52);
  text-underline-offset: 5px;
  transition: color 180ms ease, transform 180ms ease, text-decoration-color 180ms ease;
}

.hero-source-link:hover {
  color: var(--text);
  text-decoration-color: currentColor;
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 0.78rem;
}

.site-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(13, 14, 16, 0.94);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  width: min(calc(100% - 48px), var(--max-width));
  height: var(--nav-height);
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 730;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 34px;
  color: var(--muted);
  font-size: 0.83rem;
}

.nav-links a,
.nav-github,
.footer-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active,
.nav-github:hover,
.footer-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-stars {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 6px;
  color: var(--yellow);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.nav-stars:hover {
  color: var(--text);
}

.nav-stars-mark {
  font-size: 0.88rem;
  line-height: 1;
}

.nav-stars-count {
  min-width: 1.1em;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
}

.nav-stars-label {
  color: var(--muted-dark);
  font-size: 0.58rem;
}

.nav-github {
  color: var(--muted);
  font-size: 0.83rem;
}

@media (max-width: 1100px) and (min-width: 821px) {
  .nav-links {
    gap: 14px;
    margin-right: 14px;
  }

  .nav-actions {
    gap: 12px;
  }

  .nav-stars-label {
    display: none;
  }
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 24px 18px;
  background: var(--ink-soft);
}

.mobile-menu a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.9rem;
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.mobile-menu.is-open {
  display: block;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 550px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 60px;
  padding-top: 40px;
  padding-bottom: 25px;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  content: "";
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(ellipse at 78% 18%, rgba(255, 95, 37, 0.34) 0%, rgba(173, 33, 56, 0.18) 24%, transparent 58%),
    radial-gradient(ellipse at 38% 116%, rgba(111, 43, 164, 0.42) 0%, rgba(55, 21, 87, 0.26) 44%, transparent 74%),
    linear-gradient(180deg, #07080b 0%, #100c18 40%, #211334 72%, #35194e 100%);
}

.hero::after {
  background:
    radial-gradient(ellipse at 17% 54%, rgba(7, 7, 12, 0.62) 0%, rgba(7, 7, 12, 0.2) 42%, transparent 76%),
    radial-gradient(ellipse at 86% 88%, rgba(255, 71, 27, 0.16) 0%, transparent 44%);
  opacity: 0.86;
}

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

.hero h1 {
  max-width: 680px;
  margin: 0 0 26px;
  color: var(--text);
  font-size: 64px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
}

.hero-title-line {
  display: block !important;
  width: max-content;
  max-width: 100%;
  min-height: 1em;
  white-space: nowrap;
}

.hero-title-line + .hero-title-line {
  margin-top: 30px;
}

.hero-title-second {
  color: var(--accent);
  font-style: normal;
}

.hero-lede {
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.github-live-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 25px;
}

.github-live {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px 10px 11px;
  border: 1px solid rgba(255, 200, 87, 0.5);
  border-radius: 4px;
  color: var(--text);
  background: rgba(255, 200, 87, 0.06);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.github-live:hover {
  border-color: var(--yellow);
  background: rgba(255, 200, 87, 0.12);
  transform: translateY(-2px);
}

.github-live-mark {
  color: var(--yellow);
  font-size: 1.25rem;
  line-height: 1;
}

.github-live-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.github-live-copy strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
}

.github-live-copy small {
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.25;
}

.github-live-arrow {
  margin-left: auto;
  color: var(--yellow);
  font-size: 0.9rem;
}

.github-live-status {
  color: var(--muted-dark);
  font-size: 0.69rem;
}

.hero-stage {
  position: relative;
  padding: 12px 0 18px 18px;
}

.stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-meta-top {
  margin: 0 10px 8px 8px;
}

.window-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #4d535d;
  border-radius: 8px;
  background: #191b1f;
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.24);
  transform: rotate(1.2deg);
  transform-origin: center;
}

.window-bar {
  display: flex;
  height: 34px;
  align-items: center;
  justify-content: flex-start;
  padding: 0 13px;
  border-bottom: 1px solid #30343a;
  color: #9399a2;
  background: #16181b;
  font-size: 0.63rem;
}

.window-lights {
  display: flex;
  gap: 5px;
}

.window-lights i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5c636c;
}

.window-lights i:first-child {
  background: var(--accent);
}

.window-lights i:nth-child(2) {
  background: var(--yellow);
}

.window-size {
  color: #5d636b;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.window-frame > img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #30343a;
}

.stage-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px 12px;
  color: #b1b6be;
  background: #15171a;
  font-size: 0.76rem;
}

.caption-line {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.stage-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-callout b {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  background: var(--ink);
  font-size: 0.62rem;
}

.callout-one {
  top: 11%;
  left: -13px;
}

.callout-two {
  right: -10px;
  bottom: 9%;
}

.callout-two b {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll i {
  color: var(--accent);
  font-size: 1rem;
  font-style: normal;
}

.why-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 90px;
  padding-top: 154px;
  padding-bottom: 154px;
}

.section-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--nav-height) + 34px);
}

.section-intro h2 {
  max-width: 520px;
}

.section-intro > p:last-child {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.85;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  min-height: 162px;
  grid-template-columns: 64px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease, padding 180ms ease;
}

.feature-row:hover {
  padding-right: 10px;
  padding-left: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.feature-index {
  align-self: start;
  padding-top: 27px;
  color: var(--muted-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

.feature-body h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.26rem;
  font-weight: 630;
}

.feature-body p {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.8;
}

.feature-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.05rem;
}

.mark-orange {
  color: var(--accent);
}

.mark-cyan {
  color: var(--cyan);
}

.mark-yellow {
  color: var(--yellow);
}

.workflow-band {
  color: #17181a;
  background: var(--paper);
}

.workflow-shell {
  padding-top: 122px;
  padding-bottom: 116px;
}

.workflow-heading {
  display: grid;
  max-width: 950px;
  grid-template-columns: 1fr 0.76fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 78px;
}

.workflow-heading .eyebrow {
  grid-column: 1 / -1;
  color: #76746e;
}

.workflow-heading h2 {
  margin-bottom: 0;
  color: #17181a;
}

.workflow-heading > p:last-child {
  max-width: 370px;
  margin-bottom: 5px;
  color: #66645e;
  font-size: 0.94rem;
  line-height: 1.8;
}

.workflow-top {
  display: grid;
  grid-template-columns: minmax(270px, 0.46fr) minmax(0, 1.54fr);
  gap: 60px;
  align-items: center;
  margin-bottom: 38px;
}

.workflow-top .workflow-heading {
  display: block;
  max-width: none;
  margin-bottom: 0;
}

.workflow-carousel {
  position: relative;
  overflow: visible;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.workflow-viewport {
  position: relative;
  overflow: hidden;
  height: clamp(300px, 34vw, 520px);
  border-radius: 4px;
}

.workflow-arrow {
  position: absolute;
  z-index: 2;
  top: 50% !important;
  margin: 0;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #7e311b;
  background: rgba(255, 106, 53, 0.22);
  border: 1px solid rgba(255, 106, 53, 0.34);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 4px 14px rgba(107, 46, 28, 0.14);
  transform: translateY(-50%);
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.workflow-arrow::before {
  display: block;
  width: 12px;
  height: 12px;
  border: solid currentColor;
  border-width: 0 2.5px 2.5px 0;
  content: "";
}

.workflow-arrow-prev::before {
  transform: translateX(2px) rotate(135deg);
}

.workflow-arrow-next::before {
  transform: translateX(-2px) rotate(-45deg);
}

.workflow-arrow:hover {
  color: #241006;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(107, 46, 28, 0.24);
  transform: translateY(-50%) scale(1.06);
}
.workflow-arrow-prev { left: -60px; }
.workflow-arrow-next { right: -60px; }

.workflow-slide {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.workflow-slide.is-active {
  display: flex;
}

.workflow-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.workflow-slide-preset {
  padding: 4px 4px 12px;
}

.chapter-stack {
  position: relative;
  width: min(100%, 860px);
  height: 98%;
  margin: 0 auto;
  perspective: 1200px;
}

.chapter-card {
  position: absolute;
  inset: 0 0 20px 0;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(23, 24, 26, 0.22);
  border-radius: 5px;
  background: #17181a;
  box-shadow: 0 14px 32px rgba(23, 24, 26, 0.2);
  cursor: pointer;
  transform-origin: center center;
  transition: transform 360ms cubic-bezier(0.22, 0.75, 0.2, 1), opacity 260ms ease, box-shadow 360ms ease;
  will-change: transform;
}

.chapter-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #17181a;
}

.chapter-card-front {
  z-index: 2;
  opacity: 1;
  transform: translate3d(0, 0, 18px) scale(1);
}

.chapter-card-back {
  z-index: 1;
  opacity: 0.96;
  transform: translate3d(22px, 28px, 0) scale(0.95);
}

.chapter-stack.is-swapped .chapter-card-front {
  z-index: 1;
  opacity: 0.96;
  transform: translate3d(22px, 28px, 0) scale(0.95);
}

.chapter-stack.is-swapped .chapter-card-back {
  z-index: 2;
  opacity: 1;
  transform: translate3d(0, 0, 18px) scale(1);
}

.chapter-card:hover {
  box-shadow: 0 18px 36px rgba(23, 24, 26, 0.27);
}

.chapter-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.pipeline li {
  cursor: pointer;
  transition: opacity 180ms ease;
}

.pipeline li:not(.is-active) {
  opacity: 0.58;
}

.pipeline li.is-active {
  opacity: 1;
}

.pipeline li.is-active .step-number {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 5px rgba(255, 106, 53, 0.12);
}

.pipeline {
  position: relative;
  padding-top: 18px;
}

.pipeline-line {
  position: absolute;
  top: 39px;
  right: 6%;
  left: 6%;
  height: 1px;
  background: #a9a397;
}

.pipeline ol {
  display: grid;
  position: relative;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pipeline li {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.step-number {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  margin-bottom: 11px;
  border: 1px solid #a49f93;
  border-radius: 50%;
  color: #17181a;
  background: var(--paper);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 700;
}

.pipeline li:first-child .step-number,
.pipeline li:last-child .step-number {
  border-color: var(--accent);
  color: var(--accent);
}

.pipeline strong {
  color: #1a1b1d;
  font-size: 1rem;
  font-weight: 700;
}

.pipeline small {
  color: #77736a;
  font-size: 0.76rem;
}

.workflow-footnote {
  margin-top: 64px;
  padding-top: 18px;
  border-top: 1px solid #c9c2b6;
  color: #6a675f;
  font-size: 0.8rem;
}

.workflow-footnote span {
  margin-right: 12px;
  color: #17181a;
  font-weight: 700;
}

.interface-section {
  padding-top: 152px;
  padding-bottom: 162px;
}

.section-topline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 58px;
}

.section-topline h2 {
  margin-bottom: 0;
}

.section-note {
  max-width: 300px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.7fr);
  gap: 18px;
}

.shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.shot img {
  width: 100%;
  height: auto;
  transition: transform 350ms ease;
}

.shot:hover img {
  transform: scale(1.018);
}

.shot-featured {
  grid-row: span 2;
}

.shot-stack {
  display: grid;
  gap: 18px;
}

.shot-compact img {
  aspect-ratio: 1.94 / 1;
  object-fit: cover;
  object-position: center top;
}

.shot-wide {
  grid-column: 1 / -1;
}

.shot-wide img {
  max-height: 340px;
  object-fit: cover;
  object-position: center 45%;
}

.shot figcaption {
  display: flex;
  align-items: baseline;
  gap: 11px;
  min-height: 54px;
  padding: 13px 16px 14px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.shot figcaption span {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
}

.shot figcaption b {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 650;
}

.shot figcaption small {
  color: var(--muted);
  font-size: 0.72rem;
}

.shot-open {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  color: var(--text);
  background: rgba(13, 14, 16, 0.78);
  cursor: pointer;
  font-size: 0.68rem;
  opacity: 0;
  transition: opacity 180ms ease, background-color 180ms ease;
}

.shot:hover .shot-open,
.shot-open:focus-visible {
  opacity: 1;
}

.shot-open:hover {
  background: var(--accent);
}

.mg-section {
  padding-top: 152px;
  padding-bottom: 162px;
  border-top: 1px solid var(--line);
}

.mg-topline {
  margin-bottom: 42px;
}

.mg-topline h2 span {
  color: var(--yellow);
}

.mg-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  gap: 58px;
  align-items: start;
}

.mg-visuals {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.mg-shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #101215;
}

.mg-project-shot {
  border-color: rgba(255, 200, 87, 0.72);
}

.mg-assets-shot {
  border-color: rgba(123, 223, 242, 0.46);
}

.mg-shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 350ms ease;
}

.mg-shot:hover img {
  transform: scale(1.012);
}

.mg-shot figcaption {
  display: flex;
  align-items: baseline;
  gap: 11px;
  min-height: 54px;
  padding: 13px 16px 14px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.mg-shot figcaption span {
  color: var(--yellow);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
}

.mg-assets-shot figcaption span {
  color: var(--cyan);
}

.mg-shot figcaption b {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 650;
}

.mg-shot figcaption small {
  color: var(--muted);
  font-size: 0.72rem;
}

.mg-copy {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.mg-feature {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding: 40px 0 42px;
  border-bottom: 1px solid var(--line);
}

.mg-feature:not(:last-child) {
  padding-bottom: 68px;
}

.mg-feature-number {
  padding-top: 3px;
  color: var(--yellow);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
}

.mg-feature h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 650;
}

.mg-feature-link {
  color: inherit;
  text-decoration: none;
}

.mg-feature-link span {
  color: var(--accent-hot);
  font-size: 0.82em;
  opacity: 0.78;
  transition: opacity 160ms ease;
}

.mg-feature-link:hover span,
.mg-feature-link:focus-visible span {
  opacity: 1;
}

.mg-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.78;
}

.output-band {
  border-top: 1px solid #30343b;
  border-bottom: 1px solid #30343b;
  background: #15181b;
}

@media (max-width: 1360px) and (min-width: 821px) {
  .workflow-carousel {
    padding: 0 54px;
  }

  .workflow-arrow-prev {
    left: 0;
  }

  .workflow-arrow-next {
    right: 0;
  }
}

.output-shell {
  padding-top: 136px;
  padding-bottom: 142px;
}

.output-topline h2 span {
  color: var(--yellow);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.video-item {
  min-width: 0;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #08090a;
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #08090a;
  object-fit: contain;
}

.video-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 18px;
  padding-top: 17px;
}

.video-caption span {
  grid-column: 1 / -1;
  color: var(--muted-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
}

.video-caption b {
  color: var(--text);
  font-size: 1rem;
  font-weight: 620;
}

.video-caption a {
  align-self: center;
  color: var(--yellow);
  font-size: 0.74rem;
}

.download-section {
  display: block;
  padding-top: 116px;
  padding-bottom: 122px;
}

.download-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 50px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.download-copy h2 {
  margin: 0;
}

.download-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--line);
}

.download-lane {
  display: flex;
  min-height: 208px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 30px 30px;
  border-right: 1px solid var(--line);
}

.download-lane:last-child {
  border-right: 0;
}

.lane-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--yellow);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 700;
}

.lane-highlight .lane-icon {
  border-color: var(--accent);
  color: var(--accent);
}

.windows-icon {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  padding: 8px;
}

.windows-icon span {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: currentColor;
  transform: skewY(-6deg);
}

.download-lane h3 {
  margin: 2px 0 5px;
  color: var(--text);
  font-size: 1.03rem;
  font-weight: 650;
}

.download-lane p {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.download-lane.lane-highlight {
  background: linear-gradient(145deg, rgba(255, 106, 53, 0.12), rgba(255, 106, 53, 0.02) 72%);
}

.lane-kicker {
  color: var(--muted-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.install-block {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.install-heading {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.copy-button {
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.62rem;
  letter-spacing: 0;
  transition: color 180ms ease, border-color 180ms ease;
}

.copy-button:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.install-block pre {
  overflow-x: auto;
  margin: 0;
  padding: 22px 20px 18px;
  color: var(--paper);
  font-size: 0.84rem;
  line-height: 1.85;
}

.code-muted {
  color: var(--muted-dark);
}

.copy-feedback {
  min-height: 22px;
  margin: 0;
  padding: 0 20px 14px;
  color: var(--green);
  font-size: 0.73rem;
}

.faq-band {
  border-top: 1px solid #cfc7b8;
  color: #17181a;
  background: var(--paper-deep);
}

.faq-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  padding-top: 116px;
  padding-bottom: 126px;
}

.faq-shell h2 {
  color: #17181a;
  font-size: 42px;
}

.faq-list {
  border-top: 1px solid #b9b1a3;
}

.faq-list details {
  border-bottom: 1px solid #b9b1a3;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: #202124;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 650;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 680px;
  margin: -5px 0 22px;
  color: #656159;
  font-size: 0.84rem;
  line-height: 1.8;
}

.faq-list code {
  color: #b44f28;
}

.site-footer {
  color: var(--muted);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  min-height: 126px;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-inner > p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.75rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  color: var(--muted-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.63rem;
}

.lightbox {
  width: min(92vw, 1320px);
  max-width: none;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  background: #0a0b0d;
}

.lightbox::backdrop {
  background: rgba(5, 6, 7, 0.9);
}

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox p {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 11px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: rgba(13, 14, 16, 0.86);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 38px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .nav-links {
    gap: 18px;
    margin-right: 20px;
  }

  .why-section,
  .download-section,
  .faq-shell {
    gap: 54px;
  }

  h2 {
    font-size: 45px;
  }
}

@media (max-width: 820px) {
  body::before {
    inset: 8px;
  }

  .section-shell,
  .nav-inner {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-stage {
    padding-left: 12px;
  }

  .hero-scroll {
    position: static;
    margin-top: -25px;
  }

  .why-section,
  .download-section,
  .faq-shell {
    display: block;
    padding-top: 108px;
    padding-bottom: 112px;
  }

  .section-intro {
    position: static;
    margin-bottom: 56px;
  }

  .workflow-shell {
    padding-top: 94px;
    padding-bottom: 92px;
  }

  .workflow-heading {
    display: block;
    margin-bottom: 58px;
  }

  .workflow-top {
    display: block;
  }

  .workflow-carousel {
    margin-top: 32px;
    padding: 0 54px;
  }

  .workflow-viewport {
    height: clamp(270px, 62vw, 460px);
  }

  .workflow-arrow-prev {
    left: 0;
  }

  .workflow-arrow-next {
    right: 0;
  }

  .workflow-heading > p:last-child {
    margin-top: 24px;
  }

  .pipeline {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .pipeline ol {
    width: 760px;
    grid-template-columns: repeat(5, 1fr);
  }

  .pipeline-line {
    right: 3%;
    left: 3%;
  }

  .interface-section,
  .mg-section,
  .output-shell {
    padding-top: 108px;
    padding-bottom: 112px;
  }

  .section-topline {
    display: block;
    margin-bottom: 44px;
  }

  .section-note {
    margin-top: 22px;
  }

  .screenshot-grid {
    display: block;
  }

  .shot,
  .shot-stack {
    margin-bottom: 18px;
  }

  .shot-open {
    opacity: 1;
  }

  .shot-featured img {
    max-height: none;
  }

  .mg-showcase {
    display: block;
  }

  .mg-visuals {
    margin-bottom: 48px;
  }

  .video-grid {
    display: block;
  }

  .video-item + .video-item {
    margin-top: 42px;
  }

  .download-copy {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 56px;
  }

  .download-lanes {
    grid-template-columns: 1fr;
  }

  .download-lane {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .download-lane:last-child {
    border-bottom: 0;
  }

  .install-block {
    margin-top: 52px;
  }

  .faq-shell h2 {
    font-size: 38px;
    margin-bottom: 50px;
  }

  .footer-inner {
    display: block;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .footer-inner > p {
    margin: 18px 0 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .section-shell,
  .nav-inner {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-inner {
    height: 64px;
  }

  :root {
    --nav-height: 64px;
  }

  .hero {
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 10px;
  }

  .hero h1 {
    font-size: 46px;
    letter-spacing: 0;
  }

  .hero-title-line + .hero-title-line {
    margin-top: 20px;
  }

  .hero-lede {
    font-size: 0.96rem;
  }

  .hero-actions,
  .download-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .download-actions .button {
    width: 100%;
  }

  .hero-stage {
    width: calc(100% - 18px);
    margin-right: auto;
    margin-left: auto;
    padding: 0 0 6px;
  }

  .stage-callout {
    display: none;
  }

  .window-frame {
    transform: none;
  }

  .window-size {
    display: none;
  }

  .stage-caption {
    display: none;
  }

  .stage-meta {
    font-size: 0.58rem;
  }

  .hero-scroll {
    display: none;
  }

  h2,
  .faq-shell h2 {
    font-size: 36px;
  }

  .why-section,
  .download-section,
  .faq-shell {
    padding-top: 82px;
    padding-bottom: 88px;
  }

  .feature-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .feature-row:hover {
    padding-right: 0;
    padding-left: 0;
  }

  .feature-mark {
    display: none;
  }

  .feature-index {
    padding-top: 2px;
  }

  .feature-body h3 {
    font-size: 1.05rem;
  }

  .feature-body p {
    font-size: 0.84rem;
  }

  .workflow-shell,
  .interface-section,
  .mg-section,
  .output-shell {
    padding-top: 82px;
    padding-bottom: 88px;
  }

  .workflow-heading {
    margin-bottom: 42px;
  }

  .workflow-carousel {
    padding: 0 44px;
  }

  .workflow-viewport {
    height: clamp(230px, 68vw, 370px);
  }

  .workflow-arrow {
    width: 38px;
    height: 38px;
  }

  .workflow-arrow-prev {
    left: 0;
  }

  .workflow-arrow-next {
    right: 0;
  }

  .workflow-arrow::before {
    width: 11px;
    height: 11px;
  }

  .workflow-slide-preset {
    padding: 8px 8px 14px;
  }

  .chapter-stack {
    width: 100%;
    height: 93%;
  }

  .pipeline ol {
    width: 700px;
  }

  .shot figcaption {
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .shot figcaption small {
    width: 100%;
    padding-left: 30px;
  }

  .mg-shot figcaption {
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .mg-shot figcaption small {
    width: 100%;
    padding-left: 30px;
  }

  .mg-visuals {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 38px;
  }

  .video-caption {
    display: block;
  }

  .video-caption b {
    display: block;
    margin: 6px 0 9px;
  }

  .download-lane {
    gap: 10px;
    padding: 22px 20px 24px;
  }

  .lane-icon {
    width: 32px;
    height: 32px;
  }

  .windows-icon {
    gap: 2px;
    padding: 6px;
  }

  .download-lane h3 {
    font-size: 0.96rem;
  }

  .download-lane p {
    font-size: 0.73rem;
  }

  .install-block pre {
    padding-right: 13px;
    padding-left: 13px;
    font-size: 0.71rem;
  }

  .install-heading {
    padding-left: 13px;
  }

  .faq-list summary {
    padding: 18px 0;
    font-size: 0.88rem;
  }

  .faq-list details p {
    font-size: 0.78rem;
  }

  .footer-bottom {
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
  }
}

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

}
