/* Commerce to Community: direction A, "Ledger" */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #1E3A31;
  --green-deep: #172E27;
  --green-line: #3A5A4F;
  --match: #1E6B4E;
  --paper: #F6F7F4;
  --paper-2: #ECEFE9;
  --white: #FFFFFF;
  --ink: #15211C;
  --muted: #3E4A44;
  --secondary: #5E6B64;
  --brass: #A8893C;
  --brass-light: #C9AE66;
  --rule: #C9CFC6;
  --on-green: #F6F7F4;
  --on-green-muted: #B9C7BF;

  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums lining-nums;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  font-variant-numeric: lining-nums;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); letter-spacing: -0.022em; line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.3; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--match); }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--green);
  border-radius: 2px;
  background: var(--green);
  color: var(--on-green);
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--green-deep); color: var(--on-green); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--paper-2); color: var(--green); }
.btn--light { background: var(--paper); color: var(--green); border-color: var(--paper); }
.btn--light:hover { background: var(--white); color: var(--green); }
.btn--ghost-light { background: transparent; color: var(--on-green); border-color: var(--on-green-muted); }
.btn--ghost-light:hover { background: var(--green-deep); color: var(--on-green); }

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 10;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.wordmark svg { width: 30px; height: 30px; flex: none; }
.wordmark__text { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.wordmark__by { font-size: 0.8125rem; color: var(--secondary); margin-top: 3px; }
.wordmark:hover { color: var(--ink); }
.wordmark a { text-decoration: none; }
.wordmark__mark { display: flex; }
.wordmark__name, .wordmark .wordmark__name:hover { color: inherit; }
.wordmark__by:hover { text-decoration: underline; }

.nav-toggle { display: none; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.site-nav a:hover { color: var(--match); }

.tabs {
  display: flex;
  border: 1px solid var(--green);
  border-radius: 2px;
  margin-right: 16px !important;
  gap: 0 !important;
}
.tabs a {
  display: block;
  padding: 8px 14px;
  color: var(--green);
}
.tabs a[aria-current="page"] { background: var(--green); color: var(--on-green); }
.tabs a[aria-current="page"]:hover { color: var(--on-green); }
.site-nav .plain a { display: block; padding: 8px 10px; }
.site-nav .btn { color: var(--on-green); min-height: 42px; padding: 9px 18px; }
.site-nav .btn:hover { color: var(--on-green); }

@media (max-width: 1040px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--green);
    border-radius: 2px;
    background: transparent;
    color: var(--green);
    font: 600 0.9375rem var(--sans);
    cursor: pointer;
  }
  .nav-toggle__bars { width: 16px; height: 10px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }

  .site-header__inner { flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 8px 0 12px;
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .tabs { margin-right: 0 !important; }
  .tabs li { flex: 1; }
  .tabs { flex-direction: row !important; }
  .tabs a { text-align: center; padding: 11px 10px; }
  .site-nav .plain { border-top: 1px solid var(--rule); }
  .site-nav .plain li { border-bottom: 1px solid var(--rule); }
  .site-nav .plain a { padding: 12px 0; }
  .site-nav .btn { width: 100%; min-height: 48px; }
}

/* Sections */
.section { padding: var(--section) 0; }
.section--rule { border-top: 1px solid var(--rule); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--green); color: var(--on-green); }
.section--dark h2, .section--dark h3 { color: var(--on-green); }
.section--dark a:not(.btn) { color: var(--on-green); }

.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-bottom: 18px; }
.section-head h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--brass);
  margin-bottom: 22px;
}
.lede { font-size: 1.1875rem; color: var(--muted); line-height: 1.55; }
.section--dark .lede { color: var(--on-green-muted); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero h1 { margin-bottom: 24px; max-width: 18ch; }
.edition {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-bottom: 28px;
  padding: 10px 16px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--green);
  background: var(--white);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.edition svg { width: 34px; height: 12px; flex: none; color: var(--brass); }
.hero--dark .edition { background: transparent; border-color: var(--green-line); border-left-color: var(--brass); color: var(--on-green); }
.hero__sub { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); max-width: 36rem; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 1rem;
  color: var(--muted);
}
.hero__price strong { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }

.hero--dark { background: var(--green); color: var(--on-green); }
.hero--dark h1 { color: var(--on-green); max-width: 18ch; }
.hero--dark .hero__sub { color: var(--on-green-muted); }
.hero--dark .hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }

