/* Website maintenance page: builds on the guide pages in case.css and the Care Plans block in site.css */
.mt-page :is(.work-head p, .cs-card p, .rd-col span, .mt-list li) { text-wrap: pretty; }
.mt-page .care { margin-top: 0; }
.mt-page #care .gd-src { margin-top: 26px; }
.mt-page .faq details p a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.mt-page .faq details p a:focus-visible { outline: 3px solid #2B6BE0; outline-offset: 3px; border-radius: 4px; }

/* Glance card: grows to the hero column height and ends with a cost-over-a-year chart */
.va-card { align-self: stretch; display: flex; flex-direction: column; }
.va-card .gd-note { margin-top: auto; padding-top: 20px; }
.va-year { margin-top: 24px; }
.va-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.va-sub { font: 500 14px/1 var(--grot); color: #5F6254; }
.va-bars { list-style: none; display: grid; gap: 16px; }
.va-bars li { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: baseline; }
.va-l { font: 600 16px/1.3 var(--grot); color: var(--ink); }
.va-bars b { font: 700 16px/1.3 var(--grot); color: var(--ink); font-variant-numeric: tabular-nums; }
.va-t { grid-column: 1 / -1; position: relative; height: 14px; border-radius: 99px; background: repeating-linear-gradient(90deg, transparent 0 calc(33.333% - 1.5px), #E4E1D5 calc(33.333% - 1.5px) 33.333%), #F1EFE7; }
.va-b { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 99px; transform-origin: left center; }
.va-mkt { left: 20%; width: 80%; background: repeating-linear-gradient(135deg, #A9A696 0 3px, #C9C6B8 3px 7px); }
.va-light { width: 12%; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--olive); }
.va-plus { width: 24%; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--olive); }
.va-ax { position: relative; height: 13px; margin-top: 10px; font: 500 13px/1 var(--grot); color: #5F6254; font-variant-numeric: tabular-nums; }
.va-ax span { position: absolute; top: 0; }
.va-ax span:nth-child(2) { left: 33.333%; translate: -50% 0; }
.va-ax span:nth-child(3) { left: 66.667%; translate: -50% 0; }
.va-ax span:nth-child(4) { right: 0; }
@media (prefers-reduced-motion: no-preference) {
  .va-b { animation: va-grow 1.1s var(--e) .5s both; }
  .va-bars li:nth-child(2) .va-b { animation-delay: .65s; }
  .va-bars li:nth-child(3) .va-b { animation-delay: .8s; }
}
@keyframes va-grow { from { transform: scaleX(0); } }

/* Section titles centred in their section; the italic half of light titles highlighted like the hero */
.mt-page .cs-sec .work-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.mt-page .cs-sec .work-head p { max-width: 640px; }
.mt-page :is(.work-head h2, .faq-side h2, .gd-glance h2) em { display: inline; padding: 0 .06em; background-image: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Do-it-yourself checklist: one card per rhythm */
.mt-check .n { font-size: 38px; }
.mt-list { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.mt-list li { display: flex; gap: 12px; align-items: flex-start; font: 400 17px/1.5 var(--grot); color: var(--body); }
.mt-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--grot); background: var(--olive); color: var(--lime); }

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .mt-list li { animation: cs-up linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; }
  }
}

@media (max-width: 380px) {
  .va-h { flex-wrap: wrap; gap: 6px 16px; }
  .va-h > span { white-space: nowrap; }
  .va-bars li { grid-template-columns: 1fr; gap: 4px; }
  .va-t { margin-top: 6px; }
  .va-ax span:nth-child(2), .va-ax span:nth-child(3) { display: none; }
}
