:root {
  --color-bg: #050608;
  --color-bg-soft: #0c0f13;
  --color-panel: #101419;
  --color-panel-strong: #161b22;
  --color-border: #252b33;
  --color-border-bright: #39414c;
  --color-text: #f5f7fa;
  --color-muted: #a8b0ba;
  --color-subtle: #747d89;
  --color-accent: #ff7a1a;
  --color-accent-dark: #d85f00;
  --color-accent-soft: rgba(255, 122, 26, 0.12);
  --shadow-panel: 0 24px 80px rgba(0, 0, 0, 0.35);
  --container: 1160px;
  --radius: 8px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --font-system: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-system);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 122, 26, 0.5);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.section {
  padding: var(--space-7) 0;
}

.hero-copy,
.hero-preview,
.section-heading,
.pricing-card {
  min-width: 0;
}

.section-panel {
  background: var(--color-bg-soft);
  border-block: 1px solid var(--color-border);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 6, 8, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  color: var(--color-text);
}

.brand-logo {
  display: block;
  width: auto;
  height: 76px;
  max-width: none;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 160ms ease;
}

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

.nav-download {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.05rem;
  border: 1px solid rgba(255, 122, 26, 0.55);
  border-radius: var(--radius);
  background: var(--color-accent-soft);
  color: var(--color-text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-panel);
  color: var(--color-text);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: var(--space-6) 0;
  background:
    linear-gradient(115deg, rgba(255, 122, 26, 0.12), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
    var(--color-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(590px, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 2.75vw, 3rem);
}

.eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: none;
  filter: none;
  transform: none;
}

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

h1 {
  max-width: 900px;
  margin-bottom: var(--space-4);
  font-size: 4.25rem;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero .eyebrow {
  font-size: 14px;
  font-weight: 700;
}

h2 {
  margin-bottom: var(--space-3);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: var(--space-2);
  font-size: 1.12rem;
  line-height: 1.25;
}

p {
  color: var(--color-muted);
}

.hero-lede {
  max-width: 700px;
  margin-bottom: var(--space-3);
  color: #d8dde4;
  font-size: 1.16rem;
  overflow-wrap: break-word;
}

.hero-value {
  max-width: 700px;
  margin-bottom: var(--space-3);
  color: var(--color-text);
  font-size: 1.28rem;
  font-weight: 760;
  line-height: 1.35;
}

.hero-impact {
  max-width: 700px;
  margin-bottom: var(--space-5);
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.75rem 1.2rem;
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--color-accent);
  color: #111;
}

.button-primary:hover {
  background: #ff8b38;
}

.button-secondary {
  border-color: var(--color-border-bright);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-preview {
  width: 100%;
}

.workflow-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 28px minmax(150px, 0.9fr) 28px minmax(160px, 1fr);
  align-items: center;
  gap: 0;
  padding: var(--space-5);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #14191f, #090b0e);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: var(--shadow-panel);
}

.workflow-node {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.workflow-flow-label {
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  z-index: 3;
  display: grid;
  gap: 0.26rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
}

.workflow-flow-label strong {
  color: #d8dde4;
  font-size: 0.82rem;
  font-weight: 700;
}

.workflow-direction {
  position: relative;
  width: min(100%, 460px);
  height: 12px;
  justify-self: center;
}

.workflow-direction::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 122, 26, 0.48);
  transform: translateY(-50%);
}

.workflow-direction::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-color: rgba(255, 122, 26, 0.92);
  border-style: solid;
  transform-origin: center;
}

.workflow-direction-forward::after {
  right: 0;
  border-width: 2px 2px 0 0;
  transform: translateY(-50%) rotate(45deg);
}

.workflow-direction-return::after {
  left: 0;
  border-width: 0 0 2px 2px;
  transform: translateY(-50%) rotate(45deg);
}

.workflow-flow-actions {
  top: 0.65rem;
}

.workflow-flow-results {
  bottom: 1rem;
}

.workflow-connector {
  position: relative;
  z-index: 1;
  height: 8px;
  overflow: hidden;
  background: transparent;
}