/* The ledger: the one bold element */
.ledger {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--green);
  margin: 0;
}
.ledger__table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: 0.9375rem;
}
.ledger__table th, .ledger__table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline;
}
.ledger__table thead th {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--ink);
  padding-top: 16px;
  padding-bottom: 10px;
}
.ledger__table tbody th { font-weight: 500; }
.ledger__table .num { text-align: right; white-space: nowrap; }
.ledger__table code { font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; overflow-wrap: anywhere; }
.match {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--match);
  font-weight: 600;
  white-space: nowrap;
}
.match::before {
  content: "";
  width: 7px;
  height: 12px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -2px);
}
.ledger__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  font-size: 0.8125rem;
  color: var(--secondary);
  border-top: 2px double var(--ink);
  margin-top: -1px;
}
.ledger figcaption {
  padding: 12px 18px 14px;
  font-size: 0.875rem;
  color: var(--secondary);
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

/* Split prose + points */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
}
.split .section-head { margin-bottom: 0; }
.points { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.points li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.points h3 { margin-bottom: 6px; }
.points p { color: var(--muted); }

/* Principles grid (dark) */
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--green-line);
}
.principles li {
  padding: 28px 28px 32px 0;
  border-bottom: 1px solid var(--green-line);
}
.principles li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--green-line); }
.principles h3 { margin-bottom: 10px; font-size: 1.3125rem; }
.principles h3::before {
  content: "";
  display: block;
  width: 14px;
  height: 2px;
  background: var(--brass-light);
  margin-bottom: 18px;
}
.principles p { color: var(--on-green-muted); font-size: 1rem; }

/* Process: numbered, real sequence */
.stages { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: stage; }
.stage {
  display: grid;
  grid-template-columns: 64px minmax(0, 13rem) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  counter-increment: stage;
}
.stage::before {
  content: counter(stage, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brass);
  line-height: 1.2;
  font-variant-numeric: tabular-nums lining-nums;
}
.stage h3 { font-size: 1.375rem; }
.stage__when { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--secondary); font-family: var(--sans); font-weight: 400; letter-spacing: 0; }
.stage p { color: var(--muted); max-width: 40rem; }

/* What changes / stays */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.compare h3 { margin-bottom: 16px; }
.carry .ledger__table td:last-child { width: 1%; }
.changes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.changes li { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.changes strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.125rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.changes p { color: var(--muted); font-size: 1rem; }

/* Suitability checklist */
.checklist { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--ink); }
.checklist li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--rule);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 21px;
  width: 7px;
  height: 12px;
  border: solid var(--match);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.note { color: var(--muted); }

/* Pricing */
.price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(32px, 6vw, 96px);
  border-top: 1px solid var(--ink);
  padding-top: clamp(28px, 4vw, 48px);
}
.price__figure {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.75rem, 1.8rem + 3.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  font-variant-numeric: tabular-nums lining-nums;
}
.price__from { display: block; font-size: 1.0625rem; font-family: var(--sans); font-weight: 500; letter-spacing: 0; color: var(--secondary); margin-bottom: 10px; }
.price__vat { font-size: 0.45em; font-weight: 400; letter-spacing: -0.01em; color: var(--muted); }
.price__sub { font-size: 1.125rem; color: var(--muted); max-width: 26rem; }
.price__lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.price__lists h3 { font-size: 1.125rem; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.price__lists ul { margin: 0; padding: 0; list-style: none; }
.price__lists li { padding: 7px 0 7px 22px; position: relative; font-size: 1rem; }
.price__lists li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 10px; height: 1px; background: var(--ink); }
.price__lists .included li::before { width: 6px; height: 10px; top: 0.75em; background: none; border: solid var(--match); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.price__lists .separate li { color: var(--muted); }
.price__note { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 1rem; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brass);
  flex: none;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--match); }
.faq details p { padding: 0 0 22px; margin: 0; color: var(--muted); max-width: 44rem; }

