@font-face { font-family: 'Abacairn Mono'; src: url('./assets/OhwSubsetMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Abacairn Sans'; src: url('./assets/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
:root { --paper: #f8faff; --ink: #182d56; --accent: #2448bd; --on-accent: #fff; --soft: #e6ecff; --rule: #a9b7d1; --control: #64718c; --display: 'Abacairn Mono', monospace; --body: 'Abacairn Sans', Arial, sans-serif; --weight: 400; }
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); }
body { margin: 0; font: 1.0625rem/1.65 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a, button, summary { touch-action: manipulation; }
p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0 0 1.2rem; font-family: var(--display); font-weight: var(--weight); line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.5rem, 5.7vw, 5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); letter-spacing: -.025em; }
h3 { font-size: 1.4rem; }
.wrap { width: min(calc(100% - 40px), 1160px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.page-intro { padding-block: clamp(3rem, 5vw, 5rem) 1rem; }
.page-intro .lead { max-width: 46rem; }
.lead { font-size: 1.2rem; line-height: 1.6; }
.eyebrow { font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1.3rem; }
.small { font-size: .9rem; }
figure { margin: 0; }
figcaption { font-size: .85rem; padding-top: 1rem; }
.focal-art { width: 100%; height: auto; display: block; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 10; background: var(--paper); color: var(--ink); padding: 1rem; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding-block: 1.6rem; }
.brand { text-decoration: none; font: var(--weight) 1.85rem/1.1 var(--display); letter-spacing: -.04em; }
.brand span { display: block; margin-top: .5rem; font: .7rem/1.5 var(--body); letter-spacing: .07em; }
#navigation { display: flex; align-items: center; gap: 1.7rem; font-size: .9rem; }
#navigation a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
#navigation a:hover, #navigation a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-toggle { display: none; border: 1px solid currentColor; min-height: 44px; padding: .5rem .75rem; background: transparent; }
.arrow, .disclosure { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button, .text-link { display: inline-flex; gap: 1rem; align-items: center; min-height: 48px; max-width: 100%; font-size: 1rem; }
.button { justify-content: space-between; padding: .9rem 1.25rem; border: 2px solid var(--accent); color: var(--on-accent); background: var(--accent); text-decoration: none; }
.button:hover { text-decoration: underline; }
.button:focus-visible { outline-color: var(--ink); }
.text-link { padding-block: .5rem; }
.closing { padding-block: 3rem; background: var(--soft); }
.closing-layout { display: flex; gap: 2rem; justify-content: space-between; align-items: center; }
.closing-layout > div { max-width: 42rem; }
.closing-layout .button { flex-shrink: 0; }
.closing h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.site-footer { padding-block: 2.5rem; font-size: .9rem; border-top: 1px solid var(--rule); }
.footer-layout { display: flex; justify-content: space-between; gap: 2rem; }
.footer-name { font: var(--weight) 1.5rem/1.2 var(--display); }
.site-footer a { display: inline-block; padding-block: .75rem; }
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.form-layout > *, .footer-layout > * { min-width: 0; }
.form-panel { background: var(--soft); padding: clamp(1rem, 3vw, 2.5rem); }
.demo-note { margin-top: 2rem; border-left: 3px solid currentColor; padding-left: 1rem; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend { font: var(--weight) 1.7rem/1.25 var(--display); max-width: 100%; padding: 0; margin-bottom: 1rem; }
.field { margin-bottom: 1.25rem; }
label { display: block; margin-bottom: .4rem; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: .7rem; border: 1px solid var(--control); border-radius: 0; background: var(--paper); font-size: 1rem; }
textarea { resize: vertical; }
.field .small { margin-top: .5rem; }
.confirmation { padding-block: 1rem; }
.confirmation h2 { font-size: 2rem; }
.prose { max-width: 740px; }
.prose section + section { margin-top: 2.5rem; }
.prose > .small { margin-top: 3rem; }
ul, ol { padding-left: 1.4rem; }
li { padding-block: .35rem; }
details { border-top: 1px solid var(--rule); padding-block: 1rem; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
details[open] .disclosure { transform: rotate(45deg); }
details p { padding-top: 1rem; max-width: 48rem; }
.questions { max-width: 850px; }
@media (max-width: 960px) {
  .site-header { flex-wrap: wrap; }
  .menu-toggle { display: inline-block; }
  #navigation { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: .2rem; }
  #navigation a { padding: .65rem .4rem; }
  .has-menu .menu-toggle[aria-expanded="false"] + #navigation { display: none; }
  .form-layout { grid-template-columns: 1fr; }
  .closing-layout { flex-direction: column; align-items: start; }
}
@media (max-width: 600px) {
  .site-header { gap: .75rem; }
  .brand { font-size: 1.65rem; }
  .brand span { font-size: .65rem; }
  .footer-layout { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.site-header { border-bottom: 1px solid var(--rule); }
.brand { color: var(--accent); font-size: 2rem; }
.brand span { color: var(--ink); font-size: .6rem; }
.eyebrow, .line-number, .plan-volume, .price { font-family: var(--display); }
.ledger-opening { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; padding-block: 4rem; align-items: center; }
.ledger-opening h1 { font-size: clamp(2.25rem, 4.7vw, 4.25rem); line-height: 1.14; }
.ledger-opening h1 span { color: var(--accent); }
.ledger-opening .lead { max-width: 32rem; }
.desk { padding: 1.25rem; background: var(--accent); color: white; border-radius: 1rem; }
.desk figcaption { padding: 1rem .75rem .5rem; border-top: 1px solid #a5b7f3; }
.month-strip { background: var(--ink); color: var(--paper); }
.month-strip .wrap { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.3rem; }
.month-strip p { margin: 0; }
.month-strip strong { font-family: var(--display); font-weight: 400; }
.report-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; }
.report-sheet { border: 1px solid var(--rule); border-top: 8px solid var(--accent); background: #fff; padding: clamp(1.2rem, 3vw, 2rem); }
.report-sheet h3 { font-size: 1.1rem; }
.report-sheet dl { margin: 1rem 0 0; }
.report-sheet dl > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--rule); }
.report-sheet dt { font-weight: 700; }
.report-sheet dd { margin: 0; }
.january-note { border-block: 1px solid var(--rule); padding-block: 2.5rem; margin-bottom: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.january-note h2 { margin: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block: 2rem; }
.plan { border: 1px solid var(--rule); padding: 1.5rem; background: white; }
.plan:nth-child(2) { background: var(--soft); border-top: 5px solid var(--accent); padding-top: calc(1.5rem - 4px); }
.plan-volume { font-size: .85rem; }
.price { font-size: 2.5rem; margin-bottom: 1rem; }
.price span { font: 1rem var(--body); }
.plan h3 { font-size: 1.4rem; }
.extras { border-top: 1px solid var(--rule); }
.extras article { display: grid; grid-template-columns: 1fr 1.2fr 10rem; gap: 2rem; border-bottom: 1px solid var(--rule); padding-block: 2rem; align-items: start; }
.extras h3 { font-size: 1.4rem; }
.extras .fee { font: 1.1rem var(--display); }
.process { counter-reset: month-step; list-style: none; padding: 0; margin: 2rem 0 0; }
.process li { display: grid; grid-template-columns: 3rem 1fr; gap: 1.5rem; padding-block: 1.7rem; border-top: 1px solid var(--rule); }
.process li::before { counter-increment: month-step; content: '0' counter(month-step); font: 1.25rem var(--display); color: var(--accent); }
.office-note { background: var(--soft); padding: 2rem; border-left: 6px solid var(--accent); }
.form-panel { border-top: 6px solid var(--accent); }
.ledger-opening > *, .report-layout > *, .january-note > *, .plan-grid > *, .extras article > * { min-width: 0; }
@media (max-width: 800px) {
  .ledger-opening, .report-layout, .january-note { grid-template-columns: 1fr; gap: 2rem; }
  .ledger-opening h1 { max-width: 16ch; }
  .desk { max-width: 36rem; }
  .plan-grid { grid-template-columns: 1fr; }
  .extras article { grid-template-columns: 1fr; gap: .75rem; }
  .month-strip .wrap { flex-direction: column; gap: .5rem; }
}
@media (max-width: 400px) { .report-sheet dl > div { grid-template-columns: 1fr; gap: .25rem; } }
html:not(.has-menu) .menu-toggle { display: none !important; }
