/* Delegation of Authority Matrix Validator: a bank signing mandate drawn as an authority ladder. Faint rose signature-card
   stock, warm carbon ink, Newsreader headings over Figtree, Geist Mono for every amount, rank and code. One colour carries
   meaning: the deep crimson bar in the margin of a line that raises a segregation of duties conflict. Gaps are dashed empty
   rungs, the board's rung is double-ruled, a perforation line closes the header. No shadows, no gradients, no icons. */
:root { --stock: #f8f3f2; --paper: #fffdfc; --ink: #211b1d; --mute: #5b5052; --rule: #dccfcf; --rule2: #eae0df; --crimson: #9e1f3d; --serif: 'Newsreader', Georgia, serif; --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Geist Mono', ui-monospace, Menlo, monospace; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--stock); color: var(--ink); font: 400 16px/1.55 var(--sans); text-rendering: geometricPrecision; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
code, .n, .num, .ln, .fig, .d, .cref, .mk { font-family: var(--mono); font-feature-settings: 'tnum' 1; }
code { font-size: .88em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header: the mandate's counterfoil, closed by a perforation line */
header.site { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 20px 0 16px; border-bottom: 2px dotted var(--ink); flex-wrap: wrap; }
.brand { font: 600 19px/1.2 var(--serif); text-decoration: none; letter-spacing: -.01em; }
.brand em { font-style: italic; font-weight: 500; }
header.site nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14.5px; }
header.site nav a { text-decoration: none; }
header.site nav a:hover { text-decoration: underline; }
#nav-auth { display: inline-flex; gap: 18px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; padding: 38px 0 26px; align-items: start; }
.eyebrow { font: 600 12.5px/1.4 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
h1 { font-size: 44px; line-height: 1.08; margin: 0 0 18px; }
.lede { font-size: 17px; line-height: 1.6; margin: 0 0 18px; max-width: 640px; }
.reads { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 12px 0 4px; margin: 0 0 18px; max-width: 640px; }
.reads p { margin: 0 0 9px; font-size: 15.5px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.cta .hint { flex-basis: 100%; }
.hint { color: var(--mute); font-size: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--sans); background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 5px; padding: 12px 18px; cursor: pointer; text-decoration: none; }
.btn:hover { background: #3a3033; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--paper); }
.btn.small { padding: 9px 13px; font-size: 14px; }
.plan-tag { font: 500 11px/1 var(--mono); border: 1px solid currentColor; border-radius: 3px; padding: 3px 5px; }

/* the specimen excerpt beside the headline */
.side { display: grid; gap: 18px; }
.specimen { background: var(--paper); border: 1px solid var(--ink); padding: 16px 18px 14px; }
.specimen .legend { display: flex; justify-content: space-between; gap: 12px; font: 600 12px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; flex-wrap: wrap; }
.specimen .cap { font: 500 20px/1.3 var(--serif); margin: 12px 0 4px; }
.specimen .cap .n { font-size: 18px; }
.specimen .cap .sodn { color: var(--crimson); }
.specimen .capsub { font-size: 13.5px; color: var(--mute); margin: 0; }
.specimen .ladders { grid-template-columns: 1fr 1fr; gap: 14px; }
.specimen li.rung { grid-template-columns: 76px minmax(0, 1fr); gap: 8px; font-size: 13.5px; }
.specimen li.rung .ln { display: none; }
figure.person { margin: 0; }
figure.person img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 60% 40%; border: 1px solid var(--ink); }
figure.person figcaption { font-size: 14.5px; line-height: 1.5; margin-top: 10px; }

/* explain */
.explain { padding: 18px 0 8px; }
.explain h2 { font-size: 26px; margin: 0 0 10px; }
.form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.form > div { padding: 14px 18px 12px 0; }
.form > div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.form .k { font: 500 13px/1 var(--mono); color: var(--mute); }
.form h3 { font-size: 19px; margin: 6px 0 6px; }
.form p { margin: 0; font-size: 15px; }
.notice { background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--ink); padding: 12px 16px; margin: 14px 0; font-size: 15px; }
.notice.gate { border-left-color: var(--ink); }

/* the tool */
.tool { background: var(--paper); border: 1px solid var(--ink); padding: 16px 18px; margin: 24px 0 8px; scroll-margin-top: 12px; }
.tool .bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.tool .bar .hint { font-size: 14.5px; color: var(--mute); flex: 1 1 420px; min-width: 0; }
.tool .bar .hint code { white-space: normal; overflow-wrap: anywhere; }
.spacer { flex: 1; }
textarea.paste { width: 100%; min-height: 220px; font: 400 13.5px/1.5 var(--mono); color: var(--ink); background: var(--stock); border: 1px solid var(--ink); border-radius: 5px; padding: 12px; resize: vertical; }
fieldset.ticks { border: 0; border-top: 1px solid var(--rule); padding: 10px 0 2px; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14.5px; }
fieldset.ticks legend { font: 600 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding: 0 8px 0 0; float: left; width: 100%; margin-bottom: 4px; }
fieldset.ticks label { display: inline-flex; align-items: center; gap: 6px; }
fieldset.ticks input[type=text], fieldset.ticks select { font: 400 14px var(--sans); border: 1px solid var(--ink); border-radius: 5px; background: var(--stock); color: var(--ink); padding: 5px 8px; }
fieldset.ticks input[type=text] { width: 110px; font-family: var(--mono); }
.row { display: flex; gap: 10px; align-items: center; }

/* the result */
#result { scroll-margin-top: 12px; }
.leadline { font: 500 30px/1.2 var(--serif); margin: 26px 0 14px; }
.leadline .n { font-size: 27px; }
.leadline .sodn { color: var(--crimson); }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.summary > div { padding: 12px 16px 12px 0; }
.summary > div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.summary .n { font-size: 30px; line-height: 1.1; }
.summary .sodf { box-shadow: inset 0 4px 0 var(--crimson); }
.summary .sodf .n { color: var(--crimson); }
.summary .l { font-weight: 600; font-size: 14.5px; margin-top: 4px; }
.summary .sub { display: block; font-weight: 400; color: var(--mute); font-size: 13.5px; }
.regime-line { margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 22px; font-size: 14px; }
.regime-line dt { font: 600 12px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.regime-line dd { margin: 1px 0 0; }
section.ladder-sec, section.roles-sec, section.shares, section.sched-sec, section.finds { margin-top: 34px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.sec-head h2 { font-size: 24px; line-height: 1.2; margin: 0; }
.sec-head .folio { margin-left: auto; }
.folio { font-size: 13.5px; color: var(--mute); }
.keyrow { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.kk { display: inline-flex; align-items: center; gap: 7px; }
.sw { display: inline-block; width: 26px; height: 12px; border: 1px solid var(--ink); background: var(--paper); }
.sw.gp { border-style: dashed; border-width: 1.5px; background: transparent; }
.sw.bd { border-top: 5px double var(--ink); height: 14px; }
.sw.sd { box-shadow: inset 4px 0 0 var(--crimson); }

/* the authority ladder: rungs from the top of the authority down to the smallest band */
.ladders { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px 26px; }
figure.ladder { margin: 0; }
figure.ladder figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font: 600 16.5px/1.25 var(--serif); padding-bottom: 6px; }
figure.ladder figcaption a { text-decoration: none; }
figure.ladder figcaption a:hover { text-decoration: underline; }
figure.ladder .u { font: 500 11.5px/1 var(--mono); color: var(--mute); }
ol.rungs { list-style: none; margin: 0; padding: 0 0 0; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); }
li.rung { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; padding: 8px 10px; border-top: 1px solid var(--ink); background: var(--paper); font-size: 14px; line-height: 1.35; }
li.rung:last-child { border-bottom: 1px solid var(--ink); }
li.rung .rg { font-size: 12.5px; color: var(--ink); padding-top: 1px; }
li.rung .who { overflow-wrap: anywhere; }
li.rung .ln { font-size: 11.5px; color: var(--mute); white-space: nowrap; text-align: right; padding-top: 2px; }
li.rung .plus { color: var(--mute); font-style: italic; }
li.rung.board { border-top: 5px double var(--ink); }
li.rung.gap { background: transparent; border-top: 1.5px dashed var(--ink); border-bottom: 1.5px dashed var(--ink); margin: 4px 0; }
li.rung.gap .rg, li.rung.gap .who { font-weight: 600; }
li.rung.gap + li.rung { border-top: 0; }
li.rung.gap .who { font-style: italic; }
li.rung.sod { box-shadow: inset 4px 0 0 var(--crimson); }
.noamt { margin: 14px 0 0; max-width: 1000px; }
.masked { font-style: italic; }
.none { color: var(--mute); font-style: italic; }

/* tables */
table.plain { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.plain th { text-align: left; font: 600 12.5px/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--ink); padding: 6px 10px 6px 0; }
table.plain td { border-bottom: 1px solid var(--rule); padding: 8px 10px 8px 0; vertical-align: top; }
table.plain td .ln, table.roles .ln { font-size: 12px; color: var(--mute); }
.share-grid { max-width: 560px; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) 70px 80px; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.srow .c { text-align: right; font-family: var(--mono); font-size: 13.5px; }
.srow.head { font: 600 12.5px/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--ink); }
.srow.head .c { font-family: var(--sans); font-size: 12.5px; }
.srow.rem { color: var(--mute); }
.srow.tot { border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); font-weight: 600; }

