.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.55fr);
  gap: 68px;
  padding-top: 124px;
}

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

.hero-lede {
  max-width: 720px;
  margin-bottom: 34px;
  font-size: clamp(1.06rem, 1.6vw, 1.32rem);
}

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

.hero-system {
  position: relative;
  align-self: center;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(203, 209, 220, 0.84);
  border-radius: 38px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(241, 243, 249, 0.9)),
    white;
  box-shadow: var(--shadow-lg);
}

.hero-system::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(243, 191, 91, 0.22);
  filter: blur(8px);
  content: "";
}

.hero-orbit {
  position: relative;
  width: 310px;
  height: 310px;
  margin: 16px auto -24px;
}

.orbit {
  position: absolute;
  inset: 50%;
  border: 1px solid #d8dce5;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 238px;
  height: 238px;
}

.orbit-two {
  width: 168px;
  height: 168px;
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 1px solid rgba(23, 25, 31, 0.08);
  border-radius: 32px;
  background: var(--ink);
  box-shadow: 0 20px 40px rgba(23, 25, 31, 0.23);
  transform: translate(-50%, -50%) rotate(8deg);
}

.orbit-core i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 10px rgba(243, 191, 91, 0.12);
}

.hero-system-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  padding: 0 34px 34px;
}

.hero-system-copy span {
  color: var(--muted);
  font-size: 0.75rem;
}

.hero-system-copy strong {
  font-size: 1rem;
}

.hero-system-line {
  grid-column: 1 / -1;
  height: 1px;
  margin: 12px 0;
  background: var(--line);
}

.metric-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.25fr;
  gap: 12px;
  margin-top: 26px;
}

.metric-card {
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2.45rem;
  font-weight: 600;
}

.metric-card span {
  font-size: 0.85rem;
  font-weight: 650;
}

.metric-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.metric-card-wide {
  color: #2c2414;
  border-color: #ead7ad;
  background: linear-gradient(145deg, #fff8e7, #ffedc1);
}

.workflow-shell {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.scenario-toolbar,
.scenario-intro,
.graph-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: 26px;
}

.scenario-toolbar {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.segmented-control {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 15px;
  background: #f0f2f6;
}

.scenario-button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  color: #6e7481;
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

.scenario-button[aria-selected="true"] {
  color: var(--ink);
  background: white;
  box-shadow: 0 2px 9px rgba(22, 26, 36, 0.08);
}

.flow-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

.flow-toggle svg {
  width: 18px;
  fill: var(--ink);
}

.flow-toggle.is-playing svg {
  fill: var(--violet);
}

.scenario-intro {
  align-items: end;
  padding-top: 28px;
  padding-bottom: 22px;
}

.scenario-intro > p {
  max-width: 570px;
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.scenario-kicker {
  margin-bottom: 7px;
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 650;
}

.graph-frame {
  margin: 0 14px;
  overflow: hidden;
  border: 1px solid #e4e7ed;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 50%, rgba(139, 122, 240, 0.055), transparent 34%),
    linear-gradient(#eff1f5 1px, transparent 1px),
    linear-gradient(90deg, #eff1f5 1px, transparent 1px),
    #fafbfc;
  background-size: auto, 28px 28px, 28px 28px, auto;
}

.workflow-graph {
  display: block;
  width: 100%;
  min-height: 430px;
}

.graph-footer {
  min-height: 104px;
}

.node-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 700px;
}

.detail-number {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 650;
}

.node-detail strong {
  font-size: 0.88rem;
}

.node-detail p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.flow-progress {
  width: 180px;
  color: var(--muted);
  font-size: 0.72rem;
}

.flow-track {
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9ebf0;
}

.flow-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--violet);
  transition: width 280ms ease;
}

.principle-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 78px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--ink);
}

.principle-strip article {
  display: flex;
  gap: 16px;
  min-height: 148px;
  padding: 28px;
  color: white;
}

