/* The inner pages' shell (public-site audit step 3, 2026-09-30): the photo hero,
   its reading variant, the reading column with a contents list, and the one closing
   call to action. Loaded by _public_base.html on every logged-out page, right after
   landing.css, so it paints with the first screen.

   The look is the homepage's and the examples page's: morning paper behind the
   first screen, one near-black ink, sentence-case League Gothic headlines, Inter for
   everything else, and a real photograph instead of line art. The values mirror
   home.css (--hm-*) and showcase.css (--mk-*); those two pages keep their own
   copies, so change a colour in all three places or none.

   Everything is scoped by a pg- or rd- class; no bare element rules. Only the
   button's hover moves anything, and not under reduced motion. */

:root {
  --pg-morning: #E6EEF1;   /* the first screen (showcase --mk-top) */
  --pg-ink: #1A1712;       /* the one ink */
  --pg-ink-soft: #45403A;  /* secondary text, 9:1 on the morning paper */
  --pg-line: rgb(26 23 18 / .16);
  --pg-blue: #166B9E;
  --pg-blue-deep: #0F4F76;
  --pg-night: #231E36;     /* the close (home --hm-night) */
  --pg-night-ink: #F6F3EE;
  --pg-night-soft: #D3CDE0;
  --pg-card: #FFFFFF;
  --pg-measure: 40rem;     /* ~65 characters of Inter at 17px */
}

/* ---------- the photo hero --------------------------------------------------- */
.pg-hero { background: var(--pg-morning); color: var(--pg-ink);
  padding-block: 1.75rem var(--sp-7); }
.pg-hero-grid { display: grid; gap: var(--sp-4);
  grid-template-areas: "head" "media" "body"; }
.pg-hero-grid > * { min-width: 0; }
.pg-hero-head { grid-area: head; }
.pg-hero-media { grid-area: media; margin: 0; }
.pg-hero-body { grid-area: body; display: grid; gap: var(--sp-4); }
.pg-hero-body > * { margin: 0; }

.pg-kicker { margin: 0 0 var(--sp-2); color: var(--pg-blue); font-weight: 600;
  font-size: clamp(1rem, 3.8vw, 1.15rem); line-height: 1.3; letter-spacing: -.005em; }
.pg-kicker a { color: inherit; }
.pg-h1 { margin: 0; font-family: var(--font-brand-display); font-weight: 400;
  font-size: clamp(2.6rem, 10.5vw, 4.9rem); line-height: .95; letter-spacing: .003em;
  text-wrap: balance; color: var(--pg-ink); }
.pg-lede { font-size: 1.0625rem; line-height: 1.6; color: var(--pg-ink-soft);
  max-width: var(--pg-measure); }
.pg-lede strong { color: var(--pg-ink); }
.pg-lede a, .pg-note a, .pg-media-note a, .pg-still figcaption a { color: var(--pg-blue);
  text-decoration: underline; text-underline-offset: 3px; }
/* A second, smaller paragraph under the lede (billing notes, a byline). */
.pg-note { font-size: var(--text-sm); line-height: 1.55; color: var(--pg-ink-soft);
  max-width: var(--pg-measure); }
.pg-meta { font-size: var(--text-sm); color: var(--pg-ink-soft); }

/* The photo: the ba-slider from components.css in a softer frame. */
.pg-hero-media .ba-slider { border-radius: 10px; box-shadow: 0 18px 40px rgb(26 23 18 / .16); }
.pg-media-note { margin: var(--sp-2) 0 0; font-size: var(--text-sm); color: var(--pg-ink-soft); }

/* The one button (the homepage's .hm-btn): plainly a button, 52px tall, with the
   price set apart in the headline face. */
.pg-hero-cta { display: grid; gap: var(--sp-2); justify-items: start; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 12px; background: var(--pg-blue);
  color: #fff; font-weight: 600; font-size: 1.0625rem; line-height: 1.2; text-align: center;
  text-decoration: none; box-shadow: 0 3px 0 var(--pg-blue-deep); }