/* Division of work (agencies) */
.division { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.division > div { padding: 28px 32px 32px 0; }
.division > div + div { padding-left: 32px; border-left: 1px solid var(--rule); }
.division h3 { margin-bottom: 14px; }
.division ul { margin: 0; padding: 0; list-style: none; }
.division li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.division li:last-child { border-bottom: 0; }

.trade { max-width: 46rem; }
.trade p:not(.price__figure) { font-size: 1.1875rem; color: var(--muted); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.contact .section-head { margin-bottom: 0; }
.contact__box { border-top: 1px solid var(--green-line); padding-top: 24px; }
.contact__label { display: block; font-size: 0.9375rem; color: var(--on-green-muted); margin-bottom: 6px; }
.contact__email {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 0.9rem + 1.6vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}

/* Footer */
.site-footer { background: var(--green-deep); color: var(--on-green-muted); padding: 56px 0 40px; font-size: 0.9375rem; }
.site-footer a { color: var(--on-green); }
.site-footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--green-line); }
.footer__brand .wordmark { color: var(--on-green); margin-bottom: 14px; }
.footer__brand .wordmark__by { color: var(--on-green-muted); }
.footer__brand p { max-width: 24rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--on-green); letter-spacing: 0; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.footer__legal { padding-top: 24px; font-size: 0.8125rem; line-height: 1.6; }
.footer__legal p { max-width: 60rem; }

/* 404 */
.notfound { padding: clamp(64px, 12vw, 160px) 0; }
.notfound h1 { margin-bottom: 18px; }
.notfound .ledger { max-width: 34rem; margin: 36px 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .hero--dark .hero__grid, .split, .compare, .price, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .principles li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--green-line); }
  .principles li { padding-right: 24px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principles li, .principles li:nth-child(2n) { padding: 24px 0; border-left: 0; }
  .stage { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; }
  .stage::before { font-size: 1.25rem; grid-row: span 2; }
  .stage p { grid-column: 2; }
  .price__lists, .division { grid-template-columns: minmax(0, 1fr); }
  .division > div, .division > div + div { padding: 24px 0; border-left: 0; }
  .division > div + div { border-top: 1px solid var(--rule); }
  .ledger__table th, .ledger__table td { padding: 12px 10px; }
  .ledger__table, .ledger__table code { font-size: 0.875rem; }
  .ledger__foot, .ledger figcaption { padding-left: 10px; padding-right: 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .wordmark__name { font-size: 1.0625rem; }
}
@media (max-width: 420px) {
  .ledger__table th, .ledger__table td { padding: 11px 7px; }
  .ledger__table, .ledger__table code { font-size: 0.8125rem; }
  .ledger__table thead th { font-size: 0.75rem; }
}

/* Agencies hero terms */
.terms { margin: 0; border-top: 1px solid var(--brass); }
.terms > div { padding: 18px 0; border-bottom: 1px solid var(--green-line); }
.terms dt { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--on-green); }
.terms dd { margin: 4px 0 0; color: var(--on-green-muted); font-size: 0.9375rem; }
.page-agencies .site-header { background: var(--green); border-bottom-color: var(--green-line); }
.page-agencies .wordmark, .page-agencies .wordmark:hover { color: var(--on-green); }
.page-agencies .wordmark__by { color: var(--on-green-muted); }
.page-agencies .wordmark rect { fill: var(--paper); }
.page-agencies .wordmark path:first-of-type { stroke: var(--green); }
.page-agencies .site-nav a { color: var(--on-green); }
.page-agencies .site-nav a:hover { color: var(--white); }
.page-agencies .tabs { border-color: var(--on-green-muted); }
.page-agencies .tabs a[aria-current="page"] { background: var(--paper); color: var(--green); }
.page-agencies .tabs a[aria-current="page"]:hover { color: var(--green); }
.page-agencies .site-nav .btn { background: var(--paper); color: var(--green); border-color: var(--paper); }
.page-agencies .site-nav .btn:hover { background: var(--white); color: var(--green); }
.page-agencies .nav-toggle { color: var(--on-green) !important; border-color: var(--on-green-muted) !important; }
.page-agencies .site-nav .plain, .page-agencies .site-nav .plain li { border-color: var(--green-line); }
.page-agencies .hero--dark { border-top: 0; }

/* Hero ledger: the one bold element, set larger on wide screens */
@media (min-width: 1200px) {
  .hero .ledger__table { font-size: 1.0625rem; }
  .hero .ledger__table code { font-size: 1rem; white-space: nowrap; }
  .hero:not(.hero--dark) .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero .ledger__table th, .hero .ledger__table td { padding: 18px 22px; }
  .hero .ledger__table thead th { font-size: 0.875rem; padding-top: 18px; padding-bottom: 12px; }
  .hero .ledger figcaption { padding: 14px 22px 16px; }
}