.workflow-connector::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 122, 26, 0.18);
  transform: translateY(-50%);
}

.workflow-connector::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 36%;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
  opacity: 0;
  transform: translate(380%, -50%) scaleX(1);
  transform-origin: center;
  animation: connectorReturnLeft 1.8s linear infinite;
}

.workflow-connector span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 36%;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
  opacity: 0;
  transform: translate(-110%, -50%) scaleX(1);
  transform-origin: center;
  animation: connectorForwardLeft 1.8s linear infinite;
}

.workflow-connector-delay span {
  animation-name: connectorForwardRight;
}

.workflow-connector-delay::after {
  animation-name: connectorReturnRight;
}

@keyframes connectorForwardLeft {
  0% {
    opacity: 0;
    transform: translate(-110%, -50%) scaleX(1);
  }

  3% {
    opacity: 0.86;
    transform: translate(-70%, -50%) scaleX(1);
  }

  17% {
    opacity: 0.86;
    transform: translate(95%, -50%) scaleX(1);
  }

  20.5% {
    opacity: 0.88;
    transform: translate(240%, -50%) scaleX(0.78);
  }

  23% {
    opacity: 0.9;
    transform: translate(380%, -50%) scaleX(0.35);
  }

  25% {
    opacity: 0;
    transform: translate(420%, -50%) scaleX(0.2);
  }

  100% {
    opacity: 0;
    transform: translate(420%, -50%) scaleX(0.2);
  }
}

@keyframes connectorForwardRight {
  0%,
  23% {
    opacity: 0;
    transform: translate(-80%, -50%) scaleX(0.25);
  }

  25% {
    opacity: 0.9;
    transform: translate(-25%, -50%) scaleX(1.1);
  }

  29%,
  48% {
    opacity: 0.86;
  }

  50%,
  100% {
    opacity: 0;
    transform: translate(380%, -50%) scaleX(1);
  }
}

@keyframes connectorReturnRight {
  0%,
  50% {
    opacity: 0;
    transform: translate(380%, -50%) scaleX(1);
  }

  53%,
  67% {
    opacity: 0.78;
  }

  69% {
    opacity: 0.78;
    transform: translate(75%, -50%) scaleX(1);
  }

  73% {
    opacity: 0.82;
    transform: translate(-110%, -50%) scaleX(0.35);
  }

  75%,
  100% {
    opacity: 0;
    transform: translate(-150%, -50%) scaleX(0.2);
  }
}

@keyframes connectorReturnLeft {
  0%,
  73% {
    opacity: 0;
    transform: translate(380%, -50%) scaleX(0.25);
  }

  75% {
    opacity: 0.82;
    transform: translate(330%, -50%) scaleX(1.1);
  }

  79%,
  98% {
    opacity: 0.78;
  }

  100% {
    opacity: 0;
    transform: translate(-110%, -50%) scaleX(1);
  }
}

@keyframes connectorForwardVerticalLeft {
  0% {
    opacity: 0;
    transform: translate(-50%, -110%) scaleY(1);
  }

  3% {
    opacity: 0.86;
    transform: translate(-50%, -70%) scaleY(1);
  }

  17% {
    opacity: 0.86;
    transform: translate(-50%, 95%) scaleY(1);
  }

  20.5% {
    opacity: 0.88;
    transform: translate(-50%, 240%) scaleY(0.78);
  }

  23% {
    opacity: 0.9;
    transform: translate(-50%, 380%) scaleY(0.35);
  }

  25% {
    opacity: 0;
    transform: translate(-50%, 420%) scaleY(0.2);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 420%) scaleY(0.2);
  }
}

@keyframes connectorForwardVerticalRight {
  0%,
  23% {
    opacity: 0;
    transform: translate(-50%, -80%) scaleY(0.25);
  }

  25% {
    opacity: 0.9;
    transform: translate(-50%, -25%) scaleY(1.1);
  }

  29%,
  48% {
    opacity: 0.86;
  }

  50%,
  100% {
    opacity: 0;
    transform: translate(-50%, 380%) scaleY(1);
  }
}

