/* Platform page — QWIEIAS + the services growing inside it.
   Shared visual components (cards, flow, SVG motion) come from pages/index.css;
   this sheet adds the platform-specific layout and rhythm. */

.platform-intro {
  padding: 56px 0 8px;
}

.platform-intro h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.06;
  color: var(--hero-copy);
}

.platform-intro-sub {
  margin: 0;
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--hero-muted);
}

.platform-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.25rem;
}

.platform-jump a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--qwi-border);
  background: var(--nav-bg);
  color: var(--qwi-text);
  text-decoration: none;
  font-size: 0.85rem;
}

.platform-jump a:visited {
  color: var(--qwi-text);
}

.platform-jump a:hover {
  border-color: var(--qwi-border-strong);
  background: var(--nav-hover);
}

/* Sections */
.platform-section {
  padding: 44px 0;
  border-top: 1px solid var(--qwi-border);
  scroll-margin-top: 84px;
}

.platform-section:first-of-type {
  border-top: none;
}

.platform-section-head {
  max-width: 72ch;
  margin-bottom: 1.25rem;
}

.platform-section-head h2 {
  margin: 0.5rem 0 0.6rem;
  font-size: 1.9rem;
  line-height: 1.12;
}

.platform-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--hero-muted);
}

/* The "splash of nerd" aside */
.platform-nerd {
  max-width: 80ch;
  margin: 0 0 1.5rem;
  padding: 12px 15px;
  border-left: 2px solid var(--qwi-border-strong);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--nav-hover);
  color: var(--qwi-muted-strong);
  font-size: 0.95rem;
  line-height: 1.55;
}

.platform-nerd strong {
  color: var(--qwi-text);
}

/* Sub-headings within a section */
.section-title {
  margin: 1.75rem 0 1rem;
  font-size: 1.15rem;
}

/* Card + flow headings on this page use h4 (under the section h2/h3) */
.platform-section .card h4,
.section-flow article h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.platform-section .card h4 {
  margin-top: 0;
}

/* How-it-works flow: three across on wide screens */
.platform-flow {
  margin: 1.5rem 0 2rem;
}

.platform-flow .flow {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.platform-flow .micro {
  width: 100%;
  max-width: 360px;
}

/* Closing "end goal / where it stands" line per section */
.platform-note {
  max-width: 80ch;
  margin: 1.5rem 0 0;
  color: var(--qwi-muted-strong);
  font-size: 0.98rem;
  line-height: 1.55;
}

.platform-note strong {
  color: var(--qwi-text);
}
