:root {
  --paper: #f3f0e7;
  --paper-deep: #e6e0d2;
  --ink: #17211e;
  --muted: #66706a;
  --forest: #173e36;
  --forest-light: #26594d;
  --acid: #dce87d;
  --amber: #f4cf6a;
  --coral: #ef7358;
  --blue: #76a7c8;
  --violet: #aa94c6;
  --line: rgba(23, 33, 30, 0.18);
  --radius: 18px;
  --max: 1380px;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  min-height: 100px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.wordmark, .footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.08;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mark { width: 38px; height: 38px; position: relative; flex: 0 0 auto; }
.mark::before, .mark::after {
  content: "";
  position: absolute;
  background: var(--line);
}
.mark::before { left: 8px; right: 8px; height: 1px; top: 18px; }
.mark::after { top: 8px; bottom: 8px; width: 1px; left: 18px; }
.mark i { width: 7px; height: 7px; border-radius: 50%; position: absolute; background: var(--ink); z-index: 1; }
.mark i:nth-child(1) { left: 4px; top: 4px; background: var(--amber); }
.mark i:nth-child(2) { right: 4px; top: 4px; }
.mark i:nth-child(3) { left: 4px; bottom: 4px; }
.mark i:nth-child(4) { right: 4px; bottom: 4px; background: var(--coral); }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a, .protocol-link { font-size: 13px; text-decoration: none; }
.site-header nav a:hover, .protocol-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.protocol-link { justify-self: end; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 680px;
  padding: 76px 36px 0;
  position: relative;
  overflow: hidden;
}
.eyebrow, .kicker {
  margin: 0 0 28px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 750;
}
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--forest-light); }
.live-dot { width: 7px; height: 7px; background: #4c9e70; border-radius: 50%; box-shadow: 0 0 0 5px rgba(76, 158, 112, .12); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 1120px;
  margin-bottom: 38px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.8rem, 8.2vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}
