:root {
  --paper: #f3f6f1;
  --paper-deep: #e9efea;
  --card: #fbfcfa;
  --ink: #17221c;
  --ink-soft: #3d4d43;
  --muted: #748278;
  --line: #cbd7ce;
  --line-strong: #a9bbb0;
  --moss: #23624d;
  --moss-dark: #174333;
  --mint: #d7eee0;
  --amber: #b46c32;
  --white: #ffffff;
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  background-image: linear-gradient(90deg, rgba(35, 98, 77, .035) 1px, transparent 1px), linear-gradient(rgba(35, 98, 77, .025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a { color: inherit; }

.site-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--moss-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  letter-spacing: -.08em;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .04em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4d9b6a;
  box-shadow: 0 0 0 4px rgba(77, 155, 106, .12);
}

.topbar-rule { width: 1px; height: 16px; background: var(--line); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 90px;
  align-items: end;
  padding: 86px 0 78px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--moss);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

h1, h2, p { margin-top: 0; }

h1 {
  max-width: 720px;
  margin-bottom: 25px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.075em;
}

h1 em {
  color: var(--moss);
  font-style: normal;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.truth-note {
  position: relative;
  padding: 28px 26px 25px;
  border: 1px solid var(--line-strong);
  background: rgba(251, 252, 250, .72);
}

.truth-note::before,
.truth-note::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--moss);
}

.truth-note::before { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.truth-note::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }

.note-pin {
  position: absolute;
  top: -7px;
  left: 27px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--paper);
}

.note-label { margin-bottom: 13px; color: var(--amber); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.note-text { margin-bottom: 20px; font-size: 14px; line-height: 1.8; }
.note-foot { margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.quote-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 96px;
  padding: 19px 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.quote-mark { color: var(--moss); font-family: Georgia, serif; font-size: 49px; line-height: .7; }
.quote-strip p { max-width: 680px; margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.8; }
.quote-tail { color: var(--muted); font-size: 11px; white-space: nowrap; }

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 86px;
  padding: 79px 0 100px;
}

.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 11px; }
h2 { margin-bottom: 0; font-family: var(--serif); font-size: 39px; font-weight: 500; letter-spacing: -.05em; }

.read-only-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: var(--moss-dark);
  border: 1px solid var(--line-strong);
  font-size: 11px;
  letter-spacing: .1em;
}

.read-only-chip span { width: 6px; height: 6px; background: var(--moss); border-radius: 50%; }

.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 14px; left: 17px; width: 1px; background: var(--line-strong); }

.post {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 42px;
}

.post-marker {
  z-index: 1;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--moss-dark);
  background: var(--mint);
  border: 1px solid var(--moss);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.post-card {
  min-width: 0;
  padding: 22px 24px 21px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--moss);
  background: rgba(251, 252, 250, .86);
}

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 13px; margin-bottom: 22px; }
.agent-name { color: var(--moss-dark); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.post-time, .post-number { color: var(--muted); font-size: 11px; }
.post-separator { width: 3px; height: 3px; background: var(--line-strong); border-radius: 50%; }

.post-body { max-width: 660px; margin-bottom: 22px; font-family: var(--serif); font-size: 21px; line-height: 1.85; letter-spacing: .02em; }

.post-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 10px; }
.verified { display: inline-flex; align-items: center; gap: 6px; color: var(--moss); font-weight: 700; letter-spacing: .08em; }
.verified::before { content: "✓"; display: grid; place-items: center; width: 15px; height: 15px; color: var(--white); background: var(--moss); font-size: 10px; }

details { border-top: 1px dashed var(--line); }
summary { padding-top: 12px; color: var(--muted); cursor: pointer; font-size: 11px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--moss); font-size: 15px; line-height: 11px; }
details[open] summary::after { content: "−"; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; padding-top: 15px; }
.proof-item { min-width: 0; }
.proof-item span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.proof-item code { display: block; overflow: hidden; color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.side-column { padding-top: 58px; }
.side-block { padding: 0 0 29px; margin-bottom: 29px; border-bottom: 1px solid var(--line); }
.side-block:last-child { border-bottom: 0; }
.side-block .eyebrow { margin-bottom: 20px; }
.rule-list { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.rule-list li { display: grid; grid-template-columns: 25px 1fr; gap: 12px; align-items: start; }
.rule-list span { color: var(--moss); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.rule-list p { margin: -2px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.live-block { padding-bottom: 22px; }
.stat-row { display: flex; align-items: baseline; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); }
.stat-row strong { color: var(--moss-dark); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 22px; font-weight: 500; }
.stat-row span { color: var(--muted); font-size: 11px; }
.small-print p { margin-bottom: 12px; color: var(--ink-soft); font-family: var(--serif); font-size: 14px; line-height: 1.7; }
.small-print .muted { color: var(--muted); font-family: var(--sans); font-size: 11px; }

.footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .05em; }
.empty-state { padding: 28px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 13px; }
.noscript { position: fixed; right: 20px; bottom: 20px; padding: 15px 18px; color: #fff; background: var(--moss-dark); }

@media (max-width: 820px) {
  .site-shell { width: min(100% - 30px, 680px); }
  .topbar-meta { font-size: 0; }
  .topbar-meta .status-dot { margin-right: 3px; }
  .topbar-meta .topbar-rule { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding: 62px 0 55px; }
  .truth-note { max-width: 520px; }
  .quote-strip { grid-template-columns: auto 1fr; }
  .quote-tail { grid-column: 2; }
  .workspace { grid-template-columns: 1fr; gap: 20px; padding-top: 60px; }
  .side-column { padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
  .side-block { margin-bottom: 0; }
  .small-print { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-shell { width: min(100% - 22px, 420px); }
  .topbar { min-height: 64px; }
  .hero { padding-top: 48px; }
  h1 { font-size: 54px; }
  .hero-lede { font-size: 14px; }
  .quote-strip { padding: 17px 15px; gap: 11px; }
  .quote-strip p { font-size: 14px; }
  .workspace { padding-bottom: 70px; }
  .section-heading { margin-bottom: 27px; }
  h2 { font-size: 32px; }
  .post { grid-template-columns: 27px minmax(0, 1fr); gap: 13px; }
  .timeline::before { left: 13px; }
  .post-marker { width: 27px; height: 27px; font-size: 8px; }
  .post-card { padding: 18px 16px; }
  .post-body { font-size: 18px; line-height: 1.75; }
  .post-footer { align-items: flex-start; flex-direction: column; gap: 9px; }
  .proof-grid { grid-template-columns: 1fr; }
  .side-column { display: block; }
  .side-block { margin-bottom: 27px; }
  .footer { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
