/* INSTABUXX — public marketing site.
   Layered on top of material.css; only affects pages outside the dashboard. */

:root {
  --ink: #0f1e17;
  --ink-2: #3d5147;
  --ink-3: #6b7f74;
  --paper: #ffffff;
  --paper-2: #f4f8f5;
  --paper-3: #e9f0eb;
  --line: rgba(15, 30, 23, .10);

  --green-900: #0d3b1e;
  --green-700: #14612f;
  --green-600: #1b7a3c;
  --green-500: #2e9d52;
  --green-100: #e3f4e8;

  --amber: #f5a623;
  --amber-100: #fef3dd;
  --coral: #e2574c;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(13, 59, 30, .06), 0 2px 8px rgba(13, 59, 30, .05);
  --sh-2: 0 4px 12px rgba(13, 59, 30, .08), 0 12px 32px rgba(13, 59, 30, .07);
  --sh-3: 0 12px 28px rgba(13, 59, 30, .12), 0 28px 64px rgba(13, 59, 30, .10);

  --measure: 68ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eaf2ed;
    --ink-2: #b6c6bc;
    --ink-3: #8ba096;
    --paper: #101713;
    --paper-2: #161f1a;
    --paper-3: #1d2822;
    --line: rgba(255, 255, 255, .10);
    --green-100: #16301f;
    --amber-100: #2c2314;
    --sh-1: 0 1px 2px rgba(0,0,0,.4);
    --sh-2: 0 4px 12px rgba(0,0,0,.45);
    --sh-3: 0 12px 28px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --ink: #eaf2ed; --ink-2: #b6c6bc; --ink-3: #8ba096;
  --paper: #101713; --paper-2: #161f1a; --paper-3: #1d2822;
  --line: rgba(255,255,255,.10); --green-100: #16301f; --amber-100: #2c2314;
}
:root[data-theme="light"] {
  --ink: #0f1e17; --ink-2: #3d5147; --ink-3: #6b7f74;
  --paper: #ffffff; --paper-2: #f4f8f5; --paper-3: #e9f0eb;
  --line: rgba(15,30,23,.10); --green-100: #e3f4e8; --amber-100: #fef3dd;
}