@keyframes connectorReturnVerticalRight {
  0%,
  50% {
    opacity: 0;
    transform: translate(-50%, 380%) scaleY(1);
  }

  53%,
  67% {
    opacity: 0.78;
  }

  69% {
    opacity: 0.78;
    transform: translate(-50%, 75%) scaleY(1);
  }

  73% {
    opacity: 0.82;
    transform: translate(-50%, -110%) scaleY(0.35);
  }

  75%,
  100% {
    opacity: 0;
    transform: translate(-50%, -150%) scaleY(0.2);
  }
}

@keyframes connectorReturnVerticalLeft {
  0%,
  73% {
    opacity: 0;
    transform: translate(-50%, 380%) scaleY(0.25);
  }

  75% {
    opacity: 0.82;
    transform: translate(-50%, 330%) scaleY(1.1);
  }

  79%,
  98% {
    opacity: 0.78;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -110%) scaleY(1);
  }
}

.workflow-panel {
  width: 100%;
  height: 148px;
  display: grid;
  align-content: start;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(8, 11, 15, 0.88);
}

.workflow-panel p {
  margin: 0;
  color: #d8dde4;
  font-size: 0.95rem;
  line-height: 1.45;
}

.workflow-emphasis {
  color: var(--color-text);
  font-weight: 820;
  text-shadow: none;
  opacity: 1;
  white-space: nowrap;
}

.workflow-codex {
  align-content: center;
  padding: 1rem;
  border-color: rgba(255, 122, 26, 0.34);
  box-shadow:
    0 0 0 1px rgba(255, 122, 26, 0.115),
    0 18px 42px rgba(255, 122, 26, 0.115);
}

.workflow-codex p {
  max-width: 100%;
  line-height: 1.32;
}

.workflow-workspace-badge {
  position: absolute;
  top: 0.95rem;
  left: 1rem;
  padding: 0.18rem 0.45rem;
  border: 1px solid rgba(255, 122, 26, 0.38);
  border-radius: 999px;
  color: var(--color-accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.workflow-code-icon {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 18px;
  margin-right: 0.45rem;
  border: 1px solid rgba(216, 221, 228, 0.32);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
  vertical-align: -0.25rem;
}

.workflow-code-icon::before {
  content: ">";
  position: absolute;
  left: 6px;
  top: 3px;
  color: #d8dde4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.workflow-code-icon::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 14px;
  width: 7px;
  height: 1px;
  background: var(--color-accent);
}

.node-kicker {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-subtle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: none;
  filter: none;
  transform: none;
}

.workflow-core {
  min-height: 190px;
  display: grid;
  align-content: center;
  justify-items: center;
  margin-top: 0.85rem;
  padding: 1.3rem var(--space-4);
  border: 1px solid rgba(255, 122, 26, 0.62);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.14), rgba(255, 122, 26, 0.045)),
    rgba(8, 11, 15, 0.96);
  text-align: center;
}

.workflow-core img {
  width: auto;
  height: 96px;
  margin: 0.35rem 0 0.75rem;
  object-fit: contain;
}

.workflow-core .node-kicker {
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  .workflow-connector span,
  .workflow-connector::after {
    display: none;
  }
}

.section-heading {
  max-width: 700px;
  margin-bottom: var(--space-5);
}

.demo-video {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius);
  background: var(--color-panel);
  box-shadow: var(--shadow-panel);
}

.demo-video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

#how-it-works .section-heading h2 {
  font-size: 2.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

.feature-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-item {
  min-height: 190px;
  padding: var(--space-4);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.018);
}

.feature-item p {
  margin-bottom: 0;
}

.section-closing {
  margin-bottom: 0;
  color: #d8dde4;
}

.what-is-content {
  max-width: 1040px;
}

.what-is-content h2 {
  max-width: 980px;
}

