/* Information pages (/features/, /how-it-works/, /roadmap/, /constitution/, /proof/ preview): the sections that moved off the homepage.
   Same tokens as site.css; no colour literals outside the token block. Loaded via front matter extra_css. */
:root, :root[data-theme="dark"] {
  --tone-teal: #19E3C0; --tone-violet: #9B8CFF; --tone-blue: #1E7BFF; --tone-coral: #FF5A3C; --tone-gold: #F2B544;
  --on-accent: #F8FAFF;
  --panel-violet-edge: rgba(155, 140, 255, .45);
  --panel-gold-edge: rgba(242, 181, 68, .45);
}
:root[data-theme="light"] {
  --tone-teal: #0A7366; --tone-violet: #5B3FD1; --tone-blue: #1450C4; --tone-coral: #B83A1E; --tone-gold: #8A5A00;
  --panel-violet-edge: rgba(91, 63, 209, .4);
  --panel-gold-edge: rgba(138, 90, 0, .45);
}
.tone-teal { --tone: var(--tone-teal); } .tone-violet { --tone: var(--tone-violet); } .tone-blue { --tone: var(--tone-blue); }
.tone-coral { --tone: var(--tone-coral); } .tone-gold { --tone: var(--tone-gold); }


.info h1, .info h2, .info h3 { text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.info .btn-primary { color: var(--on-accent); }
.info .btn-primary:hover { color: var(--on-accent); }
/* status pills: plain words, no icons, no tracking */
.info .status { font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; padding:8px 12px; }
.info .status::before { content: none; }
.info .status-line { margin-top:16px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap:12px; align-items: center; }
.info .panel-label { font: 500 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.info .term { font: 500 13px/1.4 var(--sans); letter-spacing: 0; color: var(--muted); }
.info .mono-small { font: 500 14px/1.5 var(--sans); color: var(--muted); }

/* ---------- live: four doors, each with its own drawn people ---------- */
.live { padding-top:40px; }
.live-grid { list-style: none; margin:32px 0 0; padding:0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap:20px; }
.live-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 18px; background: var(--surface); border: 2px solid var(--tone, var(--cyan)); }
.card-art { display: block; width: 100%; height: auto; aspect-ratio: 480 / 250; object-fit: cover; }
.card-body { flex: 1; display: flex; flex-direction: column; gap:10px; padding:16px 20px 20px; }
.domain-head { display: flex; align-items: center; justify-content: space-between; gap:10px; flex-wrap: nowrap; }
.domain-head h3 { font-size: 19px; font-weight: 700; flex: 1 1 auto; min-width: 0; }
.domain-head .status { flex: none; }
.live-card p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.live-card .btn { margin-top:auto; align-self: flex-start; }
@media (max-width: 480px) { .live-card .btn { align-self: stretch; } }

/* ---------- feed illustration (sample data) ---------- */
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap:40px; align-items: center; }
@media (max-width: 900px) { .split-grid { grid-template-columns: minmax(0, 1fr); gap:28px; } }
.rule-chips { list-style: none; margin:16px 0 0; padding:0; display: flex; flex-wrap: wrap; gap:8px; font-size: 15px; }
.rule-chips li { padding:8px 12px; border-radius: 999px; }
.rule-chips .inc { background: var(--inc-bg); color: var(--inc-ink); }
.rule-chips .exc { background: var(--exc-bg); color: var(--exc-ink); }
.why { margin-top:16px; padding:16px; border-radius: 12px; background: var(--surface-2); }
.why-title { font-weight: 600; font-size: 15px; }
.why ul { list-style: none; margin:12px 0 0; padding:0; display: flex; flex-direction: column; gap:8px; font-size: 15px; color: var(--ink-2); }
.why li span { color: var(--cyan); }

/* ---------- principles ---------- */
.people-grid { display: grid; gap:24px; align-items: center; }
.people-art { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 320; border-radius: 18px; border: 1px solid var(--line); }
@media (min-width: 900px) { .people-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap:40px; } }
.rules { list-style: none; margin:32px 0 0; padding:0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap:16px; }
.rules li { padding:16px 16px; border-radius: 14px; border: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--ink-2); background: var(--surface); }

/* ---------- how it fits ---------- */
.flow { padding:8px 0 24px; }
.flow-title { font-size: 20px; font-weight: 600; color: var(--ink-2); }
.flow-chips { list-style: none; margin:16px 0 0; padding:0; display: flex; flex-wrap: wrap; gap:8px 0; font-size: 15px; color: var(--ink-2); }
.flow-chips li { display: inline-flex; align-items: center; }
.flow-chips li + li::before { content: ""; width: 18px; height: 1px; margin:0 12px; background: var(--line-strong); }

/* ---------- roadmap: separate, quieter ---------- */
.roadmap { padding-top: 8px; }
.roadmap .section-title { font-size: clamp(24px, 3vw, 32px); color: var(--ink-2); }
.roadmap .section-intro { font-size: 16px; color: var(--muted); }
.roadmap-grid { list-style: none; margin:24px 0 0; padding:0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap:12px; }
.roadmap-item { padding:16px 16px; border-radius: 14px; border: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap:8px; min-width: 0; }
.roadmap-item h3 { font-size: 17px; font-weight: 600; color: var(--ink-2); flex: 1 1 auto; }
.roadmap-item p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.checks { list-style: none; margin:16px 0 0; padding:0; display: flex; flex-direction: column; gap:12px; font-size: 15px; }
.checks li { display: flex; justify-content: space-between; gap:12px; flex-wrap: wrap; padding-bottom:12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checks .ok { color: var(--cyan); }


.info-section + .info-section { border-top: 1px solid var(--line); }
.info-end { padding-bottom: 64px; }
.info-cta { padding: 28px; border-radius: 20px; background: var(--surface); border: 2px solid var(--tone-teal); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.info-cta h2 { font-size: 24px; }
.info-cta .hero-note { margin-top: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 480px) { .info-cta { padding: 20px; } .info-cta .btn-row .btn { width: 100%; } }
.info-related { margin-top: 32px; }
.info-related h2 { font-size: 20px; color: var(--ink-2); }
.info-related ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.info-related a { display: inline-flex; align-items: center; min-height: 44px; }
.info .live-grid, .info .roadmap-grid { margin-top: 24px; }
.info .live-card:target { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .info .btn:active { transform: none; } }
.info .panel-violet { border-color: var(--panel-violet-edge); }
.info .panel-gold { border-color: var(--panel-gold-edge); }

/* ---------- responsive shell: header and footer at large text / 200% zoom (fix/homepage-visual) ----------
   Copy of the same block lives in home.css and pages.css (site.css is outside this change). Wordmark may wrap between words,
   the header wraps rather than overlaps, footer links keep whole words (never break mid-word unless a single word exceeds the line). */
.wordmark { white-space: normal; overflow-wrap: normal; line-height: 1.15; }
.brand { max-width: 100%; }
@media (max-width: 1023px) {
  .header-row { flex-wrap: wrap; row-gap: 4px; padding-block: 6px; }
  .header-row .brand { flex: 0 1 auto; min-width: 0; }
  .header-row .menu-toggle { flex: none; margin-inline-start: auto; }
}
@media (max-width: 520px) { .header-row { column-gap: 8px; } }
.footer-group a { overflow-wrap: break-word; }
.footer-brand, .footer-note, .footer-bottom > span { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 600px) {
  .footer-group ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9em), 1fr)); }
}
