
/* Layout idea: the page is a ledger sheet. Ruled rows, mono labels in a
   left margin column, and the accountant's double rule under what matters. */
:root {
  --paper: #EEF2EC;
  --sheet: #F8FAF6;
  --ink: #16261F;
  --muted: #55665D;
  --pine: #1F4D3A;
  --brass: #9A6412;
  --rule: #C6D2C8;
  --on-pine: #F1F4EE;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F1814;
    --sheet: #16221C;
    --ink: #E6EDE7;
    --muted: #9DB0A5;
    --pine: #2F6B52;
    --brass: #E0A84A;
    --rule: #2C3D34;
    --on-pine: #F1F4EE;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F1814;
  --sheet: #16221C;
  --ink: #E6EDE7;
  --muted: #9DB0A5;
  --pine: #2F6B52;
  --brass: #E0A84A;
  --rule: #2C3D34;
  --on-pine: #F1F4EE;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top {
  border-bottom: 1px solid var(--rule);
}
.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.mark {
  font-family: var(--display); font-weight: 800; font-size: 20px;
  letter-spacing: -0.01em; text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.mark svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a.link {
  font-size: 15px; text-decoration: none; color: var(--muted);
}
.nav a.link:hover { color: var(--ink); }
.btn {
  display: inline-block; background: var(--pine); color: var(--on-pine);
  font-family: var(--body); font-weight: 600; font-size: 16px;
  padding: 12px 20px; border-radius: 4px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--brass); }
.btn.small { padding: 9px 16px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
@media (max-width: 760px) { .nav a.link { display: none; } }

/* Hero */
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px;
  align-items: center; padding-top: 72px; padding-bottom: 80px;
}
.label {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brass); font-weight: 500;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 76px); line-height: 0.98; font-weight: 800;
  letter-spacing: -0.03em; margin: 18px 0 24px;
}
.hero h1 span {
  display: inline-block; padding-bottom: 6px;
  border-bottom: 3px double var(--brass);
}
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.hero .actions .plain { font-size: 16px; text-underline-offset: 4px; }

.statement {
  background: var(--sheet); border: 1px solid var(--rule);
  border-top: 5px solid var(--pine); padding: 26px 26px 22px;
}
.statement h2 {
  font-family: var(--mono); font-weight: 500; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.statement ul { list-style: none; margin: 14px 0 0; padding: 0; }
.statement li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 16px;
}
.statement li b { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--pine); white-space: nowrap; }
:root[data-theme="dark"] .statement li b { color: var(--brass); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .statement li b { color: var(--brass); } }
.statement .total {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding: 12px 0 8px;
  border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 18px;
}

/* Sections */
section { border-top: 1px solid var(--rule); }
.sec { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.sec > .label { padding-top: 10px; }
.sec h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.sec .intro { color: var(--muted); max-width: 38em; margin-top: 14px; }

.rows { margin-top: 34px; border-top: 1px solid var(--ink); }
.row {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.row h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.row p { color: var(--muted); }

.who { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.who div { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--rule); }
.who h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.who p { color: var(--muted); font-size: 16px; }

.about p + p { margin-top: 16px; }
.about h3.own { font-size: 24px; font-weight: 700; margin-top: 44px; }
.rows.tight { margin-top: 16px; }
.role { display: block; margin-top: 4px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass); }
.about .body { max-width: 38em; margin-top: 22px; }
.facts { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--ink); max-width: 38em; }
.facts li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.facts li span:first-child { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-top: 3px; }

.steps { list-style: none; counter-reset: s; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 16px; }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 13px; color: var(--brass); font-weight: 500; }
.steps h3 { font-size: 20px; font-weight: 700; margin: 6px 0 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Contact */
.contact { background: var(--pine); color: var(--on-pine); border-top: none; }
.contact .wrap { padding-top: 76px; padding-bottom: 76px; }
.contact .label { color: var(--on-pine); opacity: 0.75; }
.contact h2 { font-size: clamp(34px, 5.6vw, 58px); line-height: 1; font-weight: 800; letter-spacing: -0.025em; margin: 16px 0 18px; max-width: 14em; }
.contact p { max-width: 36em; opacity: 0.9; }
.contact .btn { background: var(--on-pine); color: #16261F; margin-top: 30px; }
.contact .addr { display: block; margin-top: 12px; text-decoration: none; font-family: var(--mono); font-size: 15px; overflow-wrap: anywhere; }

footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
  .sec { grid-template-columns: 1fr; gap: 10px; padding-top: 52px; padding-bottom: 52px; }
  .sec > .label { padding-top: 0; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .who { grid-template-columns: 1fr; }
  .who div { padding-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}

/* Content pages */
.page { max-width: 780px; padding-top: 56px; padding-bottom: 64px; }
.crumbs { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.crumbs a { color: var(--brass); text-decoration: none; }
.page h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.03; font-weight: 800; letter-spacing: -0.025em; margin: 14px 0 20px; }
.page .lede { font-size: 19px; color: var(--muted); margin: 0 0 8px; }
.page h2 { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--rule); }
.page p { margin: 0 0 14px; }
.page ul { padding-left: 20px; margin: 0 0 14px; }
.page li { margin-bottom: 8px; }
.page a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.page .crumbs a { text-decoration: none; }
.related { list-style: none; padding: 0 !important; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 12px; font-size: 14px; }
.foot-links a { color: var(--muted); text-underline-offset: 3px; }
.foot-links a:hover { color: var(--ink); }