.what-is-intro {
  max-width: 950px;
  margin-bottom: var(--space-5);
  color: #d8dde4;
  font-size: 1.08rem;
}

.what-is-rows {
  max-width: 1040px;
  border-top: 1px solid var(--color-border);
}

.what-is-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.what-is-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 0.1rem;
  color: var(--color-accent);
}

.what-is-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.what-is-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.what-is-icon-terminal {
  justify-content: start;
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
}

.what-is-row h3 {
  margin: 0 0 0.45rem;
  color: var(--color-text);
  font-size: 1.08rem;
  line-height: 1.25;
}

.what-is-row p {
  max-width: 950px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.what-is-row strong {
  color: var(--color-text);
  font-weight: 760;
}

.workflow-comparison-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 122, 26, 0.045), transparent 34%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--color-bg);
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.workflow-comparison-heading {
  max-width: 760px;
  text-align: left;
}

.workflow-comparison-heading p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.workflow-comparison-image-frame {
  margin: 0 auto;
  width: min(92%, 1180px);
  max-width: 1180px;
}

.workflow-comparison-trigger {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.workflow-comparison-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.workflow-comparison-mobile-hint {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(3, 4, 6, 0.94);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  width: auto;
  max-width: 95vw;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid rgba(255, 122, 26, 0.24);
}

.image-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 81;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 11, 15, 0.9);
  color: var(--color-text);
  font-size: 1.75rem;
  line-height: 1;
}

.image-lightbox-close:hover {
  border-color: rgba(255, 122, 26, 0.52);
}

.architecture-flow {
  display: grid;
  grid-template-columns:
    minmax(110px, 1fr) 36px minmax(130px, 1fr) 36px minmax(110px, 1fr) 36px
    minmax(140px, 1fr) 36px minmax(110px, 1fr);
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-2);
  padding: var(--space-4);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #11161c, #080a0d);
  background-size: 28px 28px, 28px 28px, auto;
}

.architecture-node {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(8, 11, 15, 0.9);
  text-align: center;
}

.architecture-node span {
  color: var(--color-text);
  font-weight: 760;
  line-height: 1.25;
}

.architecture-node-primary {
  border-color: rgba(255, 122, 26, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.13), rgba(255, 122, 26, 0.04)),
    rgba(8, 11, 15, 0.96);
}

.architecture-node-primary span {
  color: var(--color-accent);
}

.architecture-note {
  display: none;
}

.architecture-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 700;
  opacity: 1;
  text-shadow: none;
  filter: none;
}

.architecture-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 122, 26, 0.22);
  transform: translateY(-50%);
}

.architecture-flow-context {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding: 0 var(--space-4);
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

.process-step {
  min-height: 190px;
  padding: var(--space-4);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.018);
}

.step-index {
  margin-bottom: var(--space-2);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: none;
  filter: none;
}

.process-step p:last-child {
  margin-bottom: 0;
}

.safety-layout,
.tooling-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.safeguard-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.safeguard-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0.9rem 1rem;
  background: rgba(8, 11, 15, 0.9);
  color: #d8dde4;
}

.safeguard-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.tooling-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: var(--space-4);
  background: rgba(8, 11, 15, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.tooling-column {
  display: grid;
  gap: 0.85rem;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tooling-column + .tooling-column {
  border-left: 1px solid var(--color-border);
  padding-left: var(--space-4);
}

.tooling-column li {
  display: flex;
  align-items: flex-start;
  color: #d8dde4;
}

.tooling-column li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 0.55em;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--color-accent);
}

code {
  color: var(--color-text);
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 0.95em;
}

.requirements-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.requirements-layout .section-heading h2 {
  max-width: 430px;
  font-size: 2.55rem;
}

.requirements-note {
  margin-top: var(--space-2);
  color: var(--color-subtle);
  font-size: 0.94rem;
}

.requirements-content {
  display: grid;
  gap: var(--space-2);
}

.requirements-group {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(8, 11, 15, 0.62);
}

.requirements-group h3 {
  margin-bottom: 0;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: none;
  filter: none;
}

