/* ============================================================
   Defrost — Editorial pages (About, Manifesto, Changelog)
   Long-form prose treatment that extends the waitlist's styles.css.
   Uses the same tokens (--paper, --ink, --display, --body, --mono,
   --cyan, --cyan-deep, etc.) so the look is byte-identical to the
   waitlist landing.
   ============================================================ */

.ed-shell {
  padding: 88px 0 120px;
}
@media (max-width: 720px) {
  .ed-shell { padding: 56px 0 80px; }
}

.ed-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: left;
}
.ed-head .eyebrow {
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.ed-head .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 999px;
}
.ed-head h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.ed-head .ed-lede {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 620px;
  text-wrap: pretty;
}
.ed-head .ed-stamp {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ed-head .ed-stamp::before {
  content: "·";
  color: var(--cyan-deep);
}

/* Prose body */
.ed-prose {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.68;
  color: var(--ink-2);
}
.ed-prose > * + * {
  margin-top: 18px;
}
.ed-prose h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--ink);
  margin: 56px 0 0;
  text-wrap: balance;
}
.ed-prose h2 + p { margin-top: 18px; }
.ed-prose h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 32px 0 0;
}
.ed-prose p { margin: 0; }
.ed-prose p strong { color: var(--ink); font-weight: 600; }
.ed-prose ul, .ed-prose ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ed-prose ul li, .ed-prose ol li {
  position: relative;
  padding-left: 26px;
  margin-top: 14px;
}
.ed-prose ul li::before {
  content: "*";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--cyan-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}
.ed-prose ol {
  counter-reset: ed-counter;
}
.ed-prose ol li {
  counter-increment: ed-counter;
}
.ed-prose ol li::before {
  content: counter(ed-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--cyan-deep);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.ed-prose a {
  color: var(--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.ed-prose a:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.ed-prose blockquote {
  margin: 32px 0;
  padding: 18px 22px;
  background: var(--paper-2);
  border-left: 3px solid var(--cyan-deep);
  border-radius: 0 8px 8px 0;
  font-style: normal;
  color: var(--ink);
}
.ed-prose blockquote p { margin: 0; font-size: 17px; line-height: 1.55; }

.ed-prose code {
  font-family: var(--mono);
  font-size: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--ink);
}

/* Lede — uses paper-2 callout, replaces legal-disclaimer */
.ed-lede-block {
  margin: 0 auto 56px;
  max-width: 720px;
  padding: 20px 26px;
  background: var(--paper-2);
  border-left: 3px solid var(--cyan-deep);
  border-radius: 0 8px 8px 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}

/* Tiny editorial signoff */
.ed-signoff {
  margin: 80px auto 0;
  max-width: 680px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}
.ed-signoff::before {
  content: "*";
  color: var(--cyan-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  margin-right: 8px;
}

/* Changelog-specific entry layout */
.cl-list { display: flex; flex-direction: column; gap: 64px; max-width: 760px; margin: 0 auto; }
.cl-entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
}
@media (max-width: 720px) {
  .cl-entry { grid-template-columns: 1fr; gap: 18px; }
}
.cl-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.cl-version {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.cl-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  width: max-content;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 25%, transparent);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
}
.cl-chip.minor { background: var(--paper-2); border-color: var(--line); color: var(--muted); }
.cl-chip.patch { background: var(--paper-2); border-color: var(--line-soft); color: var(--muted-2); }
.cl-chip.in-progress { background: color-mix(in srgb, #C7873A 18%, transparent); border-color: color-mix(in srgb, #C7873A 50%, transparent); color: #8a5a1c; }
.cl-body h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.022em;
  line-height: 1.18;
  color: var(--ink);
  text-wrap: balance;
}
.cl-summary {
  margin-top: 12px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.cl-sections { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.cl-section .cl-section-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cl-section .cl-section-h::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 999px;
}
.cl-section ul { margin: 0; padding: 0; list-style: none; }
.cl-section li {
  position: relative;
  padding-left: 22px;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.cl-section li::before {
  content: "*";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--cyan-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}