.principle-strip article + article {
  border-left: 1px solid #353944;
}

.principle-index {
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 650;
}

.principle-strip strong {
  font-size: 1rem;
}

.principle-strip p {
  margin: 8px 0 0;
  color: #aeb3bf;
  font-size: 0.8rem;
  line-height: 1.5;
}

.adaptation-layout {
  display: grid;
  grid-template-columns: minmax(400px, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
}

.adaptation-visual-card,
.adaptation-copy {
  min-height: 640px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
}

.adaptation-visual-card {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 48%, rgba(139, 122, 240, 0.1), transparent 36%),
    white;
}

.adaptation-visual-card svg {
  width: min(100%, 650px);
}

.adaptation-copy {
  display: flex;
  align-items: center;
  padding: 28px 34px;
}

.adaptation-ladder {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.adaptation-ladder li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.adaptation-ladder li:last-child {
  border-bottom: 0;
}

.adaptation-ladder li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: #6254ba;
  background: var(--violet-soft);
  font-size: 0.68rem;
  font-weight: 650;
}

.adaptation-ladder strong {
  font-size: 0.95rem;
}

.adaptation-ladder p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.preservation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.preservation-card {
  min-height: 184px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.preservation-card span {
  display: block;
  width: fit-content;
  margin-bottom: 24px;
  padding: 6px 9px;
  border-radius: 9px;
  font-size: 0.67rem;
  font-weight: 650;
}

.preservation-card strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.35;
}

