:root {
  --bg: #F5F2EA;
  --ink: #29383C;
  --paper: #FFFEFA;
  --accent: #B5654B;
  --sage: #6B8D81;
  --panel: #293D42;
  --line: #D8D5CC;
  --mute: #75807B;
  --mark: #E8DEBD;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --max: 1260px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-wrap: break-word;
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(41, 56, 60, 0.045) 28px);
}

body::before {
  content: "LEDGER";
  position: fixed;
  top: 88px;
  left: 10px;
  font: 10px/1 var(--mono);
  letter-spacing: 0.18em;
  color: var(--mute);
  opacity: 0.45;
  pointer-events: none;
  transform: rotate(-90deg);
  transform-origin: left top;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--panel); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; z-index: 40; background: var(--paper); padding: 8px 12px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  height: 68px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 234, 0.96);
  position: sticky;
  top: 0;
  z-index: 12;
}
.site-header .wrap {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.wordmark span:first-child { font-size: 11px; }
.wordmark span:last-child { font-size: 16px; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
[data-nav-toggle] { display: none; }

.kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 8px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(26px, 3.6vw, 40px); }
h2 { font-size: clamp(22px, 2.8vw, 30px); }
h3 { font-size: 19px; }

.lede { max-width: 64ch; margin: 0 0 18px; }
.muted { color: var(--mute); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.section { padding: 40px 0; border-top: 1px solid var(--line); }
.section-tight { padding: 26px 0; }

label, .lbl {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 10px 0 6px;
}

.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.btn, button.btn, a.btn {
  appearance: none;
  border: 1px solid var(--panel);
  background: var(--panel);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.status { min-height: 1.4em; color: var(--accent); }
.live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.address { font-style: normal; line-height: 1.7; }
.note {
  background: var(--mark);
  padding: 10px 12px;
  margin: 12px 0;
  font-size: 14px;
}

.article-body { max-width: 68ch; }
.article-body p { margin: 0 0 14px; }
.article-body h2 { margin-top: 28px; }
.article-body h3 { margin-top: 18px; }
.article-body ul, .article-body ol { margin: 0 0 14px; padding-left: 1.2em; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 700; }

.site-footer { border-top: 1px solid var(--line); padding: 22px 0 40px; font-size: 14px; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 10px 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 760px) {
  .site-header { height: auto; }
  .site-header .wrap { height: auto; min-height: 68px; padding: 10px 0; }
  [data-nav-toggle] { display: inline-block; }
  .site-nav { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
  .site-nav.is-open { display: flex; }
  .actions .btn { width: 100%; text-align: center; min-height: 44px; }
  .site-header .btn { width: auto; }
  .wrap { width: min(var(--max), calc(100% - 20px)); }
}

@media (max-width: 320px) {
  .wrap { width: calc(100% - 16px); }
}