/* ---------------------------------------------------------------- shell */
body.ibx-public {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.ibx-public h1, .ibx-public h2, .ibx-public h3,
.ibx-public h4, .ibx-public .display {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.ibx-public p { color: var(--ink-2); }
.ibx-public a { color: var(--green-600); text-decoration: none; }
.ibx-public a:hover { color: var(--green-700); text-decoration: underline; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.measure { max-width: var(--measure); }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--green-900); }
.section--ink h2, .section--ink h3, .section--ink p, .section--ink li { color: #eaf2ed; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-600);
  background: var(--green-100); padding: .35rem .8rem;
  border-radius: var(--r-pill); margin-bottom: 1rem;
}
.section--ink .eyebrow { color: #a9e8bd; background: rgba(255,255,255,.10); }

.h-display { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
.h-section { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: .6rem; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-2); }

/* ------------------------------------------------------------- top nav */
.ibx-topnav {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) {
  .ibx-topnav { background: rgba(16,23,19,.88); }
}
:root[data-theme="dark"] .ibx-topnav { background: rgba(16,23,19,.88); }
:root[data-theme="light"] .ibx-topnav { background: rgba(255,255,255,.88); }

.ibx-topnav .nav-link {
  color: var(--ink-2) !important; font-weight: 500; font-size: .95rem;
  padding: .5rem .85rem; border-radius: var(--r-sm);
}
.ibx-topnav .nav-link:hover { color: var(--green-700) !important; background: var(--green-100); }
.ibx-topnav .nav-link.is-active { color: var(--green-700) !important; font-weight: 600; }
.ibx-topnav .navbar-brand img { height: 34px; }
.ibx-topnav .dropdown-menu {
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-2); padding: .5rem; min-width: 16rem;
  background: var(--paper);
}
.ibx-topnav .dropdown-item {
  border-radius: var(--r-sm); padding: .6rem .75rem; color: var(--ink) !important;
  white-space: normal;
}
.ibx-topnav .dropdown-item:hover { background: var(--green-100); }
.ibx-topnav .dropdown-item small { color: var(--ink-3); display: block; font-size: .8rem; }

/* ------------------------------------------------------------- buttons */
.btn-ibx {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; border-radius: var(--r-pill);
  padding: .8rem 1.6rem; border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none !important; cursor: pointer;
}
.btn-ibx:hover { transform: translateY(-1px); }
.btn-ibx:active { transform: translateY(0); }
.btn-ibx--primary { background: var(--green-600); color: #fff !important; box-shadow: var(--sh-1); }
.btn-ibx--primary:hover { background: var(--green-700); box-shadow: var(--sh-2); }
.btn-ibx--amber { background: var(--amber); color: #241a04 !important; box-shadow: var(--sh-1); }
.btn-ibx--amber:hover { background: #e2960f; box-shadow: var(--sh-2); }
.btn-ibx--ghost { border-color: var(--line); color: var(--ink) !important; background: var(--paper); }
.btn-ibx--ghost:hover { border-color: var(--green-500); color: var(--green-700) !important; }
.btn-ibx--onink { background: rgba(255,255,255,.12); color: #fff !important; border-color: rgba(255,255,255,.28); }
.btn-ibx--onink:hover { background: rgba(255,255,255,.2); }
.btn-ibx--lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-ibx--sm { padding: .5rem 1.1rem; font-size: .9rem; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 12% -10%, rgba(46,157,82,.20), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(245,166,35,.16), transparent 60%),
    var(--paper);
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 5rem);
}
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 992px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }

.hero__title { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
.hero__title .grad {
  background: linear-gradient(100deg, var(--green-600), var(--green-500) 45%, var(--amber));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lede { font-size: clamp(1.05rem, 1.7vw, 1.28rem); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__note { font-size: .88rem; color: var(--ink-3); margin-top: 1rem; }

.hero__panel {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-3);
  padding: 1.5rem;
}
.hero__panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-bottom: .9rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.hero__panel-head h3 { font-size: 1.05rem; margin: 0; }

/* ----------------------------------------------------------- rate band */
.ratestrip {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; margin-top: 2.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .ratestrip { grid-template-columns: repeat(4, 1fr); } }
.ratestrip > div { background: var(--paper); padding: 1.1rem 1.25rem; }
.ratestrip dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; }
.ratestrip dd { margin: .25rem 0 0; font-size: 1.5rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ratestrip dd small { font-size: .82rem; font-weight: 500; color: var(--ink-3); }

/* --------------------------------------------------------- audience duo */
.duo { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }

.pathcard {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper); box-shadow: var(--sh-1);
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex; flex-direction: column;
}
.pathcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.pathcard--borrow { background: linear-gradient(170deg, var(--green-100), var(--paper) 55%); }
.pathcard--lend { background: linear-gradient(170deg, var(--amber-100), var(--paper) 55%); }
.pathcard__icon {
  width: 52px; height: 52px; border-radius: var(--r);
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--paper); box-shadow: var(--sh-1);
}
.pathcard__icon .material-icons { font-size: 26px; }
.pathcard--borrow .pathcard__icon .material-icons { color: var(--green-600); }
.pathcard--lend .pathcard__icon .material-icons { color: #c07d05; }
.pathcard h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.pathcard ul { list-style: none; padding: 0; margin: 1.1rem 0 1.5rem; }
.pathcard li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; color: var(--ink-2); }
.pathcard li .material-icons { font-size: 19px; color: var(--green-600); flex: 0 0 auto; margin-top: .15rem; }
.pathcard--lend li .material-icons { color: #c07d05; }
.pathcard__foot { margin-top: auto; }
.pathcard__tag {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,.75); color: var(--ink-2); border: 1px solid var(--line);
}

/* --------------------------------------------------------------- steps */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.5rem 1.35rem 1.35rem; box-shadow: var(--sh-1);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -14px; left: 1.35rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-600); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
  box-shadow: var(--sh-1);
}
.step h4 { font-size: 1.05rem; margin: .35rem 0 .4rem; }
.step p { font-size: .93rem; margin: 0; }

