:root {
  color-scheme: dark;
  --bg: #0b1118;
  --bg-deep: #060a10;
  --bg-elevated: rgba(14, 20, 29, 0.92);
  --panel: rgba(14, 20, 29, 0.92);
  --panel-strong: rgba(11, 16, 24, 0.98);
  --line: rgba(130, 156, 189, 0.14);
  --line-strong: rgba(130, 156, 189, 0.22);
  --text: #f4efe8;
  --muted: #a59d95;
  --muted-strong: #cbc4bc;
  --soft: #827d79;
  --warm-accent: #ffbf99;
  --warm-accent-strong: #ffd8bf;
  --accent: #6fd3ff;
  --accent-soft: rgba(111, 211, 255, 0.14);
  --accent-strong: #def5ff;
  --accent-cool: #a8e4ff;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1200px;
  font-family:
    "Inter",
    "SF Pro Text",
    "Segoe UI Variable Text",
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 173, 120, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(111, 211, 255, 0.1), transparent 28%),
    radial-gradient(circle at bottom center, rgba(255, 255, 255, 0.03), transparent 40%),
    linear-gradient(180deg, #11161f 0%, var(--bg) 46%, var(--bg-deep) 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 82%);
  pointer-events: none;
}

.background-orb {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
}

.background-orb-left {
  top: -10rem;
  left: -10rem;
  background: rgba(255, 173, 120, 0.28);
}

.background-orb-right {
  top: 6rem;
  right: -18rem;
  width: 24rem;
  height: 24rem;
  background: rgba(111, 211, 255, 0.14);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0 80px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  isolation: isolate;
  overflow: visible;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 10px 16px 10px 24px;
  border: 1px solid rgba(130, 156, 189, 0.18);
  border-radius: 999px;
  background: transparent;
  box-shadow:
    0 24px 56px rgba(1, 8, 16, 0.42),
    0 10px 22px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.01),
    var(--shadow);
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: -18px -28px -28px;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(11, 16, 24, 0.48), rgba(11, 16, 24, 0.2) 54%, rgba(11, 16, 24, 0.06) 72%, transparent 88%);
  filter: blur(28px);
  opacity: 0.98;
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(18, 26, 38, 0.82), rgba(8, 13, 20, 0.9)),
    rgba(8, 13, 20, 0.78);
  -webkit-backdrop-filter: blur(42px) saturate(180%);
  backdrop-filter: blur(42px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(255, 255, 255, 0.01);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 28px;
}

.site-nav a {
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.015em;
}

.site-nav a,
.header-cta {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  color: var(--text);
}

.header-cta {
  justify-self: end;
  padding: 10px 18px;
  color: var(--warm-accent);
  border: 1px solid rgba(255, 138, 61, 0.32);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 138, 61, 0.24), rgba(255, 109, 24, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--warm-accent-strong);
}

.hero,
.section,
.showcase-window {
  animation: rise 700ms ease both;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  padding: 4px 0 0;
}

.hero-logo {
  width: min(220px, 18vw);
  height: auto;
  filter: drop-shadow(0 18px 42px rgba(255, 173, 120, 0.12));
}

.hero {
  max-width: 920px;
  margin: 14px auto 0;
  text-align: center;
}

