/* SEO pages on the lander template in service mode (scripts/seo/build_seo_page.py, 14 Nov 2026).
   Only the parts the template has no rule for. Everything else is lander.css, unchanged. Bump ?v= in every SEO page
   when this file changes (/assets is cached for a year). */

/* The FAQ's fees line, kept from the old pages (the site's rule: SEO and city FAQs send fees and timings to the
   service pages). Set as the answers are, small and muted, 32 px under the last question (the section's 48 px gap
   less 16), its links underlined as the answers' links are, each link kept whole on one line. */
html[data-lander="service"] .faq-fees {
  margin-top: -16px;
  font-size: var(--type-caption);
  font-weight: 400;
  line-height: 1.5;
  color: var(--colour-muted);
  text-wrap: pretty;
}
@media (max-width: 1024px) {
  html[data-lander="service"] .faq-fees { margin-top: 0; }
}
html[data-lander="service"] .faq-fees a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(9, 9, 11, 0.4);
  transition: color var(--duration-state) ease, text-decoration-color var(--duration-state) ease;
  white-space: nowrap;
}
html[data-lander="service"] .faq-fees a:hover,
html[data-lander="service"] .faq-fees a:focus-visible { color: var(--colour-ink); text-decoration-color: var(--colour-ink); }

/* The whole hero on the first screen (round 3 review, #4: the old SEO heroes showed 293 of a 506 px film at 1440x900).
   From 1025 px the hero stops filling a set share of the screen (the template's min-height, which puts the strip's top
   at 48.3vh + 215 px) and runs from the top: the headline under the header, the sub-line on two lines (720 px
   measure), the button and its line, the logo row 32 px under that line (the gap between the ask and the proof), then
   the strip, whose tiles take what is left of the screen down to about 12 px above its foot with the hiring bar up, between
   220 and 380 px tall (286 at 1440x900, 380 at 1920x1080), so the whole strip is on the first screen from 1280x800 up.
   Tablets and phones keep the template's flow. */
@media (min-width: 1025px) {
  html[data-lander="service"] .bs-hero,
  html[data-lander="service"].has-announce .bs-hero { min-height: 0; padding-top: 96px; }
  html[data-lander="service"] .hero-ask { flex: 0 0 auto; padding-bottom: 0; }
  html[data-lander="service"] .bs-hero-subline { max-width: 720px; }
  html[data-lander="service"] .bs-hero .logo-ticker { margin-top: 32px; }
  html[data-lander="service"] .bs-hero .c-strip { --h: clamp(220px, calc(100svh - 614px), 380px); }
}

/* The offerings' lists are the pages' own (longer than the service pages' items): a 560 px measure in place of the
   template's 420 px so an item sits on one line beside the frame at 1440, and no item ends on one word where it wraps */
html[data-lander="service"] .wwd-q .offering-list { max-width: 560px; }
html[data-lander="service"] .wwd-q .offering-list-item { text-wrap: pretty; }

/* Line breaks in the pages' own words (screen sheets, 14 Nov): a hyphenated word stays whole ("Stripe-clone",
   "VP-level"; the builder wraps each in .nw), and a block title that wraps balances its two lines rather than leave one
   word alone ("Web that survives procurement") */
html[data-lander="service"] .nw { white-space: nowrap; }
html[data-lander="service"] .wwd-q .offering-title { text-wrap: balance; }

/* Balanced lines (Charlie, 14 Nov: "make sure line breaks are balanced"; QA gate 2: no lone word, no shorter line under
   60% of the longer, at 320 to 1920). Every short block of the pages' own words balances its lines: block, step and
   section titles, list items, descriptions, step text, FAQ questions, the sub-line, the fees line and the proof labels.
   The builder also keeps numbers with their units, the packages' names and a sentence's last two words together. */
html[data-lander="service"] main :is(.bs-hero-subline, .hero-cta-note, .offering-title, .offering-desc, .offering-list-text,
  .hiw-step-title, .hiw-step-desc, .proof-stat-label, .faq-question, .faq-fees, .lp-section-title) { text-wrap: balance; }