/* ------------------------------------------------------------ features */
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.feature {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.6rem 1.4rem; box-shadow: var(--sh-1);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.feature__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green-100);
  display: grid; place-items: center; margin-bottom: .9rem;
}
.feature__icon .material-icons { color: var(--green-600); font-size: 23px; }
.feature h4 { font-size: 1.06rem; margin-bottom: .35rem; }
.feature p { font-size: .93rem; margin: 0; }

/* --------------------------------------------------------------- table */
.ibx-compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.ibx-compare th, .ibx-compare td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.ibx-compare thead th {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); background: var(--paper-2);
}
.ibx-compare tbody tr:last-child td { border-bottom: 0; }
.ibx-compare .yes { color: var(--green-600); font-weight: 600; }
.ibx-compare .no { color: var(--coral); font-weight: 600; }
.table-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1);
}
.table-scroll { overflow-x: auto; }

/* ---------------------------------------------------------- testimonial */
.quotes { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.6rem 1.4rem; box-shadow: var(--sh-1);
  display: flex; flex-direction: column; gap: 1rem;
}
.quote__mark { font-size: 2.4rem; line-height: 1; color: var(--green-500); opacity: .35; font-family: Georgia, serif; }
.quote p { font-size: .96rem; margin: 0; flex: 1; }
.quote__who { display: flex; align-items: center; gap: .7rem; }
.quote__av {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  background: var(--green-600); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: .9rem;
}
.quote__who strong { display: block; font-size: .92rem; color: var(--ink); }
.quote__who span { font-size: .8rem; color: var(--ink-3); }

/* ----------------------------------------------------------------- FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: 'add'; font-family: 'Material Icons'; font-size: 20px; color: var(--ink-3);
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: 'remove'; }
.faq details[open] summary { color: var(--green-700); }
.faq .faq__body { padding: 0 1.25rem 1.25rem; }
.faq .faq__body p { margin: 0; font-size: .95rem; }

/* ----------------------------------------------------------------- CTA */
.cta {
  background: linear-gradient(120deg, var(--green-900), var(--green-700) 60%, var(--green-600));
  border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem);
  color: #fff; text-align: center; box-shadow: var(--sh-3);
}
.cta h2 { color: #fff; margin-bottom: .6rem; }
.cta p { color: rgba(255,255,255,.86); max-width: 46ch; margin-inline: auto; }
.cta__row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }

/* -------------------------------------------------------------- footer */
.ibx-foot { background: #0a1510; color: #b6c6bc; padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.ibx-foot h5 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.ibx-foot a { color: #b6c6bc; text-decoration: none; }
.ibx-foot a:hover { color: #fff; text-decoration: underline; }
.ibx-foot ul { list-style: none; padding: 0; margin: 0; }
.ibx-foot li { padding: .28rem 0; font-size: .93rem; }
.ibx-foot__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ibx-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .ibx-foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.ibx-foot__bar {
  border-top: 1px solid rgba(255,255,255,.10); margin-top: 2.5rem; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between;
  font-size: .85rem; color: #8ba096;
}
.ibx-foot__brand img { height: 34px; background: #fff; border-radius: 6px; padding: 3px 7px; }

/* ------------------------------------------------------------ calculator */
.calc { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .calc { grid-template-columns: 1.1fr .9fr; } }
.calc__panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem,3vw,2rem); box-shadow: var(--sh-1); }
.calc__out { background: linear-gradient(170deg, var(--green-900), var(--green-700)); color: #fff; border-radius: var(--r-lg); padding: clamp(1.4rem,3vw,2rem); box-shadow: var(--sh-2); }
.calc__out h3 { color: #fff; }
.calc__big { font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.calc__line { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed rgba(255,255,255,.18); font-size: .95rem; }
.calc__line:last-child { border-bottom: 0; }
.calc__line span:first-child { color: rgba(255,255,255,.78); }
.calc__line span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; accent-color: var(--green-600); }
.calc__val { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__warn { background: var(--amber-100); border: 1px solid rgba(245,166,35,.4); border-radius: var(--r-sm); padding: .75rem 1rem; font-size: .9rem; color: var(--ink-2); }

/* --------------------------------------------------------------- misc */
.pagehero {
  background:
    radial-gradient(900px 380px at 8% -20%, rgba(46,157,82,.18), transparent 60%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.2rem, 5vw, 3.6rem) 0;
}
.crumbs { font-size: .87rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--green-700); }

.prose { max-width: var(--measure); }
.prose h3 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.prose h4 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { padding: .2rem 0; }
.prose strong { color: var(--ink); }

.callout {
  border-left: 3px solid var(--green-500); background: var(--paper-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.callout--warn { border-left-color: var(--amber); background: var(--amber-100); }
.callout p:last-child { margin-bottom: 0; }

.infocard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--sh-1); height: 100%; }
.infocard h4 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; margin-bottom: .75rem; }
.infocard h4 .material-icons { color: var(--green-600); font-size: 20px; }
.infocard address { font-style: normal; color: var(--ink-2); margin: 0; font-size: .95rem; }

img { max-width: 100%; height: auto; }
.shot { border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--sh-2); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .btn-ibx:hover, .feature:hover, .pathcard:hover { transform: none; }
}

/* ------------------------------------------------- numbered stage cards */
/* Used by the borrowing walkthrough. The old flat prose run had no vertical
   separation between stages, so headings collided with the list above them. */
.stagecard {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding-bottom: 2rem;
}

.stagecard__num {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-600); color: #fff;
  font-weight: 700; font-size: 1.05rem;
  box-shadow: var(--sh-1);
  z-index: 1;
}

/* connector down to the next stage */
.stagecard:not(.stagecard--last) .stagecard__num::after {
  content: '';
  position: absolute;
  top: 44px; left: 50%;
  width: 2px; height: calc(100% + 2rem);
  transform: translateX(-50%);
  background: linear-gradient(var(--green-500), var(--line));
}

.stagecard__body { min-width: 0; padding-top: .35rem; }

.stagecard__body h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin: 0 0 .85rem;
}

.stagecard .callout { margin: 1.25rem 0 0; }

@media (max-width: 575.98px) {
  .stagecard { grid-template-columns: 34px 1fr; gap: .75rem; }
  .stagecard__num { width: 34px; height: 34px; font-size: .9rem; }
  .stagecard:not(.stagecard--last) .stagecard__num::after { top: 34px; }
}

/* ------------------------------------------------------------ tick list */
.ticks { list-style: none; padding: 0; margin: 0; }

.ticks li {
  position: relative;
  padding: .3rem 0 .3rem 1.6rem;
  color: var(--ink-2);
}

.ticks li::before {
  content: 'check_circle';
  font-family: 'Material Icons';
  font-size: 18px;
  line-height: 1.5;
  color: var(--green-500);
  position: absolute; left: 0; top: .28rem;
}

.ticks--tight li { padding-top: .2rem; padding-bottom: .2rem; font-size: .93rem; }

/* ------------------------------------------------------- little ledger */
.ledger > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .93rem;
}
.ledger > div:last-child { border-bottom: 0; }
.ledger span:first-child { color: var(--ink-3); }
.ledger span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.ledger .good { color: var(--green-600); }
.ledger .bad { color: var(--coral); }

/* ------------------------------------------------------- sticky sidebar */
@media (min-width: 992px) {
  .sticky-side { position: sticky; top: 5.5rem; }
}
