/* GrayStak — ledger */

:root{
  --ink:#16181B;
  --graphite:#2F3236;
  --paper:#FAF9F6;
  --band:#EFEBE3;
  --red:#D01E18;
  --mist:#B6B8BA;
  --grey:#6B6F76;
  --rule:#DAD7D0;
  --rule-dark:#3A3E44;

  --display:'Anton',Impact,sans-serif;
  --body:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;

  --gut:clamp(20px,5vw,64px);
  --measure:40rem;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-size:17px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
@media (max-width:640px){ body{font-size:16px} }

a{color:inherit}
img{max-width:100%;display:block}

.wrap{max-width:960px;margin:0 auto;padding:0 var(--gut)}
.col{max-width:var(--measure)}

/* ---------- masthead ---------- */
.mast{
  background:var(--ink);
  color:var(--paper);
  border-bottom:1px solid var(--rule-dark);
}
.mast-in{
  display:flex;align-items:baseline;gap:clamp(16px,3vw,34px);
  padding:20px 0 18px;flex-wrap:wrap;
}
.mark{
  font-family:var(--display);
  font-size:23px;letter-spacing:.02em;
  color:var(--paper);text-decoration:none;
  line-height:1;
}
.mark span{color:var(--red)}
.nav{display:flex;gap:clamp(14px,2.4vw,26px);margin-left:auto;flex-wrap:wrap}
.nav a{
  font-size:14.5px;color:var(--mist);text-decoration:none;
  padding-bottom:2px;border-bottom:1px solid transparent;
}
.nav a:hover,.nav a:focus-visible{color:var(--paper);border-bottom-color:var(--red)}
.nav a[aria-current="page"]{color:var(--paper);border-bottom-color:var(--rule-dark)}

/* ---------- dark stage ---------- */
.stage{background:var(--ink);color:var(--paper);padding:clamp(48px,8vw,96px) 0 clamp(40px,6vw,72px)}
.stage h1{
  font-family:var(--display);
  font-size:clamp(34px,6.4vw,66px);
  line-height:1.02;letter-spacing:.005em;
  margin:0 0 22px;max-width:19ch;
}
.stage .lede{color:var(--mist);font-size:clamp(17px,1.9vw,20px);max-width:52ch;margin:0}

/* ---------- ledger ---------- */
.ledger{margin:clamp(34px,5vw,54px) 0 0;border-top:2px solid var(--paper)}
.ledger-head,.row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 118px 96px;
  gap:0 18px;align-items:baseline;
}
.ledger-head{
  padding:9px 0 9px;
  font-family:var(--mono);font-size:11.5px;letter-spacing:.1em;
  color:var(--mist);text-transform:uppercase;
  border-bottom:1px solid var(--rule-dark);
}
.row{padding:15px 0;border-bottom:1px solid var(--rule-dark)}
.row .what{font-size:16.5px;min-width:0}
.row .due{font-family:var(--mono);font-size:14px;color:var(--mist)}
.row .el{font-family:var(--mono);font-size:15px;color:var(--red);text-align:right;font-variant-numeric:tabular-nums}
.row .el b{font-weight:600}
.ledger-foot{
  padding:16px 0 0;font-family:var(--mono);font-size:12.5px;
  color:var(--mist);line-height:1.7;
}
@media (max-width:620px){
  .ledger-head{grid-template-columns:1fr 86px;}
  .ledger-head span:nth-child(2){display:none}
  .row{grid-template-columns:1fr 86px;row-gap:3px}
  .row .what{grid-column:1}
  .row .el{grid-column:2;grid-row:1}
  .row .due{grid-column:1;grid-row:2}
}

/* ---------- paper sections ---------- */
.sect{padding:clamp(46px,7vw,86px) 0}
.sect + .sect{border-top:1px solid var(--rule)}
.sect.tint{background:var(--band)}
h2{
  font-family:var(--display);
  font-size:clamp(24px,3.4vw,36px);
  line-height:1.1;margin:0 0 20px;letter-spacing:.005em;
}
h3{font-size:19px;font-weight:600;margin:34px 0 8px;line-height:1.35}
p{margin:0 0 17px;max-width:var(--measure)}
.sect p:last-child{margin-bottom:0}
.dim{color:var(--grey)}
.fine{font-size:14px;color:var(--grey);line-height:1.6;max-width:50rem}

