:root { --focus: #a6482f; }
.document-page {
  --paper: #f2f4ee;
  --ink: #172421;
  --muted: #53625c;
  --line: #bdc8bf;
  --green: #155c49;
  --content: 1160px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.62 "Aptos", "Segoe UI", sans-serif;
}
.document-page * { box-sizing: border-box; }
.document-page .wrap { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.document-page a { color: var(--green); text-underline-offset: 4px; }
.document-page .top { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; border-bottom: 1px solid var(--line); }
.document-page .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.document-page .brand img { width: 34px; height: 34px; }
.document-page .back { font-size: 14px; }
.document-page .eyebrow { color: var(--green); font: 700 12px/1.4 Consolas, monospace; text-transform: uppercase; }
.document-page .intro, .document-page footer { color: var(--muted); }
.document-page footer { border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; }
body { overflow-wrap: break-word; }
a, button, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
:is(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.topbar .nav a, .top .back, header .back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.hero::after { display: none; }
.hero-inner { grid-template-columns: minmax(0, 1fr) 280px; gap: 52px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 72px); letter-spacing: -.045em; }
.hero-lede { max-width: 590px; font-size: 21px; }
.hero-mark { margin: 0; text-align: center; animation: arrive 700ms ease-out both; }
.hero-mark img { width: 240px; height: auto; margin: 0 auto 22px; }
.hero-mark figcaption { color: var(--night-muted); font: 12px/1.5 Consolas, monospace; }
.hero .button { transition: background-color 160ms ease, transform 160ms ease; }
.hero .button:hover { transform: translateY(-2px); background: rgb(243 245 239 / 10%); border-color: var(--green-light); }
.hero .button.primary:hover { background: #f1d886; border-color: #f1d886; }
.hero .button.primary, .signals { color: #172421; }
.signals-inner { padding-block: 16px; }
.signal { justify-content: center; }
.section-index { color: var(--green); letter-spacing: .06em; }
.explore-list { border-top: 1px solid var(--line); }
.explore-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.explore-list strong { display: block; font: 700 22px/1.25 Georgia, serif; }
.explore-list small { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.explore-list a > span:last-child { color: var(--green); font-size: 26px; transition: transform 160ms ease; }
.explore-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.explore-list a:hover > span:last-child { transform: translateX(4px); }
.resource-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.resource-links a { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--green); font-size: 16px; }
.sources .report-unavailable { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
footer { padding-bottom: 100px; }
.footer-note { max-width: 430px; }
.chat-message.user { background: #155c49; }
.chat-send, .chat-launcher { color: #172421; }
.chat-launcher:disabled { cursor: wait; opacity: .5; }
.chat-tabs button[aria-selected="true"] { box-shadow: inset 0 -3px var(--yellow); }
.chat-head > div { min-width: 0; }
.chat-identity { display: flex; align-items: center; gap: 12px; }
.chat-identity > img { flex: 0 0 auto; }
.chat-identity > div { min-width: 0; }
.chat-message.assistant::before {
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 7px;
  background: url("assets/rabbit-mark.svg") center / contain no-repeat;
  content: "";
}
.agent-identity { display: flex; align-items: center; gap: 16px; }
.agent-identity img { flex: 0 0 auto; }
.chat-head h2 { overflow-wrap: anywhere; }
.chat-form textarea:focus-visible { outline-offset: 1px; }
.document-main { max-width: 800px; padding-block: 58px 72px; }
.document-main h1 { font: 700 clamp(32px, 5vw, 46px)/1.12 Georgia, serif; }
.document-main h2 { margin-top: 36px; font: 700 27px/1.2 Georgia, serif; }
.document-main .intro { font-size: 19px; }
.bio-photo {
  display: block;
  width: 112px;
  height: 112px;
  margin-bottom: 20px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  outline: 1px solid var(--line);
  object-fit: cover;
  object-position: center;
}
.source-showcase {
  min-width: 0;
  margin-block: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  overflow: hidden;
}
.source-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.source-toolbar h3, .document-main .source-toolbar h2 {
  margin: 0;
  font: 700 24px/1.2 Georgia, serif;
}
.source-toolbar span { color: var(--muted); font: 12px/1.6 Consolas, monospace; }
.source-summary { padding: 20px 24px; font-size: 15px; }
.source-summary p:last-child { margin-bottom: 0; }
.source-summary [role="status"] { color: var(--muted); font-size: 13px; }
pre.source-display, .document-main pre.source-display {
  margin: 0;
  padding: 24px;
  border: 0;
  border-top: 1px solid #52645a;
  background: #10241f;
  color: #f3f5ef;
  font: 13px/1.75 Consolas, "Courier New", monospace;
  white-space: pre;
  overflow-x: auto;
  tab-size: 4;
}
.source-display:focus-visible { outline-offset: -4px; }
.source-display code { font: inherit; }
.document-main li { margin-block: 10px; }
.document-main pre { overflow-x: auto; padding: 16px; border: 1px solid var(--line); font: 14px/1.6 Consolas, monospace; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 10px 14px;
  background: #e7c96d;
  color: #172421;
}
.skip-link:focus { top: 12px; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; }
  .hero-mark img { width: 180px; }
  .topbar { gap: 14px; }
}
@media (max-width: 760px) {
  .topbar { gap: 5px; }
  .topbar .nav { gap: 0 18px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 38px; }
  .hero-mark { display: none; }
  .hero-copy { position: relative; }
  .hero-copy::before {
    display: block;
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    background: url("assets/rabbit-mark.svg") center / contain no-repeat;
    content: "";
  }
  .hero h1 { font-size: clamp(36px, 8vw, 56px); }
  .hero-lede { font-size: 19px; }
  .hero-actions { flex-direction: row; }
  .hero-actions .button { width: auto; flex: 1 1 155px; }
  .hero-note { margin-top: 18px; }
  .signals-inner { grid-template-columns: 1fr; gap: 4px; }
  .signal { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .top, header.wrap { flex-wrap: wrap; padding-block: 12px; gap: 4px 18px; }
  .resource-links { grid-template-columns: 1fr; }
  .document-main { padding-top: 38px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero-inner { padding-block: 24px; }
  .hero-copy::before, .hero .eyebrow { display: none; }
  .hero h1 { margin-bottom: 14px; }
  .hero-lede { margin-bottom: 20px; font-size: 17px; }
  .hero-note { font-size: 12px; }
}
@media (prefers-color-scheme: dark) {
  :root { --focus: #f0a58d; }
  .document-page { --paper: #17211e; --ink: #f0f3ec; --muted: #bac7c0; --line: #52645a; --green: #9dd7b4; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
