/* KRIVA · /solutions/accounting-integrations · page-scoped */
body.page-accounting{
  background:#fff;
  color:var(--ink);
  overflow-x:clip;
  --qb:#2CA01C;
  --xero:#13B5EA
}
body.page-accounting main{
  color:var(--steel);
  font-size:16px;
  line-height:1.62
}

body.page-accounting .d1{
  font-size:clamp(2rem,4.8vw,4.05rem);
  line-height:.92;
  letter-spacing:-.03em;
  color:var(--ink)
}
body.page-accounting .d2{
  font-size:clamp(2rem,3.8vw,3.4rem);
  line-height:1.08;
  letter-spacing:-.025em;
  font-weight:700;
  color:var(--ink);
  max-width:16ch
}
body.page-accounting .d3{
  font-size:clamp(1.28rem,2vw,1.7rem);
  line-height:1.16;
  letter-spacing:-.022em;
  color:var(--ink)
}
body.page-accounting .lede{
  margin-top:18px;
  max-width:42ch;
  font-size:clamp(1.05rem,1.3vw,1.22rem);
  line-height:1.6;
  letter-spacing:-.01em;
  color:var(--steel)
}
body.page-accounting .body-sm{
  font-size:15px;
  line-height:1.62;
  color:var(--steel);
  max-width:48ch
}

body.page-accounting .s-head{display:block;align-items:flex-start}
body.page-accounting .s-head h2,
body.page-accounting .s-title{margin-top:18px}
body.page-accounting .s-head .lede{margin-top:18px}

body.page-accounting #plH{max-width:18ch}
body.page-accounting #probH{max-width:20em}
body.page-accounting #clH{max-width:18ch}
body.page-accounting #buildH{max-width:18ch}
body.page-accounting #arH{max-width:20ch}
body.page-accounting #pfH{max-width:20ch}
body.page-accounting #prH{max-width:18ch}
body.page-accounting #faqH{max-width:14ch}