.preservation-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.preservation-keep span { color: #237457; background: var(--mint-soft); }
.preservation-check span { color: #326ba8; background: var(--blue-soft); }
.preservation-salvage span { color: #6754c4; background: var(--violet-soft); }
.preservation-replace span { color: #aa5847; background: var(--rose-soft); }

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: var(--paper);
}

.pipeline-stage {
  position: relative;
  min-height: 292px;
  padding: 24px 18px;
}

.pipeline-stage + .pipeline-stage {
  border-left: 1px solid var(--line);
}

.stage-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.stage-head > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 11px;
  color: #5f6573;
  background: #f0f2f6;
  font-size: 0.67rem;
  font-weight: 650;
}

.stage-head strong {
  font-size: 0.9rem;
}

.pipeline-stage > p {
  min-height: 58px;
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.stage-task {
  position: relative;
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 4px 10px;
  padding: 15px;
  border: 1px solid #dfe3ea;
  border-radius: 17px;
  background: var(--paper-soft);
  box-shadow: 0 8px 22px rgba(19, 24, 34, 0.06);
}

.stage-task i {
  grid-row: 1 / 3;
  align-self: start;
  width: 8px;
  height: 8px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--blue);
}

.stage-task span {
  font-size: 0.76rem;
  font-weight: 600;
}

.stage-task small {
  color: var(--muted);
  font-size: 0.64rem;
}

.active-task {
  border-color: #cfc8ff;
  background: var(--violet-soft);
}

.active-task i {
  background: var(--violet);
  box-shadow: 0 0 0 5px rgba(139, 122, 240, 0.13);
}

.resource-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  margin-top: 18px;
}

.resource-summary,
.resource-grid {
  min-height: 314px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
}

.resource-summary {
  padding: 30px;
}

.resource-summary h3 {
  max-width: 420px;
}

.resource-summary > p:not(.eyebrow) {
  max-width: 470px;
  margin: 18px 0 24px;
  font-size: 0.83rem;
}

.priority-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.priority-stack span {
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 0.66rem;
  font-weight: 650;
}

.priority-interrupt { color: #a54e3c; background: var(--rose-soft); }
.priority-foreground { color: #6754c4; background: var(--violet-soft); }
.priority-background { color: #326ba8; background: var(--blue-soft); }
.priority-maintenance { color: #616875; background: #eef0f4; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.resource-grid article {
  min-height: 156px;
  padding: 22px;
  background: white;
}

.resource-grid article:nth-child(4),
.resource-grid article:nth-child(5) {
  min-height: 157px;
}

.resource-authority {
  grid-column: span 2;
}

.resource-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 12px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}

.resource-luna { color: #6253bd; background: var(--violet-soft); }
.resource-browser { color: #316caa; background: var(--blue-soft); }
.resource-retire { color: white; background: var(--ink); }

.resource-grid strong {
  display: block;
  font-size: 0.82rem;
}

.resource-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.capability-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.capability-grid span {
  display: block;
  width: fit-content;
  margin-bottom: 34px;
  padding: 6px 9px;
  border-radius: 9px;
  color: #6458ae;
  background: var(--violet-soft);
  font-size: 0.66rem;
  font-weight: 650;
}

.capability-grid strong {
  display: block;
  font-size: 0.88rem;
}

.capability-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.federation-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background:
    linear-gradient(#f0f2f6 1px, transparent 1px),
    linear-gradient(90deg, #f0f2f6 1px, transparent 1px),
    white;
  background-size: 30px 30px, 30px 30px, auto;
  box-shadow: var(--shadow-lg);
}

.federation-card > svg {
  display: block;
  width: 100%;
  min-height: 520px;
}

.federation-note {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  align-items: center;
  min-height: 96px;
  padding: 18px 30px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.federation-note span {
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 650;
}

.federation-note strong {
  max-width: 760px;
  font-size: 1rem;
}

.throughput-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
  min-height: 430px;
  padding: 54px;
  overflow: hidden;
  border-radius: 36px;
  color: white;
  background:
    radial-gradient(circle at 88% 20%, rgba(139, 122, 240, 0.34), transparent 24rem),
    radial-gradient(circle at 5% 100%, rgba(243, 191, 91, 0.18), transparent 20rem),
    var(--ink);
}

.throughput-copy .eyebrow,
.throughput-copy p {
  color: #b8bdc8;
}

.throughput-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.throughput-copy > p:last-child {
  max-width: 540px;
  margin: 24px 0 0;
  font-size: 0.9rem;
}

.throughput-visual {
  padding: 30px;
  border: 1px solid #3b3f49;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.throughput-formula {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.throughput-formula span {
  display: grid;
  min-height: 112px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.throughput-formula strong {
  font-size: 1.45rem;
}

.throughput-formula small {
  color: #aeb4c0;
  font-size: 0.65rem;
}

.throughput-formula i {
  color: #8d94a3;
  font-style: normal;
}

.throughput-result {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 22px;
}

.throughput-result strong {
  color: var(--sun);
  font-size: 3rem;
  font-weight: 600;
}

.throughput-result span {
  color: #bcc1cb;
  font-size: 0.76rem;
}

.throughput-visual > p {
  margin: 12px 0 0;
  color: #9299a7;
  font-size: 0.68rem;
}

.phase-list {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--paper);
}

.phase-list article {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 94px;
  padding: 18px 24px;
}

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

.phase-list article > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: #6254ba;
  background: var(--violet-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.phase-list strong {
  display: block;
  font-size: 0.88rem;
}

.phase-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.phase-list em {
  padding: 7px 10px;
  border-radius: 9px;
  color: #68707d;
  background: #f0f2f5;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 650;
}

.phase-list article:first-child em {
  color: #6254ba;
  background: var(--violet-soft);
}

.closing-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  margin-top: 126px;
  padding: 64px;
  border-radius: 38px;
  color: white;
  background: var(--ink);
}

.closing-section h2 {
  max-width: 920px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.closing-section .eyebrow {
  color: #adb3bf;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 140px;
  margin-top: 30px;
  color: #717886;
  font-size: 0.76rem;
}

.site-footer p {
  margin: 0;
  color: inherit;
  text-align: center;
}

.site-footer > a:last-child {
  justify-self: end;
  color: var(--ink);
  font-weight: 600;
}