/* the schedule of lines */
h3.gname { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin: 20px 0 6px; }
h3.gname .folio { font-family: var(--sans); font-weight: 400; }
ol.sched { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
li.ln-row { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) 300px; gap: 0 16px; padding: 10px 0 10px 12px; border-bottom: 1px solid var(--rule); cursor: pointer; }
li.ln-row.sod { box-shadow: inset 4px 0 0 var(--crimson); }
li.ln-row .num { font-size: 13.5px; font-weight: 500; }
li.ln-row .lname { margin: 0; font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
li.ln-row .lmeta { margin: 2px 0 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 2px 14px; }
li.ln-row .lmeta .band { font-size: 13px; }
li.ln-row .plus { color: var(--mute); font-style: italic; }
.flags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.flags { gap: 3px 16px; }
.fl { font: 600 11.5px/1.5 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.fl.sod { color: var(--crimson); }
li.ln-row .mg { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; }
li.ln-row .fam { color: var(--mute); }
li.ln-row .fam.none { font-weight: 400; font-style: italic; color: var(--mute); }
li.ln-row .mk { font-size: 12px; color: var(--mute); }
li.ln-row .mk.locked { font-family: var(--sans); font-style: italic; }
li.ln-row .basis { color: var(--mute); font-style: italic; }
li.ln-row .basis.b-matched { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
li.ln-row .bw { display: block; font-style: italic; }
li.ln-row .toggle::after { content: 'open the line'; font-size: 13.5px; font-weight: 600; color: var(--mute); text-decoration: underline; }
li.ln-row.open .toggle::after { content: 'close'; }
li.ln-row .why { display: none; grid-column: 2 / 4; margin-top: 10px; border-top: 1px solid var(--rule); padding-top: 8px; cursor: auto; }
li.ln-row.open .why { display: block; }
.why > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 4px 0; font-size: 14.5px; }
.why > div.blocks { display: block; }
.why .k { font: 600 12px/1.5 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.why .sub { display: block; color: var(--mute); font-size: 13px; }
.why .pasted { font: 400 13px/1.5 var(--mono); background: var(--stock); border: 1px solid var(--rule); padding: 6px 8px; overflow-wrap: anywhere; }
.why select.rk { font: 400 14px var(--sans); border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); padding: 3px 6px; max-width: 100%; }
.dot { color: var(--mute); padding: 0 3px; }
.ctrl { border: 1px solid var(--rule); border-left: 1px solid var(--ink); background: var(--paper); padding: 10px 14px; margin: 10px 0; }
.ctrl .ch { font-weight: 600; font-size: 14.5px; }
.ctrl .ch code { font-weight: 500; margin-right: 4px; }
.ctrl p.q { margin: 6px 0; font-size: 14.5px; }
.ctrl .ev { font-size: 13.5px; color: var(--ink); }
.ctrl .ev .q { color: var(--ink); }
.cref { font-size: .9em; text-decoration: none; }
.cref:hover { text-decoration: underline; }
.ctrl p.q, .ctrl .ev { max-width: 82ch; }
table.plain tbody th { border-bottom: 1px solid var(--rule); font: 600 12.5px/1.5 var(--sans); padding: 8px 10px 8px 0; vertical-align: top; }

/* findings */
section.finds details { border-bottom: 1px solid var(--rule); }
section.finds summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; cursor: pointer; list-style: none; }
section.finds summary::-webkit-details-marker { display: none; }
section.finds summary .fname { font: 600 18px/1.3 var(--serif); }
section.finds summary .fname.sod { box-shadow: inset 4px 0 0 var(--crimson); padding-left: 12px; }
section.finds summary .who { font-size: 14px; color: var(--mute); text-align: right; }
.fbody { padding: 0 0 14px; }
.fbody > p, .fbody ul.items { max-width: 980px; }
.fbody > p { margin: 0 0 8px; font-size: 15px; }
.fbody ul.items { margin: 0 0 8px; padding-left: 18px; font-size: 14.5px; }
.fbody ul.items li { margin: 0 0 7px; }
.fbody .iq { font-style: italic; }
.fbody .ask { border-top: 1px solid var(--rule); padding-top: 8px; }
.fl-note, .locked { font-size: 14px; color: var(--mute); }

/* static pages */
.prose { max-width: 760px; font-size: 16px; }
.qtext { font: 400 17px/1.5 var(--serif); font-style: italic; }
ul.idx { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); columns: 2; column-gap: 32px; }
ul.idx li { align-items: baseline; display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; font-size: 15px; }
ul.idx li span { color: var(--mute); font-size: 13.5px; }
h3.idxg { font-size: 18px; margin: 22px 0 6px; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ink); background: var(--paper); }
.pricing > div { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.pricing > div + div { border-left: 1px solid var(--rule); }
.pricing h3 { font-size: 22px; margin: 0; }
.pricing .price { font: 500 34px/1.1 var(--mono); }
.pricing .price small { font-family: var(--sans); }
.pricing .price small { font-size: 14px; margin-right: 4px; }
.pricing .price.word { font: 600 24px/1.2 var(--serif); }
.pricing .per { color: var(--mute); font-size: 14px; }
.pricing ul { margin: 0 0 6px; padding-left: 18px; font-size: 14.5px; flex: 1; }
.pricing .btn { align-self: flex-start; }
.pricing h1.ph { font-size: 38px; }
footer.site.wrap { max-width: 1144px; padding: 18px 0 34px; }
main > .sec-head { margin-top: 30px; }
footer.site { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 48px; padding: 18px 28px 34px; border-top: 2px dotted var(--ink); font-size: 13.5px; color: var(--mute); }
footer.site a { color: var(--mute); }
footer.site span:nth-of-type(2) { flex-basis: 100%; line-height: 1.55; }

/* modal */
.modal { display: none; position: fixed; inset: 0; background: rgba(33, 27, 29, .45); z-index: 20; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal .box { background: var(--paper); border: 1px solid var(--ink); padding: 20px; max-width: 440px; width: 100%; }
.modal .legend { font: 600 20px/1.2 var(--serif); margin-bottom: 6px; }
.modal input[type=email] { width: 100%; font: 400 15px var(--sans); border: 1px solid var(--ink); border-radius: 5px; padding: 10px; background: var(--stock); }
.ok { color: var(--ink); } .err { color: var(--crimson); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 26px; }
  li.ln-row { grid-template-columns: 50px minmax(0, 1fr); }
  li.ln-row .mg { grid-column: 2; margin-top: 6px; }
  li.ln-row .why { grid-column: 1 / 3; }
  .summary { grid-template-columns: 1fr 1fr; }
  .summary > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .summary > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .pricing { grid-template-columns: 1fr; }
  .pricing > div + div { border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  footer.site.wrap { margin: 48px 16px 0; padding: 16px 0 30px; }
  .brand { font-size: 17px; }
  header.site { padding: 14px 0 12px; gap: 8px; }
  header.site nav { font-size: 14px; gap: 6px 14px; }
  header.site nav a[href='/approvals/'], header.site nav a[href='/conflicts/'], header.site nav a[href='/regimes/'] { display: none; }
  .hero.home { display: grid; }
  .hero.home > div:first-child, .hero.home > .side { display: contents; }
  .hero.home .eyebrow { order: 1; } .hero.home h1 { order: 2; } .hero.home .cta { order: 3; } .hero.home .specimen { order: 4; } .hero.home .lede { order: 5; font-size: 15.5px; } .hero.home .reads { order: 6; } .hero.home figure.person { order: 7; }
  .hero.home h1, .hero.home .eyebrow { margin-bottom: 0; } .hero.home { gap: 16px; }
  li.ln-row .mg { flex-direction: row; flex-wrap: wrap; gap: 2px 12px; }
  h1 { font-size: 31px; }
  .lede { font-size: 16px; }
  .form { grid-template-columns: 1fr; }
  .form > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .leadline { font-size: 24px; } .leadline .n { font-size: 22px; }
  .summary .n { font-size: 25px; }
  .specimen .ladders { grid-template-columns: 1fr; }
  li.rung { grid-template-columns: 88px minmax(0, 1fr) auto; }
  .why > div { grid-template-columns: 1fr; gap: 2px; }
  ul.idx { columns: 1; }
  header.site nav { gap: 8px 14px; }
  .tool { padding: 14px 12px; }
  table.plain { font-size: 13.5px; }
}
@media print { header.site nav, .tool, #actions, .no-print, .cta, footer.site { display: none; } li.ln-row .why { display: block; } body { background: #fff; } }