.pg-btn:hover { background: var(--pg-blue-deep); color: #fff; text-decoration: none; }
.pg-btn:focus-visible { outline: 3px solid var(--pg-blue); outline-offset: 3px; box-shadow: none; }
.pg-btn-price { font-family: var(--font-brand-display); font-weight: 400; font-size: 1.4em;
  letter-spacing: .02em; line-height: 1; padding-left: 10px;
  border-left: 1px solid rgb(255 255 255 / .45); }
.pg-reassure { margin: 0; font-size: var(--text-sm); color: var(--pg-ink-soft); }
@media (max-width: 519px) { .pg-hero-cta { justify-items: stretch; } .pg-btn { width: 100%; } }

/* A hero with no photo (a page left unmapped) keeps one column. */
.pg-hero-plain { grid-template-areas: "head" "body"; }

@media (min-width: 980px) {
  .pg-hero { padding-block: var(--sp-8) calc(var(--sp-8) + var(--sp-2)); }
  .pg-hero-grid { column-gap: clamp(2.5rem, 4vw, 4.5rem); row-gap: var(--sp-5);
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". media" "head media" "body media" ". media"; align-items: center; }
  .pg-hero-head { align-self: end; }
  .pg-hero-body { align-self: start; }
  .pg-hero-plain { grid-template-columns: minmax(0, 48rem); grid-template-rows: auto;
    grid-template-areas: "head" "body"; }
  .pg-h1 { font-size: clamp(3.6rem, 4.6vw, 5.2rem); }
}

/* ---------- the reading variant (guides, cost guides, blog posts) ------------ */
/* Text first on a phone, the photo after it; beside the text, smaller, on a desktop. */
.pg-hero-reading .pg-hero-grid { grid-template-areas: "head" "body" "media"; }
.pg-hero-reading .pg-h1 { font-size: clamp(2.4rem, 9.5vw, 4.2rem); }
.pg-still img { display: block; width: 100%; height: auto; border-radius: 10px;
  box-shadow: 0 14px 32px rgb(26 23 18 / .14); }
.pg-still figcaption { margin-top: var(--sp-2); font-size: var(--text-sm); color: var(--pg-ink-soft); }
@media (min-width: 980px) {
  .pg-hero-reading .pg-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-areas: ". media" "head media" "body media" ". media"; }
  .pg-hero-reading .pg-h1 { font-size: clamp(3.2rem, 4vw, 4.5rem); }
}

/* The short answer under a guide's headline. */
.pg-answer { background: var(--pg-card); border-left: 4px solid var(--pg-blue);
  border-radius: 0 10px 10px 0; padding: var(--sp-4) var(--sp-5); max-width: var(--pg-measure);
  box-shadow: 0 1px 0 var(--pg-line); }
.pg-answer p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--pg-ink); }
.pg-answer .pg-answer-label { margin-bottom: var(--sp-1); font-size: var(--text-xs);
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pg-blue); }

/* ---------- the reading column with a contents list (legal pages) ------------ */
/* One 65-character column; from 1100px a contents list sits in the spare width on
   the left and stays in view. reading-toc.js fills it from the column's h2s and
   un-hides it; without JavaScript the page is simply the column. */
.rd-layout { display: grid; gap: var(--sp-6); }
.rd-toc[hidden] { display: none; }
.rd-toc { font-size: var(--text-sm); }
.rd-toc-h { margin: 0 0 var(--sp-2); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint-2); }
.rd-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px;
  border-left: 1px solid var(--line); }
.rd-toc a { display: block; padding: 6px 0 6px var(--sp-3); margin-left: -1px;
  border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none;
  line-height: 1.35; }
