/* The four cost guides under the Pricing hub (scripts/build_costs.py). Everything else is the hub's kit (main.css: the
   price table pP1, the choice panel ch, the covers card cv, ag__checks); these are the few pieces the hub does not have.
   No decorative dashes, no numbers on cards, flame / ice only. */

/* the short answer: one plate on the photo band */
.cs-ans .mhead { margin-bottom: 30px; }
.cs-ans__plate { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; align-items: start; max-width: 940px; margin: 0 auto; padding: 32px 36px;
  border-radius: 22px; background: rgba(11, 22, 34, .62); box-shadow: inset 0 0 0 1px rgba(247, 249, 251, .16), 0 40px 60px -36px rgba(0, 0, 0, .8); }
.cs-ans__ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; font-size: 24px; color: #FFFFFF;
  background: linear-gradient(145deg, #F7934A, #F0641E 50%, #C4411A); }
.cs-ans__p { font-size: 20px; line-height: 1.65; font-weight: 400; color: #F7F9FB; text-wrap: pretty; }
@media (max-width: 639px) { .cs-ans__plate { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; } .cs-ans__p { font-size: 18px; } }

/* the fee table's lead (it carries the link to every other fee) */
.cs-fees .mhead .lead a, .cs-nextwrap a, .cs-money a { color: #0E67A8; font-weight: 700; text-underline-offset: 3px; }
.cs-fees .mhead .lead a:hover, .cs-nextwrap a:hover, .cs-money a:hover { color: #C4411A; }

/* the visit: the hub's choice panel, alone */
.ch.cs-one { grid-template-columns: minmax(0, 1fr); max-width: 880px; margin-inline: auto; }

/* the six price drivers: light cards, flame and ice tints */
.cs-fx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cs-fx__card { display: grid; align-content: start; gap: 10px; padding: 28px 26px 26px; border-radius: 20px; background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px -32px rgba(11, 22, 34, .45); }
.cs-fx__card--flame { background: linear-gradient(180deg, #FFF4EE, #FFFFFF 70%); }
.cs-fx__card--ice { background: linear-gradient(180deg, #EEF6FC, #FFFFFF 70%); }
.cs-fx__t { font: 700 25px/1.15 var(--fd); letter-spacing: .01em; color: var(--night); }
.cs-fx__card--flame .cs-fx__t { color: #A8360F; }
.cs-fx__card--ice .cs-fx__t { color: #0A4F80; }
.cs-fx__card p { font-size: 16px; line-height: 1.65; color: #33404D; }
.cs-fx__card a { color: #0E67A8; font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 1023px) { .cs-fx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .cs-fx { grid-template-columns: 1fr; } }

/* the hub's price table with three columns (by size / by output) and as a comparison (no prices) */
.pP1__card.cs-wide { max-width: 1040px; }
.pP1__t--3 tbody td:not(:last-child), .pP1__t--3 thead th:not(:first-child):not(:last-child) { text-align: left; }
.pP1__t--3 tbody td:not(:last-child) { font: 500 16px/1.45 var(--fb); color: #33404D; white-space: normal; }
.pP1__t--cmp thead th, .pP1__t--cmp tbody td { text-align: left !important; }
.pP1__t--cmp tbody td { font: 500 16px/1.45 var(--fb) !important; color: #33404D; white-space: normal; }
.pP1__t--cmp tbody th { font-weight: 700; }
.cs-after { color: rgba(247, 249, 251, .86); }
.cs-after a { color: #FFC9A6; font-weight: 700; text-underline-offset: 3px; }
.cs-after a:hover { color: #FFFFFF; }
@media (max-width: 767px) {
  /* phones: each row stacks its cells under the row name, the column name in front of each value */
  .pP1__t--3 thead, .pP1__t--cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pP1__t--3 tr, .pP1__t--cmp tr { display: grid; padding: 14px 18px; border-top: 1px solid var(--line); }
  .pP1__t--3 tbody tr:first-child, .pP1__t--cmp tbody tr:first-child { border-top: 0; }
  .pP1__t--3 tbody th, .pP1__t--3 tbody td, .pP1__t--cmp tbody th, .pP1__t--cmp tbody td { display: block; padding: 4px 0 !important; border: 0; text-align: left !important; }
  .pP1__t--3 tbody td::before, .pP1__t--cmp tbody td::before { content: attr(data-h); display: block; font: 700 12px/1.3 var(--fb); letter-spacing: .08em; text-transform: uppercase; color: #6B7785; }
}

/* the one covers card, centred */
.cv__grid.cs-cv1 { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.cs-cv1 .ag__checks { padding-top: 18px; }

/* repair or replace on the photo band */
.cs-dec__body { display: grid; gap: 18px; max-width: 980px; margin: 0 auto; }
.cs-dec__p { font-size: 17.5px; line-height: 1.7; color: rgba(247, 249, 251, .9); }
.cs-dec__p a { color: #FFC9A6; font-weight: 700; text-underline-offset: 3px; }
.cs-dec__p a:hover { color: #FFFFFF; }
.cs-dec__body .pP1__card { margin: 6px 0; max-width: none; }
.cs-dec__ex { display: grid; gap: 12px; margin: 4px 0; padding: 0; list-style: none; }
.cs-dec__ex li { padding: 18px 22px; border-radius: 16px; background: rgba(11, 22, 34, .6); box-shadow: inset 0 0 0 1px rgba(247, 249, 251, .16);
  font-size: 17px; line-height: 1.6; color: rgba(247, 249, 251, .9); }
.cs-dec__ex li b { color: #FFFFFF; }
.cs-dec__ex--q li { position: relative; padding-left: 58px; font-weight: 600; color: #FFFFFF; }
.cs-dec__ex--q li::before { content: "?"; position: absolute; left: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; display: grid; place-items: center;
  border-radius: 50%; font: 700 15px/1 var(--fb); color: #FFFFFF; background: linear-gradient(145deg, #F7934A, #F0641E 50%, #C4411A); }

/* GreenSky: one light panel */
.cs-money { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 26px; align-items: start; max-width: 980px; margin: 0 auto; padding: 40px 44px;
  border-radius: 24px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line), 0 30px 50px -36px rgba(11, 22, 34, .45); }
.cs-money__ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; font-size: 28px; color: #FFFFFF;
  background: linear-gradient(145deg, #5FB3EC, #1E88D6 48%, #0E67A8); }
.cs-money .h2 { font-size: 40px; }
.cs-money p { margin-top: 14px; font-size: 17px; line-height: 1.7; color: #33404D; }
@media (max-width: 639px) { .cs-money { grid-template-columns: 1fr; gap: 16px; padding: 28px 22px; } .cs-money .h2 { font-size: 30px; } }

/* the ways to keep the bill down: a glass checklist on the photo band */
.cs-tips .mhead { margin-bottom: 30px; }
.cs-tips__card { max-width: 760px; margin: 0 auto; border-radius: 22px; background: rgba(11, 22, 34, .62); box-shadow: inset 0 0 0 1px rgba(247, 249, 251, .16), 0 40px 60px -36px rgba(0, 0, 0, .8); }
.cs-checks { padding: 14px 30px 18px; }
.cs-checks li { color: #F7F9FB; border-top-color: rgba(247, 249, 251, .14); font-size: 17px; }
.cs-checks--heat .ag__ck { background: #F0641E; }
.cs-checks a { color: #FFC9A6; font-weight: 700; text-underline-offset: 3px; }
.cs-checks a:hover { color: #FFFFFF; }

/* after the FAQ: where to book the visit itself, every other fee */
.cs-nextwrap { max-width: 860px; margin: 40px auto 0; text-align: center; }
.cs-next { font-size: 17.5px; line-height: 1.7; color: #33404D; text-wrap: pretty; }
.cs-next + .cs-next { margin-top: 10px; }

/* the closing line sits under the whole FAQ grid (the wrap is the grid) */
.faq__grid > .cs-nextwrap { grid-column: 1 / -1; }