.section-label,
.workspace-label,
.workspace-kicker,
.panel-caption,
.workflow-step {
  margin: 0;
  color: var(--warm-accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
}

h2 {
  letter-spacing: -0.025em;
}

h1 {
  max-width: none;
  margin: 20px auto 0;
  font-size: clamp(3rem, 8.8vw, 5.7rem);
  line-height: 0.98;
  font-weight: 650;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.lede {
  max-width: 48rem;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.72;
}

.showcase {
  margin-top: 56px;
}

.showcase-window {
  padding: 16px;
  border: 1px solid rgba(208, 217, 228, 0.34);
  border-radius: calc(var(--radius-xl) + 4px);
  background:
    linear-gradient(180deg, rgba(220, 228, 237, 0.16), rgba(122, 130, 142, 0.06)),
    rgba(18, 21, 28, 0.88);
  box-shadow:
    0 28px 80px rgba(4, 7, 12, 0.48),
    0 12px 32px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(245, 248, 252, 0.12) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.showcase-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(210, 219, 229, 0.16);
  border-radius: calc(var(--radius-xl) - 2px);
  background: rgba(17, 22, 29, 0.92);
  box-shadow:
    0 18px 48px rgba(5, 8, 14, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.workspace-sidebar {
  min-height: 100%;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.workspace-sidebar-group + .workspace-sidebar-group {
  margin-top: 28px;
}

.workspace-item {
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
}

.workspace-item-active {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.workspace-main {
  padding: 28px;
}

.workspace-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.workspace-topbar h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.02;
  font-weight: 580;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 10px 12px;
  border: 1px solid rgba(111, 211, 255, 0.24);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.84rem;
}

.badge-muted {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-top: 28px;
}

.panel {
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.panel-primary {
  background:
    radial-gradient(circle at top right, rgba(111, 211, 255, 0.12), transparent 42%),
    var(--panel-strong);
}

.panel-gradient {
  background:
    linear-gradient(180deg, rgba(111, 211, 255, 0.1), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-meta,
.activity-time,
.stat-label {
  color: var(--soft);
  font-size: 0.88rem;
}

.panel h3 {
  margin-top: 18px;
  font-size: 1.6rem;
  line-height: 1.08;
  font-weight: 560;
}

.panel-copy {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.task-list {
  margin-top: 22px;
}

.task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--muted);
}

.task-row + .task-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.task-state,
.activity-mark {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.task-state-done {
  background: #def5ff;
}

.task-state-active,
.activity-mark-accent {
  background: var(--accent-cool);
  box-shadow: 0 0 0 6px rgba(111, 211, 255, 0.1);
}

.activity-feed {
  margin-top: 18px;
}

.activity-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
}

.activity-item + .activity-item {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-title {
  color: var(--text);
  line-height: 1.5;
}

.activity-time {
  margin-top: 4px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.04rem;
  font-weight: 600;
}

.section {
  margin-top: 88px;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  font-weight: 580;
}

.capability-grid,
.workflow-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-card,
.workflow-card,
.execution-status-card,
.execution-gate-card,
.execution-checklist {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}

.capability-card h3,
.workflow-card h3 {
  font-size: 1.42rem;
  line-height: 1.08;
  font-weight: 560;
}

.workflow-card h3 {
  margin-top: 18px;
}

.capability-card p:last-child,
.workflow-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.workflow-map {
  position: relative;
  max-width: 1080px;
  margin: 40px auto 18px;
  padding: 18px 0 14px;
}

.workflow-map::before {
  content: "";
  position: absolute;
  inset: 4rem 24% auto;
  height: 12rem;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(111, 211, 255, 0.08), transparent 62%),
    radial-gradient(circle at 40% 40%, rgba(255, 173, 120, 0.06), transparent 52%);
  filter: blur(42px);
  pointer-events: none;
}

.workflow-signal-block,
.workflow-waterfall {
  position: relative;
  z-index: 1;
}

.workflow-map-label {
  margin: 0;
  color: var(--warm-accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-signal-grid {
  display: grid;
  grid-template-columns: 250px 40px auto 40px 250px;
  gap: 0;
  align-items: center;
  justify-content: center;
}

.workflow-source-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 16, 24, 0.82);
  box-shadow: var(--shadow);
}

.workflow-signal-connector {
  height: 1px;
  background: linear-gradient(90deg, rgba(111, 211, 255, 0.04), rgba(111, 211, 255, 0.5));
}

.workflow-signal-connector-left {
  background: linear-gradient(90deg, rgba(111, 211, 255, 0.5), rgba(111, 211, 255, 0.04));
}

.workflow-signal-connector-right {
  background: linear-gradient(90deg, rgba(111, 211, 255, 0.04), rgba(111, 211, 255, 0.5));
}

.workflow-source-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.07);
}

.workflow-source-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.workflow-hub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.workflow-hub::after {
  content: "";
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, rgba(111, 211, 255, 0), rgba(111, 211, 255, 0.48) 28%, rgba(111, 211, 255, 0.48) 72%, rgba(111, 211, 255, 0));
  transform: translateX(-50%);
}

.workflow-hub-core {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(255, 191, 153, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255, 173, 120, 0.12), transparent 52%),
    radial-gradient(circle at bottom, rgba(111, 211, 255, 0.1), transparent 58%),
    rgba(11, 16, 24, 0.96);
  box-shadow: var(--shadow);
}

.workflow-hub-core img {
  width: 56px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(255, 173, 120, 0.12));
}

.workflow-hub-copy {
  max-width: 180px;
  text-align: center;
}

.workflow-source-copy strong,
.workflow-hub-copy strong,
.workflow-model-node strong {
  display: block;
  font-size: 1rem;
  line-height: 1.08;
  font-weight: 560;
}

.workflow-source-copy span,
.workflow-hub-copy span,
.workflow-model-node > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.workflow-waterfall {
  margin-top: 30px;
}

.workflow-waterfall-grid {
  display: grid;
  grid-template-columns: repeat(4, 220px);
  gap: 12px;
  align-items: start;
  justify-content: center;
}

.workflow-waterfall-step {
  position: relative;
}

.workflow-waterfall-step-2 {
  padding-top: 28px;
}

.workflow-waterfall-step-3 {
  padding-top: 56px;
}

.workflow-waterfall-step-4 {
  padding-top: 84px;
}

.workflow-model-node {
  min-height: 96px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(11, 16, 24, 0.9);
  box-shadow: var(--shadow);
}

.workflow-model-node-flow {
  border-color: rgba(99, 216, 163, 0.16);
  background:
    linear-gradient(180deg, rgba(99, 216, 163, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(11, 16, 24, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 24px 64px rgba(1, 9, 16, 0.34);
}

.workflow-model-node-flow strong {
  color: rgba(241, 249, 244, 0.98);
}

.workflow-model-node-accent {
  border-color: rgba(99, 216, 163, 0.28);
  background:
    linear-gradient(180deg, rgba(99, 216, 163, 0.12), rgba(255, 255, 255, 0.01)),
    rgba(11, 16, 24, 0.9);
}

.workflow-model-node-delivery {
  border-color: rgba(255, 191, 153, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 173, 120, 0.08), rgba(255, 255, 255, 0.01)),
    rgba(11, 16, 24, 0.9);
}

.workflow-model-node-delivery .workflow-source-copy {
  min-width: 0;
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.execution-section {
  --execution-layout-gap: 40px;
  margin-top: 96px;
}

.security-heading {
  max-width: none;
}

.execution-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: var(--execution-layout-gap);
  align-items: start;
  margin-top: 24px;
}

.execution-copy-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.execution-headline {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  font-weight: 580;
}

.execution-intro-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.execution-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.execution-list-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.execution-list-index {
  color: var(--warm-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.execution-list-copy strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.14;
  font-weight: 560;
}

.execution-list-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.execution-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  align-self: end;
}

.execution-status-card,
.execution-gate-card,
.execution-checklist {
  background:
    linear-gradient(180deg, rgba(26, 32, 40, 0.94), rgba(18, 24, 32, 0.96)),
    rgba(18, 24, 32, 0.94);
}

.execution-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-color: rgba(164, 178, 196, 0.2);
}

.execution-status-copy strong,
.execution-gate-card strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.18;
  font-weight: 560;
}

.execution-status-copy strong {
  font-weight: 400;
}

.execution-status-badge,
.execution-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.execution-status-badge,
.execution-check-icon-success,
.execution-check-icon-pending {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 999px;
}

.execution-status-badge svg,
.execution-check-icon-success svg {
  width: 12px;
  height: 12px;
  display: block;
}

.execution-status-badge-success,
.execution-check-icon-success {
  color: #89e0b0;
  border: 1px solid rgba(99, 216, 163, 0.34);
  background: rgba(99, 216, 163, 0.14);
}

.execution-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(130, 156, 189, 0.7);
}

.execution-arrow svg {
  width: 16px;
  height: 16px;
}

.execution-gate-card {
  padding: 14px 18px;
  border-color: rgba(255, 206, 115, 0.26);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 206, 115, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(44, 40, 28, 0.92);
}

.execution-gate-card p {
  margin: 8px 0 0;
  color: #a8b4ca;
  font-size: 0.9rem;
  line-height: 1.45;
}

.execution-checklist {
  padding: 0;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-color: rgba(164, 178, 196, 0.2);
}

.execution-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 40px;
  padding: 0 16px;
}

