/* 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);
}

/* ------------------------------------------------------------------ modules
 *
 * The product grid. This is the argument of the page: the platform is not one
 * tool with a marketing page, it is a dozen engines that already exist. Dense
 * on purpose — the density IS the claim.
 */

.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);
}

/* Engines sit visually beneath the workflows they power, because that is
   literally the relationship. */
.modules--engines .module {
  background: rgba(10, 3, 7, 0.72);
}
.modules--engines .module__kind {
  color: var(--faint);
}

/* --------------------------------------------------------------- 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);
}
