/* The Solutions pages (stage 3 spec 7.1), after site-picture.css and site-faq.css. The pictures
   and the hero's grid are site-picture.css's; this sheet lays out the bands around them. */

/* Seven bands, set closer than the site's default, as on the home page. */
main > .section:not(.hero) { padding-block: var(--space-8); }
main .head { margin-block-end: var(--space-6); }
.hero__copy > .eyebrow + .hero-title { margin-block-start: calc(var(--space-2) - var(--space-5)); }
.section h3 { font-size: var(--text-lg); line-height: var(--leading-title); letter-spacing: var(--track-lg); margin: 0; }
@media (max-width: 559px) { main > .section:not(.hero) { padding-block: var(--space-7); } }

/* A caption under a hero picture sits on the halo, so it carries the band's colour behind it. */
.hero__art > .shot > figcaption { justify-self: start; padding: 2px var(--space-2); margin-inline-start: calc(-1 * var(--space-2)); background: var(--paper-2); border-radius: var(--radius-inline); }

/* The agencies' overview picture: each domain names its row, and its status cell holds the pill
   over the sentence. On a phone the row stacks. */
.shot--domains tbody th { font: 600 var(--text-sm) / 1.4 var(--font-sans); letter-spacing: normal; text-transform: none; color: var(--ink); background: none; white-space: nowrap; }
.shot--domains td > span:not(.pill) { display: block; margin-block-start: var(--space-2); }
.shot--domains tr:last-child th { border-block-end: 0; }
@media (max-width: 559px) {
  .shot--domains thead { display: none; }
  .shot--domains tbody tr { display: grid; }
  .shot--domains tbody th { padding-block-end: 0; border-block-end: 0; }
}

/* A one-row picture beside the points keeps its note as a card over the window's foot. */
.see .shot--small .shot__body { padding-block-end: var(--space-7); }
.see .shot--small .shot__note { margin-block-start: calc(-1 * var(--space-6)); margin-inline-start: var(--space-5); padding: var(--space-4) var(--space-5); background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow-lift); }
@media (min-width: 860px) { .see .shot--small .shot__note { inline-size: 88%; justify-self: end; margin-inline-end: calc(-1 * var(--space-5)); } }

/* What goes wrong: three cards. */
.problems { display: grid; gap: var(--space-4); }
@media (min-width: 860px) { .problems { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }
.problem { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5); background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow-card); border-block-start: 4px solid var(--env-3); }
.problem p, .point p:not(:has(.link-more)), .sol-step p:not(:has(.link-more)), .fit__copy p { margin: 0; color: var(--ink-2); }

/* What it shows: the picture beside three points from 1000px. */
.see { display: grid; gap: var(--space-7); align-items: start; }
.see > * { min-inline-size: 0; }
@media (min-width: 1000px) { .see { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: center; } }
.see__art { display: grid; gap: var(--space-3); }
.see__label { margin: 0; font-weight: 600; }
.points { display: grid; gap: var(--space-5); }
.point { display: grid; gap: var(--space-2); }
.point + .point { padding-block-start: var(--space-5); border-block-start: 1px solid var(--line); }
.point p, .sol-step p { margin: 0; }

/* What you do: three numbered steps. */
.sol-steps { display: grid; gap: var(--space-6); counter-reset: sol; }
@media (min-width: 860px) { .sol-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7); } }
.sol-step { counter-increment: sol; display: grid; gap: var(--space-3); align-content: start; }
.sol-step::before { content: counter(sol); display: grid; place-items: center; inline-size: 2.5rem; block-size: 2.5rem; border-radius: 50%; background: var(--blue); color: var(--on-blue); font-weight: 700; font-size: 1.1rem; }
/* On a phone the number sits beside the step's words. */
@media (max-width: 859px) {
  .sol-step { grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: var(--space-4); }
  .sol-step > * { grid-column: 2; }
  .sol-step > h3 { align-self: center; }
}
.rungs { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.rungs li { display: flex; align-items: center; gap: var(--space-2); }
.rungs li:not(:last-child)::after { content: "\2192" / ""; color: var(--ink-2); }
[dir="rtl"] .rungs li:not(:last-child)::after { content: "\2190" / ""; }
.rungs code { padding: 2px var(--space-2); border-radius: var(--radius-inline); background: var(--code); font-size: var(--text-sm); white-space: nowrap; }

/* Which plan fits: the reason beside the plan. */
.fit { display: grid; gap: var(--space-6); align-items: center; }
.fit > * { min-inline-size: 0; }
@media (min-width: 860px) { .fit { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); } }
.fit__copy { display: grid; gap: var(--space-4); justify-items: start; }
.fit__copy > * { margin: 0; }
.fit__copy .eyebrow { font-size: 1.15rem; }
.fit__copy h2 { font-size: var(--text-2xl); line-height: var(--leading-tight); letter-spacing: var(--track-2xl); }
.fit__card { display: grid; gap: var(--space-4); justify-items: start; padding: var(--space-6); background: var(--card); border-radius: var(--radius-card); box-shadow: var(--shadow-card); border-block-start: 6px solid var(--env-3); }
.fit__card > * { margin: 0; max-inline-size: 100%; }
.fit__card--pro { border-block-start-color: var(--blue); }
.fit__card h3 { font-size: 1.6rem; }
.fit__price { color: var(--ink-2); }
.fit__price b { color: var(--blue); font-size: var(--text-3xl); line-height: 1; letter-spacing: var(--track-2xl); }
.fit__ticks { display: grid; gap: var(--space-3); }
.fit__ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-2); }
.fit__ticks li::before { content: ""; inline-size: 12px; block-size: 12px; margin-block-start: 6px; border-radius: 50%; border: 2px solid var(--pass); }
.fit__card .table-scroll { inline-size: 100%; }
.fit__bills td, .fit__bills th { padding: var(--space-2) var(--space-3); }
.fit__bills td { font-variant-numeric: tabular-nums; }
.fit__small { color: var(--ink-2); font-size: var(--text-sm); }
.fit__lead { font-weight: 600; color: var(--ink); }
.fit__bills strong { color: var(--blue); }
@media (max-width: 480px) { .fit__card { padding: var(--space-5); } }

/* The questions, narrower than the page. */
.faq--narrow { max-inline-size: 52rem; margin-inline: auto; }
.faq--narrow p + p { margin-block-start: var(--space-3); }
