/* The $BORRO Drip band (drip-band.js), on the landing's hero and at the top of Markets, and "Your APR" on every deposit
   form. Dark glass on the night, a short VHS label stripe at the top edge; the dollars a day and a deposit's rate are
   the loudest numbers in their place. Every number in tabular figures. */

.dband {
  position: relative; overflow: hidden; margin-top: 28px; padding: 20px 22px 16px; border-radius: 14px;
  background: rgba(8, 9, 30, .62); border: 1px solid rgba(160, 168, 255, .2); color: #f2f3ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 48px -30px rgba(0, 0, 0, .9);
}
.dband::before {
  content: ""; position: absolute; left: 22px; top: 0; width: 72px; height: 3px;
  background: linear-gradient(90deg, #ff4f9a 0 33.4%, #ffd83a 33.4% 66.7%, #3fe0b5 66.7%);
}
.dband .db-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dband .db-top h2 { margin: 0; font-size: 15px; font-weight: 700; font-stretch: 100%; letter-spacing: 0; line-height: 1.3; color: #f2f3ff; }
.dband .db-go { flex: none; font-size: 14px; font-weight: 700; color: #ffd83a; text-decoration: underline; text-decoration-color: rgba(255, 216, 58, .45); text-underline-offset: 4px; }
.dband .db-go:hover { text-decoration-color: #ffd83a; }
.dband .db-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.dband .db-fig { min-width: 0; }
.dband .db-fig + .db-fig { padding-left: 16px; border-left: 1px solid rgba(160, 168, 255, .16); }
.dband .db-fig b {
  display: block; font-size: clamp(32px, 3.4vw, 42px); font-weight: 800; font-stretch: 100%; line-height: 1.02; letter-spacing: -.025em;
  color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.dband .db-fig span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.3; color: #b9bde3; }
.dband .db-split { max-width: none; margin: 12px 0 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: #3fe0b5; }
.dband .db-board { width: 100%; margin-top: 14px; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.dband .db-board caption { caption-side: top; padding: 0 0 6px; text-align: left; font-size: 13px; font-weight: 700; color: #d6d8f5; }
.dband .db-board th, .dband .db-board td { padding: 7px 0; text-align: right; border-top: 1px solid rgba(160, 168, 255, .14); white-space: nowrap; }
.dband .db-board thead th { padding-top: 2px; border-top: 0; font-size: 12.5px; font-weight: 600; color: #8f94c2; }
.dband .db-board th:first-child { text-align: left; }
.dband .db-board tbody th { font-weight: 600; color: #d6d8f5; }
.dband .db-board td { width: 32%; font-weight: 700; color: #fff; }
.dband .db-note, .dband .db-sched { max-width: none; margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: #9da2cc; }
.dband .db-sched { margin-top: 2px; }
.dband .db-sched:empty { display: none; }

/* Your APR: the rate the amount typed would get, the biggest number in its form. */
.yapr {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 12px; margin-top: 14px; padding: 14px 16px 12px;
  border-radius: 12px; background: #0d0f2e; color: #f2f3ff; box-shadow: inset 0 0 0 1px rgba(160, 168, 255, .16);
}
.yapr .yapr-k { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: #b9bde3; }
.yapr .yapr-v {
  font-size: clamp(40px, 4.6vw, 54px); font-weight: 800; font-stretch: 100%; line-height: 1; letter-spacing: -.03em; color: #3fe0b5;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.yapr .yapr-on { min-width: 0; font-size: 14px; font-weight: 600; color: #e3e5fb; }
.yapr .yapr-note { grid-column: 1 / -1; max-width: none; margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: #9da2cc; }
.yapr.sm { padding: 12px 14px 10px; }
.yapr.sm .yapr-v { font-size: 32px; }

@media (max-width: 620px) {
  .dband { padding: 18px 16px 14px; }
  .dband::before { left: 16px; }
  .dband .db-fig b { font-size: 30px; }
  .dband .db-board { font-size: 14px; }
  .yapr .yapr-v { font-size: 40px; }
}