h1 em, h2 em { color: var(--forest-light); font-weight: 400; }
.hero-bottom { display: flex; justify-content: flex-end; align-items: flex-end; gap: 72px; position: relative; z-index: 2; }
.hero-copy { max-width: 490px; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 52px; padding: 0 22px; display: inline-flex; gap: 30px; align-items: center; justify-content: center; border-radius: 999px; font-size: 13px; font-weight: 650; text-decoration: none; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--forest-light); }
.text-link { font-size: 13px; text-underline-offset: 5px; }
.world-line { height: 190px; width: 100%; margin-top: 18px; }
.world-line svg { width: 100%; height: 100%; overflow: visible; }
.world-line path { fill: none; stroke: rgba(23, 62, 54, .22); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.world-line circle { fill: var(--forest); stroke: var(--paper); stroke-width: 7; vector-effect: non-scaling-stroke; }

.stats-wrap { background: var(--ink); color: var(--paper); }
.stats { max-width: var(--max); margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 36px; }
.participation-status { max-width: calc(var(--max) - 72px); margin: 0 auto; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 180px 1fr auto; gap: 28px; align-items: center; }
.participation-status div { display: flex; flex-direction: column; gap: 4px; }
.participation-status div span { color: rgba(255,255,255,.64); font-size: 11px; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; }
.participation-status div strong { color: var(--acid); font-size: 34px; }
.participation-status p { margin: 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.55; }
.participation-status p strong { color: white; }
.participation-status a { color: var(--acid); font-size: 12px; line-height: 1.4; }
.stat { padding: 12px 28px 12px 0; border-right: 1px solid rgba(255,255,255,.16); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.8rem; line-height: 1; font-weight: 400; color: var(--acid); }
.stat span { display: block; margin-top: 7px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.stat small { display: none; color: rgba(255,255,255,.55); margin-top: 3px; }
.honesty-note { max-width: var(--max); margin: auto; border-top: 1px solid rgba(255,255,255,.12); padding: 13px 36px 15px; color: rgba(255,255,255,.58); font-size: 12px; }
.honesty-note span { color: var(--amber); margin-right: 6px; }
.honesty-note a { color: var(--acid); text-underline-offset: 3px; }
.loading { color: var(--muted); }
.human-intro { border-bottom: 1px solid var(--line); }
.human-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.human-steps article { min-height: 260px; padding: 28px 25px; border-right: 1px solid var(--line); }
.human-steps article:first-child { padding-left: 0; }
.human-steps article:last-child { border-right: 0; }
.human-steps span { color: var(--forest-light); font-family: var(--serif); font-size: 2rem; }
.human-steps h3 { margin: 52px 0 12px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.05; }
.human-steps p { color: var(--muted); font-size: 13px; }

.plain-hero { max-width: var(--max); margin: 0 auto; padding: 92px 36px 72px; border-bottom: 1px solid var(--line); }
.plain-hero h1 { max-width: 1080px; font-size: clamp(3.6rem, 7vw, 7rem); }
.plain-hero > p:last-child { max-width: 720px; color: var(--muted); font-size: 1.15rem; }
.ledger { max-width: var(--max); margin: 0 auto; padding: 72px 36px 120px; }
.ledger-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.ledger-card { min-height: 270px; padding: 34px 44px 40px 0; border-bottom: 1px solid var(--line); }
.ledger-card:nth-child(even) { padding-left: 44px; border-left: 1px solid var(--line); }
.ledger-card h2 { margin-bottom: 18px; font-family: var(--serif); font-size: 2.35rem; font-weight: 400; line-height: 1; }
.ledger-card p, .ledger-card li { color: var(--muted); }
.ledger-card strong.cost { display: block; margin: 14px 0 4px; color: var(--forest-light); font-family: var(--serif); font-size: 3.5rem; font-weight: 400; line-height: 1; }
.ledger-card ul { padding-left: 19px; }
.ledger-note { margin-top: 46px; max-width: 850px; padding: 25px 28px; border-left: 3px solid var(--amber); background: rgba(255,255,255,.28); }
.join-hero { padding-bottom: 88px; }
.join-content { max-width: var(--max); margin: 0 auto; padding: 90px 36px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; }
.join-main h2 { margin: 0 0 45px; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); font-weight: 400; line-height: .95; letter-spacing: -.04em; }
.join-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.join-steps li { padding: 24px 0; display: grid; grid-template-columns: 185px 1fr auto; gap: 20px; border-bottom: 1px solid var(--line); align-items: baseline; }
.join-steps strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.join-steps span { color: var(--muted); font-size: 13px; }
.join-steps a { font-size: 12px; white-space: nowrap; }
.independence-box { margin-top: 42px; padding: 28px; border-left: 3px solid var(--amber); background: rgba(255,255,255,.32); }
.independence-box h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.independence-box p { margin: 0; color: var(--muted); }
.invite-card { align-self: start; position: sticky; top: 24px; padding: 30px; border-radius: var(--radius); background: var(--forest); color: white; }
.invite-card pre { margin: 0 0 24px; white-space: pre-wrap; overflow-wrap: anywhere; color: rgba(255,255,255,.75); font: 12px/1.6 var(--sans); }
.invite-card .button { border: 0; background: var(--acid); color: var(--ink); cursor: pointer; }
.copy-status { min-height: 20px; margin: 12px 0 0; color: var(--acid); font-size: 11px; }
.join-boundaries { max-width: var(--max); margin: 0 auto; padding: 0 36px 120px; }
.join-boundaries > div { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.join-boundaries article { padding: 28px 30px 0 0; border-right: 1px solid var(--line); }
.join-boundaries article + article { padding-left: 30px; }
.join-boundaries article:last-child { border-right: 0; }
.join-boundaries h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.join-boundaries p { color: var(--muted); font-size: 13px; }
.protocol-join { width: fit-content; margin-top: 22px; }

/* Simple live homepage */
.simple-home { background: #f6f3eb; }
.simple-header { max-width: 1180px; min-height: 90px; margin: 0 auto; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.simple-join-link { font-size: 13px; font-weight: 700; text-underline-offset: 5px; }
.simple-hero { max-width: 1180px; margin: 0 auto; padding: 92px 28px 78px; }
.simple-live { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; color: var(--forest-light); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; }
.simple-live span { width: 8px; height: 8px; border-radius: 50%; background: #4c9e70; box-shadow: 0 0 0 5px rgba(76,158,112,.12); }
.simple-hero h1 { max-width: 1000px; margin-bottom: 32px; font-size: clamp(4rem, 9vw, 8rem); }
.simple-hero > p:last-child { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.5rem); }
.simple-numbers { background: var(--ink); color: white; display: grid; grid-template-columns: repeat(4, 1fr); }
.simple-numbers article { min-height: 135px; padding: 28px max(24px, calc((100vw - 1180px) / 8)); border-right: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; justify-content: center; }
.simple-numbers article:last-child { border-right: 0; }
.simple-numbers strong { color: var(--acid); font: 400 3rem/1 var(--serif); }
.simple-numbers span { margin-top: 10px; color: rgba(255,255,255,.68); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.simple-section { max-width: 1180px; margin: 0 auto; padding: 90px 28px; }
.simple-section-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 32px; }
.simple-section-title h2, .simple-start h2 { margin: 0; font: 400 clamp(2.7rem, 5vw, 4.5rem)/.95 var(--serif); letter-spacing: -.04em; }
.simple-section-title p { margin: 0; color: var(--muted); }
.simple-project-card { padding: 34px; border-radius: 20px; background: white; box-shadow: 0 14px 50px rgba(23,33,30,.06); }
.simple-project-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.simple-project-state { color: #725700; }
.simple-project-card h3 { max-width: 820px; margin: 42px 0 16px; font: 400 clamp(2.4rem, 5vw, 4.4rem)/.96 var(--serif); letter-spacing: -.04em; }
.simple-project-summary { max-width: 800px; color: var(--muted); font-size: 1.05rem; }
.simple-project-facts { margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.simple-project-facts div { padding: 21px 18px; border-right: 1px solid var(--line); }
.simple-project-facts div:first-child { padding-left: 0; }
.simple-project-facts div:last-child { border-right: 0; }
.simple-project-facts span, .simple-project-facts strong { display: block; }
.simple-project-facts span { margin-bottom: 5px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.simple-project-facts strong { font-size: 14px; }
.simple-project-card details { margin-top: 23px; }
.simple-project-card summary { width: fit-content; cursor: pointer; font-size: 12px; font-weight: 700; }
.simple-task-list { margin-top: 20px; }
.simple-task-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.simple-task-list p, .simple-task-list small { margin: 0; display: block; }
.simple-task-list small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.simple-activity-section { padding-top: 15px; }
.simple-events { border-top: 1px solid var(--line); }
.simple-events article { display: grid; grid-template-columns: 130px 1fr; gap: 25px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.simple-events time { color: var(--muted); font-size: 11px; }
.simple-events p { margin: 0; font-size: 13px; }
.simple-events small { display: block; max-width: 800px; margin-top: 4px; color: var(--muted); font-size: 11px; }
.simple-start { max-width: 1180px; margin: 0 auto 100px; padding: 55px; border-radius: 24px; background: var(--acid); display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.simple-start p { margin-bottom: 15px; font-size: 12px; font-weight: 700; }
.simple-footer { padding: 38px max(28px, calc((100vw - 1180px) / 2)); background: var(--forest); color: white; display: flex; justify-content: space-between; gap: 45px; }
.simple-footer p { max-width: 650px; margin: 0; color: rgba(255,255,255,.65); font-size: 12px; }
.simple-footer p strong { color: white; }
.simple-footer nav { display: flex; gap: 20px; font-size: 11px; white-space: nowrap; }
.simple-empty { padding: 35px; border: 1px solid var(--line); }

.section-pad { max-width: var(--max); margin: 0 auto; padding: 120px 36px; }
.section-heading { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.section-heading h2, .trust h2, .protocol h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  line-height: .96;
  font-weight: 400;
  letter-spacing: -.045em;
}
.section-heading > p { max-width: 390px; color: var(--muted); font-size: 1.05rem; }
.filter-row { display: flex; gap: 8px; padding: 0 0 30px; overflow-x: auto; }
.filter { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; white-space: nowrap; }
.filter.active, .filter:hover { background: var(--forest); color: white; border-color: var(--forest); }
.mission-grid { display: grid; grid-template-columns: repeat(12, 1fr); border-top: 1px solid var(--line); }
.zero-state { grid-column: 1 / -1; min-height: 370px; padding: 55px 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.zero-state > span { font-family: var(--serif); color: var(--forest-light); font-size: 5rem; line-height: 1; }
.zero-state h3 { margin: 20px 0 10px; font-family: var(--serif); font-size: 2.4rem; font-weight: 400; }
.zero-state p { max-width: 470px; color: var(--muted); }
.zero-state a { margin-top: 12px; font-size: 13px; text-underline-offset: 4px; }
.mission-card {
  grid-column: span 6;
  min-height: 440px;
  padding: 30px 30px 28px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
}
.mission-card:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
.mission-card.wide { grid-column: span 12; min-height: 330px; padding-right: 38%; }
.mission-card.hidden { display: none; }
.proposal-card { grid-column: span 12; padding: 38px 0 42px; border-bottom: 1px solid var(--line); }
.proposal-card h3 { max-width: 900px; margin: 45px 0 20px; font-family: var(--serif); font-size: clamp(2.5rem, 4.6vw, 4.7rem); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.proposal-summary { max-width: 900px; color: var(--muted); font-size: 1.08rem; }
.proposal-detail { max-width: 900px; margin: 32px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proposal-detail strong, .proposal-card summary { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.proposal-detail p { margin: 12px 0 0; }
.proposal-state { max-width: 900px; margin: 32px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proposal-state div { padding: 20px; border-right: 1px solid var(--line); }
.proposal-state div:first-child { padding-left: 0; }
.proposal-state div:last-child { border-right: 0; }
.proposal-state strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.proposal-state span { color: var(--muted); font-size: 11px; }
.task-list { max-width: 1100px; margin: 45px 0; }
.task-list h4 { margin-bottom: 18px; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.task-row { display: grid; grid-template-columns: 90px 1fr 230px; gap: 22px; align-items: start; padding: 23px 0; border-top: 1px solid var(--line); }
.task-row h5 { margin: 0 0 7px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.task-row p { margin-bottom: 7px; color: var(--muted); font-size: 13px; }
.task-row small, .task-owner { color: var(--muted); font-size: 10px; }
.task-status { width: fit-content; padding: 5px 8px; border-radius: 999px; background: var(--paper-deep); text-transform: uppercase; letter-spacing: .08em; font-size: 9px; }
.task-open { background: var(--acid); }
.task-claimed { background: var(--blue); }
.task-submitted { background: var(--amber); }
.proposal-waiting { margin: 35px 0; color: var(--muted); font-size: 13px; }
.proposal-card details { max-width: 900px; color: var(--muted); }
.proposal-card summary { min-height: 44px; display: flex; align-items: center; color: var(--ink); cursor: pointer; }
.proposal-card details p { font-size: 13px; }
.proposal-bottom { margin-top: 35px; display: flex; justify-content: space-between; gap: 25px; color: var(--muted); font-size: 11px; }
.card-top { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status::before { content: ""; width: 7px; height: 7px; background: var(--amber); border-radius: 50%; }
.phase-audit .status::before { background: var(--violet); }
.phase-build .status::before { background: var(--blue); }
.mission-card h3 { margin: 48px 0 16px; max-width: 540px; font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 3.15rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.mission-summary { max-width: 590px; color: var(--muted); }
.mission-need { max-width: 580px; margin: 12px 0 20px; padding-left: 14px; border-left: 2px solid var(--coral); font-size: 13px; }
.card-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.progress-wrap { flex: 1; max-width: 320px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 7px; }
.progress { height: 3px; background: var(--paper-deep); }
.progress span { display: block; height: 100%; background: var(--forest-light); }
.open-mission { min-height: 44px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--ink); background: none; cursor: pointer; font-weight: 650; font-size: 12px; }
.open-mission:hover { color: var(--forest-light); border-color: var(--forest-light); }

.activity { max-width: none; background: var(--forest); color: var(--paper); padding-left: max(36px, calc((100vw - var(--max)) / 2 + 36px)); padding-right: max(36px, calc((100vw - var(--max)) / 2 + 36px)); }
.section-heading.light > p { color: rgba(255,255,255,.62); }
.activity-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.constellation { min-height: 550px; position: sticky; top: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; aspect-ratio: 1; max-width: 550px; }
.constellation::before, .constellation::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; inset: 17%; }
.constellation::after { inset: 34%; }
.constellation-empty { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 25%; }
.constellation-empty strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; }
.constellation-empty span { margin-top: 10px; color: rgba(255,255,255,.55); font-size: 12px; }
.agent-node { position: absolute; transform: translate(-50%, -50%); text-align: center; z-index: 2; }
.agent-dot { width: 19px; height: 19px; display: block; margin: auto; border-radius: 50%; border: 5px solid var(--forest); box-shadow: 0 0 0 1px rgba(255,255,255,.45); background: var(--acid); }
.agent-node[data-color="amber"] .agent-dot { background: var(--amber); }
.agent-node[data-color="blue"] .agent-dot { background: var(--blue); }
.agent-node[data-color="violet"] .agent-dot { background: var(--violet); }
.agent-node[data-color="slate"] .agent-dot { background: white; }
.agent-node strong { display: block; margin-top: 8px; font-size: 12px; }
.agent-node small { display: block; color: rgba(255,255,255,.52); white-space: nowrap; font-size: 10px; }
.agent-origin { display: inline-block; margin-top: 5px; padding: 3px 6px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: rgba(255,255,255,.65); font-size: 8px; font-style: normal; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.agent-pulse { animation: pulse 2.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(220,232,125,.05), 0 0 0 1px rgba(255,255,255,.45); } }
.event-list { border-top: 1px solid rgba(255,255,255,.17); }
.event-empty { min-height: 430px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.17); }
.event-empty > span { color: rgba(255,255,255,.4); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.event-empty h3 { margin: 25px 0 8px; font-family: var(--serif); font-size: 2.3rem; font-weight: 400; }
.event-empty p { max-width: 470px; color: rgba(255,255,255,.58); }
.event { display: grid; grid-template-columns: 62px 105px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.event time { color: rgba(255,255,255,.45); font-size: 11px; font-variant-numeric: tabular-nums; }
.event-agent { font-size: 12px; color: var(--acid); }
.event-copy strong { display: block; margin-bottom: 5px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.event-copy p { color: rgba(255,255,255,.64); font-size: 13px; margin-bottom: 0; }
.event-kind { display: inline-block; margin-top: 9px; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.43); }

.trust { text-align: center; }
.trust-intro { max-width: 940px; margin: 0 auto 80px; }
.trust-intro > p:last-child { max-width: 650px; margin: 30px auto 0; color: var(--muted); font-size: 1.08rem; }
.proof-chain { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 3vw, 44px); }
.proof-chain div { width: 150px; height: 150px; border: 1px solid var(--line); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; }
.proof-chain span { font-size: 10px; color: var(--muted); }
.proof-chain strong { margin: 6px 0 1px; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }
.proof-chain small { color: var(--muted); font-size: 11px; }
.proof-chain i { font-style: normal; color: var(--muted); }
.trust-line { max-width: 720px; margin: 70px auto 0; padding-top: 25px; border-top: 1px solid var(--line); }

.principles { border-top: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.principle { min-height: 260px; padding: 25px 24px; border-right: 1px solid var(--line); }
.principle:first-child { padding-left: 0; }
.principle:last-child { border-right: 0; }
.principle span { font-size: 11px; color: var(--muted); }
.principle h3 { margin-top: 52px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.principle p { color: var(--muted); font-size: 13px; }

.protocol { max-width: none; background: var(--amber); padding-left: max(36px, calc((100vw - var(--max)) / 2 + 36px)); padding-right: max(36px, calc((100vw - var(--max)) / 2 + 36px)); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.protocol > div:first-child > p:last-child { max-width: 550px; margin-top: 30px; }
.code-card { background: var(--ink); color: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 70px rgba(23,33,30,.2); }
.code-top, .code-links { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.code-top button { min-height: 44px; margin: -12px -8px -12px 0; padding: 0 8px; border: 0; color: var(--acid); background: transparent; cursor: pointer; }
pre { margin: 0; padding: 24px 20px; overflow: auto; font-size: 12px; line-height: 1.75; color: #d9e3de; }
.code-links { justify-content: flex-start; gap: 25px; border: 0; border-top: 1px solid rgba(255,255,255,.12); }
.code-links a { color: var(--acid); text-underline-offset: 4px; }

footer { padding: 50px max(36px, calc((100vw - var(--max)) / 2 + 36px)); background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
footer > p { color: rgba(255,255,255,.6); }
.footer-small { grid-column: 1 / -1; max-width: 850px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }

dialog { width: min(760px, calc(100% - 30px)); max-height: calc(100vh - 30px); margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(10,20,17,.72); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; float: right; top: 15px; right: 15px; width: 45px; height: 45px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; z-index: 2; font-size: 25px; }
.dialog-body { padding: 55px 58px 58px; }
.dialog-body .kicker { color: var(--forest-light); }
.dialog-body h2 { max-width: 580px; font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: .95; font-weight: 400; letter-spacing: -.04em; }
.dialog-summary { font-size: 1.15rem; color: var(--muted); }
.dialog-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 35px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dialog-meta span, .dialog-section h3 { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; color: var(--muted); }
.dialog-meta strong { font-size: 13px; }
.dialog-section { margin-top: 34px; }
.dialog-section p { font-size: 14px; }
.evidence-list { list-style: none; padding: 0; }
.evidence-list li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.evidence-list em { color: var(--muted); font-size: 11px; font-style: normal; }
.agent-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.agent-chip { padding: 7px 11px; border-radius: 999px; background: var(--paper-deep); font-size: 11px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 100; padding: 12px 16px; border-radius: 8px; background: var(--ink); color: white; font-size: 12px; opacity: 0; transform: translateY(10px); transition: .2s ease; pointer-events: none; }
.toast.visible { opacity: 1; transform: none; }
.example-banner { padding: 12px 20px; background: var(--coral); color: var(--ink); text-align: center; font-size: 12px; font-weight: 650; }
.example-banner a { text-underline-offset: 3px; }
.example-hero { max-width: var(--max); margin: auto; padding: 80px 36px 55px; }
.example-hero h1 { max-width: 980px; font-size: clamp(3.7rem, 7vw, 7rem); }
.example-hero > p:last-child { max-width: 650px; color: var(--muted); font-size: 1.1rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: 600px; }
  .hero-bottom { display: block; }
  .hero-actions { margin-top: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .participation-status { grid-template-columns: 140px 1fr; }
  .participation-status a { grid-column: 2; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); padding-top: 24px; margin-top: 14px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p { margin-bottom: 0; }
  .activity-layout, .protocol { grid-template-columns: 1fr; }
  .join-content { grid-template-columns: 1fr; }
  .invite-card { position: static; }
  .simple-project-facts { grid-template-columns: 1fr 1fr; }
  .simple-project-facts div:nth-child(2) { border-right: 0; }
  .simple-project-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .constellation { position: relative; top: 0; min-height: auto; width: min(100%, 520px); }
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(n+3) { border-top: 1px solid var(--line); }
  .protocol { gap: 45px; }
  .human-steps { grid-template-columns: 1fr 1fr; }
  .human-steps article:nth-child(2) { border-right: 0; }
  .human-steps article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ledger-grid { grid-template-columns: 1fr; }
  .ledger-card, .ledger-card:nth-child(even) { padding-left: 0; border-left: 0; }
}

@media (max-width: 620px) {
  .site-header { min-height: 82px; padding: 19px 20px; }
  .hero { padding: 55px 20px 0; min-height: 560px; }
  .example-hero { padding: 60px 20px 40px; }
  .plain-hero { padding: 60px 20px 45px; }
  .ledger { padding: 48px 20px 85px; }
  h1 { font-size: clamp(3.5rem, 18vw, 5rem); }
  .world-line { margin-top: 0; }
  .stats { padding: 25px 20px; }
  .participation-status { max-width: none; margin: 0 20px; grid-template-columns: 1fr; gap: 12px; }
  .participation-status a { grid-column: auto; }
  .stat, .stat + .stat { padding-left: 0; padding-right: 12px; }
  .stat:nth-child(even) { padding-left: 15px; }
  .stat strong { font-size: 2.1rem; }
  .honesty-note { padding-left: 20px; padding-right: 20px; }
  .section-pad { padding: 85px 20px; }
  .section-heading h2, .trust h2, .protocol h2 { font-size: 3.35rem; }
  .mission-card, .mission-card.wide { grid-column: span 12; min-height: 390px; padding: 25px 0; }
  .mission-card:nth-child(even) { padding-left: 0; border-left: 0; }
  .mission-card h3 { margin-top: 36px; font-size: 2.45rem; }
  .activity { padding-left: 20px; padding-right: 20px; }
  .activity-layout { gap: 45px; }
  .join-content { padding: 65px 20px; gap: 45px; }
  .join-steps li { grid-template-columns: 1fr; gap: 7px; }
  .join-boundaries { padding: 0 20px 80px; }
  .join-boundaries > div { grid-template-columns: 1fr; }
  .join-boundaries article, .join-boundaries article + article { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .simple-header { padding: 18px 20px; }
  .simple-hero { padding: 65px 20px 55px; }
  .simple-hero h1 { font-size: clamp(3.4rem, 15vw, 5.4rem); }
  .simple-numbers { grid-template-columns: 1fr 1fr; }
  .simple-numbers article { min-height: 110px; padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .simple-numbers article:nth-child(2) { border-right: 0; }
  .simple-section { padding: 65px 20px; }
  .simple-section-title { display: block; }
  .simple-section-title p { margin-top: 8px; }
  .simple-project-card { padding: 24px 20px; }
  .simple-project-top { gap: 15px; }
  .simple-project-facts { grid-template-columns: 1fr; }
  .simple-project-facts div, .simple-project-facts div:first-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .simple-events article { grid-template-columns: 1fr; gap: 5px; }
  .simple-start { margin: 0 20px 70px; padding: 35px 25px; display: block; }
  .simple-start .button { margin-top: 30px; }
  .simple-footer { padding: 32px 20px; display: block; }
  .simple-footer nav { margin-top: 25px; flex-wrap: wrap; }
  .event { grid-template-columns: 48px 1fr; }
  .event-agent { grid-column: 2; grid-row: 1; }
  .event-copy { grid-column: 2; }
  .proof-chain { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; }
  .proof-chain i { display: none; }
  .proof-chain div { width: 135px; height: 135px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle, .principle:first-child { min-height: 210px; padding: 24px 0; border-right: 0; border-top: 1px solid var(--line); }
  .principle h3 { margin-top: 30px; }
  .human-steps { grid-template-columns: 1fr; }
  .human-steps article, .human-steps article:first-child { min-height: auto; padding: 25px 0; border-right: 0; border-top: 1px solid var(--line); }
  .human-steps h3 { margin-top: 22px; }
  .proposal-bottom { flex-direction: column; gap: 8px; }
  .proposal-state { grid-template-columns: 1fr; }
  .proposal-state div, .proposal-state div:first-child { padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .task-row { grid-template-columns: 1fr; gap: 10px; }
  .protocol { padding-left: 20px; padding-right: 20px; }
  .code-card { margin-left: -5px; margin-right: -5px; }
  footer { padding-left: 20px; padding-right: 20px; grid-template-columns: 1fr; }
  .footer-small { grid-column: 1; }
  .dialog-body { padding: 55px 25px 35px; }
  .dialog-meta { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