body.page-accounting main > section{
  background:#fff;
  padding:96px 0;
  scroll-margin-top:88px
}
body.page-accounting .hero{
  background:#fff;
  color:var(--ink);
  overflow:hidden;
  padding:calc(72px + 48px) 0 48px;
  scroll-margin-top:88px;
  min-height:0
}
body.page-accounting .acc-band{
  background:#f7f8f9;
  border-top:1px solid #e6e7ea
}
body.page-accounting .acc-problems{
  background:var(--ink);
  color:#DDE2E7;
  border-top:0
}
body.page-accounting .acc-problems :focus-visible{outline-color:var(--amber)}
body.page-accounting .acc-problems .eyebrow{color:var(--ink-dim)}
body.page-accounting .acc-problems h2{color:#fff}
body.page-accounting .acc-problems h3{color:#fff}
body.page-accounting .acc-problems .acc-frac{border-top-color:var(--ink-line)}
body.page-accounting .acc-problems .acc-frac article{border-bottom-color:var(--ink-line)}
body.page-accounting .acc-problems .acc-frac .n{color:#3A444E;transition:color .45s var(--e)}
body.page-accounting .acc-problems .acc-frac article:hover .n{color:var(--cta)}
body.page-accounting .acc-problems .acc-frac p{color:#8C98A4}
body.page-accounting .acc-problems .acc-frac .cons{color:var(--amber)}

body.page-accounting .acc-arch{
  background:var(--ink);
  color:#DDE2E7;
  border-top:0
}
body.page-accounting .acc-arch .eyebrow{color:var(--ink-dim)}
body.page-accounting .acc-problems .acc-frac h3{color:#fff}
body.page-accounting .acc-arch h2{color:#fff}
body.page-accounting .acc-arch .lede{color:#8C98A4}

body.page-accounting main .btn{border-radius:8px}

body.page-accounting .acc-card,
body.page-accounting .trk-card{
  background:#fff;
  border:1px solid #e6e7ea;
  border-radius:12px;
  padding:32px 28px;
  min-width:0
}
body.page-accounting .acc-card h3,
body.page-accounting .trk-card h3{
  font-family:var(--f-display);
  font-weight:700;
  font-size:clamp(1.05rem,1.5vw,1.2rem);
  letter-spacing:-.02em;
  line-height:1.2;
  color:var(--ink);
  margin-bottom:10px
}
body.page-accounting .acc-card p,
body.page-accounting .acc-card li,
body.page-accounting .trk-card p,
body.page-accounting .trk-card li{
  font-size:14.5px;
  line-height:1.55;
  color:var(--steel)
}

/* ── Fit rail (reuse trucking pattern) ── */
.acc-fit{padding-top:0 !important}
.acc-fit-rail,
.trk-fit-rail{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px
}
.acc-fit-foot,
.trk-fit-foot{
  margin-top:24px;
  font-size:15px;
  line-height:1.62;
  color:var(--steel);
  max-width:62ch
}

/* ── Platforms ── */
.acc-plat{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-top:40px
}
.acc-plat .acc-card{display:flex;flex-direction:column;height:100%}
.acc-lockup{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px
}
.acc-lockup img{width:32px;height:32px;flex:none}
.acc-lockup b{
  display:block;
  font-family:var(--f-display);
  font-weight:700;
  font-size:1.15rem;
  letter-spacing:-.02em;
  color:var(--ink)
}
.acc-lockup span{
  display:block;
  margin-top:2px;
  font-family:var(--f-mono);
  font-size:9.5px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--steel)
}
.acc-plat ul{
  list-style:none;
  display:grid;
  gap:9px;
  margin-top:16px
}
.acc-plat li{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  font-size:14.5px;
  color:var(--ink);
  align-items:start
}
.acc-plat li:before{
  content:"";
  display:block;
  width:6px;
  height:6px;
  margin-top:8px;
  background:var(--rule)
}
.acc-plat article:first-child li:before{background:var(--qb)}
.acc-plat article:last-child li:before{background:var(--xero)}

/* ── Problems rows ── */
.acc-frac{margin-top:40px;border-top:1px solid #e6e7ea}
.acc-frac article{
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  gap:20px 28px;
  align-items:start;
  padding:28px 0;
  border-bottom:1px solid #e6e7ea
}
.acc-frac .n{
  font-family:var(--f-display);
  font-weight:800;
  font-size:clamp(1.35rem,2vw,1.7rem);
  letter-spacing:-.04em;
  color:var(--cta);
  line-height:1;
  padding-top:4px
}
.acc-frac h3{margin-bottom:8px;max-width:22ch}
.acc-frac p{font-size:15px;line-height:1.62;color:var(--steel);max-width:48ch;margin:0}
.acc-frac .cons{
  display:block;
  margin-top:8px;
  font-family:var(--f-mono);
  font-size:10.5px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#b45309
}

/* ── Ledger demo ── */
.acc-ledger{
  background:var(--ink);
  color:#DDE2E7;
  border:1px solid var(--ink-line);
  border-radius:12px;
  box-shadow:var(--shadow-product);
  overflow:hidden
}
.acc-lg-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 14px;
  border-bottom:1px solid var(--ink-line);
  flex-wrap:wrap
}
.acc-src{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.acc-src span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:var(--f-mono);
  font-size:9.5px;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:4px 9px;
  border:1px solid var(--ink-line);
  color:#717F8C;
  transition:color .5s var(--e),border-color .5s var(--e)
}
.acc-src span img{width:12px;height:12px}
.acc-src span.act{color:#fff;border-color:var(--sky)}
.acc-job{
  font-family:var(--f-mono);
  font-size:9.5px;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:#717F8C
}
.acc-job b{color:#fff;font-weight:400}
.acc-syncbar{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px 14px;
  border-bottom:1px solid var(--ink-line)
}
.acc-syncbar .lbl{
  font-family:var(--f-mono);
  font-size:9px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#717F8C
}
.acc-syncbar .track{
  position:relative;
  height:2px;
  background:var(--ink-line);
  overflow:hidden
}
.acc-syncbar .track i{
  position:absolute;
  inset:0;
  background:var(--sky);
  transform:scaleX(var(--p,0));
  transform-origin:0 50%;
  transition:transform .8s var(--e),background .5s var(--e)
}
.acc-ledger[data-state="4"] .acc-syncbar .track i,
.acc-ledger[data-state="5"] .acc-syncbar .track i{background:var(--amber)}
.acc-ledger[data-state="6"] .acc-syncbar .track i,
.acc-ledger[data-state="7"] .acc-syncbar .track i{background:var(--lime)}
.acc-syncbar .val{
  font-family:var(--f-mono);
  font-size:10.5px;
  color:#fff;
  font-variant-numeric:tabular-nums;
  white-space:nowrap
}
.acc-recs{border-bottom:1px solid var(--ink-line)}
.acc-rec{
  display:grid;
  grid-template-columns:74px 1fr 84px 92px;
  gap:12px;
  align-items:center;
  padding:10px 14px;
  border-bottom:1px solid #1A2027;
  font-family:var(--f-mono);
  font-size:11px;
  color:#B9C3CC;
  transition:background .4s var(--e)
}
.acc-rec:last-child{border-bottom:0}
.acc-rec .ref{color:#fff}
.acc-rec .amt{text-align:right;font-variant-numeric:tabular-nums}
.acc-rec .st{justify-self:end}
.acc-rec.flagged{background:#171310}
.acc-ledger[data-state="5"] .acc-rec.flagged,
.acc-ledger[data-state="6"] .acc-rec.flagged,
.acc-ledger[data-state="7"] .acc-rec.flagged{background:#101714}
.acc-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 8px;
  font-size:9px;
  letter-spacing:.1em;
  text-transform:uppercase;
  border:1px solid currentColor;
  transition:color .5s var(--e)
}
.acc-tag:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}
.t-idle{color:#717F8C}
.t-sync{color:var(--sky)}
.t-warn{color:var(--amber)}
.t-ok{color:var(--lime)}
.acc-exdetail{
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  transition:grid-template-rows .55s var(--e),opacity .4s var(--e)
}
.acc-exdetail>div{overflow:hidden}
.acc-ledger[data-state="4"] .acc-exdetail,
.acc-ledger[data-state="5"] .acc-exdetail{grid-template-rows:1fr;opacity:1}
.acc-exdetail-in{
  padding:12px 14px;
  border-left:2px solid var(--amber);
  background:#171310;
  border-bottom:1px solid #1A2027
}
.acc-exdetail-in b{
  display:block;
  font-family:var(--f-mono);
  font-size:11px;
  color:#fff;
  font-weight:400
}
.acc-exdetail-in span{
  display:block;
  margin-top:5px;
  font-family:var(--f-mono);
  font-size:10px;
  color:#8C98A4
}
.acc-audit{
  padding:12px 14px 14px;
  display:grid;
  gap:6px;
  min-height:92px;
  align-content:start;
  list-style:none
}
.acc-audit li{
  display:grid;
  grid-template-columns:46px 1fr;
  gap:10px;
  font-family:var(--f-mono);
  font-size:10.5px;
  color:#8C98A4;
  opacity:0;
  transform:translate3d(0,6px,0);
  transition:opacity .45s var(--e),transform .45s var(--e)
}
.acc-audit li.on{opacity:1;transform:none}
.acc-audit li u{text-decoration:none;color:#4E5A66}
.acc-audit li.warn{color:var(--amber)}
.acc-audit li.ok{color:var(--lime)}
.acc-pips{display:flex;gap:3px;padding:0 14px 14px}
.acc-pips i{flex:1;height:2px;background:var(--ink-line);transition:background .45s var(--e)}
.acc-pips i.on{background:var(--sky)}
.acc-pips i.done{background:var(--lime)}
.acc-pips i.warn{background:var(--amber)}

/* ── Close cycle story ── */
.acc-story-grid{
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:clamp(26px,4vw,72px);
  align-items:start;
  margin-top:40px
}
.acc-story-stick{position:sticky;top:104px}
.acc-beat{padding:clamp(28px,4.6vw,64px) 0;border-bottom:1px solid #e6e7ea}
.acc-beat:last-child{border-bottom:0}
.acc-beat .n{
  display:block;
  margin-bottom:12px;
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--steel);
  transition:color var(--t-fast)
}
.acc-beat h3{color:var(--steel-2);transition:color .5s var(--e);margin-bottom:12px}
.acc-beat.on h3{color:var(--ink)}
.acc-beat.on .n{color:var(--blue)}
.acc-beat.on.warn .n{color:#8A6200}

/* ── Architecture diagram ── */
.acc-arch-viz{
  margin:40px 0 0;
  border:1px solid var(--ink-line);
  border-radius:10px;
  overflow:hidden;
  background:#0a0d10
}
.acc-arch-viz img{width:100%;height:auto;display:block;opacity:.96}
.acc-arch-viz .acc-cap-note{padding:12px 14px;margin:0;background:transparent;border-top:1px solid var(--ink-line)}

/* ── Architecture flow ── */
.acc-flow{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:0;
  margin-top:40px;
  border-top:1px solid var(--ink-line)
}
.acc-node{
  position:relative;
  padding:clamp(20px,2.4vw,30px) clamp(12px,1.6vw,22px) clamp(20px,2.4vw,30px) 0;
  border-right:1px solid var(--ink-line)
}
.acc-node:last-child{border-right:0}
.acc-node:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-1px;
  height:2px;
  background:var(--sky);
  transform:scaleX(0);
  transform-origin:0 50%;
  transition:transform .6s var(--e)
}
.acc-flow.in .acc-node:before{transform:scaleX(1)}
.acc-flow.in .acc-node:nth-child(2):before{transition-delay:.12s}
.acc-flow.in .acc-node:nth-child(3):before{transition-delay:.24s}
.acc-flow.in .acc-node:nth-child(4):before{transition-delay:.36s}
.acc-flow.in .acc-node:nth-child(5):before{transition-delay:.48s}
.acc-flow.in .acc-node:nth-child(6):before{transition-delay:.6s}
.acc-flow.in .acc-node:last-child:before{background:var(--lime)}
.acc-node .nn{
  display:block;
  font-family:var(--f-mono);
  font-size:9px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#4E5A66;
  margin-bottom:12px
}
.acc-node b{
  display:block;
  font-family:var(--f-display);
  font-weight:700;
  font-size:1.02rem;
  letter-spacing:-.02em;
  color:#fff;
  margin-bottom:8px
}
.acc-node p{font-size:13px;line-height:1.5;color:#8C98A4}

/* ── Exceptions ── */
.acc-exgrid{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(26px,4vw,72px);
  align-items:start;
  margin-top:40px
}
.acc-extypes{border-top:1px solid #e6e7ea}
.acc-extype{
  display:grid;
  grid-template-columns:40px 1fr;
  gap:clamp(12px,1.6vw,18px);
  align-items:start;
  padding:clamp(16px,2vw,24px) 0;
  border-bottom:1px solid #e6e7ea
}
.acc-extype .code{
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:.1em;
  color:var(--amber);
  padding-top:4px
}
.acc-extype h3{
  font-family:var(--f-display);
  font-weight:700;
  font-size:1.08rem;
  letter-spacing:-.02em;
  margin-bottom:7px;
  color:var(--ink)
}
.acc-ex-card{
  background:var(--ink);
  color:#DDE2E7;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--ink-line)
}
.acc-ex-card-h{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  flex-wrap:wrap;
  padding:14px 16px;
  border-bottom:1px solid var(--ink-line)
}
.acc-ex-card-h b{
  font-family:var(--f-display);
  font-weight:700;
  font-size:1.05rem;
  color:#fff;
  letter-spacing:-.02em
}
.acc-ex-card-h .sev{
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:5px 8px;
  border:1px solid var(--amber);
  color:var(--amber)
}
.acc-ex-delta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:var(--ink-line);
  border-bottom:1px solid var(--ink-line)
}
.acc-ex-delta div{background:#12181E;padding:14px 16px}
.acc-ex-delta .k{
  display:block;
  font-family:var(--f-mono);
  font-size:9.5px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#717F8C;
  margin-bottom:6px
}
.acc-ex-delta .v{
  font-family:var(--f-display);
  font-weight:700;
  font-size:1.15rem;
  color:#fff;
  font-variant-numeric:tabular-nums
}
.acc-ex-delta .v.warn{color:var(--amber)}
.acc-ex-cause{
  padding:12px 16px;
  border-bottom:1px solid var(--ink-line);
  font-size:14px;
  line-height:1.55;
  color:#B9C3CC
}
.acc-ex-cause b{color:#fff;font-weight:600}
.acc-ex-actions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  padding:12px 16px;
  border-bottom:1px solid var(--ink-line)
}
.acc-ex-actions span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  font-family:var(--f-mono);
  font-size:10.5px;
  letter-spacing:.1em;
  text-transform:uppercase;
  border:1px solid var(--ink-line);
  color:#B9C3CC
}
.acc-ex-actions span.primary{background:var(--cta);border-color:var(--cta);color:#fff}
.acc-ex-foot{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:12px 16px;
  font-family:var(--f-mono);
  font-size:10.5px;
  color:#717F8C
}
.acc-ex-foot b{color:#fff;font-weight:400}
.acc-cap-note{
  margin-top:12px;
  display:flex;
  gap:11px;
  align-items:baseline;
  font-family:var(--f-mono);
  font-size:10.5px;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--steel-2)
}

/* ── Capabilities ── */
.acc-surfaces{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin-top:40px
}
.acc-surfaces .acc-card{display:flex;flex-direction:column;height:100%}
.acc-surfaces ul{
  list-style:none;
  display:grid;
  gap:8px;
  margin-top:14px
}
.acc-surfaces li{
  font-size:14.5px;
  line-height:1.55;
  color:var(--steel);
  padding-left:14px;
  position:relative
}
.acc-surfaces li:before{
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width:5px;
  height:5px;
  background:var(--rule)
}
.acc-text-link{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-top:auto;
  padding-top:22px;
  font-family:var(--f-mono);
  font-size:11.5px;
  letter-spacing:.1em;
  text-transform:uppercase;
  border-bottom:1px solid currentColor
}
.acc-text-link i{font-style:normal;transition:transform .42s var(--e)}
.acc-text-link:hover i{transform:translateX(6px)}
.acc-k{
  display:block;
  font-family:var(--f-mono);
  font-size:9.5px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--steel);
  margin-bottom:12px
}

/* ── Multi-entity matrix ── */
.acc-matrix{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin-top:40px
}
.acc-matrix .acc-card{display:flex;flex-direction:column;height:100%}
.acc-entities{
  display:grid;
  gap:5px;
  margin-top:auto;
  padding-top:18px
}
.acc-entities span{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  padding:7px 10px;
  background:#fff;
  border:1px solid #e6e7ea;
  font-family:var(--f-mono);
  font-size:10.5px;
  color:var(--steel)
}
.acc-entities span b{color:var(--ink);font-weight:400}
.acc-entities b.warn{color:var(--amber)}

/* ── Proof ── */
.acc-proof-frame{
  border:1px solid var(--ink-line);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 20px 56px -28px rgba(14,18,22,.12)
}
.acc-proof-frame img{opacity:.96}
.acc-proof-secondary-img{margin-top:16px;border-top:1px solid var(--ink-line)}
.acc-proof-steps{
  display:grid;
  gap:0;
  border-top:1px solid #e6e7ea;
  margin-top:22px
}
.acc-proof-steps div{
  display:grid;
  grid-template-columns:clamp(72px,9vw,96px) 1fr;
  gap:16px;
  padding:14px 0;
  border-bottom:1px solid #e6e7ea;
  font-size:14.5px;
  color:var(--steel);
  line-height:1.55
}
.acc-proof-steps dt{
  font-family:var(--f-mono);
  font-size:9.5px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--steel-2);
  padding-top:3px
}
.acc-scope{
  display:grid;
  border-top:1px solid #e6e7ea;
  margin-top:22px
}
.acc-scope div{
  display:grid;
  grid-template-columns:clamp(78px,10vw,110px) 1fr;
  gap:16px;
  padding:13px 0;
  border-bottom:1px solid #e6e7ea;
  font-size:14.5px;
  color:var(--steel)
}
.acc-scope dt{
  font-family:var(--f-mono);
  font-size:9.5px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--steel-2);
  padding-top:3px
}
.proof-cta{margin-top:28px}
.proof-note{
  margin-top:22px;
  font-size:13.5px;
  line-height:1.6;
  color:var(--steel-2);
  max-width:52ch
}
.acc-proof-demo{
  margin-top:14px;
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--steel-2)
}

/* ── Process ── */
.acc-process{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  margin-top:56px
}
.acc-process li{position:relative;min-width:0;padding-top:8px}
.acc-process li:not(:last-child):after{
  content:"";
  position:absolute;
  top:21px;
  left:36px;
  right:-12px;
  height:1px;
  background:var(--cta);
  opacity:.35
}
.acc-process .wk{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  margin-bottom:16px;
  border:1px solid var(--cta);
  background:#fff;
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:.08em;
  color:var(--cta)
}
.acc-process h3{margin-bottom:8px}
.acc-process p{font-size:14.5px;line-height:1.55;color:var(--steel)}
.acc-gate{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:12px;
  font-family:var(--f-mono);
  font-size:9.5px;
  letter-spacing:.11em;
  text-transform:uppercase;
  padding:3px 8px;
  border:1px solid var(--green);
  color:var(--green)
}

/* ── FAQ (match trucking) ── */
body.page-accounting .faq-sec{background:#fff}
body.page-accounting .faq-grid{
  display:grid;
  grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);
  gap:clamp(32px,5vw,80px);
  align-items:start
}
body.page-accounting .faq-grid > div:first-child{position:sticky;top:112px}
body.page-accounting .faq-list{border-top:1px solid #e6e7ea}
body.page-accounting .faq-item{border-bottom:1px solid #e6e7ea}
body.page-accounting .faq-q{
  width:100%;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 22px;
  gap:clamp(12px,2vw,24px);
  align-items:start;
  text-align:left;
  padding:22px 0
}
body.page-accounting .faq-q .qn{
  font-family:var(--f-mono);
  font-size:10.5px;
  letter-spacing:.12em;
  color:var(--steel);
  padding-top:5px
}
body.page-accounting .faq-item.open .qn{color:var(--cta)}
body.page-accounting .faq-q .qt{
  font-family:var(--f-display);
  font-weight:700;
  font-size:clamp(1.05rem,1.65vw,1.32rem);
  letter-spacing:-.02em;
  line-height:1.28;
  color:var(--ink)
}
body.page-accounting .faq-q .qi{justify-self:end;position:relative;width:22px;height:22px;margin-top:2px}
body.page-accounting .faq-q .qi:before,
body.page-accounting .faq-q .qi:after{
  content:"";
  position:absolute;
  inset:50% 2px;
  height:1px;
  background:var(--ink)
}
body.page-accounting .faq-q .qi:after{transform:rotate(90deg)}
body.page-accounting .faq-item.open .qi:after{transform:rotate(0)}
body.page-accounting .faq-a{
  display:grid;
  grid-template-rows:0fr;
  visibility:hidden;
  transition:grid-template-rows .5s var(--e),visibility 0s linear .5s
}
body.page-accounting .faq-item.open .faq-a{
  grid-template-rows:1fr;
  visibility:visible;
  transition:grid-template-rows .5s var(--e),visibility 0s linear 0s
}
body.page-accounting .faq-a>div{overflow:hidden}
body.page-accounting .faq-a-in{padding:0 0 24px calc(46px + clamp(12px,2vw,24px))}
body.page-accounting .faq-a-in p{font-size:15px;line-height:1.65;color:var(--steel);max-width:58ch}

/* ── Contact (match trucking) ── */
body.page-accounting .acc-contact,
body.page-accounting .trk-contact{
  background:#101014;
  color:#c8c9d0;
  padding:96px 0;
  scroll-margin-top:88px
}
body.page-accounting .acc-contact .eyebrow,
body.page-accounting .trk-contact .eyebrow{color:#8b8c94}
body.page-accounting .acc-contact h2,
body.page-accounting .trk-contact h2{color:#fff;margin-top:18px;max-width:16ch}
body.page-accounting .acc-contact .lede,
body.page-accounting .trk-contact .lede{color:#c8c9d0;max-width:42ch}
body.page-accounting .acc-trust,
body.page-accounting .trk-trust{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:22px;
  font-family:var(--f-mono);
  font-size:10.5px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#8b8c94
}
body.page-accounting .acc-trust span,
body.page-accounting .trk-trust span{display:inline-flex;align-items:center;gap:8px}
body.page-accounting .acc-trust span:before,
body.page-accounting .trk-trust span:before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--cta);
  flex:none
}
body.page-accounting .acc-contact .inq-grid,
body.page-accounting .trk-contact .inq-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(32px,5vw,72px);
  align-items:start
}
body.page-accounting .acc-contact .inq-form,
body.page-accounting .trk-contact .inq-form{display:grid;gap:16px;position:relative}
body.page-accounting .acc-contact .inq-form .inq-row,
body.page-accounting .trk-contact .inq-form .inq-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.page-accounting .acc-contact .inq-form label,
body.page-accounting .trk-contact .inq-form label{
  display:block;
  font-family:var(--f-mono);
  font-size:10.5px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#8b8c94;
  margin-bottom:8px
}
body.page-accounting .acc-contact .inq-form label .req,
body.page-accounting .trk-contact .inq-form label .req{color:var(--lilac);margin-left:6px}
body.page-accounting .acc-contact .inq-form label .opt,
body.page-accounting .trk-contact .inq-form label .opt{color:#6f7078;margin-left:6px;font-weight:400}
body.page-accounting .acc-contact .inq-form input,
body.page-accounting .acc-contact .inq-form textarea,
body.page-accounting .trk-contact .inq-form input,
body.page-accounting .trk-contact .inq-form textarea{
  font:inherit;
  font-size:16px;
  width:100%;
  min-height:48px;
  padding:12px 14px;
  background:#1a1a22;
  border:1px solid #2a2a32;
  border-radius:8px;
  color:#fff;
  transition:border-color var(--t-fast) var(--e),box-shadow var(--t-fast) var(--e)
}
body.page-accounting .acc-contact .inq-form textarea,
body.page-accounting .trk-contact .inq-form textarea{min-height:120px;resize:vertical;line-height:1.55}
body.page-accounting .acc-contact .inq-form input:focus,
body.page-accounting .acc-contact .inq-form textarea:focus,
body.page-accounting .trk-contact .inq-form input:focus,
body.page-accounting .trk-contact .inq-form textarea:focus{
  outline:none;
  border-color:var(--cta);
  box-shadow:0 0 0 3px rgba(79,70,229,.35)
}
body.page-accounting .acc-contact .inq-err,
body.page-accounting .trk-contact .inq-err{display:none;margin-top:6px;font-size:12px;color:#f87171}
body.page-accounting .acc-contact .inq-err.on,
body.page-accounting .trk-contact .inq-err.on{display:block}
body.page-accounting .acc-contact .inq-note,
body.page-accounting .trk-contact .inq-note{
  font-family:var(--f-mono);
  font-size:10.5px;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:#8b8c94
}
body.page-accounting .acc-contact .inq-actions,
body.page-accounting .trk-contact .inq-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
  margin-top:4px
}
body.page-accounting .acc-contact .inq-fail,
body.page-accounting .trk-contact .inq-fail{
  display:none;
  padding:12px 14px;
  border:1px solid #f87171;
  background:#2a1518;
  font-size:14px;
  color:#f87171
}
body.page-accounting .acc-contact .inq-fail.on,
body.page-accounting .trk-contact .inq-fail.on{display:block}
body.page-accounting .acc-contact .inq-done,
body.page-accounting .trk-contact .inq-done{
  display:none;
  border:1px solid #2a2a32;
  padding:28px;
  background:#1a1a22;
  border-radius:12px
}
body.page-accounting .acc-contact .inq-done.on,
body.page-accounting .trk-contact .inq-done.on{display:block}
body.page-accounting .acc-contact .inq-done h3,
body.page-accounting .trk-contact .inq-done h3{margin:0 0 10px;color:#fff}
body.page-accounting .acc-contact .inq-done p,
body.page-accounting .trk-contact .inq-done p{font-size:15px;line-height:1.7;color:#c8c9d0;max-width:42ch}
body.page-accounting .acc-contact .inq-done a,
body.page-accounting .trk-contact .inq-done a{color:#fff;border-bottom:1px solid #3a3a44}
body.page-accounting .acc-contact .inq-form.sent,
body.page-accounting .trk-contact .inq-form.sent{display:none}
body.page-accounting .acc-contact :focus-visible,
body.page-accounting .trk-contact :focus-visible{outline-color:var(--amber)}

/* ── Mobile chips ── */
body.page-accounting .mob-chips{
  display:none;
  position:sticky;
  top:58px;
  z-index:60;
  gap:8px;
  overflow-x:auto;
  padding:10px var(--gutter) 12px;
  width:100%;
  max-width:100%;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid #e6e7ea;
  scrollbar-width:none
}
body.page-accounting .mob-chips::-webkit-scrollbar{display:none}
body.page-accounting .mob-chips a{
  flex:none;
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:8px 12px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  border:1px solid #e6e7ea;
  color:var(--steel);
  background:#fff;
  white-space:nowrap
}
body.page-accounting .mob-chips a[aria-current="true"]{border-color:var(--ink);color:var(--ink)}

body.page-accounting .chapters a{color:#6f7078}
body.page-accounting .chapters a[aria-current="true"]{color:var(--ink)}
body.page-accounting .fmark img{width:min(100%,390px);opacity:.22}
body.page-accounting .fbase,
body.page-accounting .fbase a{color:#9AA5B0}

@media(max-width:1024px){
  .acc-fit-rail,
  .acc-plat,
  .acc-surfaces,
  .acc-matrix,
  .acc-story-grid,
  .acc-exgrid,
  .acc-proof-split,
  .acc-process,
  body.page-accounting .faq-grid,
  body.page-accounting .acc-contact .inq-grid,
  body.page-accounting .trk-contact .inq-grid{grid-template-columns:1fr}
  body.page-accounting .faq-grid > div:first-child{position:static}
  .acc-flow{grid-template-columns:1fr 1fr}
  .acc-node{border-bottom:1px solid var(--ink-line);padding-right:clamp(12px,2vw,20px)}
  .acc-node:nth-child(2n){border-right:0}
}
@media(max-width:1280px){
  body.page-accounting .mob-chips{display:flex !important}
}
@media(max-width:768px){
  body.page-accounting main > section,
  body.page-accounting .acc-contact,
  body.page-accounting .trk-contact{padding:64px 0}
  body.page-accounting .hero{padding:calc(58px + 32px) 0 32px}
  .acc-fit{padding-top:0 !important;padding-bottom:64px !important}
  .acc-process,
  body.page-accounting .acc-contact .inq-form .inq-row,
  body.page-accounting .trk-contact .inq-form .inq-row{grid-template-columns:1fr}
  .acc-process li:not(:last-child):after{display:none}
  .acc-story-stick{position:static;margin:0;padding:0 0 18px}
  .acc-story-stick .acc-audit{display:none}
  .acc-beat{padding-block:26px}
  .acc-ex-actions{grid-template-columns:1fr}
  .acc-ex-delta{grid-template-columns:1fr}
  .ip-actions{flex-direction:column;align-items:stretch}
  .ip-actions .btn{width:100%;justify-content:center}
  body.page-accounting .faq-q{grid-template-columns:32px minmax(0,1fr) 20px;gap:12px}
  body.page-accounting .faq-a-in{padding-left:44px}
  body.page-accounting .acc-contact .inq-actions .btn,
  body.page-accounting .trk-contact .inq-actions .btn{width:100%;justify-content:center}
  .acc-frac article{grid-template-columns:40px minmax(0,1fr);gap:14px}
}
@media(max-width:620px){
  .acc-rec{
    grid-template-columns:1fr auto;
    gap:4px 12px;
    padding:12px 14px;
    border:1px solid var(--ink-line);
    border-radius:0;
    background:#12181E
  }
  .acc-recs{
    display:grid;
    gap:8px;
    padding:10px 12px 12px;
    border-bottom:1px solid var(--ink-line);
    background:#0A0D10
  }
  .acc-rec .ref{grid-row:1;grid-column:1;font-size:12px}
  .acc-rec .amt{grid-row:1;grid-column:2;text-align:right;font-size:13px;color:#fff}
  .acc-rec .desc{grid-row:2;grid-column:1 / -1;color:#717F8C;font-size:11px}
  .acc-rec .st{grid-row:3;grid-column:1 / -1;justify-self:start;margin-top:4px}
  .acc-rec.flagged{border-color:rgba(219,155,31,.35)}
  .acc-audit{min-height:74px}
}
@media(max-width:560px){
  .acc-flow{grid-template-columns:1fr}
  .acc-node{border-right:0;padding-right:0}
  .acc-frac article{grid-template-columns:1fr;gap:8px}
  .acc-card{padding:28px 22px}
  .acc-proof-steps div,
  .acc-scope div{grid-template-columns:1fr;gap:6px}
}
@media(max-width:390px){
  body.page-accounting .d1{font-size:2.28rem}
  .proof-cta .btn{width:100%;justify-content:center}
}

@media (prefers-reduced-motion:reduce){
  html:focus-within{scroll-behavior:auto}
  *,*:before,*:after{
    animation-duration:1ms!important;
    animation-iteration-count:1!important;
    transition-duration:1ms!important;
    transition-delay:0ms!important
  }
  [data-r],[data-s]>*{opacity:1!important;transform:none!important}
  .mask span i{transform:none!important}
  .acc-audit li{opacity:1;transform:none}
}