.execution-check-row + .execution-check-row {
  border-top: 1px solid rgba(164, 178, 196, 0.12);
}

.execution-check-row span:first-child {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.35;
}

.execution-check-icon-agent {
  color: #7fe2c6;
  width: 24px;
  height: 24px;
  flex: 0 0 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.execution-check-icon-agent svg {
  width: 22px;
  height: 22px;
  color: rgb(73, 144, 114);
}

.execution-check-icon-pending {
  border: 1px solid rgba(255, 206, 115, 0.28);
  background: rgba(255, 206, 115, 0.08);
}

.execution-check-icon-pending::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ffce73;
}

.execution-check-icon-human {
  color: #92a1bc;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.execution-check-icon-human svg {
  width: 20px;
  height: 20px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .showcase-window,
  .workspace-grid,
  .capability-grid,
  .workflow-grid,
  .execution-layout {
    grid-template-columns: 1fr;
  }

  .workflow-signal-grid,
  .workflow-waterfall-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .workflow-hub {
    order: 3;
    margin: 10px 0 8px;
  }

  .workflow-source-chip:first-child {
    order: 1;
  }

  .workflow-source-chip:last-child {
    order: 2;
  }

  .workflow-hub::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    width: 1px;
    height: 30px;
    background: linear-gradient(
      180deg,
      rgba(111, 211, 255, 0),
      rgba(111, 211, 255, 0.48) 28%,
      rgba(111, 211, 255, 0.48) 72%,
      rgba(111, 211, 255, 0)
    );
    transform: translateX(-50%);
  }

  .workflow-hub::after {
    height: 34px;
  }

  .workflow-signal-connector {
    display: none;
  }

  .workflow-waterfall-step-2,
  .workflow-waterfall-step-3,
  .workflow-waterfall-step-4 {
    padding-top: 0;
  }

  .workspace-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace-topbar {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--max-width));
    padding-top: 14px;
    padding-bottom: 56px;
  }

  body::before {
    background-size: 36px 36px;
  }

  .background-orb {
    opacity: 0.16;
  }

  .background-orb-left {
    top: -6rem;
    left: -8rem;
    width: 22rem;
    height: 22rem;
  }

  .background-orb-right {
    top: 8rem;
    right: -10rem;
    width: 18rem;
    height: 18rem;
  }

  .site-header {
    position: sticky;
    top: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 999px;
    overflow: hidden;
  }

  .site-header::before {
    display: none;
  }

  .site-header::after {
    background:
      linear-gradient(180deg, rgba(12, 17, 25, 0.96), rgba(8, 12, 19, 0.98)),
      rgba(8, 12, 19, 0.94);
  }

  .brand {
    font-size: 1rem;
  }

  .site-nav {
    display: none;
  }

  .hero {
    max-width: 100%;
    margin-top: 18px;
  }

  h1 {
    max-width: 11ch;
    margin-top: 18px;
    font-size: clamp(2.6rem, 11vw, 3.6rem);
    line-height: 0.94;
    text-wrap: balance;
  }

  .hero-title-line {
    display: block;
    white-space: normal;
  }

  .hero-title-line + .hero-title-line::before {
    content: none;
  }

  .lede {
    max-width: 32rem;
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .header-cta {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
  }

  .hero-logo-wrap {
    margin-top: 28px;
  }

  .hero-logo {
    width: min(138px, 34vw);
  }

  .showcase {
    margin-top: 38px;
  }

  .showcase-window {
    padding: 10px;
    border-radius: 26px;
  }

  .showcase-image {
    border-radius: 20px;
  }

  .section {
    margin-top: 72px;
  }

  .section-heading {
    max-width: 100%;
  }

  .section-heading h2,
  .execution-headline {
    margin-top: 10px;
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    line-height: 0.98;
    text-wrap: balance;
  }

  .workflow-map {
    margin-top: 28px;
    padding-top: 0;
  }

  .workflow-signal-grid,
  .workflow-waterfall-grid {
    gap: 10px;
  }

  .workflow-source-chip {
    padding: 14px;
    border-radius: 20px;
  }

  .workflow-source-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
  }

  .workflow-hub-core {
    width: 88px;
    height: 88px;
    border-radius: 24px;
  }

  .workflow-hub-core img {
    width: 46px;
  }

  .workflow-hub {
    gap: 8px;
    margin-bottom: 2px;
  }

  .workflow-hub::after {
    top: calc(100% + 4px);
    height: 26px;
  }

  .workflow-source-copy strong,
  .workflow-hub-copy strong,
  .workflow-model-node strong {
    font-size: 0.96rem;
  }

  .workflow-source-copy span,
  .workflow-hub-copy span,
  .workflow-model-node > span {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .workflow-model-node {
    min-height: 0;
    padding: 14px;
    border-radius: 18px;
  }

  .workflow-grid {
    margin-top: 22px;
    gap: 12px;
  }

  .workflow-card h3 {
    margin-top: 14px;
  }

  .workspace-main,
  .workspace-sidebar,
  .panel,
  .capability-card,
  .workflow-card,
  .execution-gate-card {
    padding: 18px;
  }

  .execution-layout {
    gap: 24px;
    margin-top: 20px;
  }

  .execution-copy-stack {
    gap: 18px;
  }

  .execution-intro-copy {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .execution-list {
    gap: 14px;
  }

  .execution-list-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .execution-list-copy strong {
    font-size: 1.06rem;
  }

  .execution-list-copy p {
    margin-top: 6px;
    font-size: 0.95rem;
  }

  .execution-preview {
    gap: 10px;
  }

  .execution-checklist {
    padding: 0;
  }

  .execution-status-card {
    height: 44px;
    padding: 0 14px;
    border-radius: 18px 18px 0 0;
  }

  .execution-gate-card {
    padding: 14px;
  }

  .execution-check-row {
    height: 44px;
    padding: 0 14px;
  }

  .execution-status-copy strong,
  .execution-gate-card strong,
  .execution-check-row span:first-child {
    font-size: 0.86rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  h1 {
    max-width: 9.5ch;
    font-size: clamp(2.25rem, 12vw, 2.8rem);
  }

  .section {
    margin-top: 60px;
  }

  .showcase-window {
    padding: 8px;
  }

  .workflow-source-chip {
    align-items: flex-start;
  }

  .workflow-source-copy span,
  .workflow-hub-copy span,
  .workflow-model-node > span {
    font-size: 0.84rem;
  }
}
