.pageShell {
  background:
    linear-gradient(180deg, rgba(14, 21, 24, 0.96) 0%, rgba(8, 10, 12, 1) 38rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px);
  overflow-x: hidden;
}

.hero {
  padding: 3.8rem 0 2.5rem;
  border-bottom: 1px solid var(--da-border);
}

.heroGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.heroCopy {
  max-width: 50rem;
}

.kicker,
.sectionHeader span,
.panelHeader span,
.commandBlock span,
.stepNumber {
  display: inline-block;
  color: var(--da-accent-green);
  font-family: var(--ifm-font-family-monospace);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.heroCopy h1 {
  max-width: 12ch;
  margin: 0.8rem 0 0;
  color: #fff;
  font-size: 3.6rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.heroCopy p {
  max-width: 43rem;
  margin: 1.15rem 0 0;
  color: var(--da-fg-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.primaryAction,
.secondaryAction {
  border-radius: 8px;
}

.primaryAction {
  background: var(--da-accent-green);
  border-color: var(--da-accent-green);
  color: #04110d;
}

.primaryAction:hover {
  background: #78e6ca;
  border-color: #78e6ca;
  color: #04110d;
}

.secondaryAction {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--da-border-light);
  color: #fff;
}

.secondaryAction:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--da-accent-cyan);
  color: #fff;
}

.commandPanel,
.capabilityTable {
  border: 1px solid var(--da-border-light);
  border-radius: 8px;
  background: rgba(15, 19, 22, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.commandPanel {
  padding: 1rem;
  min-width: 0;
}

.panelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.2rem 0.85rem;
  border-bottom: 1px solid var(--da-border);
}

.panelHeader a {
  color: var(--da-accent-cyan);
  font-size: 0.88rem;
  font-weight: 700;
}

.commandBlock {
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--da-border);
}

.commandBlock code {
  display: block;
  max-width: 100%;
  margin-top: 0.55rem;
  overflow-x: auto;
  padding: 0.8rem;
  border-radius: 6px;
  background: #07090a;
  color: #d8f7e9;
  font-size: 0.84rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.runtimeFacts {
  display: grid;
  gap: 0.65rem;
  margin: 0.9rem 0 0;
}

.runtimeFacts div {
  display: grid;
  grid-template-columns: 5.4rem 1fr;
  gap: 0.8rem;
}

.runtimeFacts dt {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
}

.runtimeFacts dd {
  margin: 0;
  color: var(--da-fg-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.startSection,
.stepsSection,
.systemSection {
  padding: 3.5rem 0;
}

.stepsSection {
  border-top: 1px solid var(--da-border);
  border-bottom: 1px solid var(--da-border);
  background: rgba(255, 255, 255, 0.015);
}

.sectionHeader {
  display: grid;
  gap: 0.7rem;
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.sectionHeader h2 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.pathsGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--da-border);
  border-radius: 8px;
  overflow: hidden;
}

.pathRow {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  min-height: 6.6rem;
  padding: 1.1rem 1.2rem;
  border-right: 1px solid var(--da-border);
  border-bottom: 1px solid var(--da-border);
  color: inherit;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.pathRow:nth-child(2n) {
  border-right: 0;
}

.pathRow:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.pathRow:hover {
  background: rgba(78, 201, 176, 0.055);
  color: inherit;
  text-decoration: none;
}

.pathRow span {
  color: #fff;
  font-weight: 800;
}

.pathRow p,
.stepCard p,
.hubCard p,
.capabilityRow p {
  margin: 0;
  color: var(--da-fg-muted);
  line-height: 1.6;
}

.stepsGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stepCard,
.hubCard {
  display: block;
  min-height: 100%;
  padding: 1.1rem;
  border: 1px solid var(--da-border);
  border-radius: 8px;
  background: rgba(13, 17, 19, 0.86);
  color: inherit;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.stepCard:hover,
.hubCard:hover {
  transform: translateY(-2px);
  border-color: rgba(156, 220, 254, 0.45);
  background: rgba(20, 28, 32, 0.9);
  color: inherit;
  text-decoration: none;
}

.stepCard h3,
.hubCard h3 {
  margin: 0.65rem 0 0.65rem;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.stepCard code {
  display: block;
  overflow: hidden;
  margin-bottom: 0.75rem;
  color: var(--da-accent-cyan);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.systemLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 23rem;
  gap: 2rem;
  align-items: start;
}

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

.capabilityTable {
  position: sticky;
  top: 5rem;
  padding: 1rem;
}

.capabilityRow {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 0.2rem;
  border-bottom: 1px solid var(--da-border);
}

.capabilityRow:last-child {
  border-bottom: 0;
}

.capabilityRow strong {
  color: #fff;
  font-size: 0.92rem;
}

.capabilityRow p {
  font-size: 0.88rem;
}

@media screen and (max-width: 996px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }

  .heroGrid,
  .systemLayout {
    grid-template-columns: 1fr;
  }

  .heroCopy h1 {
    font-size: 3rem;
  }

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

  .capabilityTable {
    position: static;
  }
}

@media screen and (max-width: 700px) {
  .hero {
    padding: 2.1rem 0 1.4rem;
  }

  .heroCopy h1 {
    font-size: 2.05rem;
  }

  .heroCopy p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .heroActions {
    margin-top: 1.1rem;
  }

  .commandPanel {
    display: none;
  }

  .pathsGrid,
  .stepsGrid,
  .hubsGrid {
    grid-template-columns: 1fr;
  }

  .pathRow {
    grid-template-columns: 1fr;
    min-height: auto;
    border-right: 0;
  }

  .pathRow:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--da-border);
  }

  .pathRow:last-child {
    border-bottom: 0;
  }

  .runtimeFacts div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
