.hero h1 { max-width: 24ch; }
.task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .8rem; }
.task-grid a { display: block; padding: .85rem 1rem; border: 1px solid #9fb6dc; border-radius: .65rem; background: #eef4ff; font-weight: 700; }
.task-grid a:hover { background: #dae8ff; }
.modules-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr)); align-items: start; }
.type { color: #3a4c67; }
dt { font-weight: 700; margin-top: .75rem; }
dd { margin: .15rem 0 0; }
h4 { margin: 0 0 .55rem; font-size: 1.08rem; }
.compare, .ledger { background: #fff; margin-block: 1rem 1.5rem; table-layout: fixed; overflow-wrap: anywhere; }
.ledger th, .ledger td { padding: .65rem .55rem; }
.cell-label { display: none; }
.faq article + article { margin-top: 1.4rem; }
@media (max-width: 48rem) {
  .compare, .ledger, .compare tbody, .ledger tbody, .compare tr, .ledger tr { display: block; }
  .compare thead, .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tbody tr, .ledger tbody tr { border: 1px solid #bfcde3; border-radius: .6rem; margin-bottom: .8rem; padding: .25rem; }
  .compare td, .ledger td, .compare tbody th, .ledger tbody th { display: block; }
  .compare tbody th, .ledger tbody th { background: #e8f0ff; border-radius: .35rem; }
  .ledger td:nth-child(4), .ledger td:nth-child(5) { background: #f1f5fd; margin: .2rem 0; }
  .cell-label { display: block; font-weight: 750; }
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
}
.visual-split h1 { font-size: clamp(2.15rem, 5.4vw, 4.2rem); }
.finance-photo {
  margin: 0;
  overflow: hidden;
  border: 2px solid #75baff;
  border-radius: 1rem;
  box-shadow: 0 0 1.4rem #2795ff5c, 0 .7rem 1.8rem #07162a48;
}
.finance-photo img { display: block; width: 100%; height: auto; }
.case-intro { margin-bottom: 1.5rem; }
.case-intro .finance-photo { max-width: 28rem; justify-self: end; }
.task-grid a, .modules-grid .card, .actions .button {
  border-color: #5ba6f9;
  box-shadow: 0 0 .8rem #187ee830, inset 0 0 .45rem #469cff19;
}
.modules-grid .card { border-top: 2px solid #2683e8; }
.task-grid a:hover, .task-grid a:focus-visible,
.actions .button:hover, .actions .button:focus-visible {
  border-color: #146cd4;
  box-shadow: 0 0 1rem #197ef647, inset 0 0 .5rem #469cff24;
}
.hero .toc { gap: .7rem; }
.hero .toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .7rem;
  border: 1px solid #78baff;
  border-radius: .6rem;
  background: #0b234b;
  box-shadow: 0 0 .65rem #55aaff55;
}
.hero .toc a:focus-visible { outline-color: #fff; }
@media (max-width: 48rem) {
  .visual-split { grid-template-columns: minmax(0, 1fr); }
  .case-intro .finance-photo { justify-self: start; }
}