.rd-toc a:hover { color: var(--ink); border-left-color: var(--line); }
.rd-toc a[aria-current="true"] { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
@media (max-width: 1099px) { .rd-toc { display: none; } }
@media (min-width: 1100px) {
  .rd-layout { grid-template-columns: 15rem minmax(0, var(--pg-measure)); justify-content: center;
    column-gap: clamp(3rem, 5vw, 5rem); align-items: start; }
  /* Both placed explicitly: the list is hidden until reading-toc.js fills it (and
     for good without JavaScript), and an auto-placed column would start in the
     narrow first track and jump across when the list appears. */
  .rd-toc { grid-column: 1; grid-row: 1; position: sticky;
    top: calc(48px + 2 * var(--sp-3) + 1px + var(--sp-5));
    max-height: calc(100vh - 8rem); overflow-y: auto; }
  .rd-main { grid-column: 2; grid-row: 1; }
}

/* ---------- the pricing page (audit step 4) ---------------------------------- */
/* The homepage's price cards (home.css .hm-plans), widened for a page whose only
   job is the price: done for you with its two options (one listing, the pack), do
   it yourself beside it, then the "which suits you" table. Warm paper like the
   homepage's pricing band. */
.landing .pc-band { background: #F6F1E8; }
.landing .pc-which-band { background: var(--pg-card); }
.pc-head { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.pc-h2 { margin: 0; font-family: var(--font-brand-display); font-weight: 400;
  font-size: clamp(2.35rem, 8vw, 3.9rem); line-height: .95; letter-spacing: .003em;
  color: var(--pg-ink); text-wrap: balance; }
.pc-intro { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--pg-ink-soft);
  max-width: 34rem; }
@media (min-width: 980px) {
  .pc-head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 3.5rem; }
}

.pc-plans { display: grid; gap: var(--sp-4); }
.pc-plans > * { min-width: 0; }
@media (min-width: 980px) {
  .pc-plans { grid-template-columns: 1.65fr 1fr; gap: var(--sp-5); align-items: start; }
  .pc-plans-solo { grid-template-columns: minmax(0, 56rem); }
}
.pc-plan { display: flex; flex-direction: column; gap: var(--sp-4); padding: 22px 18px;
  border-radius: 20px; border: 1px solid var(--pg-line); background: rgb(255 255 255 / .55);
  color: var(--pg-ink); }
@media (min-width: 560px) { .pc-plan { padding: 32px; } }
.pc-plan > * { margin: 0; }
.pc-plan-main { background: var(--pg-card); border: 0;
  box-shadow: inset 0 0 0 2px var(--pg-blue), 0 20px 40px -30px rgb(60 40 10 / .4); }
.landing .pc-plan-h { margin: 0; font-family: var(--font-ui); font-size: 1.25rem; font-weight: 600;
  color: var(--pg-ink); }
.pc-who { color: var(--pg-ink-soft); margin-top: -8px !important; }

/* Done for you: the two ways to pay for it, as equals. */
.pc-options { display: grid; gap: var(--sp-3); }
@media (min-width: 620px) { .pc-options { grid-template-columns: 1fr 1fr; } }
.pc-option { display: grid; gap: var(--sp-2); align-content: start; padding: 18px;
  border-radius: 14px; background: #F6F1E8; }
.pc-option > * { margin: 0; }
.pc-option-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  font-weight: 600; }
.pc-save { font-size: var(--text-sm); font-weight: 600; line-height: 1; padding: 5px 9px;
  border-radius: 999px; background: var(--pg-blue); color: #fff; }
.pc-big { font-family: var(--font-brand-display); font-size: 4rem; line-height: .9;
  letter-spacing: .01em; color: var(--pg-ink); }
.pc-sub { font-size: .9375rem; color: var(--pg-ink-soft); }
.pc-sub .usd-hint { font-size: var(--text-sm); }
.pc-btn { margin-top: var(--sp-2); justify-self: start; }
.pc-btn-ghost { background: transparent; color: var(--pg-blue);
  box-shadow: inset 0 0 0 2px var(--pg-blue); }
.pc-btn-ghost:hover { background: rgb(255 255 255 / .7); color: var(--pg-blue-deep); }
@media (max-width: 519px) { .pc-btn { justify-self: stretch; } }

.pc-list-h { font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--pg-ink-soft); margin-bottom: -6px !important; }
.pc-incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 620px) { .pc-plan-main .pc-incl { grid-template-columns: 1fr 1fr; } }
.pc-incl li { display: flex; gap: 10px; font-size: .96875rem; line-height: 1.45; }
.pc-incl svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--pg-blue); }
.pc-remedy { font-size: .9375rem; padding: 12px 14px; border-radius: 12px; background: #F6F1E8; }

/* Do it yourself. */
.pc-free { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pc-free svg { width: 22px; height: 22px; flex: none; color: #B7791A; }
.pc-packs { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pc-packs li { display: grid; gap: 2px; justify-items: center; padding: 12px 6px;
  border-radius: 12px; background: var(--pg-card); text-align: center; }
.pc-pp { font-family: var(--font-brand-display); font-size: 2rem; line-height: 1; letter-spacing: .02em; }
.pc-pq { font-size: .875rem; color: var(--pg-ink); }
.pc-pr { font-size: .8125rem; color: var(--pg-ink-soft); white-space: nowrap; }
.pc-teaser { color: var(--pg-ink-soft); }
.pc-foot { margin-top: auto !important; }
.pc-buy { margin: .25rem 0 0; text-align: center; font-size: .9375rem; }
.pc-buy a { color: var(--pg-blue); display: inline-flex; align-items: center; min-height: 44px; }
.pc-buy a:hover { color: var(--pg-blue-deep); }

.pc-notes { margin-top: var(--sp-5); display: grid; gap: var(--sp-2); font-size: .9375rem;
  color: var(--pg-ink-soft); max-width: 48rem; }
.pc-notes p { margin: 0; }
.pc-notes a, .pc-which-foot a { color: var(--pg-blue); text-decoration: underline;
  text-underline-offset: 3px; }

/* "Which suits you": a real table on a desktop; on a phone each row becomes a
   card, its two answers labelled, so nothing scrolls sideways. */
.pc-which { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5;
  color: var(--pg-ink); }
.pc-which thead th { text-align: left; padding: 0 var(--sp-4) var(--sp-3); font-size: 1.125rem;
  font-weight: 600; }
.pc-which tbody th { text-align: left; font-weight: 600; vertical-align: top; }
.pc-which tbody td { vertical-align: top; color: var(--pg-ink-soft); }
.pc-which tbody td:first-of-type { color: var(--pg-ink); }
.pc-which-foot { margin: var(--sp-5) 0 0; max-width: 48rem; font-size: .9375rem;
  color: var(--pg-ink-soft); }
@media (min-width: 760px) {
  .pc-which { table-layout: fixed; }
  .pc-which thead td { width: 22%; }
  .pc-which tbody th, .pc-which tbody td { padding: var(--sp-4); border-top: 1px solid var(--pg-line); }
  .pc-which tbody th { padding-left: 0; }
  .pc-which tbody td:first-of-type { background: rgb(22 107 158 / .05); }
  .pc-which thead th:first-of-type { background: rgb(22 107 158 / .05); border-radius: 12px 12px 0 0;
    padding-top: var(--sp-3); color: var(--pg-blue); }
}
@media (max-width: 759px) {
  .pc-which thead { position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; }
  .pc-which, .pc-which tbody, .pc-which tr, .pc-which th, .pc-which td { display: block; }
  .pc-which tr { padding: var(--sp-4); margin-bottom: var(--sp-3); border-radius: 14px;
    background: #F6F1E8; }
  .pc-which tbody th { font-size: 1.0625rem; margin-bottom: var(--sp-2); }
  .pc-which td { padding: var(--sp-2) 0 0; }
  .pc-which td::before { content: attr(data-label); display: block; font-size: var(--text-xs);
    font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pg-blue); }
  .pc-which td + td::before { color: var(--pg-ink-soft); }
}

/* ---------- the service pages (audit step 5) ----------------------------------- */
/* Dusk, enhancement and developers: photo-led, short. Section heads reuse the
   pricing page's .pc-head / .pc-h2 / .pc-intro; bands alternate warm paper and white. */
.landing .sv-paper { background: #F6F1E8; }
.landing .sv-white { background: var(--pg-card); }
.sv-foot { margin: var(--sp-5) 0 0; max-width: 48rem; font-size: 1rem; line-height: 1.6;
  color: var(--pg-ink-soft); }
.sv-foot a, .pc-intro a, .sv-card a { color: var(--pg-blue); text-decoration: underline;
  text-underline-offset: 3px; }

/* Before-and-after pairs under the hero: two across from 760px. */
.sv-pairs { display: grid; gap: var(--sp-6) var(--sp-5); }
.sv-pairs > * { min-width: 0; }
@media (min-width: 760px) { .sv-pairs { grid-template-columns: 1fr 1fr; } }
.sv-pair .lp-ba-figure { margin: 0; }
.sv-pair .ba-slider { border-radius: 10px; box-shadow: 0 14px 32px rgb(26 23 18 / .14); }
.sv-cap { margin: var(--sp-2) 0 0; font-size: .9375rem; line-height: 1.5; color: var(--pg-ink-soft); }

/* What changes / what stays. */
.sv-split { display: grid; gap: var(--sp-4); }
.sv-split > * { min-width: 0; }
@media (min-width: 760px) { .sv-split:not(.sv-split-stack) { grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }

/* A photo beside a narrow column (the split, stacked): side by side from 980px. */
.sv-show { display: grid; gap: var(--sp-5); }
.sv-show > * { min-width: 0; }
@media (min-width: 980px) { .sv-show { grid-template-columns: 1.3fr 1fr; gap: var(--sp-6); align-items: start; } }
.sv-col { padding: 22px 20px; border-radius: 16px; background: #F6F1E8; }
@media (min-width: 560px) { .sv-col { padding: 28px; } }
.sv-col-keep { background: rgb(22 107 158 / .06); }
.sv-paper .sv-col { background: var(--pg-card); }
.sv-paper .sv-col-keep { box-shadow: inset 4px 0 0 var(--pg-blue); }
.landing .sv-col-h { margin: 0 0 var(--sp-3); font-family: var(--font-ui); font-size: 1.125rem;
  font-weight: 600; color: var(--pg-ink); }
.landing .sv-col-h::after { content: none; }
.sv-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sv-col li { display: flex; gap: 10px; font-size: 1rem; line-height: 1.45; color: var(--pg-ink); }
.sv-col svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--pg-blue); }

/* Chips: the shots a service is offered on. */
.sv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sv-chips li { padding: 10px 16px; border-radius: 999px; background: var(--pg-card);
  border: 1px solid var(--pg-line); font-weight: 600; font-size: .9375rem; color: var(--pg-ink); }

/* Cards: a short title and one sentence each (the enhancement faults). */
.sv-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
@media (min-width: 620px) { .sv-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sv-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 620px) { .sv-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sv-card-off { background: transparent; border-style: dashed; }
.sv-card-off svg { color: #9A3B2E; }
.sv-card { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 14px;
  background: var(--pg-card); border: 1px solid var(--pg-line); }
.sv-card > * { margin: 0; }
.sv-card svg { width: 28px; height: 28px; color: var(--pg-blue); margin-bottom: 4px; }
.landing .sv-card-h { font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 600;
  color: var(--pg-ink); line-height: 1.3; }
.landing .sv-card-h::after { content: none; }
.sv-card p { font-size: .9375rem; line-height: 1.5; color: var(--pg-ink-soft); }
/* On a phone the icon sits beside the text, so five cards stay short. */
@media (max-width: 619px) {
  .sv-card { grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .sv-card svg { grid-row: span 2; margin: 0; }
}

/* Developers: the worked example as three numbers, then one room in three styles. */
.sv-stats { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: grid; gap: var(--sp-2);
  grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sv-stats li { display: grid; gap: 4px; align-content: start; padding: 14px 12px; border-radius: 14px;
  background: var(--pg-card); }
@media (min-width: 620px) { .sv-stats { gap: var(--sp-3); } .sv-stats li { padding: 18px 20px; } }
.sv-stat-n { font-family: var(--font-brand-display); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: .9;
  letter-spacing: .01em; color: var(--pg-ink); }
.sv-stat-l { font-size: clamp(.8125rem, 3.4vw, .9375rem); line-height: 1.4; color: var(--pg-ink-soft); }
.landing .sv-sub-h { margin: 0 0 var(--sp-3); font-family: var(--font-ui); font-size: 1.125rem;
  font-weight: 600; color: var(--pg-ink); }
.landing .sv-sub-h::after { content: none; }
.sv-two { display: grid; gap: var(--sp-3) var(--sp-6); margin-top: var(--sp-6); }
.sv-two p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--pg-ink-soft); max-width: 36rem; }
@media (min-width: 980px) { .sv-two { grid-template-columns: 1fr 1fr; } }
.sv-styles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
@media (min-width: 620px) { .sv-styles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* A phone swipes through the three: the next photo peeks in, which says "swipe". */
@media (max-width: 619px) {
  .sv-styles { grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: var(--sp-2); }
  .sv-styles li { scroll-snap-align: start; }
}
.sv-styles figure { margin: 0; }
.sv-styles img { display: block; width: 100%; height: auto; border-radius: 10px; }
.sv-styles figcaption { margin-top: var(--sp-2); font-weight: 600; font-size: .9375rem; color: var(--pg-ink); }

/* ---------- the cost guides (audit step 6) ------------------------------------ */
/* One template for every market: the answer in the hero, then the comparison in a
   reading column on warm paper with the contents list beside it from 1100px. The
   column is wider than a guide's (the tables need it) and the tables turn into
   labelled cards below 760px, so nothing scrolls sideways or looks cut off. */
.cg-layout, .gd-layout { padding-block: var(--sp-6) 4rem; }
@media (min-width: 980px) { .cg-layout, .gd-layout { padding-block: var(--sp-8) 5rem; } }
@media (min-width: 1100px) {
  .cg-layout.rd-layout { grid-template-columns: 13rem minmax(0, 58rem);
    column-gap: clamp(2.5rem, 4vw, 4rem); }
}
:is(.cg-main, .gd-main) > * + * { margin-top: 3.5rem; }
.cg-sec > * { margin: 0; }
.cg-sec > * + * { margin-top: var(--sp-4); }
.landing .cg-h2 { margin: 0; font-family: var(--font-ui); font-weight: 600;
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); line-height: 1.2; letter-spacing: -0.015em;
  color: var(--pg-ink); text-wrap: balance; scroll-margin-top: 88px; }
.landing .cg-h2::after { content: none; }
.cg-sub, .cg-method p { max-width: var(--pg-measure); font-size: 1.0625rem; line-height: 1.6;
  color: var(--pg-ink-soft); }
.cg-note { max-width: var(--pg-measure); font-size: .9375rem; line-height: 1.6; color: var(--pg-ink-soft); }
.cg-sub a { color: var(--pg-blue); text-decoration: underline; text-underline-offset: 3px; }

/* The date beside the hero's comparative claim (legal: a dated claim, always). */
.pg-checked { display: block; margin-top: var(--sp-1); font-size: var(--text-sm); color: var(--pg-ink-soft); }

/* What an overseas visitor pays: one quiet card, not a paragraph in the hero. */
.cg-price { padding: var(--sp-4) var(--sp-5); border-radius: 14px; background: var(--pg-card);
  box-shadow: inset 4px 0 0 var(--pg-blue); display: grid; gap: var(--sp-2);
  max-width: var(--pg-measure); font-size: .9375rem; line-height: 1.55; color: var(--pg-ink-soft); }
.cg-price p { margin: 0; }
.cg-price strong { color: var(--pg-ink); }
.cg-price a { color: var(--pg-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  white-space: nowrap; }

/* The tables: a white card on the paper; our own rows tinted. */
.cg-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9375rem;
  line-height: 1.45; background: var(--pg-card); border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 var(--pg-line), 0 8px 24px rgb(26 23 18 / .05); }
.cg-table th, .cg-table td { padding: 12px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--pg-line); }
.cg-table tbody tr:last-child > * { border-bottom: 0; }
.cg-table thead th { font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--pg-ink-soft); background: #FBF8F3; }
.cg-table tbody th { font-weight: 600; color: var(--pg-ink); }
.cg-table tbody th a { color: var(--pg-blue); text-decoration: underline; text-underline-offset: 3px; }
.cg-table td { color: var(--pg-ink-soft); }
.cg-table .cg-lead, .cg-table .cg-ours { color: var(--pg-ink); }
.cg-table .lp-row-ours > * { background: rgb(22 107 158 / .07); font-weight: 600; color: var(--pg-ink); }

@media (max-width: 759px) {
  .cg-table, .cg-table tbody, .cg-table tr, .cg-table th, .cg-table td { display: block; }
  .cg-table { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .cg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap; }
  .cg-table tbody { display: grid; gap: var(--sp-3); }
  .cg-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 14px 16px;
    border-radius: 14px; background: var(--pg-card); box-shadow: 0 1px 0 var(--pg-line); }
  .cg-table .lp-row-ours { background: #EAF2F7; box-shadow: inset 4px 0 0 var(--pg-blue); }
  .cg-table .lp-row-ours > * { background: none; }
  .cg-table th, .cg-table td { padding: 0; border: 0; min-width: 0; }
  .cg-table tbody th { grid-column: 1 / -1; font-size: 1.0625rem; }
  .cg-table .cg-lead { grid-column: 1 / -1; }
  .cg-table td::before { content: attr(data-label); display: block; margin-bottom: 1px;
    font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--pg-blue); }
  /* Long prose cells run the card's full width; the extras table is prose throughout. */
  .cg-table-phys td, .cg-table-extras td { grid-column: 1 / -1; }
  .cg-table-phys td[data-label="Based in"] { grid-column: auto; }
  /* Our price is the same on every size row, and the sentence above the table says
     so; on a phone the card keeps only what changes. */
  .cg-table-sizes td[data-label="ProperPics"] { display: none; }
}

/* The three ways: three short cards side by side from 760px. */
.cg-ways { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
@media (min-width: 760px) { .cg-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cg-ways li { display: grid; gap: var(--sp-2); align-content: start; padding: 20px; border-radius: 14px;
  background: var(--pg-card); box-shadow: 0 1px 0 var(--pg-line); }
.cg-ways p, .cg-ssx p { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--pg-ink-soft); }
.landing .cg-h3 { margin: 0; font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 600;
  line-height: 1.3; color: var(--pg-ink); }
.landing .cg-h3::after { content: none; }
.cg-ssx { display: grid; gap: var(--sp-2); justify-items: start; padding: 20px; border-radius: 14px;
  border: 1px dashed var(--pg-line); max-width: var(--pg-measure); }
.cg-ssx-btn { margin-top: var(--sp-1); }

/* The FAQ sits in the column: its own band and container give way to the column's. */
:is(.cg-main, .gd-main) .lp-faq-band { padding: 0; background: none; }
:is(.cg-main, .gd-main) .lp-faq-band .lp-container { padding-inline: 0; max-width: none; }
:is(.cg-main, .gd-main) .lp-faq { max-width: var(--pg-measure); }
.landing :is(.cg-main, .gd-main) .lp-section-h { color: var(--pg-ink); scroll-margin-top: 88px;
  font-family: var(--font-ui); font-weight: 600; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem);
  line-height: 1.2; letter-spacing: -0.015em; }
.landing :is(.cg-main, .gd-main) .lp-section-h::after { content: none; }
:is(.cg-main, .gd-main) .lp-faq-a { font-size: .9375rem; }

/* ---------- guides and blog posts (audit step 7) ----------------------------- */
/* The cost guides' reading column for every other guide and each blog post: one
   band on warm paper, a 65-character column, the contents list beside it from
   1100px (the rd-layout default: 15rem + the measure, centred). Sections are
   .cg-sec / .cg-h2 / .cg-sub, the same pieces the cost guides use. */
.gd-main { min-width: 0; }
/* A sentence to copy (the listing disclosure), set apart as a quotation. */
.gd-quote { max-width: var(--pg-measure); padding: var(--sp-4) var(--sp-5); border-radius: 0 12px 12px 0;
  background: var(--pg-card); box-shadow: inset 4px 0 0 var(--pg-blue), 0 1px 0 var(--pg-line);
  font-size: 1.0625rem; line-height: 1.6; color: var(--pg-ink); }
.cg-sec .gd-quote + .gd-quote { margin-top: var(--sp-2); }
/* Who wrote it and when it was last checked: at the foot of the column, not in the
   hero (audit content rule: the hero is the headline and the answer). */
.gd-byline { max-width: var(--pg-measure); padding-top: var(--sp-4); border-top: 1px solid var(--pg-line);
  font-size: var(--text-sm); color: var(--pg-ink-soft); }
.gd-byline a { color: var(--pg-blue); text-decoration: underline; text-underline-offset: 3px; }
.gd-main .cg-sub a { color: var(--pg-blue); }

/* The photo guide's "like this / not like this" pairs. The faulty half is the same
   file under a CSS treatment (photo_tips.PhotoPair), clipped by its frame. */
.pt-pairs { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-6); }
.pt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (min-width: 760px) { .pt-pair { gap: var(--sp-5); } }
.pt-shot { margin: 0; display: grid; gap: var(--sp-2); align-content: start; }
.pt-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px;
  background: #cfd4d8; box-shadow: 0 1px 0 var(--pg-line), 0 8px 24px rgb(26 23 18 / .06); }
.pt-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pt-fault-tilt img { transform: rotate(-6deg) scale(1.22); }
.pt-fault-dark img { filter: brightness(.34) saturate(.8); }
.pt-fault-crop img { object-position: 50% 0; transform: scale(1.9); transform-origin: 50% 0; }
.pt-fault-blur img { filter: blur(3px); transform: scale(1.04); }
.pt-shot figcaption { font-size: .875rem; line-height: 1.5; color: var(--pg-ink-soft); }
@media (min-width: 760px) { .pt-shot figcaption { font-size: .9375rem; } }
.pt-tag { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 999px;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .02em; vertical-align: 1px; }
.pt-tag-good { background: #E3F1E8; color: #1D5E36; }
@media (max-width: 759px) { .pt-tag { display: table; margin: 0 0 4px; } }
.pt-tag-bad { background: #F8E4E1; color: #8A2A1E; }

/* The checks: numbered rows, two columns on a wide column. */
.pt-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
@media (min-width: 760px) { .pt-checks { grid-template-columns: 1fr 1fr; } }
.pt-check { display: grid; grid-template-columns: 2rem 1fr; gap: var(--sp-3); align-items: start;
  padding: 16px 18px; border-radius: 14px; background: var(--pg-card); box-shadow: 0 1px 0 var(--pg-line); }
.pt-check-num { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: #EAF2F7; color: var(--pg-blue); font-weight: 700; font-size: .9375rem; }
.pt-check p { margin: 4px 0 0; font-size: .9375rem; line-height: 1.55; color: var(--pg-ink-soft); }

/* The statistics page: each figure a card, two across in the wide column. */
.st-checked { max-width: var(--pg-measure); font-size: .9375rem; line-height: 1.55; color: var(--pg-ink-soft); }
.st-checked strong { color: var(--pg-ink); }
.st-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 760px) { .st-grid { grid-template-columns: 1fr 1fr; } }
.st-card { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 14px;
  background: var(--pg-card); box-shadow: 0 1px 0 var(--pg-line); scroll-margin-top: 88px; }
.st-card-prose { box-shadow: inset 4px 0 0 var(--pg-blue), 0 1px 0 var(--pg-line); }
.st-card p { margin: 0; }
.landing .st-value { font-family: var(--font-brand-display); font-weight: 400; font-size: 2.75rem;
  line-height: 1; color: var(--pg-blue); }
.st-label { font-weight: 600; font-size: .9375rem; line-height: 1.35; color: var(--pg-ink); }
.st-text { font-size: .9375rem; line-height: 1.55; color: var(--pg-ink-soft); }
.st-source { font-size: var(--text-sm); color: var(--pg-ink-soft); }
.st-source a { color: var(--pg-blue); text-decoration: underline; text-underline-offset: 3px; }
.st-debunk { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); max-width: var(--pg-measure); }
.st-debunk li { padding: 14px 18px; border-radius: 12px; border: 1px dashed var(--pg-line); }
.st-debunk p { margin: 0; }
.st-debunk p + p { margin-top: 4px; font-size: .9375rem; color: var(--pg-ink-soft); }

/* A blog post's body in the reading column: the column sets the width, so the
   prose wrapper's own centring gives way. */
.landing .gd-main .po-body { max-width: var(--pg-measure); margin-inline: 0; }
.landing .po-body > h2:first-child { margin-top: 0; }
.landing .po-body h2 { scroll-margin-top: 88px; color: var(--pg-ink); }
.landing .po-body p, .landing .po-body li { color: var(--pg-ink-soft); font-size: 1.0625rem; line-height: 1.65; }
.landing .po-body a { color: var(--pg-blue); }
.gd-main .po-body + .gd-byline { margin-top: var(--sp-8); }

/* Post cards (blog index, "More like this"): lead photo, title, one line. */
.bl-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .bl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .bl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bl-card { position: relative; display: grid; gap: var(--sp-2); align-content: start; padding-bottom: var(--sp-2); }
.bl-card-photo { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #cfd4d8;
  box-shadow: 0 1px 0 var(--pg-line); }
.bl-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
@media (prefers-reduced-motion: reduce) { .bl-card-photo img { transition: none; } }
.bl-card:hover .bl-card-photo img { transform: scale(1.03); }
.landing .bl-card-h { margin: var(--sp-2) 0 0; font-family: var(--font-ui); font-size: 1.125rem; font-weight: 600;
  line-height: 1.3; }
.landing .bl-card-h::after { content: none; }
.bl-card-h a { color: var(--pg-ink); text-decoration: none; }
.bl-card-h a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.bl-card-h a:hover, .bl-card-h a:focus-visible { color: var(--pg-blue); text-decoration: underline; text-underline-offset: 3px; }
.bl-card-h a:focus-visible { outline: none; }
.bl-card:focus-within { outline: 3px solid var(--pg-blue); outline-offset: 4px; border-radius: 12px; }
.bl-card-d { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--pg-ink-soft); }
.bl-card-meta { margin: 0; font-size: var(--text-sm); color: var(--pg-ink-soft); }

/* ---------- the one closing call to action (_cta_close.html) ----------------- */
/* The homepage's close: a dusk photograph under the night colour, the headline in
   the display face, one button. Replaces the drifting line-art band. */
.landing .pg-close { position: relative; overflow: hidden; background: var(--pg-night);
  color: var(--pg-night-ink); padding-block: 0; border-top: 0; }
.pg-close-img { position: absolute; inset: 0; }
.pg-close-img picture { display: contents; }
.pg-close-img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; border-radius: 0; }
.pg-close-img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(35 30 54 / .74), rgb(35 30 54 / .94) 70%); }
@media (min-width: 980px) {
  .pg-close-img::after { background: linear-gradient(90deg, rgb(35 30 54 / .96),
    rgb(35 30 54 / .8) 50%, rgb(35 30 54 / .3)); }
}
.pg-close-inner { position: relative; padding-block: var(--sp-8); display: grid; gap: var(--sp-4);
  justify-items: start; }
@media (min-width: 980px) { .pg-close-inner { padding-block: 6.5rem; } }
.landing .pg-close .pg-close-h { margin: 0; font-family: var(--font-brand-display); font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 4.6rem); line-height: .95; color: #fff; max-width: 14ch;
  text-wrap: balance; letter-spacing: .003em; }