.requirements-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements-list li {
  min-height: 0;
  padding: 0.42rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #d8dde4;
  font-size: 0.95rem;
  line-height: 1.35;
}

.requirements-list li:first-child {
  border-top: 0;
}

.requirements-list li::before {
  content: none;
}

.product-status {
  margin-top: var(--space-2);
  color: var(--color-subtle);
  font-size: 0.94rem;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(620px, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.trial-subheading {
  margin-bottom: var(--space-2);
  color: var(--color-text);
  font-size: 1.55rem;
  line-height: 1.15;
}

.pricing-card {
  min-width: 0;
  padding: var(--space-5);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius);
  background: var(--color-panel);
  box-shadow: var(--shadow-panel);
}

.pricing-card .button {
  width: 100%;
}

.pricing-card-unified {
  display: grid;
  gap: var(--space-3);
}

.pricing-card-unified h3 {
  margin-bottom: 0;
}

.pricing-card-primary {
  border-color: rgba(255, 122, 26, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.11), rgba(255, 122, 26, 0.03)),
    var(--color-panel);
}

.pricing-trial,
.pricing-purchase {
  min-width: 0;
}

.pricing-purchase {
  padding-top: 0;
  border-top: 0;
}

.pricing-path {
  margin-bottom: 0;
  color: #d8dde4;
  font-size: 0.96rem;
}

.pricing-stages {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 34px minmax(0, 1fr);
  align-items: stretch;
  gap: var(--space-3);
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

.pricing-stage {
  min-width: 0;
}

.pricing-stage-divider {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 700;
  opacity: 1;
  text-shadow: none;
  filter: none;
}

.pricing-stage-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 122, 26, 0.22);
  transform: translateX(-50%);
}

.pricing-label,
.pricing-badge {
  margin-bottom: var(--space-2);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: none;
  filter: none;
}

.price {
  margin-bottom: var(--space-2);
  color: var(--color-text);
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 820;
}

.price-launch {
  margin-bottom: var(--space-1);
}

.price-save {
  display: inline-flex;
  vertical-align: middle;
  margin-left: var(--space-2);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 1;
}

#pricing.pricing-observe .price-save {
  opacity: 0;
  transform: scale(0.95);
  transform-origin: center;
}

#pricing.is-visible .price-save {
  animation: priceSaveIn 360ms ease-out forwards;
}

@keyframes priceSaveIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #pricing.pricing-observe .price-save,
  #pricing.is-visible .price-save {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.regular-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  color: var(--color-subtle);
}

.regular-price s {
  color: var(--color-muted);
  font-size: 1.35rem;
  font-weight: 760;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
}

.pricing-note {
  margin-bottom: var(--space-4);
}

.pricing-stage .pricing-note {
  margin-bottom: var(--space-2);
}

.pricing-purchase .pricing-note {
  margin-bottom: var(--space-3);
}

.pricing-support {
  margin-bottom: 0;
  color: #d8dde4;
}

