/* =============================================================================
   Auto Loan Status — app shell
   Mobile-first, single stylesheet, no framework.
   ========================================================================== */

:root {
  --bg:            #f1f4f2;
  --surface:       #ffffff;
  --surface-alt:   #f7faf8;
  --border:        #e2e7e4;
  --border-strong: #cfd7d2;

  --text:          #16201b;
  --text-muted:    #5a6862;
  --text-faint:    #8a958f;

  --brand:         #0b6b3a;
  --brand-dark:    #085129;
  --brand-tint:    #e6f4ec;

  --good:          #0b6b3a;
  --good-tint:     #e6f4ec;
  --warn:          #8a5300;
  --warn-tint:     #fdf1de;
  --info:          #0a5199;
  --info-tint:     #e7f0fb;
  --neutral:       #4c5a54;
  --neutral-tint:  #eef1ef;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 18px;

  --shadow: 0 1px 2px rgba(16, 32, 24, .06), 0 1px 8px rgba(16, 32, 24, .04);

  --appbar-h: 48px;
  --tabbar-h: 60px;

  --maxw: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: var(--brand); text-decoration: none; }

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

.muted { color: var(--text-muted); }

/* ---------- icons -------------------------------------------------------- */
.ico       { width: 22px; height: 22px; flex: 0 0 auto; }
.ico-xs    { width: 15px; height: 15px; }
.ico-sm    { width: 18px; height: 18px; }
.ico-lg    { width: 32px; height: 32px; }

/* =============================================================================
   App bar
   ========================================================================== */

.appbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/*
 * Coloured title strip. Full-bleed, so the background lives here rather than on
 * the width-capped .appbar-inner. The safe-area inset is padded here too, or an
 * iPhone notch shows a white band above the colour.
 *
 * White on these greens is 6.5:1 at the dark stop and 4.9:1 at the light one -
 * both clear AA. Do not lighten the gradient further without rechecking.
 */
.appbar-top {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 58%, #0e8347 100%);
  color: #fff;
  padding-top: env(safe-area-inset-top, 0px);
}

/* the tab row deliberately stays on white - a fully coloured header reads heavy */
.subtabs { background: var(--surface); }

.appbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--appbar-h);
  padding: 0 12px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.appbar-title {
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appbar-actions { display: flex; align-items: center; gap: 4px; }

.iconbtn {
  position: relative;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 50%;
  color: inherit; cursor: pointer;
}
.appbar-top .iconbtn:hover  { background: rgba(255, 255, 255, .15); }
.appbar-top .iconbtn:active { background: rgba(255, 255, 255, .24); }

/* amber, not green - a green dot vanishes against a green bar */
.iconbtn .dot {
  position: absolute; top: 9px; right: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ffd24d;
  box-shadow: 0 0 0 2px rgba(6, 61, 31, .55);
}

/* ---------- sub tabs ----------------------------------------------------- */
.subtabs {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subtabs::-webkit-scrollbar { display: none; }

.subtab {
  flex: 0 0 auto;
  padding: 9px 11px 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.subtab:hover    { color: var(--text); }
.subtab.is-active{ color: var(--text); border-bottom-color: var(--brand); }

/* =============================================================================
   Layout
   ========================================================================== */

.app {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card-shaped sections keep their own padding; grouping sections stack. */
.app > section:not(.card) { display: flex; flex-direction: column; gap: 12px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card-flush { padding: 12px; }

/* ---------- section headings --------------------------------------------- */
.sechead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 0;
}
.sechead-title { font-size: 18px; }
.sechead-sub   { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.sechead-link  {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}

/* =============================================================================
   Status hero
   ========================================================================== */

/* Tighter than a normal card: this is a status readout, not a landing hero. */
.hero { border-top: 3px solid var(--neutral); padding: 13px 15px 14px; }
.hero-good    { border-top-color: var(--good); }
.hero-warn    { border-top-color: var(--warn); }
.hero-info    { border-top-color: var(--info); }
.hero-neutral { border-top-color: var(--neutral); }

.hero-statusrow {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap; margin: 0 0 8px;
}

.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  background: var(--neutral-tint); color: var(--neutral);
}
.status-good    { background: var(--good-tint);    color: var(--good); }
.status-warn    { background: var(--warn-tint);    color: var(--warn); }
.status-info    { background: var(--info-tint);    color: var(--info); }
.status-neutral { background: var(--neutral-tint); color: var(--neutral); }

.hero-date { font-size: 12px; color: var(--text-muted); }

.hero-headline { font-size: 19px; line-height: 1.24; margin-bottom: 5px; }

.hero-lender {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 5px;
}

.hero-blurb { font-size: 14px; line-height: 1.45; color: var(--text-muted); }

.hero .btn-block { margin-top: 11px; }

/* "Worth trying next" signpost, shown when no lender picked the lead up */
.hero-nextlabel {
  margin: 14px 0 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-faint);
}

.nextlist { list-style: none; margin: 0; padding: 0; }

.nextlist-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: inherit;
}
/* no bottom rule on the last row - nothing follows it inside the card */
.nextlist-item:hover .nextlist-title { color: var(--brand); }

.nextlist-ico {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
}

.nextlist-copy  { flex: 1 1 auto; min-width: 0; }
.nextlist-title { display: block; font-size: 14px; font-weight: 700; }
.nextlist-note  { display: block; font-size: 12px; color: var(--text-muted); line-height: 1.35; }
.nextlist-item > .ico { color: var(--text-faint); flex: 0 0 auto; }

/* ---------- returning visitor: collapsed status card --------------------
   Shown once someone has clicked through to the lender. The badge row stays
   so the answer is still visible at a glance; everything bulky moves behind
   the toggle.
   ---------------------------------------------------------------------- */
.hero-welcome {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 3px;
}

.hero-welcome-sub {
  font-size: 14px;
  color: var(--text-muted);
}

.hero.is-collapsed .hero-resume { margin-top: 12px; }

.hero-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 4px 0;
  background: none;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
}
.hero-toggle-chevron { transform: rotate(90deg); transition: transform .15s ease; }
.hero-toggle.is-open .hero-toggle-chevron { transform: rotate(-90deg); }

/* the toggle sits above the detail, so give it breathing room when open */
.hero-toggle.is-open + .hero-detail { padding-top: 4px; }

.hero-detail[hidden] { display: none; }

/* ---------- progress steps ----------------------------------------------- */
.steps {
  list-style: none;
  display: flex;
  margin: 12px 0 0;
  padding: 0;
}

.step {
  position: relative;
  flex: 1 1 0;
  text-align: center;
  font-size: 10px;
  line-height: 1.3;
  color: var(--text-faint);
}

.step::before {
  content: "";
  position: absolute;
  top: 8px; left: -50%;
  width: 100%; height: 2px;
  background: var(--border);
}
.step:first-child::before { display: none; }

.step-dot {
  position: relative; z-index: 1;
  width: 18px; height: 18px;
  margin: 0 auto 5px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  color: #fff;
}

.step-done                { color: var(--brand); }
.step-done::before        { background: var(--brand); }
.step-done .step-dot      { background: var(--brand); border-color: var(--brand); }

.step-current             { color: var(--text); font-weight: 700; }
.step-current::before     { background: var(--brand); }
.step-current .step-dot   {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-tint);
}

.step-label { display: block; padding: 0 2px; }

/* =============================================================================
   Next step card
   ========================================================================== */

.nextstep {
  background: linear-gradient(180deg, var(--brand-tint) 0%, var(--surface) 62%);
  border-color: #cfe6d9;
}
.nextstep-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 8px;
}
.nextstep-title { font-size: 20px; margin-bottom: 8px; }
.nextstep-blurb { font-size: 15px; color: var(--text-muted); }
.nextstep .offer-points { margin-top: 14px; }

.nextstep-kicker {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.nextstep-by {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-faint);
  text-align: center;
}

/* =============================================================================
   Offer cards
   ========================================================================== */