/* ---------- definition rows ---------- */
.defs{margin:26px 0 0;border-top:1px solid var(--rule);max-width:50rem}
.def{
  display:grid;grid-template-columns:14rem minmax(0,1fr);
  gap:6px 30px;padding:18px 0;border-bottom:1px solid var(--rule);
}
.def dt{font-weight:600;font-size:16.5px}
.def dd{margin:0;color:var(--grey);font-size:16px}
.def dd b{color:var(--ink);font-weight:500}
@media (max-width:700px){ .def{grid-template-columns:1fr;gap:3px} }

/* ---------- priced list ---------- */
.offer{border-top:1px solid var(--rule);margin-top:28px;max-width:50rem}
.offer .item{padding:24px 0;border-bottom:1px solid var(--rule)}
.offer .top{display:flex;justify-content:space-between;gap:20px;align-items:baseline;flex-wrap:wrap}
.offer h3{margin:0;font-size:20px}
.offer .fee{font-family:var(--mono);font-size:14px;color:var(--ink);white-space:nowrap}
.offer p{margin:9px 0 0;color:var(--grey);max-width:50rem}
.offer .item.quiet h3,.offer .item.quiet .fee{color:var(--grey)}

/* ---------- registry table ---------- */
.reg{width:100%;max-width:50rem;border-collapse:collapse;margin-top:24px;font-size:15.5px}
.reg th{
  text-align:left;font-family:var(--mono);font-weight:400;
  font-size:11.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--grey);
  padding:0 14px 10px 0;border-bottom:1.5px solid var(--ink);
}
.reg td{padding:14px 14px 14px 0;border-bottom:1px solid var(--rule);vertical-align:top}
.reg td.id,.reg td.when{font-family:var(--mono);font-size:13.5px;color:var(--grey);white-space:nowrap}
.reg td.basis{font-family:var(--mono);font-size:13px}
.tag{font-family:var(--mono);font-size:12.5px;padding:2px 8px;border:1px solid var(--rule);border-radius:2px;white-space:nowrap}
.tag.open{color:var(--grey)}
.tag.held{color:var(--ink);border-color:var(--ink)}
.tag.failed{color:var(--red);border-color:var(--red)}
@media (max-width:760px){
  .reg,.reg tbody,.reg tr,.reg td{display:block;width:100%}
  .reg thead{display:none}
  .reg tr{border-bottom:1px solid var(--rule);padding:16px 0}
  .reg td{border:0;padding:2px 0}
  .reg td.id{color:var(--red)}
}

/* ---------- callout ---------- */
.note{border-left:3px solid var(--red);background:var(--band);padding:20px 22px;margin:26px 0;max-width:50rem}
.note p{margin:0;max-width:none}
.note p + p{margin-top:12px}

/* ---------- links + cta ---------- */
.lnk{
  display:inline-block;font-weight:500;text-decoration:none;
  border-bottom:2px solid var(--red);padding-bottom:1px;
}
.lnk:hover,.lnk:focus-visible{border-bottom-color:var(--ink)}
.stage .lnk{border-bottom-color:var(--red)}
.stage .lnk:hover{border-bottom-color:var(--paper)}

/* ---------- foot ---------- */
.foot{background:var(--ink);color:var(--mist);padding:40px 0;font-size:14px;line-height:1.75}
.foot a{color:var(--paper);text-decoration:none;border-bottom:1px solid var(--rule-dark)}
.foot a:hover{border-bottom-color:var(--red)}
.foot .cols{display:flex;gap:40px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start}
.foot p{max-width:38rem;margin:0 0 10px}

:focus-visible{outline:2px solid var(--red);outline-offset:3px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