.pricing-support-secondary {
  margin-top: 0.35rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.pricing-detail {
  margin: 0.65rem 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.pricing-assistance {
  margin: var(--space-3) 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: center;
}

.pricing-includes {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
}

.pricing-includes li {
  display: flex;
  align-items: center;
  color: #d8dde4;
}

.pricing-includes li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.pricing-actions {
  display: grid;
  gap: var(--space-2);
}

.pricing-actions-inline {
  grid-template-columns: 1fr 1fr;
}

.download-section {
  background: #0f1216;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.download-inner h2,
.download-inner p {
  margin-bottom: 0;
}

.download-inner .eyebrow {
  margin-bottom: var(--space-2);
}

.download-secondary {
  margin-top: var(--space-1);
  color: var(--color-muted);
  font-size: 0.94rem;
}

.download-actions {
  display: grid;
  justify-items: stretch;
  gap: var(--space-2);
  width: min(100%, 310px);
}

.download-guide-action {
  display: grid;
  gap: 0.45rem;
  text-align: center;
}

.download-guide-button {
  border-color: rgba(255, 126, 41, 0.45);
}

.download-guide-note {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  position: relative;
  width: 100%;
  min-height: 64px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  padding: var(--space-3) 2.4rem var(--space-3) 0;
  text-align: left;
  font-weight: 760;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  color: var(--color-accent);
  font-size: 22px;
  font-weight: 700;
  opacity: 1;
  text-shadow: none;
  filter: none;
  transform: none;
}

.faq-item button[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  padding: 0 2rem var(--space-4) 0;
}

.faq-answer p {
  margin-bottom: 0;
}

.contact-section {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-soft);
}

.contact-inner {
  max-width: 720px;
}

.contact-inner a {
  color: var(--color-text);
  font-size: 1.2rem;
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 6px;
}

.legal-page {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--color-bg);
  background-size: 34px 34px, 34px 34px, auto;
}

.legal-header {
  max-width: 900px;
  margin-bottom: var(--space-6);
}

.legal-back {
  display: inline-flex;
  margin-bottom: var(--space-4);
  color: var(--color-muted);
  font-size: 0.92rem;
}

.legal-back:hover {
  color: var(--color-text);
}

.legal-header h1 {
  margin-bottom: var(--space-2);
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.02;
}

.legal-header p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-weight: 700;
}

.legal-document {
  max-width: 900px;
}

.legal-document > p,
.legal-section p,
.legal-section li {
  color: #d8dde4;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-document > p {
  margin-bottom: var(--space-3);
}

.legal-section {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
}

.legal-section h2 {
  margin-bottom: var(--space-3);
  font-size: 1.45rem;
  line-height: 1.25;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 var(--space-3);
  padding-left: 1.2rem;
}

.legal-section li + li {
  margin-top: 0.45rem;
}

.legal-document a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 4px;
}

.site-footer {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  background: #050608;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer-inner p {
  margin: 0;
  color: var(--color-subtle);
  font-size: 0.92rem;
}