.landing .pg-close .pg-close-h::after { content: none; }
.pg-close-copy { margin: 0; max-width: 34rem; font-size: 1.0625rem; line-height: 1.6;
  color: var(--pg-night-soft); }
.pg-close-copy a, .pg-close .pg-reassure a { color: #fff; }
.pg-close .pg-reassure { color: var(--pg-night-soft); }
.pg-close .pg-btn { box-shadow: none; }
.pg-close .pg-btn:focus-visible { outline-color: #fff; }
.pg-close-extra { color: var(--pg-night-soft); max-width: 34rem; }
.pg-close-extra a { color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .pg-btn { transition: background-color .15s ease, transform .12s ease; }
  .pg-btn:hover { transform: translateY(-1px); }
}
@media (forced-colors: active) {
  .pg-close-img { display: none; }
  .pg-btn { border: 2px solid ButtonText; }
}

/* ---------- /about (audit step 8) --------------------------------------------- */
/* The two people side by side on a desktop, each card led by a portrait (or the
   person's initials until a photo is supplied) beside the name, so who this is
   reads before the story; the three promises as cards in a row. */
.landing .ab-people-band { background: #F6F1E8; }
.ab-people { display: grid; gap: var(--sp-5); }
@media (min-width: 900px) { .ab-people { grid-template-columns: 1fr 1fr; align-items: start; } }
.ab-person { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 10px;
  padding: 22px 18px; }
@media (min-width: 560px) { .ab-person { padding: 32px; } }
.ab-person-head { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.ab-portrait { flex: none; width: 7rem; height: 7rem; margin: 0; border-radius: 50%;
  overflow: hidden; }
@media (min-width: 560px) { .ab-portrait { width: 9rem; height: 9rem; } }
.ab-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-initials { display: grid; place-items: center; background: #E6EEF1; color: #166B9E;
  font-family: var(--font-brand-display); font-size: 3rem; line-height: 1; }
@media (min-width: 560px) { .ab-initials { font-size: 3.75rem; } }
.ab-name { margin: 0; font-family: var(--font-brand-display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1; color: var(--pg-ink); }
.ab-role { margin: var(--sp-2) 0 0; font-size: var(--text-sm); font-weight: 600;
  color: var(--pg-ink-soft); }
.ab-copy p { margin: 0; color: var(--pg-ink-soft); line-height: 1.6; max-width: var(--pg-measure); }
.ab-copy p + p { margin-top: var(--sp-3); }
.ab-cost-link { margin: var(--sp-5) 0 0; color: var(--pg-ink-soft); max-width: var(--pg-measure); }
.ab-promises { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
@media (min-width: 900px) { .ab-promises { grid-template-columns: repeat(3, 1fr); } }
.ab-promises li { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: 10px;
  padding: 20px; }
.ab-promises h3 { margin: 0 0 var(--sp-2); font-size: 1.0625rem; font-weight: 600; color: var(--pg-ink); }
.ab-promises p { margin: 0; color: var(--pg-ink-soft); line-height: 1.55; }

/* ---------- one section heading (audit step 8 sweep) ------------------------- */
/* Outside a reading column, every inner-page band heading (FAQs, "Honest from the
   start", the About close, the blog's lists) takes the photo pages' section
   heading: sentence-case League Gothic, as .pc-h2 and the homepage. Inter sat next
   to League Gothic on the same page. The reading columns keep Inter (above). */
.landing .lp-section-h { font-family: var(--font-brand-display); font-weight: 400;
  font-size: clamp(2.35rem, 8vw, 3.9rem); line-height: .95; letter-spacing: .003em;
  color: var(--pg-ink); }
.landing .lp-band .lp-section-h::after { content: none; }
/* FAQs on the photo pages ran one full-width column: answers of 150 characters a
   line on a desktop. From 1000px they sit two-across at a readable width (the
   reading columns keep their single column; phones keep the accordion). */
@media (min-width: 1000px) {
  .landing .lp-faq-band:not(:is(.cg-main, .gd-main) .lp-faq-band) .lp-faq {
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; row-gap: var(--sp-5); }
  .landing .lp-faq-band:not(:is(.cg-main, .gd-main) .lp-faq-band) .lp-faq-item {
    border-bottom: none; border-top: 1px solid var(--pg-line); padding: var(--sp-4) 0 0; }
}