.offer-list { display: flex; flex-direction: column; gap: 12px; }

.offer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  box-shadow: var(--shadow);
}
.offer.is-featured { border-color: #cfe6d9; box-shadow: 0 2px 14px rgba(11, 107, 58, .10); }

.offer-head { display: flex; gap: 14px; align-items: flex-start; }

.offer-logo {
  flex: 0 0 auto;
  width: 76px; height: 56px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface-alt);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.offer-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.offer-headings { min-width: 0; }

.pill {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 11px; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase;
}

.offer-title { font-size: 17px; line-height: 1.25; }
.offer-sub   { font-size: 14px; color: var(--text-muted); margin-top: 3px; }

.offer-points {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.offer-points li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 14px; color: var(--text-muted);
}
.offer-points .ico { color: var(--brand); margin-top: 3px; }

.disclosure {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-faint);
  text-align: center;
}

/* ---------- ad wall (partner-hosted markup) ------------------------------
   aw_bhm.php and aw_quinstreet.php emit markup from the old Bootstrap theme
   (.balance-area / .container / .ba-history-inner) with hard-coded inline
   spacing and borders. We do not fork those files, so the legacy wrappers are
   flattened here instead and the v3 card supplies the frame.
   ---------------------------------------------------------------------- */
.adwall-label {
  font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-faint);
  padding: 4px 6px 10px;
}
.adwall img { margin: 0 auto; }

.adwall .balance-area,
.adwall .container,
.adwall .ba-history-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.adwall .text-center { text-align: center; }

/* the units both partners inject into */
.adwall .bhm-offer,
.adwall #qsWidgetContainer { width: 100%; }

/* partner units ship their own buttons; keep them from overflowing the card */
.adwall a, .adwall button { max-width: 100%; }
.adwall table { width: 100% !important; }

/* ---------- ad wall loading state ---------------------------------------
   Both partner units paint via their own JS, and the BHM partial is fetched
   after first paint, so the card holds a spinner until content lands. The
   padding here is what reserves the slot and stops a layout jump.
   ---------------------------------------------------------------------- */
.adwall-body { position: relative; min-height: 0; }

.adwall-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 38px 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.adwall-loading-text { line-height: 1; }

.spinner {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--brand);
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 2.4s; }
}

/* =============================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover  { background: var(--brand-dark); }
.btn-primary:active { background: #063d1f; }

.btn-ghost {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-alt); }

.btn-block { display: flex; width: 100%; margin-top: 16px; }
.btn-sm    { padding: 8px 14px; font-size: 14px; }
.btn-lg    { padding: 12px 20px; font-size: 15px; }

.offer .btn-block,
.nextstep .btn-block { margin-top: 16px; }

/* =============================================================================
   Vehicles
   ========================================================================== */

.summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.summary-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted);
}
.summary-count { font-size: 17px; margin-top: 4px; }
.summary-count strong { font-size: 20px; }
.summary-note { font-size: 12px; color: var(--text-faint); margin-top: 4px; }

/* horizontal rail on the Status tab */
.vrail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.vrail::-webkit-scrollbar { display: none; }
.vrail .vcard { flex: 0 0 172px; scroll-snap-align: start; }

/* grid on the Vehicles tab */
.vgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vcard {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  color: inherit;
  box-shadow: var(--shadow);
}
.vcard:hover { border-color: var(--border-strong); }

/* padding-box ratio rather than aspect-ratio so older mobile browsers
   still reserve the right space for the photo */