.footer-placeholders {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-placeholders a,
.footer-placeholders button {
  border: 0;
  background: transparent;
  color: var(--color-muted);
  padding: 0;
  font-size: 0.92rem;
}

.footer-placeholders a:hover,
.footer-placeholders button:hover {
  color: var(--color-text);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    display: grid;
    gap: 0;
    padding: var(--space-2) 20px var(--space-4);
    background: rgba(5, 6, 8, 0.98);
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav .nav-download {
    margin-top: var(--space-3);
    border-bottom: 1px solid rgba(255, 122, 26, 0.55);
  }

  .hero {
    min-height: auto;
    padding: var(--space-7) 0 var(--space-6);
  }

  .hero-grid,
  .pricing-layout,
  .faq-layout,
  .requirements-layout,
  .safety-layout,
  .tooling-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .architecture-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .architecture-node {
    flex: 1 1 112px;
    max-width: 160px;
  }

  .architecture-link {
    flex: 0 0 24px;
  }

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

  .download-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 1100px) {
  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .feature-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  html,
  body {
    overflow-x: clip;
  }

  .container {
    width: min(calc(100vw - 28px), var(--container));
  }

  .section {
    padding: var(--space-6) 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.65rem, 6.9vw, 2rem);
    line-height: 1.1;
    text-wrap: wrap;
    overflow-wrap: break-word;
  }

  .hero-value {
    max-width: 100%;
    font-size: clamp(1.04rem, 4.7vw, 1.18rem);
    line-height: 1.38;
  }

  .hero-lede,
  .hero-impact {
    max-width: 100%;
    font-size: 0.98rem;
  }

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

  h2 {
    font-size: 2rem;
  }

  .requirements-layout .section-heading h2 {
    font-size: 2rem;
  }

  .brand-logo {
    height: 62px;
  }

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

  .workflow-visual {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
    padding: var(--space-4);
  }

  .workflow-comparison-mobile-hint {
    display: block;
    margin: 0.55rem 0 0;
    color: var(--color-subtle);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
  }

  .workflow-flow-label {
    position: static;
    text-align: left;
  }

  .workflow-flow-actions {
    order: 0;
  }

  .workflow-flow-results {
    order: 6;
  }

  .workflow-codex {
    order: 1;
    min-height: auto;
    align-content: start;
    gap: 0.85rem;
  }

  .workflow-workspace-badge {
    position: static;
    width: max-content;
    max-width: 100%;
    margin: 0;
    justify-self: start;
  }

  .workflow-codex p {
    margin: 0;
  }

  .workflow-connector {
    order: 2;
    justify-self: center;
    width: 8px;
    height: 34px;
  }

  .workflow-connector::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    transform: translateX(-50%);
  }

  .workflow-connector::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 36%;
    transform: translate(-50%, 380%);
    animation-name: connectorReturnVerticalLeft;
  }

  .workflow-connector span {
    top: 0;
    left: 50%;
    width: 2px;
    height: 36%;
    transform: translate(-50%, -110%);
    animation-name: connectorForwardVerticalLeft;
  }

  .workflow-connector-delay {
    order: 4;
  }

  .workflow-connector-delay span {
    animation-name: connectorForwardVerticalRight;
  }

  .workflow-connector-delay::after {
    animation-name: connectorReturnVerticalRight;
  }

  .workflow-panel,
  .workflow-core {
    height: auto;
    min-height: auto;
  }

  .workflow-core {
    order: 3;
    margin-top: 0;
  }

  .workflow-tia {
    order: 5;
  }

  .workflow-core img {
    height: 86px;
  }

  .architecture-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 0.55rem;
    max-width: 360px;
    margin-inline: auto;
    padding: var(--space-3);
  }

  .architecture-node {
    width: 100%;
    max-width: none;
    min-height: 82px;
    padding: var(--space-2);
    border-color: rgba(216, 221, 228, 0.2);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
      rgba(10, 14, 19, 0.98);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.045),
      0 12px 24px rgba(0, 0, 0, 0.28);
  }

  .architecture-node-primary {
    border-color: rgba(255, 122, 26, 0.7);
    background:
      linear-gradient(180deg, rgba(255, 122, 26, 0.18), rgba(255, 122, 26, 0.055)),
      rgba(13, 10, 8, 0.98);
    box-shadow:
      inset 0 1px 0 rgba(255, 197, 138, 0.12),
      0 14px 28px rgba(255, 122, 26, 0.08),
      0 12px 24px rgba(0, 0, 0, 0.28);
  }

  .architecture-link {
    width: 100%;
    min-height: 26px;
    flex-basis: auto;
    color: transparent;
    font-size: 0;
  }

  .architecture-link::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    transform: translateX(-50%);
  }

  .architecture-link::after {
    content: "↓";
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    border: 1px solid rgba(255, 122, 26, 0.38);
    border-radius: 999px;
    background: rgba(8, 11, 15, 0.94);
    color: var(--color-accent);
    font-size: 18px;
    line-height: 1;
  }

  .architecture-note {
    display: block;
    justify-self: center;
    width: 100%;
    padding: 0 0.5rem;
    color: var(--color-subtle);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
  }

  .architecture-note-start {
    margin-top: -0.05rem;
    margin-bottom: 0.05rem;
  }

  .architecture-note-end {
    margin-top: -0.05rem;
  }

  .architecture-flow-context {
    display: none;
  }

  .feature-grid,
  .process-steps {
    display: block;
    border-left: 0;
  }

  .feature-item,
  .process-step {
    min-height: auto;
    border-left: 1px solid var(--color-border);
  }

  .safeguard-list,
  .requirements-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .tooling-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .tooling-column + .tooling-column {
    border-left: 0;
    padding-left: 0;
    padding-top: 0.85rem;
  }

  .pricing-actions-inline {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-stages {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-stage-divider {
    min-height: 28px;
  }

  .pricing-stage-divider::before {
    inset: 50% 0 auto;
    width: auto;
    height: 1px;
    transform: translateY(-50%);
  }

}

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