/* editorial-policy.html — page-only composition. Components come from ../system.css.
   Hero aside: the seven things a program record needs before it is published. */

/* ---------- hero: record gate ---------- */
.ed-hero h1 { max-width: 12em; }
.gate { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); }
.gate-title { font-size: var(--t-h4); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: #fff; }
.gate-intro { margin-top: 8px; font-size: var(--t-small); color: var(--d-muted) !important; }
.gate-list { list-style: none; margin: 18px 0 0; padding: 0; }
.gate-list li { display: flex; align-items: center; gap: 14px; min-height: 46px; border-top: 1px solid var(--d-line); font-size: var(--t-text); color: var(--d-text); }
.gate-check { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--d-line-2); }
.gate-check::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); transition: transform .5s var(--ease-out), opacity .3s; }
.gate-check::after { content: ""; position: absolute; left: 6.5px; top: 7px; width: 9px; height: 5px; border-left: 1.75px solid var(--c0); border-bottom: 1.75px solid var(--c0); transform: rotate(-45deg); transition: opacity .3s .1s; }
.gate.is-pending li:not(.is-on) .gate-check::before { transform: scale(.3); opacity: 0; }
.gate.is-pending li:not(.is-on) .gate-check::after { opacity: 0; }
.gate.is-pending li:not(.is-on) { color: var(--d-muted); }
.gate-list li { transition: color .4s; }
.gate-foot { margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--d-line); font-size: var(--t-micro); line-height: 1.5; color: var(--d-faint) !important; }

/* ---------- three kinds: a ledger built on the accordion ---------- */
.kinds summary { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 6px 32px; align-items: baseline; padding: 30px 64px 30px 0; }
.kind-name { font-size: var(--t-h3); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; color: var(--l-text); transition: color var(--dur-fast); }
.kind-trace { font-size: var(--t-small); letter-spacing: 0; line-height: 1.45; color: var(--l-muted); }
.kinds summary:hover .kind-name { color: var(--pine); }
.kinds .ans { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 32px; padding: 0 64px 32px 0; }
.kinds .ans > * { grid-column: 2; }
.kinds .ans p { font-size: var(--t-lead); }
.kinds .ans p + p { margin-top: 18px; }

/* ---------- how comparison works ---------- */
.compare-section { isolation: isolate; overflow: clip; }
.compare-section .split-head h2 { max-width: 12ch; }
.nevers { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px var(--split-gap); align-items: center; margin-top: clamp(56px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--d-line); }
.nevers-title { font-size: var(--t-h4); color: #fff; }
.nevers-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.nevers-list li { display: inline-flex; align-items: center; gap: 12px; font-size: var(--t-body); color: var(--d-text); }
.never-mark { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--brass-hi); }
.never-mark::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1.5px; margin-left: -.75px; border-radius: 2px; background: var(--brass-hi); transform: rotate(45deg); }

/* ---------- reading layout ---------- */
.read-grid { align-items: start; }
.read-grid .prose p { font-size: var(--t-lead); }
.read-grid .prose h2 { font-size: var(--t-h3); }
.read-grid .prose h2:not(:first-child) { margin-top: clamp(48px, 5vw, 72px); }
.read-grid .prose .text-link { text-decoration: none; }
.read-grid .prose .text-link:hover { text-decoration: underline; }
.read-grid .note { font-size: var(--t-small); }
.read-grid .sticky-head { padding-top: 6px; }
.callout-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }

@media (max-width: 1000px) {
  .nevers { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .kinds summary { grid-template-columns: minmax(0, 1fr); padding: 24px 48px 24px 0; }
  .kind-name { font-size: 24px; }
  .kinds .ans { display: block; padding-right: 0; }
  .nevers-list { flex-direction: column; gap: 14px; }
}

/* the callout is a dark panel on a light section: links take the dark-surface colours */
