:root {
  --paper: #14181D;
  --ink: #E3E8ED;
  --muted: #93A0AB;
  --hairline: #2A323B;
  --rule: #46525E;
  --accent: #8FB2D4;
  --band: #1A2026;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --monospace: "Menlo", "Consolas", "Liberation Mono", monospace;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}



* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding: 0 clamp(20px, 6vw, 88px);
}

b, strong { font-weight: 600; }

.sheet { max-width: 720px; margin: 0 auto; }

a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2.5px; }
a:hover { text-decoration-thickness: 2px; }
a:active { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { position: static; display: inline-block; padding: 4px 0; }

code {
  font-family: var(--monospace);
  font-size: 0.82em;
  background: var(--band);
  padding: 1px 4px;
}

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 30px 0 14px; border-bottom: 2px solid var(--accent); }
.portrait { width: 104px; height: 104px; object-fit: cover; border: 1px solid var(--rule); border-radius: 50%; flex-shrink: 0; }
.masthead .name { font-size: 21px; font-weight: 600; }
.masthead .name a { color: var(--ink); text-decoration: none; }
.masthead .name a:hover { color: var(--accent); }
.masthead .role { color: var(--muted); font-size: 15px; margin-top: 1px; }

.leaf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 10px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}
.leaf a { color: var(--muted); margin-right: 14px; }
.leaf a:hover { color: var(--accent); }
.leaf a.here { color: var(--ink); text-decoration: none; font-weight: 600; }

.hero { padding: 46px 0 8px; }

.folio {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(26px, 4.2vw, 36px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 24ch;
  text-wrap: balance;
}

.hero .lead { margin-top: 18px; font-size: 17.5px; max-width: 64ch; }
.hero .sub { margin-top: 12px; font-size: 15.5px; color: var(--muted); max-width: 64ch; }
.hero .sub strong { color: var(--ink); }

.amendment {
  margin: 30px 0 0;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--hairline);
  font-size: 15.5px;
  max-width: 64ch;
}
.amendment s { color: var(--muted); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.amendment .corr { color: var(--ink); }
.amendment .src { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }

section { padding: 22px 0; }

h2 { font-size: 21px; font-weight: 600; line-height: 1.25; }

.section-head { margin: 20px 0 4px; max-width: 64ch; }
.section-head p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

.ledger { margin-top: 18px; border-top: 1px solid var(--rule); }

.ledger-row {
  display: block;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--ink);
}
.ledger-row:last-child { border-bottom: 1px solid var(--rule); }

.entry-line { display: flex; align-items: baseline; gap: 8px; }
.entry-line .no { color: var(--muted); font-size: 15px; min-width: 1.2em; }
.entry-line h3 { font-size: 17.5px; font-weight: 600; white-space: nowrap; }
.entry-line .leader {
  flex: 1;
  border-bottom: 1px dotted var(--rule);
  transform: translateY(-4px);
  min-width: 24px;
}
.entry-line .price {
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 16px;
  white-space: nowrap;
}
.ledger-row .terms { margin: 2px 0 0 calc(1.2em + 8px); font-size: 13.5px; color: var(--muted); }
.ledger-row .desc { margin: 6px 0 0 calc(1.2em + 8px); font-size: 15px; color: var(--muted); max-width: 58ch; }
.ledger-row:hover h3 { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 252px; gap: 52px; align-items: start; }

.block { margin: 26px 0 34px; }
.block h2 { padding-bottom: 8px; border-bottom: 1px solid var(--rule); max-width: 64ch; }

.ticks { list-style: none; margin-top: 4px; }
.ticks li {
  padding: 8px 0 8px 20px;
  text-indent: -20px;
  font-size: 15.5px;
  border-bottom: 1px solid var(--hairline);
  max-width: 62ch;
}
.ticks li:last-child { border-bottom: 0; }

.figures { margin-top: 10px; border-collapse: collapse; width: 100%; max-width: 62ch; }
.figures td { padding: 7px 0; border-bottom: 1px solid var(--hairline); font-size: 15.5px; vertical-align: baseline; }
.figures td.v {
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 600;
  white-space: nowrap;
  padding-right: 22px;
  width: 1%;
}
.figures td.k { color: var(--muted); }
.figures tr:last-child td { border-bottom: 1px solid var(--rule); }

.note { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 60ch; }


.proof-list { margin-top: 4px; }
.proof { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.proof:last-child { border-bottom: 0; }
.proof .t { font-weight: 600; font-size: 16px; }
.proof .d { margin-top: 3px; font-size: 14.5px; color: var(--muted); max-width: 58ch; }
.proof .links { margin-top: 5px; font-size: 14.5px; }
.proof .links a { margin-right: 16px; }

.statement { border-top: 2px solid var(--ink); padding-top: 4px; }
.statement h3 { text-transform: uppercase; letter-spacing: 0.07em; font-size: 12px; font-weight: 600; padding: 6px 0 8px; }
.price-line { padding: 10px 0; border-top: 1px solid var(--hairline); }
.price-line .amt { font-size: 19px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.price-line .amt small { font-size: 13.5px; font-weight: 400; color: var(--muted); }
.price-line .what { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.price-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--muted); }

.contact-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.contact-btn:hover { background: var(--accent); color: var(--paper); }
.contact-btn:active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.terms { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.contact-strip { margin-top: 26px; padding: 34px 0 8px; border-top: 1px solid var(--rule); }
.contact-strip h2 { max-width: 34ch; }
.contact-strip p { margin-top: 10px; color: var(--muted); max-width: 60ch; font-size: 15.5px; }
.mail-big { display: inline-block; margin-top: 14px; font-size: 18px; font-weight: 600; }

.site-footer { margin-top: 40px; padding: 16px 0 40px; border-top: 2px solid var(--accent); font-size: 13.5px; color: var(--muted); }
.site-footer p { margin-top: 4px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 0; }
  .statement { margin-bottom: 34px; }
}

@media (max-width: 560px) {
  body { padding: 0 18px; }
  .portrait { width: 76px; height: 76px; }
  .hero { padding: 34px 0 6px; }
  .entry-line { flex-wrap: wrap; }
  .entry-line .leader { display: none; }
  .entry-line .price { width: 100%; margin-left: calc(1.2em + 8px); }
}

@media print {
  body { padding: 0; background: #FFF; color: #000; font-size: 11pt; }
  .leaf, .skip, .contact-btn { display: none; }
  a { color: #000; text-decoration: none; }
  .proof .links a::after { content: " (" attr(href) ")"; font-size: 8.5pt; color: #444; }
}
