/* platform.css — the red room.
 *
 * Every other page on this site is blue, because every other page is us doing
 * something defensive on your behalf. The platform is the offensive tooling you
 * drive yourself, so it gets its own temperature. Nothing else changes — same
 * type, same grid, same particle field — which is what keeps it feeling like a
 * room inside the house rather than a different building.
 */

body.doc--platform {
  --blue: #ff2e46;
  --blue-soft: #ff8f9c;
  --bg: #0b0409;
}

/* The field carries most of the shift; the vignette has to follow it or the
   edges go blue-black against a red core. */
.doc--platform .stage__vignette {
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 32%,
    rgba(11, 4, 9, 0.55) 72%,
    rgba(11, 4, 9, 0.92) 100%
  );
}

.doc--platform .step,
.doc--platform .route,
.doc--platform .deliverables li,
.doc--platform .module {
  background: rgba(18, 5, 11, 0.6);
}

/* The sign-off glow behind the footer crest. The particle field was already red
   here via data-glow on the canvas, but this pool sits under it in CSS and was
   still blue — the one cold thing left on the page, right at the bottom where
   the crest lands. Fades out to the platform's own near-black, not the blue
   one, so the falloff doesn't drift cool at the edges. */
.doc--platform .terrafoot__sky {
  --sky-core: rgba(255, 138, 152, 0.5);
  --sky-mid: rgba(226, 40, 66, 0.26);
  --sky-far: rgba(150, 16, 38, 0.1);
  --sky-out: rgba(11, 4, 9, 0);
}

/* ------------------------------------------------------------------ modules
 *
 * The workflow grid. Capabilities, not product names — the platform is an
 * orchestration layer over open-source and proprietary tooling, so naming the
 * internal engines both duplicated the list above it and made us look like a
 * competitor to tools we actually run inside. Dense on purpose.
 */

.modules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: 14px;
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.module {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.module h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  margin: 0;
}
.module p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
}
.module__kind {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

/* --------------------------------------------------------------- stat strip */

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}
.stats strong {
  display: block;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.03em;
  color: #fff;
}
.stats span {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
