/* pages/content.css: patterns shared by the home, about and contact content sections.
   Candidates to move into components.css: .aud-grid/.aud, .timeline, .map-frame, .glance. */

/* Audience cards */
.aud-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.aud { --c: var(--brand); grid-column: span 2; background: var(--paper); border: 1.5px solid var(--line); border-top: 4px solid var(--c); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.aud:nth-child(n+4) { grid-column: span 3; }
.aud .who { font: 600 14.5px/1.3 var(--font-body); color: var(--text); }
.aud .who span { display: inline-block; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, white); }
.aud h3 { font-size: 22px; font-weight: 700; }
.aud p { color: var(--muted); font-size: 16px; }
.aud .go { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.aud .go:hover { color: var(--brand-dark); }

/* Comparison table specifics */
.compare-wrap { overflow-x: auto; }
.compare th[scope="row"] { font-weight: 600; width: 22%; background: transparent; color: var(--text); font-size: 16px; }
.compare thead th { width: auto; }
.compare:not(.glance) thead th:nth-child(3) { color: var(--text); background: color-mix(in srgb, var(--brand) 8%, white); }
.compare:not(.glance) tbody td:nth-child(3) { background: color-mix(in srgb, var(--brand) 3%, white); }
.compare .good { color: var(--text); font-weight: 400; }
.compare .bad { color: var(--muted); }
.compare-note { margin-top: 20px; color: var(--muted); font-size: 15px; max-width: 46em; }
@media (max-width: 880px) {
  .compare-wrap .compare { display: table; min-width: 640px; }
}

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: tl; display: grid; gap: 0; }
.timeline li { counter-increment: tl; position: relative; padding: 0 0 34px 68px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font: 700 18px/1 var(--font-display); }
.timeline li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 21px; font-weight: 700; padding-top: 8px; }
.timeline p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.timeline p a { color: var(--brand-dark); }

.home-note { margin-top: 24px; color: var(--muted); font-size: 15px; }
.home-note a { color: var(--brand-dark); }

/* Map */
.map-frame { display: block; width: 100%; height: 360px; border: 1.5px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
@media (max-width: 640px) { .map-frame { height: 300px; border-radius: var(--radius-md); } }

/* Table of products at a glance */
.glance th[scope="row"] { width: auto; }
.glance td:first-child { width: auto; }
.status { display: inline-block; font: 600 13px/1 var(--font-body); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.status.live { background: #e3f6ec; color: #0f7a44; }
.status.pilot { background: #fff4de; color: #8a5600; }
.status.dev { background: #efeaff; color: #5a3fd6; }
.glance a { color: var(--brand-dark); font-weight: 600; }

/* Principles in prose */
.principles { display: grid; gap: 28px; }
.principles h3 { font-size: 22px; font-weight: 700; }
.principles p { margin-top: 8px; color: var(--muted); }
.principles > div + div { padding-top: 28px; border-top: 1.5px solid var(--line); }

/* Contact channel guide */
.channel-lead { margin-bottom: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
