/* src/static/styles/pages/service.css, owner: Service agent (W).
   The WordPress service page only (mockup C 4.2, restore2 PA-W01 to PA-W24):
   the components only this page has, all inside the page layer (§C.3).
   ≤ 15 KB. */
@layer page {
  /* "Onderhoudspakketten en prijzen" (C 5.10, #pakketten): a real table from 48rem
     with the advised column framed in 2 px ink (only while its label
     resolves); below 48rem the rows become grids (roles in the markup) and
     the head sticks. */
  .compare-wrap { max-inline-size: 62rem; margin-block-start: var(--space-6); }
  /* Fixed layout: the three package columns share the space evenly, as in
     the mockup, now that the "In één zin" row holds sentences instead of
     equal TODO marks (PA-W14). */
  .compare { border-collapse: separate; border-spacing: 0; table-layout: fixed; font: 400 1rem/1.45 var(--font-sans); }
  .compare :is(th, td) { padding: var(--space-3) var(--space-4); border-block-end: var(--hairline); }
  .compare thead :is(th, td) { padding-block: var(--space-4); border-block-end: var(--rule); vertical-align: bottom; }
  .compare thead th { color: var(--ink); font: 400 1rem/1.45 var(--font-sans); letter-spacing: 0; text-transform: none; }
  .compare :is(thead tr > :first-child, tbody th[scope="row"]) { inline-size: 28%; }
  .compare :is(thead tr > :first-child, tbody th[scope]) { padding-inline-start: 0; }
  .compare__name { display: block; font: 700 var(--text-h3)/1.25 var(--font-sans); }
  .compare__price { display: block; margin-block-start: var(--space-2); font: 400 var(--text-price)/1 var(--font-sans); letter-spacing: -0.01em; }
  .compare__per { color: var(--ink-2); font-size: var(--text-small); letter-spacing: 0; }
  .compare thead .label { display: block; margin-block-start: var(--space-2); }
  .compare .compare__group > * { padding-block-start: var(--space-5); border-block-end: 1px solid var(--ink-3); }
  /* Four columns (A77): a narrower row head, the head "Met hosting bij
     mij" over the three packages, a gap between your own hosting and them. */
  .compare-wrap--4 { max-inline-size: none; }
  .compare--4 :is(thead tr > :first-child, tbody th[scope="row"]) { inline-size: 24%; }
  .compare thead .compare__forms > * { padding-block: 0 var(--space-2); border-block-end: 0; }
  .compare thead .compare__forms th { color: var(--ink-2); font: 400 var(--text-label)/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; text-align: start; border-block-end: 1px solid var(--ink-3); }
  .compare--4 .compare__per { display: block; margin-block-start: var(--space-1); }
  .compare__group th { color: var(--ink-3); font: 400 var(--text-label)/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
  .compare .is-advised { border-inline: var(--rule); }
  .compare thead .is-advised { border-block-start: var(--rule); }
  /* No foot row (PA-W16): the last body row closes the advised frame.
     :where keeps this at the weight of `.compare .is-advised`, so the
     phone layout below still drops the whole frame. */
  .compare :where(tbody:last-of-type > tr:last-child) > .is-advised { border-block-end: var(--rule); }
  @container content (max-width: 47.99rem) {
    .compare, .compare :is(thead, tbody) { display: block; }
    .compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-3); }
    .compare--4 tr { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--space-2); }
    .compare thead .compare__forms th { grid-column: 2 / -1; padding-block-end: var(--space-1); }
    .compare :is(th, td) { padding: var(--space-2) 0; border-block-end: 0; font-size: 0.9375rem; }
    .compare thead { position: sticky; inset-block-start: 0; z-index: 2; background: var(--paper); border-block-end: var(--rule); }
    .compare thead :is(th, td) { padding-block: var(--space-3); border-block-end: 0; }
    .compare thead tr > :first-child { display: none; }
    .compare :is(thead tr > :first-child, tbody th[scope="row"]) { inline-size: auto; }
    .compare__forms .compare__own-gap { grid-column: 1; }
    .compare tbody th[scope="row"] { grid-column: 1 / -1; padding-block-start: var(--space-3); border-block-start: var(--hairline); }
    .compare__group th { grid-column: 1 / -1; padding-block-start: var(--space-5); border-block-end: 0; }
    .compare__group td { display: none; }
    .compare__per { display: block; margin-block-start: var(--space-1); }
    .compare__price { font-size: 1.5rem; }
    .compare__name { font-size: 1.0625rem; }
    .compare .is-advised { border: 0; }
  }
  /* The price band (A78): forms, what both share and the table in one
     section on surface, as the home's; its blocks on paper. No hairline
     above or under the band. */
  .section--packages { background: var(--surface); }
  .site-main > :is(.section--packages, .section--packages + section) { border-block-start: 0; }
  .section--packages .compare-wrap { padding: var(--space-5); background: var(--paper); }
  @container content (max-width: 47.99rem) { .section--packages .compare-wrap { padding: var(--space-4); } }

  /* The two forms (A77, wordpress/included.njk), side by side from a
     48rem container, over the block with what both share. */
  .forms { margin-block-start: var(--space-6); }
  .forms__pair { display: grid; gap: var(--space-5); }
  .forms__form, .forms__base { padding: calc(var(--space-5) - 1px) var(--space-5) var(--space-5); background: var(--paper); border-block-start: var(--rule); }
  .forms__form { display: flex; flex-direction: column; gap: var(--space-3); }
  .forms__title, .forms__base-title { font: 700 var(--text-h3)/var(--leading-h3) var(--font-sans); letter-spacing: 0; }
  .forms__text { max-inline-size: var(--measure); font: 400 var(--text-body)/var(--leading-prose) var(--font-serif); }
  .forms__form > .checklist { margin: 0; }
  .forms__more { margin-block-start: auto; padding-block-start: var(--space-2); }
  .forms__base { margin-block-start: var(--space-5); }
  .forms__groups { display: grid; gap: var(--space-5); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
  .forms__group-title { font: 700 1rem/1.45 var(--font-sans); letter-spacing: 0; }
  .forms__groups .checklist { margin-block-start: var(--space-2); }
  @container content (min-width: 48rem) {
    .forms__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .forms__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
  }

  /* "Zo start je" (A78, wordpress/start.njk): one list on the update
     strip's spine, the same circles and 2 px line; a step that differs per
     form splits into two blocks on surface, side by side from 48rem. */
  .start { margin: var(--space-6) 0 0; padding: 0; list-style: none; }
  .start__step { position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: var(--space-4); padding-block-end: var(--space-7); }
  .start__step:last-child { padding-block-end: 0; }
  .start__step:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: calc(1.125rem - 1px); inset-block: 2.25rem 0; inline-size: 2px; background: var(--ink); }
  .start__num { display: grid; place-items: center; inline-size: 2.25rem; block-size: 2.25rem; border: 1.5px solid var(--ink); border-radius: var(--radius-round); background: var(--paper); font: 400 0.8125rem/1 var(--font-mono); }
  .start__body { padding-block-start: 0.25rem; }
  .start__title { font: 700 var(--text-h3)/var(--leading-h3) var(--font-sans); letter-spacing: 0; }
  .start__text { max-inline-size: var(--measure); margin-block-start: var(--space-2); font: 400 var(--text-body)/var(--leading-prose) var(--font-serif); }
  .start__forks { display: grid; gap: var(--space-4); }
  .start__fork { padding: var(--space-4) var(--space-5) var(--space-5); background: var(--surface); }
  .start__label { margin-block-end: var(--space-2); }
  .start__more { margin-block-start: var(--space-4); border-block-start: 1px solid var(--ink-3); }
  .start__more .faq__q { font-size: 1rem; }
  .start__more .card-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); margin-block-start: var(--space-5); }
  .start__more-body { padding-block-end: var(--space-4); }
  @container content (min-width: 48rem) {
    .start__forks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  }

  /* The notes under the table: serif 16 at the measure, 16 px apart. */
  .compare-note { max-inline-size: var(--measure); margin-block-start: var(--space-4); font: 400 1rem/1.6 var(--font-serif); }
}