.vcard-img {
  position: relative;
  padding-top: 75%;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.vcard-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.vcard-body { padding: 10px 12px 12px; }
.vcard-title { font-size: 13px; font-weight: 700; }
.vcard-model {
  font-size: 13px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vcard-price { font-size: 13px; color: var(--brand); margin-top: 6px; }
.vcard-price strong { font-size: 15px; }
.vcard-price-special { font-style: italic; }
.vcard-meta { font-size: 12px; color: var(--text-faint); margin-top: 2px; }

.vgrid-note { font-size: 12px; color: var(--text-faint); padding: 0 2px; }
.vgrid-note-center { text-align: center; padding: 2px 2px 0; }

/* When the local feed is empty the partner offer carries the page, so give the
   featured card a little more presence than its usual treatment. */
.offers-spotlight .offer.is-featured {
  border-color: var(--brand);
  box-shadow: 0 2px 18px rgba(11, 107, 58, .16);
}

/* ---------- zip capture --------------------------------------------------- */
.zipform { margin-top: 14px; }
.zipform-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.zipform-row { display: flex; gap: 8px; }
.zipform-input {
  flex: 1 1 auto; min-width: 0;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
}
.zipform-input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }

/* =============================================================================
   Misc blocks
   ========================================================================== */

.intro-title { font-size: 20px; margin-bottom: 8px; }
.intro-blurb { font-size: 15px; color: var(--text-muted); }
.intro-tag {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-size: 13px; color: var(--text-muted);
}

.tips-title { font-size: 17px; margin-bottom: 12px; }
.tips-list  { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tips-list li { display: flex; gap: 9px; font-size: 14px; color: var(--text-muted); }
.tips-list .ico { color: var(--brand); margin-top: 3px; flex: 0 0 auto; }

.linkcard {
  display: flex; align-items: center; gap: 14px;
  color: inherit;
}
.linkcard-ico  { color: var(--brand); flex: 0 0 auto; }
.linkcard-body { flex: 1 1 auto; min-width: 0; }
.linkcard-title { display: block; font-weight: 700; }
.linkcard-sub   { display: block; font-size: 13px; color: var(--text-muted); }
.linkcard .ico  { color: var(--text-faint); }

.empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 8px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.empty .ico { color: var(--text-faint); }

/* =============================================================================
   Footer + bottom tab bar
   ========================================================================== */

.sitefoot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 16px 28px;
  text-align: center;
}
.sitefoot-legal { font-size: 11px; line-height: 1.6; color: var(--text-faint); }
.sitefoot-copy  { font-size: 11px; color: var(--text-faint); margin-top: 10px; }

.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.tab {
  flex: 1 1 0;
  min-width: 0;
  height: var(--tabbar-h);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 11px; font-weight: 600;
}
.tab-label {
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tab.is-active { color: var(--brand); }
.tab.is-active .tab-ico { transform: translateY(-1px); }

/* =============================================================================
   Bottom sheets
   ========================================================================== */

.sheet[hidden] { display: none; }

.sheet {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 60;
  display: flex; align-items: flex-end; justify-content: center;
}

.sheet-backdrop {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(11, 24, 18, .45);
}

.sheet-panel {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  max-height: 84vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 8px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  animation: sheet-up .18s ease-out;
}

@keyframes sheet-up { from { transform: translateY(14px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet-panel { animation: none; } }

.sheet-grab {
  width: 40px; height: 4px; margin: 6px auto 12px;
  border-radius: 999px; background: var(--border-strong);
}

.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sheet-title { font-size: 18px; }
.sheet-x {
  width: 34px; height: 34px;
  border: 0; background: none;
  font-size: 26px; line-height: 1;
  color: var(--text-muted); cursor: pointer;
}

.sheet-body { padding-top: 14px; display: flex; flex-direction: column; gap: 18px; }

.notice { display: flex; gap: 12px; align-items: flex-start; }
.notice-ico {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
}
.notice-title { font-size: 15px; }
.notice-body  { font-size: 14px; color: var(--text-muted); margin-top: 3px; }
.notice .btn  { margin-top: 12px; }

.deflist { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.deflist > div {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 14px;
}
.deflist dt { color: var(--text-muted); }
.deflist dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }

/* =============================================================================
   Wider screens
   ========================================================================== */

@media (min-width: 600px) {
  .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-headline { font-size: 23px; }
  .app { padding: 22px 20px 12px; }
}

@media (min-width: 900px) {
  :root { --maxw: 860px; }
  .vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vrail .vcard { flex-basis: 196px; }
}
