/* Slamgate Wave A UI patch v1. UI & Brand Designer, 2026-12-02.
   Load after /_astro/Base.*.css and /slamgate-v4.css (or append to slamgate-v4.css).
   Token-only: every colour, size and duration comes from the existing --sg-* custom properties.
   No inline styles or scripts are needed, so the live CSP (style-src 'self') is unchanged.
   Markup contract: see CLASS-CONTRACT.md in this folder. */

/* 1. Primary nav with four items (Solutions, How it works, Sample report, Pricing) ------------------ */

/* /solutions/* pages mark the Solutions link aria-current="true"; /solutions itself uses "page". */
.primary-nav a[aria-current="true"] { color: var(--sg-text); }
.primary-nav a[aria-current="true"]::after { transform: scaleX(1); }

/* Narrow desktop and tablet landscape: keep logo, four links and the CTA on one row. */
@media (768px <= width <= 1080px) {
  .header-layout { gap: var(--sg-s-5); }
  .primary-nav { gap: clamp(6px, 1.1vw, 14px); font-size: .9rem; }
}

/* Mobile: the nav already sits on its own row; let it wrap instead of overflowing on small phones. */
@media (width <= 767px) {
  .primary-nav { flex-wrap: wrap; column-gap: clamp(.8rem, 3.6vw, 1.25rem); row-gap: 0; }
}
/* Phones below 520 px with the five-link nav (How it works, Solutions, Sample report, Pricing, Enquire; P1-8).
   Five labels need about 360 px at nav size, so they cannot share one legible row on 360 to 519 px screens
   (one row only just fits at 480 px, too tight to survive other browsers' text metrics). They sit on a tidy 3 + 2 grid
   in DOM order (focus order matches what is seen), spread to the brand and Basket edges. */
@media (width < 520px) {
  .primary-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    column-gap: clamp(.75rem, 4vw, 1.25rem);
    row-gap: 0;
  }
}
/* 320 to 344 px: one small type step so the widest row (How it works, Solutions, Sample report) still fits. */
@media (width < 345px) {
  .primary-nav { font-size: .875rem; column-gap: .75rem; }
}

/* Mobile: grow the logo link's hit area towards 38 px without changing layout. */
@media (width <= 767px) {
  .site-header .brand { position: relative; }
  .site-header .brand::before { content: ""; position: absolute; inset: -8px -6px; }
}

/* 2. /solutions three-group card layout -------------------------------------------------------- */

.solution-group.section { padding-block: clamp(28px, 1.2rem + 2vw, 56px) 0; }
.solution-group { margin-bottom: 0; }
.solution-group:last-of-type { padding-bottom: clamp(24px, 1rem + 2vw, 48px); }
.solution-group-title {
  margin-top: 0;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem);
  letter-spacing: -.035em;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--sg-s-4);
  margin: var(--sg-s-5) 0 0;
  padding: 0;
  list-style: none;
}
.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sg-s-2);
  padding: var(--sg-s-5);
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-lg);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow-1);
  transition: border-color var(--sg-dur-1) var(--sg-ease), background-color var(--sg-dur-1) var(--sg-ease);
}
.solution-card:hover { border-color: var(--sg-teal-700); background: var(--sg-surface-2); }
.solution-card:focus-within { outline: 2px solid var(--sg-focus); outline-offset: 3px; }
.solution-card-audience {
  margin: 0;
  color: var(--sg-text-3);
  font-family: var(--sg-font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.solution-card-title { margin: 0; font-size: var(--sg-fs-h3); letter-spacing: -.025em; line-height: 1.2; }
.solution-card-title a { color: var(--sg-text); text-decoration: none; transition: color var(--sg-dur-1) var(--sg-ease); }
/* Whole card is clickable; the link text stays the accessible name. */
.solution-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--sg-r-lg); }
.solution-card-title a:focus-visible { outline: none; }
.solution-card:hover .solution-card-title a { color: var(--sg-teal-200); }
.solution-card-summary { margin: 0; color: var(--sg-text-2); font-size: var(--sg-fs-small); line-height: 1.55; }
/* Phones: tighter cards keep the 20-card page scannable. */
@media (width <= 560px) {
  .solution-grid { gap: var(--sg-s-3); margin-top: var(--sg-s-4); }
  .solution-card { gap: 6px; padding: var(--sg-s-4); }
}

/* 3. Footer solutions block: trimmed flagship links + "Browse all 20 solutions" ---------------- */

.footer-solutions {
  margin-block: clamp(28px, 3vw, 40px) 0;
  padding-top: clamp(24px, 2.4vw, 32px);
  border-top: 1px solid var(--sg-line-subtle);
}
.footer-solutions-groups,
.footer-solutions .footer-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sg-s-5) var(--sg-s-6);
  padding-top: 0;
}
.footer-solutions-all { margin-top: var(--sg-s-4); font-size: .93rem; }
/* If the block stays a <details>, give the summary a visible disclosure chevron. */
details.footer-solutions > summary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: var(--sg-text);
  font-weight: 520;
}
details.footer-solutions > summary::after {
  content: "";
  width: .45em;
  height: .45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.15em) rotate(45deg);
  transition: transform var(--sg-dur-2) var(--sg-ease);
}
details.footer-solutions[open] > summary::after { transform: translateY(.1em) rotate(-135deg); }
details.footer-solutions > summary:hover { color: var(--sg-teal-200); }
@media (width <= 860px) {
  .footer-solutions-groups,
  .footer-solutions .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (width <= 560px) {
  .footer-solutions-groups,
  .footer-solutions .footer-layout { grid-template-columns: minmax(0, 1fr); gap: var(--sg-s-4); }
  /* Phones: links flow inline under each group title, so short labels share a row. */
  .footer-solutions .footer-nav { display: flex; flex-wrap: wrap; column-gap: var(--sg-s-4); row-gap: 0; }
  .footer-solutions .footer-nav-title { flex-basis: 100%; }
}

/* 4. Stripe Climate (Director requirement 2026-12-02). Markup: the Website Engineer's ClimateBadge.astro
      (p.climate-badge > img.climate-emblem + span|a) and p.climate-note on /checkout.
      Ship only after the gates in the role README (Stripe readback, Legal wording sign-off). ------------- */

/* Footer badge: one quiet pill, centred directly under the footer credentials row. */
.climate-badge {
  display: flex;
  align-items: center;
  gap: var(--sg-s-2);
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  margin: var(--sg-s-4) auto 0;
  padding: 5px 12px;
  border: 1px solid var(--sg-line);
  border-radius: 999px;
  color: var(--sg-text-3);
  font-size: .8rem;
  line-height: 1.4;
}
.climate-badge a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--sg-line-strong);
  text-underline-offset: .2em;
  transition: color var(--sg-dur-1) var(--sg-ease);
}
.climate-badge a:hover { color: var(--sg-text-2); text-decoration-color: currentColor; }
.climate-emblem { flex: none; width: 16px; height: 16px; }

/* Checkout and portal trust line. */
.climate-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: var(--sg-s-4) 0 var(--sg-s-3);
  padding: 10px 12px;
  border: 1px solid var(--sg-teal-900);
  border-radius: var(--sg-r-md);
  background: color-mix(in srgb, var(--sg-teal-400) 5%, transparent);
  color: var(--sg-text-2);
  font-size: var(--sg-fs-small);
  line-height: 1.5;
}
.climate-note .climate-emblem { width: 18px; height: 18px; margin-top: 1px; }
/* Inside the checkout form (or any [data-climate-scope], such as the portal Buy More drawer) the note shows
   only while the card or wallet method is selected. Browsers without :has() keep it hidden, so the claim
   never appears beside bank transfer or USDC. */
[data-checkout] .climate-note,
[data-climate-scope] .climate-note { display: none; }
[data-checkout]:has(input[name="payment"][value="card"]:checked) .climate-note,
[data-climate-scope]:has(input[name="payment"][value="card"]:checked) .climate-note { display: flex; }
.climate-note[hidden] { display: none !important; }

/* Retired after the 03:50Z basket deploy: the /legal credentials label already ships as an h2 (verified
   pixel-identical to the old <p>), and one-off reviews now use full .plan cards with .plan-price, so the
   earlier /legal and one-off price rules are no longer needed. */

@media (prefers-reduced-motion: reduce) {
  .solution-card,
  .solution-card-title a,
  .climate-badge a,
  details.footer-solutions > summary::after { transition: none; }
}

/* Visit us block: the /trust "Location" row and the /enquire sidebar. UI & Brand Designer, 2 December 2026.
   Token-only, no inline styles. Append to /slamgate-wave-a.css (loaded on every page) or load beside it. */

.visit-copy {
  margin: 0;
  color: var(--sg-text);
}

.visit-copy a {
  color: var(--sg-teal-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.visit-map {
  max-width: 600px;
  margin: var(--sg-s-3) 0 0;
}

.visit-map img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-md);
  background: var(--sg-surface);
}

.visit-map figcaption {
  margin-top: var(--sg-s-1);
  color: var(--sg-text-3);
  font-size: var(--sg-fs-label);
}

.visit-map figcaption a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* /enquire: the block closes the sidebar card, under a divider. */
.enquiry-sidebar .visit-block {
  display: grid;
  gap: var(--sg-s-3);
  padding-top: var(--sg-s-4);
  border-top: 1px solid var(--sg-line);
}

.enquiry-sidebar .visit-map {
  max-width: 360px;
  margin: 0;
}

.enquiry-sidebar .visit-block a.visit-maps-link {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
}

/* With the map the sidebar card is about 700 px tall. On short screens let it scroll with the page instead of
   sticking, so its lower half can always be reached. */
@media (max-height: 820px) {
  .enquiry-sidebar {
    position: static;
  }
}

/* Advisory Monitoring wording (Legal, Wave A sign-offs section 14). UI & Brand Designer, 2 December 2026.
   Revision b, after the Website Engineer's flag-on review: the /how-it-works panel follows the stage column and its
   heading now has a size. Colours, type sizes and radii are site tokens; no inline styles. This file replaces the
   revision a block at the end of /slamgate-wave-a.css. Everything here ships behind the weekly-summary flag. */

/* /pricing and / (the same card component): the Advisory card's package details, a closed disclosure under the
   benefits list. The purchase block keeps margin-top: auto, so the three cards' buttons still line up. */
.plan-details {
  align-self: stretch;
  margin: 0 0 1.2rem;
  text-align: left;
}

.plan-details > summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: var(--sg-teal-300);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.plan-details > summary::-webkit-details-marker {
  display: none;
}

.plan-details > summary::after {
  content: "";
  width: .45rem;
  height: .45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--sg-dur-1) var(--sg-ease);
}

.plan-details[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.plan-details > p {
  margin: .2rem 0 0;
  color: var(--sg-text-2);
  font-size: var(--sg-fs-small);
  line-height: 1.55;
}

/* /how-it-works: an unnumbered panel after the three testing stages and before the closing call to action. It is
   deliberately not a fourth stage, because Advisory Monitoring is not testing.
   - It sits directly inside the page's existing .shell. Do not add a second .shell: that insets it 48 px a side.
   - max-width matches .stages (880px), so its edges line up with the stage column (x 100 to 980 at 1440).
   - No top margin: the last stage's padding-bottom, clamp(40px, 5vw, 64px), gives the space above, and the bottom
     margin repeats that value below, so the panel keeps the same rhythm as the stages. */
.monitoring-note {
  max-width: 880px;
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-lg);
  background: var(--sg-band);
}

/* The base reset gives bare headings font-size: inherit, so the size is set here. It uses the site's h3 step, as
   .rail-card h3 does: 22 px at 1440 and 18.9 px at 390. That sits under the stage headings (37.6 and 25.6 px)
   because this is a side note, not a stage. */
.monitoring-note h2 {
  margin-top: .7rem;
  font-size: var(--sg-fs-h3);
  letter-spacing: -.03em;
}

.monitoring-note p:not(.eyebrow) {
  max-width: 65ch;
  margin-top: 1rem;
  color: var(--sg-text-2);
  line-height: 1.6;
}

.monitoring-note .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .75rem;
}

/* /checkout: one line under the Advisory Monitoring item in "Your order". */
.order-item-note {
  margin: .25rem 0 0;
  color: var(--sg-text-2);
  font-size: var(--sg-fs-small);
  line-height: 1.5;
}

/* /solutions/* vertical pages (all 20): section headings and the spacing inside each section.
   UI & Brand Designer, 2 December 2026. Append to /slamgate-wave-a.css.
   - The base reset gives bare headings font-size: inherit, and .solution-content never sized its h2s, so the seven
     section headings on each page rendered at 16 px, level with the bold dt items under them.
   - ".solution-content > * + *" spaces whole sections only, so inside a section the paragraphs, lists and the one h3
     ("Prepare for your enquiry") sat flush against each other.
   This copies the long-form .text-prose scale and rhythm: the h2 at 28 px at 1440 and 21.6 px at 390, 1rem between
   blocks and .9rem under a heading. A dl is left out, so its first dt keeps its own 1rem top margin, the same gap as
   between items. */
.solution-content h2 {
  font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem);
  letter-spacing: -.035em;
}

.solution-content section > * + :not(dl) {
  margin-top: 1rem;
}

.solution-content section > h2 + :not(dl) {
  margin-top: .9rem;
}

.solution-content section > p + h3 {
  margin-top: 1.6rem;
}

/* Optional polish for the ICO line (Legal, 18:50Z). UI & Brand Designer, 2 December 2026. Append to /slamgate-wave-a.css.
   The line wraps as "...Information Commissioner's / Office: ZC318508" in the footer brand column at 1440 and 390,
   and in the /trust Registrations row at 390, which splits the regulator's name. Balanced wrapping breaks it as
   "Registered with the Information / Commissioner's Office: ZC318508". No markup or wording change; the rule only
   matches the ICO register link. */
.footer-brand p:has(> a[href^="https://ico.org.uk/"]),
.proof-link[href^="https://ico.org.uk/"] {
  text-wrap: balance;
}

/* Credentials panel with three pillars ("Data protection & confidentiality" added; owner request 19:38Z, Legal sign-offs
   section 18). UI & Brand Designer, 2 December 2026. Revision b: stacked pillars are centred (owner review, 20:39Z).
   Token-only. Replaces the revision a block (afe916e1) in /slamgate-wave-a.css.
   Every rule is scoped to a list that holds a third pillar, so a two-pillar panel renders exactly as it does now.
   - Below 1024 px: one pillar per row, centred: the icon above the heading, then the body (up to 48ch) and the links,
     all centred. A rule sits between rows, with no vertical divider. Two columns plus an orphan third pillar is never
     used.
   - From 1024 px: three equal columns, left-aligned, icon above the heading, side padding 2vw (16 to 35.2 px). Every
     heading stays on one line from 1024 px, and the three links share one baseline whatever the paragraph length. */
.facts .facts-list:has(> .fact:nth-child(3)) {
  grid-template-columns: minmax(0, 1fr);
}

.facts .facts-list:has(> .fact:nth-child(3)) > .fact {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.facts .facts-list:has(> .fact:nth-child(3)) > .fact p {
  margin-inline: auto;
}

.facts .facts-list:has(> .fact:nth-child(3)) .fact-links {
  justify-content: center;
}

.facts .facts-list:has(> .fact:nth-child(3)) > .fact + .fact {
  border-top: 1px solid var(--sg-line);
}

.facts .facts-list:has(> .fact:nth-child(3)) > .fact + .fact::before {
  content: none;
}

/* Keeps "UK GDPR" on one line in the data protection pillar; the text content is unchanged. */
.facts .fact .nowrap {
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .facts .facts-list:has(> .fact:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facts .facts-list:has(> .fact:nth-child(3)) > .fact {
    grid-template-rows: auto 1fr;
    justify-items: normal;
    align-items: stretch;
    padding-inline: clamp(1rem, 2vw, 2.2rem);
    text-align: left;
  }

  .facts .facts-list:has(> .fact:nth-child(3)) > .fact p {
    margin-inline: 0;
  }

  .facts .facts-list:has(> .fact:nth-child(3)) .fact-links {
    justify-content: flex-start;
  }

  .facts .facts-list:has(> .fact:nth-child(3)) > .fact + .fact {
    border-top: 0;
  }

  .facts .facts-list:has(> .fact:nth-child(3)) > .fact + .fact::before {
    content: "";
  }

  .facts .facts-list:has(> .fact:nth-child(3)) > .fact > div {
    display: flex;
    flex-direction: column;
  }

  .facts .facts-list:has(> .fact:nth-child(3)) .text-link {
    align-self: flex-start;
  }
}

/* "Company details and standards" panel: the "Company details" row and the third pillar's two links (owner decision
   19:47Z; Legal sign-offs section 18). UI & Brand Designer, 2 December 2026. Revision b: at 600 px and below the label
   and the stacked items are centred (owner review, 20:39Z). Token-only. Replaces the revision a block (2bdec0b1) in
   /slamgate-wave-a.css, after ui-facts-three-pillars.css.
   - .company-details wraps the visible "Company details" label and the existing .credential-proofs list, and takes over
     the strip's padding and bottom rule. The list is aria-labelledby the label.
   - .proof-plain is the ICO item: the exact linked line in the same link style as the company number, with no emblem
     and no extra label. It is balanced over two lines so it matches the two-line items.
   - .fact-links holds "Trust and verification" and "Privacy notice" on one line, on the shared link baseline. */
.facts .company-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .65rem clamp(1.1rem, 4vw, 3.4rem);
  padding: .85rem 1.1rem;
  border-bottom: 1px solid var(--sg-line);
}

.facts .company-details > .credential-proofs {
  padding: 0;
  border-bottom: 0;
}

.facts .company-details-label {
  margin: 0;
  color: var(--sg-text-3);
  font-family: var(--sg-font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* 16.5em fits "Registered with the Information" and "Commissioner's Office: ZC318508" with a little room, so the box
   hugs the two balanced lines and the gaps either side of the item stay even. */
.facts .credential-proofs .proof-plain a {
  max-width: 16.5em;
  text-wrap: balance;
}

.facts .fact .fact-links {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem 1.1rem;
  margin-top: auto;
}

.facts .fact .fact-links .text-link {
  margin-top: 0;
}

/* Below 1024 px the pillars stack and are centred, so each item's two lines are centred too: the panel reads as one
   centred composition. */
@media (width < 1024px) {
  .facts .company-details > .credential-proofs > li {
    justify-content: center;
    text-align: center;
  }
}

/* At 600 px and below the items stack: the label and every item are centred. The site's own
   ".facts .credential-proofs { justify-content: flex-start }" at this width is overridden inside this row only. */
@media (width <= 600px) {
  .facts .company-details,
  .facts .company-details > .credential-proofs {
    justify-content: center;
  }

  .facts .company-details-label {
    flex-basis: 100%;
    text-align: center;
  }
}

/* Mobile centring polish (owner review via the Swarm Commander, 20:46Z). UI & Brand Designer, 2 December 2026.
   CSS only: no copy, markup or Legal change. Token-free (layout only). Append to /slamgate-wave-a.css after the panel
   files (ui-facts-three-pillars.css and ui-facts-company-details.css, revision b). */

/* One-off review cards (/ and /pricing): centre the price block at every width. UI & Brand Designer, 3 December 2026.
   CSS only, no copy or markup change. It replaces rule 1 of ui-mobile-centre.css (the same declarations inside
   "@media (width <= 960px)"), so delete that block and append this one to /slamgate-wave-a.css in its place.
   Why: the plan name is a centred flex row on every card. Above 960 px the price, the new "GBP price" line (Legal
   P2.06 and P2.07) and "per website, one-off" sat left-aligned under it, now a three-line block off the name's axis.
   Centred, the one-off cards match the monthly cards and their own phone layout. */
.one-off-plans .plan-price,
.one-off-plans .plan-per {
  justify-content: center;
  text-align: center;
}

/* 2. "Evidence your team can act on." (/). When the section stacks (960 px and below), the button under the checklist
   is centred under the centred heading and lead. The checklist rows stay full width. */
@media (width <= 960px) {
  .report-feature .report-points + .button {
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }
}

/* 3. Two-pillar credentials panels (/pricing and /legal) at 600 px and below, matching the homepage panel: each item in
   the strip is centred as a unit (emblem beside its two lines), and each stacked pillar is centred with its icon above
   the heading, its body (up to 48ch) and its link. The strip selector is one step more specific than the site's own
   ".facts .credential-proofs { justify-content: flex-start }", which loads later; it matches only a strip that is a
   direct child of the panel, so the homepage's "Company details" row (revision b) is not affected. */
@media (width <= 600px) {
  .facts .facts-panel > .credential-proofs {
    justify-content: center;
  }

  .facts .facts-list > .fact {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .facts .facts-list > .fact p {
    margin-inline: auto;
  }
}

/* "Why I built Slamgate": the founder note as a left-aligned letter (owner review via the Swarm Commander, 20:54Z).
   UI & Brand Designer, 2 December 2026. Legal sign-offs section 21 wording is unchanged; the only markup change splits
   paragraph 1 after its first sentence into a short lead (<p class="founder-lead">), keeping every word in order.
   Token-only. Append to /slamgate-wave-a.css. Scoped to .founder.
   Why: centred multi-paragraph prose made a 1,025 px wall of 27 centred lines at 390 px. Every benchmark founder letter
   (Stripe, Linear, PostHog, Tailscale, 1Password, Fly.io) sets its prose left-aligned at 15 to 20 px with 1.5 to 1.6
   line height and a 32 to 75 character measure, with at most a short lead. Short items (labels, headings, buttons)
   stay centred elsewhere on the site; a letter reads left-aligned. The whole founder block (eyebrow, heading, card,
   aside) shares one left-aligned 46rem column, so nothing sits centred above left text. */
.founder .center-head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: left;
}

.founder .center-head .eyebrow {
  justify-content: flex-start;
}

.founder-card {
  max-width: 46rem;
  padding: clamp(20px, 4vw, 44px) clamp(18px, 4.4vw, 48px) clamp(18px, 3vw, 30px);
  text-align: left;
}

/* The accent bar moves from the top centre to the start of the text column. */
.founder-card::before {
  left: clamp(18px, 4.4vw, 48px);
  transform: none;
}

/* The Worms Direct plate, compact: the logo on its light chip with the caption beside it, as one short row at the top
   of the letter. Same image, alt text and caption. */
.founder-plate {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .7rem;
  padding: 0;
  background: none;
  box-shadow: none;
}

.founder-plate img {
  width: auto;
  height: 30px;
  padding: 6px 10px;
  border-radius: var(--sg-r-sm);
  background: #f7f4ec;
}

.founder-plate figcaption {
  color: var(--sg-text-3);
}

.founder-letter {
  margin-top: clamp(18px, 2.6vw, 28px);
}

.founder-letter p {
  max-width: 64ch;
  margin: 0;
  color: var(--sg-text-2);
  font-size: clamp(1rem, .97rem + .12vw, 1.0625rem);
  line-height: 1.6;
  text-wrap: pretty;
}

/* The lead: the first sentence only, larger and bright, marked by a teal rule. 3 to 4 lines on a phone, 2 on desktop. */
.founder-letter .founder-lead {
  padding-left: .95rem;
  border-left: 2px solid var(--sg-teal-500);
  color: var(--sg-text);
  font-size: clamp(1.125rem, 1rem + .55vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.45;
}

.founder-letter p + p {
  margin-top: .85rem;
}

.founder-letter .founder-lead + p {
  margin-top: 1.15rem;
}

/* Sign-off: one left-aligned row under a full-width hairline (it wraps only if the screen is too narrow). */
.founder-sign {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .8rem;
  margin-top: clamp(18px, 2.4vw, 26px);
  padding-top: clamp(14px, 1.8vw, 18px);
  border-top: 1px solid var(--sg-line);
}

.founder-sign::before {
  content: none;
}

/* The aside lines up with the letter's text column. */
.founder-aside {
  max-width: 46rem;
  padding-inline: clamp(18px, 4.4vw, 48px);
  text-align: left;
}

/* 404 and "Checkout open soon" pages (.shell.lost). UI & Brand Designer, 2 December 2026. Token-only. Append to
   /slamgate-wave-a.css.
   1. The shield mark draws with a path and two rects. The old rule filled only the S mark's polygon, so since the
      shield swap the mark has fallen back to SVG's default black fill: a black shield on the near-black page. The whole
      mark is now teal-400, as the S was.
   2. ".lost p" (the lead's size and colour) also catches the eyebrow, which then rendered as a large grey mono label.
      The eyebrow keeps the site's eyebrow style, and the heading sits a little below it. */
.lost-mark {
  fill: var(--sg-teal-400);
}

.lost .eyebrow {
  margin-top: 0;
  color: var(--sg-teal-400);
  font-size: var(--sg-fs-label);
}

.lost .eyebrow + h1 {
  margin-top: .6rem;
}

/* Two-pillar credentials panels (/pricing, /legal): the two links share one line when the bodies differ in length
   (the CMA 1990 body grew in deployment e7c5320f, Legal section 22). UI & Brand Designer, 2 December 2026.
   Append to /slamgate-wave-a.css. Scoped to lists without a third pillar, so the homepage's three-pillar panel is
   untouched. Applies only while the pillars sit side by side (above 600 px); stacked pillars are unchanged. The
   paragraph takes the spare height, so each link keeps its usual gap below the text and the icon is not stretched. */
@media (width > 600px) {
  .facts .facts-list:not(:has(> .fact:nth-child(3))) > .fact > div {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }

  .facts .facts-list:not(:has(> .fact:nth-child(3))) > .fact > div > p {
    flex-grow: 1;
  }

  .facts .facts-list:not(:has(> .fact:nth-child(3))) > .fact > div > .text-link {
    align-self: flex-start;
  }
}

/* /how-it-works full-service workflow diagram. UI & Brand Designer, 2 December 2026.
   Append to the end of /slamgate-wave-a.css. Colours, type and radii are site tokens (tints are color-mix of a
   token); no inline styles, no animation. Every rule is scoped under .hiw-flow, so it outranks the base sheets,
   including Base.b07GxzJo.css, which loads last. The Advisory Monitoring panel (.monitoring-note) is untouched:
   the stage column stays 880 px wide, so the panel still lines up with it. */

/* 1. Kill switch rail. Below 1200 px it is a banner above the stages; from 1200 px it is a side rail (section 9). */
.hiw-flow .hiw-rail {
  max-width: 880px;
  margin: 0 0 clamp(32px, 4vw, 48px);
}

.hiw-flow .hiw-rail-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--sg-teal-700);
  border-radius: var(--sg-r-lg);
  background-color: var(--sg-band);
  background-image: linear-gradient(180deg, color-mix(in srgb, var(--sg-teal-400) 8%, var(--sg-band)), var(--sg-band));
}

.hiw-flow .hiw-rail-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--sg-teal-600);
  border-radius: 50%;
  background: var(--sg-bg);
  color: var(--sg-teal-300);
}

.hiw-flow .hiw-rail-label {
  grid-column: 2;
  color: var(--sg-teal-400);
  font-family: var(--sg-font-mono);
  font-size: var(--sg-fs-label);
  font-weight: 500;
  letter-spacing: .09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hiw-flow .hiw-rail-text {
  grid-column: 2;
  color: var(--sg-text);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
}

/* 2. Panels inside a stage. Same surface as the Advisory panel: band, line border, large radius. */
.hiw-flow .hiw-panel {
  margin-top: 1.5rem;
  padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-lg);
  background: var(--sg-band);
}

.hiw-flow .hiw-panel + .hiw-panel {
  margin-top: 1rem;
}

/* The base reset sets bare headings to font-size: inherit, so every heading here has a size. */
.hiw-flow .hiw-block-title {
  font-size: var(--sg-fs-h3);
  letter-spacing: -.03em;
  line-height: 1.2;
}

/* 3. Steps: an ordered list of nodes. Stacked below 1024 px, three across from 1024 px (section 8). */
.hiw-flow .hiw-steps {
  display: grid;
  row-gap: 32px;
}

.hiw-flow .hiw-step {
  position: relative;
  min-width: 0;
}

.hiw-flow .hiw-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.hiw-flow .hiw-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--sg-teal-700);
  border-radius: 50%;
  background: var(--sg-bg);
  color: var(--sg-teal-300);
}

.hiw-flow .hiw-step p {
  max-width: 62ch;
  margin-top: .6rem;
  color: var(--sg-text-2);
  font-size: var(--sg-fs-small);
  line-height: 1.6;
}

.hiw-flow .hiw-step .text-link {
  margin-top: .45rem;
  font-size: var(--sg-fs-small);
}

/* Connector to the next step: a teal line and chevron in the gap below this step. */
.hiw-flow .hiw-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(100% + 6px);
  left: 19.5px;
  width: 1px;
  height: 18px;
  background: var(--sg-teal-600);
}

.hiw-flow .hiw-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(100% + 17px);
  left: 16.5px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--sg-teal-600);
  border-bottom: 1px solid var(--sg-teal-600);
  transform: rotate(45deg);
}

/* Plan names in the Ongoing monitoring step (the plain-list square bullet, in teal). */
.hiw-flow .hiw-plans {
  gap: .3rem;
  margin-top: .65rem;
}

.hiw-flow .hiw-plans li {
  font-size: var(--sg-fs-small);
  line-height: 1.5;
}

.hiw-flow .hiw-plans li::before {
  top: .6em;
  background: var(--sg-teal-600);
}

/* Report release states in the Report step (Legal section 25): provisional, then final. A visual echo of the
   list line that states it, so it is hidden from assistive technology. */
.hiw-flow .hiw-step .hiw-release {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: none;
  margin-top: .7rem;
}

.hiw-flow .hiw-release-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border: 1px dashed var(--sg-line-strong);
  border-radius: 999px;
  color: var(--sg-text-2);
  font-family: var(--sg-font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hiw-flow .hiw-release-final {
  border: 1px solid var(--sg-teal-700);
  color: var(--sg-teal-300);
}

.hiw-flow .hiw-release-final::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 5px);
  width: 12px;
  height: 1px;
  background: var(--sg-teal-600);
}

.hiw-flow .hiw-release-final::after {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  right: calc(100% + 5px);
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--sg-teal-600);
  border-right: 1px solid var(--sg-teal-600);
  transform: rotate(45deg);
}

/* 4. Test limits and safeguards: two lanes (live site, isolated copy) and the excluded strip. */
.hiw-flow .hiw-lanes {
  display: grid;
  gap: 12px;
  margin-top: 1rem;
}

.hiw-flow .hiw-lane {
  padding: 16px 18px 18px;
  border: 1px dashed var(--sg-line-strong);
  border-radius: var(--sg-r-md);
}

.hiw-flow .hiw-lane-copy {
  border: 1px solid var(--sg-teal-700);
  background: color-mix(in srgb, var(--sg-teal-400) 5%, transparent);
}

.hiw-flow .hiw-lane-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  letter-spacing: -.015em;
  line-height: 1.3;
}

.hiw-flow .hiw-lane-title svg {
  flex: none;
  color: var(--sg-teal-300);
}

.hiw-flow .hiw-lane p,
.hiw-flow .hiw-excluded li {
  margin-top: .55rem;
  color: var(--sg-text-2);
  font-size: var(--sg-fs-small);
  line-height: 1.6;
}

.hiw-flow .hiw-excluded {
  margin-top: 12px;
  padding: 14px 18px 16px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-md);
}

.hiw-flow .hiw-excluded .hiw-lane-title {
  color: var(--sg-text-2);
}

.hiw-flow .hiw-excluded .hiw-lane-title svg {
  color: var(--sg-text-3);
}

/* 5. How our automated testing works: the agents inside the agreed limits (a visual of line 1, hidden from
   assistive technology because the list states it), then the six lines as cards. */
.hiw-flow .hiw-agents {
  position: relative;
  margin-top: 1.4rem;
  padding: 20px 12px 12px;
  border: 1px dashed var(--sg-teal-600);
  border-radius: var(--sg-r-md);
}

.hiw-flow .hiw-agents-label {
  position: absolute;
  top: 0;
  left: 12px;
  padding: 0 8px;
  background: var(--sg-band);
  color: var(--sg-teal-400);
  font-family: var(--sg-font-mono);
  font-size: var(--sg-fs-label);
  letter-spacing: .09em;
  line-height: 1.5;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.hiw-flow .hiw-agents-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Compact chips below 1024 px, so they wrap to at most three rows at 320 px and fit one row at 768 px. */
.hiw-flow .hiw-agent {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--sg-line-strong);
  border-radius: 999px;
  background: var(--sg-surface-2);
  color: var(--sg-text);
  font-size: .8rem;
  font-weight: 560;
  line-height: 1.2;
  white-space: nowrap;
}

.hiw-flow .hiw-agent svg {
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--sg-teal-300);
}

.hiw-flow .hiw-agent-more {
  border-style: dashed;
  color: var(--sg-text-3);
}

.hiw-flow .hiw-guardrails {
  gap: 10px;
  margin-top: 1rem;
}

.hiw-flow .hiw-guardrails li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-md);
  background: var(--sg-surface);
  color: var(--sg-text);
  font-size: .94rem;
  line-height: 1.55;
}

.hiw-flow .hiw-guardrails li::before {
  content: none;
}

.hiw-flow .hiw-g-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--sg-teal-700);
  border-radius: 50%;
  color: var(--sg-teal-300);
}

.hiw-flow .hiw-guardrails li > span:last-child {
  padding-top: 5px;
}

/* 6. Phones (560 px and below): the stage number sits beside the eyebrow and the stage content uses the full
   width, so nothing is squeezed into a narrow column. .stage-body is a plain div, so display: contents is safe. */
@media (max-width: 560px) {
  .hiw-flow .hiw-stage {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 0;
    align-items: center;
  }

  .hiw-flow .hiw-stage::before {
    display: none;
  }

  .hiw-flow .hiw-stage > .stage-body {
    display: contents;
  }

  .hiw-flow .hiw-stage > .stage-marker {
    grid-column: 1;
    grid-row: 1;
  }

  .hiw-flow .hiw-stage > .stage-body > .eyebrow {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }

  .hiw-flow .hiw-stage > .stage-body > :not(.eyebrow) {
    grid-column: 1 / -1;
  }

  .hiw-flow .hiw-stage > .stage-body > h2 {
    margin-top: 14px;
  }

  .hiw-flow .hiw-panel {
    margin-top: 1.1rem;
  }

  .hiw-flow .hiw-lane,
  .hiw-flow .hiw-excluded {
    padding: 14px 14px 16px;
  }

  /* The six lines become a divided list: no card boxes, so the text gets the full panel width. */
  .hiw-flow .hiw-guardrails {
    gap: 0;
  }

  .hiw-flow .hiw-guardrails li {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .hiw-flow .hiw-guardrails li + li {
    border-top: 1px solid var(--sg-line);
  }

  .hiw-flow .hiw-g-icon {
    width: 30px;
    height: 30px;
  }

  .hiw-flow .hiw-g-icon svg {
    width: 18px;
    height: 18px;
  }

  .hiw-flow .hiw-guardrails li > span:last-child {
    padding-top: 3px;
  }
}

@media (min-width: 561px) {
  .hiw-flow .hiw-agents {
    padding: 22px 16px 16px;
  }
}

/* 7. Two lanes side by side once each lane has room (about 270 px or more). */
@media (min-width: 720px) {
  .hiw-flow .hiw-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 8. Desktop (1024 px and up): steps run left to right with arrow connectors, the agents sit on one shared line,
   and the six lines form two columns. If an odd number of lines ships, the last card spans both columns. */
@media (min-width: 1024px) {
  .hiw-flow .hiw-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 48px;
    align-items: start;
  }

  /* Stage 03: the report step carries the most text and the sample report link, so its column is wider. */
  .hiw-flow .hiw-steps-lead {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr);
  }

  .hiw-flow .hiw-step-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hiw-flow .hiw-icon {
    width: 44px;
    height: 44px;
  }

  .hiw-flow .hiw-step:not(:last-child)::before {
    top: 22px;
    left: 56px;
    right: -36px;
    width: auto;
    height: 1px;
  }

  .hiw-flow .hiw-step:not(:last-child)::after {
    top: 18.5px;
    left: auto;
    right: -36px;
    border-top: 1px solid var(--sg-teal-600);
    border-bottom: 0;
  }

  .hiw-flow .hiw-agents-row {
    justify-content: space-between;
    gap: 12px;
  }

  .hiw-flow .hiw-agent {
    gap: 7px;
    min-height: 34px;
    padding: 6px 12px;
    font-size: .85rem;
  }

  .hiw-flow .hiw-agent svg {
    width: 16px;
    height: 16px;
  }

  /* The shared line runs through the centre of the first row of chips (34 px tall), so a longer translated label
     that wraps the row never leaves the line between rows. */
  .hiw-flow .hiw-agents-row::before {
    content: "";
    position: absolute;
    top: 16.5px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--sg-teal-600);
  }

  .hiw-flow .hiw-guardrails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hiw-flow .hiw-guardrails li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* 9. Wide screens (1200 px and up): the kill switch becomes a rail beside the stage column. The card stays in
   view while the stages scroll past; the line runs the full height of the stages and ends level with the last
   stage's content. The rail never overlaps content, so a focused link is never hidden behind it. */
@media (min-width: 1200px) {
  .hiw-flow {
    display: grid;
    grid-template-columns: minmax(0, 880px) minmax(240px, 1fr);
    column-gap: clamp(32px, 3.4vw, 48px);
  }

  .hiw-flow .hiw-stages {
    grid-column: 1;
    grid-row: 1;
  }

  .hiw-flow .hiw-rail {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    margin: 0;
    padding-bottom: clamp(40px, 5vw, 64px);
  }

  .hiw-flow .hiw-rail::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: calc(clamp(40px, 5vw, 64px) + 5px);
    left: 39px;
    width: 2px;
    background: var(--sg-teal-800);
  }

  .hiw-flow .hiw-rail::after {
    content: "";
    position: absolute;
    bottom: clamp(40px, 5vw, 64px);
    left: 35px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--sg-teal-700);
    border-radius: 50%;
    background: var(--sg-bg);
  }

  .hiw-flow .hiw-rail-card {
    position: sticky;
    top: calc(var(--sg-header-h) + 24px);
    z-index: 1;
    padding: 20px 20px 22px;
  }
}

/* /solutions cards: a Slamgate category glyph on every card, and plain-text platform names on the platform cards
   (Legal sign-offs section 23 item 1). No third-party logos: the names are set in Slamgate's own type, and the glyphs
   are Slamgate's own 24 px line icons (stroke 1.5, currentColor). UI & Brand Designer, 2 December 2026.
   Append to /slamgate-wave-a.css. Token-only. The platform names are not links and have no hover state, so they never
   read as buttons. Markup contract: README.md in this folder. */
.solution-card .solution-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 4px;
}

.solution-card .solution-glyph {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--sg-teal-800);
  border-radius: 9px;
  background: var(--sg-teal-900);
  color: var(--sg-teal-400);
}

.solution-card .solution-glyph svg {
  width: 20px;
  height: 20px;
}

/* Phones: a smaller tile and no extra gap keep the 20 stacked cards short. */
@media (width <= 600px) {
  .solution-card .solution-card-top {
    margin-bottom: 0;
  }

  .solution-card .solution-glyph {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .solution-card .solution-glyph svg {
    width: 18px;
    height: 18px;
  }
}

.solution-card .solution-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-card .solution-platforms > li {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border: 1px solid var(--sg-line-strong);
  border-radius: 999px;
  color: var(--sg-text);
  font-size: .75rem;
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

/* "Hosted platform" on the Shopify card points to the hosted-platform note under the group. */
.solution-card .solution-platforms > li.solution-platform-note {
  border-style: dashed;
  border-color: var(--sg-line-input);
  color: var(--sg-text-2);
  font-weight: 500;
}

/* Legal's hosted-platform line, directly under the "Platforms, frameworks and APIs" cards. */
.solution-group .solution-group-note {
  max-width: 72ch;
  margin: var(--sg-s-4) 0 0;
  color: var(--sg-text-2);
  font-size: var(--sg-fs-small);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Legal's trade mark disclaimer, closing the page above the footer. */
.solution-disclaimer {
  max-width: 72ch;
  margin: clamp(24px, 2.4vw, 36px) 0 clamp(8px, 1vw, 16px);
  padding-top: var(--sg-s-4);
  border-top: 1px solid var(--sg-line-subtle);
  color: var(--sg-text-3);
  font-size: .8125rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* /solutions mixed variant (Legal sign-offs section 26): official logo files as images on white tiles, unaltered, for
   Rails, PHP and Ruby only; the owners' notices in a credits block that closes the page. Append after
   ui-solutions-platforms.css. */
.solution-card .solution-logos {
  display: inline-flex;
  flex: none;
  gap: 8px;
}

.solution-card .solution-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  background: #fff;
}

.solution-card .solution-logo img {
  display: block;
  max-height: 26px;
  width: auto;
}

/* Glyph tiles match the logo tiles. */
.solution-card .solution-card-top .solution-glyph {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.solution-card .solution-card-top .solution-glyph svg {
  width: 24px;
  height: 24px;
}

.solution-card .solution-card-top {
  margin-bottom: 4px;
}

.solution-credits {
  max-width: 78ch;
  margin: clamp(24px, 2.4vw, 36px) 0 clamp(8px, 1vw, 16px);
  padding-top: var(--sg-s-4);
  border-top: 1px solid var(--sg-line-subtle);
  color: var(--sg-text-3);
  font-size: .8125rem;
  line-height: 1.55;
}

.solution-credits p {
  margin: 0;
  text-wrap: pretty;
}

.solution-credits p + p {
  margin-top: .6rem;
}

.solution-credits .text-link {
  display: inline;
  min-height: 0;
}

/* Daily issues counter (Legal sign-offs section 23 item 2). UI & Brand Designer, 2 December 2026.
   Append to /slamgate-wave-a.css. Token-only. A quiet band after the hero or page intro: the number and Legal's label
   read as one line, and Legal's caption sits beside them, never in a tooltip. No animation, no pulsing "live" dot and
   no count-up: the figure is rendered at build time and changes once a day.
   - Below 960 px: the number and label, then the caption, stacked.
   - From 960 px: one row, with the figure on the left and the caption on the right. */
.issues-counter {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px clamp(24px, 3vw, 48px);
  align-items: center;
  margin: clamp(20px, 2.4vw, 32px) 0 0;
  padding: clamp(14px, 1.4vw, 18px) clamp(16px, 2vw, 24px);
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-lg);
  background: var(--sg-band);
}

.issues-counter .issues-counter-figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin: 0;
}

.issues-counter .issues-counter-number {
  color: var(--sg-teal-400);
  font-family: var(--sg-font-mono);
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.375rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
}

.issues-counter .issues-counter-label {
  color: var(--sg-text);
  font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.issues-counter .issues-counter-caption {
  max-width: 78ch;
  margin: 0;
  color: var(--sg-text-2);
  font-size: .8125rem;
  line-height: 1.5;
  text-wrap: pretty;
}

/* "How we count" ends Legal's caption, so it flows as text: the base .text-link is a 32 px inline-flex box, which would
   push its line down. Links inside a sentence are exempt from the target-size rule (WCAG 2.5.8). */
.issues-counter .issues-counter-caption .text-link {
  display: inline;
  min-height: 0;
}

@media (width >= 960px) {
  .issues-counter {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .issues-counter .issues-counter-figure {
    flex-wrap: nowrap;
  }

  .issues-counter .issues-counter-label {
    white-space: nowrap;
  }
}

/* /trust: Legal's "How we count" note, the target of the caption's link. */
.trust-section .issues-counter-note {
  max-width: 72ch;
}
/* /sample-report: portal preview and progress chart. UI & Brand Designer, 2 December 2026.
   Legal: Wave A sign-offs section 24 item 3, with the section 16(a) number rules.
   Append after the existing rules in /slamgate-wave-a.css. Every selector starts with .sample-report, so each rule
   outranks Base.b07 (which loads last) at equal specificity, and each heading sets its own size because the reset sets
   h1 to h6 to font-size: inherit. The markup needs no style attribute, style block or script. */

/* 1. Section and intro */
.sample-report .sr-portal {
  margin-top: clamp(8px, 2vw, 24px);
  padding-block: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--sg-line);
}

.sample-report .sr-portal-head {
  max-width: 46rem;
}

.sample-report .sr-portal-title {
  margin-top: .9rem;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem);
  letter-spacing: -.045em;
}

.sample-report .sr-portal-lead {
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--sg-text-2);
  font-size: var(--sg-fs-lead);
  line-height: 1.55;
}

/* 2. Portal previews. One column, then two from 720 px and three from 1200 px. The images keep their 398 px width
   (or shrink with their column) and never scale up. In two columns, severity and stop fill the left column and retest
   and history the right. Each figure follows the one above it at the row gap, and the shorter column simply ends
   earlier: the last row is the only flexible one, and only the figure that ends each column crosses it. */
.sample-report .sr-portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sg-s-6) var(--sg-s-5);
  align-items: start;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.sample-report .sr-shot {
  display: grid;
  gap: var(--sg-s-4);
  min-width: 0;
  margin: 0;
}

.sample-report .sr-shot-title {
  font-size: var(--sg-fs-h3);
  letter-spacing: -.025em;
}

.sample-report .sr-shot figcaption p,
.sample-report .sr-shot-steps {
  max-width: 46ch;
  margin-top: .45rem;
  color: var(--sg-text-2);
  font-size: var(--sg-fs-small);
  line-height: 1.55;
}

.sample-report .sr-shot-steps {
  display: grid;
  gap: .3rem;
  padding-left: 1.3rem;
  list-style: decimal;
}

.sample-report .sr-shot-steps li::marker {
  color: var(--sg-teal-400);
  font-family: var(--sg-font-mono);
  font-size: .8em;
}

.sample-report .sr-shot-states,
.sample-report .sr-shot-state {
  display: grid;
  gap: var(--sg-s-2);
}

.sample-report .sr-shot-states {
  gap: var(--sg-s-4);
}

.sample-report .sr-shot-label {
  color: var(--sg-text-3);
  font-family: var(--sg-font-mono);
  font-size: var(--sg-fs-label);
  letter-spacing: .09em;
  text-transform: uppercase;
}

@media (width >= 720px) {
  .sample-report .sr-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "severity retest" "stop retest" "stop history";
  }

  .sample-report .sr-shot-severity { grid-area: severity; }
  .sample-report .sr-shot-stop { grid-area: stop; }
  .sample-report .sr-shot-retest { grid-area: retest; }
  .sample-report .sr-shot-history { grid-area: history; }
}

@media (width >= 1200px) {
  .sample-report .sr-portal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    grid-template-areas: "severity stop retest" "history stop retest";
  }
}

/* 3. Progress chart. The four fills are stepped from the severity hues so that touching segments stay apart:
   adjacent pairs at least 17.8 apart for normal vision and 15.2 under deuteranopia (OKLab x100), chroma at least 0.10,
   and each fill at least 3:1 on --sg-band. The severity tokens themselves stay for pills and text. */
.sample-report .sr-chart {
  --sr-critical: #c4473a;
  --sr-high: #e98f4e;
  --sr-medium: #f5d86f;
  --sr-low: #3fa2d6;
  display: grid;
  gap: var(--sg-s-5);
  margin: clamp(36px, 4.5vw, 56px) 0 0;
  padding: clamp(16px, 2.6vw, 32px);
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-lg);
  background: var(--sg-band);
}

.sample-report .sr-chart-title {
  font-size: var(--sg-fs-h3);
  letter-spacing: -.025em;
}

.sample-report .sr-chart-note {
  margin-top: .45rem;
  color: var(--sg-text-2);
  font-size: var(--sg-fs-small);
}

.sample-report .sr-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.1rem;
  margin-top: .9rem;
  color: var(--sg-text-2);
  font-size: .85rem;
}

.sample-report .sr-legend li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.sample-report .sr-swatch {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.sample-report .sr-swatch-critical { background: var(--sr-critical); }
.sample-report .sr-swatch-high { background: var(--sr-high); }
.sample-report .sr-swatch-medium { background: var(--sr-medium); }
.sample-report .sr-swatch-low { background: var(--sr-low); }

.sample-report .sr-chart-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sg-s-6) var(--sg-s-7);
  align-items: start;
}

@media (width >= 960px) {
  .sample-report .sr-chart-body {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }
}

.sample-report .sr-chart-svg {
  width: 100%;
  height: 236px;
}

.sample-report .sr-chart-svg text {
  font-family: var(--sg-font-sans);
}

.sample-report .sr-run {
  fill: var(--sg-text-2);
  font-size: 13px;
}

.sample-report .sr-total {
  fill: var(--sg-text);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sample-report .sr-chart-svg .sr-tick {
  fill: var(--sg-text-3);
  font-family: var(--sg-font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.sample-report .sr-grid {
  stroke: var(--sg-line);
  stroke-width: 1;
}

.sample-report .sr-axis {
  stroke: var(--sg-line-strong);
  stroke-width: 1;
}

.sample-report .sr-gap {
  stroke: var(--sg-band);
  stroke-width: 2;
}

.sample-report .sr-seg-critical { fill: var(--sr-critical); }
.sample-report .sr-seg-high { fill: var(--sr-high); }
.sample-report .sr-seg-medium { fill: var(--sr-medium); }
.sample-report .sr-seg-low { fill: var(--sr-low); }

.sample-report .sr-chip-box {
  fill: var(--sg-sev-medium-bg);
  stroke: var(--sg-sev-medium-line);
  stroke-width: 1;
}

.sample-report .sr-chart-svg .sr-chip-text {
  fill: var(--sg-sev-medium);
  font-family: var(--sg-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sample-report .sr-chart-table {
  width: 100%;
  max-width: 30rem;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.sample-report .sr-chart-table caption,
.sample-report .sr-chart-subhead {
  color: var(--sg-text-3);
  font-family: var(--sg-font-mono);
  font-size: var(--sg-fs-label);
  letter-spacing: .09em;
  text-align: left;
  text-transform: uppercase;
}

.sample-report .sr-chart-table caption {
  padding-bottom: .5rem;
}

.sample-report .sr-chart-table th,
.sample-report .sr-chart-table td {
  padding: .38rem .35rem;
  border-bottom: 1px solid var(--sg-line-subtle);
  text-align: right;
}

.sample-report .sr-chart-table th:first-child {
  padding-left: 0;
  text-align: left;
}

.sample-report .sr-chart-table thead th {
  color: var(--sg-text-3);
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
}

.sample-report .sr-chart-table tbody th {
  color: var(--sg-text-2);
  font-weight: 500;
}

.sample-report .sr-chart-table tfoot th,
.sample-report .sr-chart-table tfoot td {
  border-bottom: 0;
  color: var(--sg-text);
  font-weight: 600;
}

.sample-report .sr-chart-retests {
  display: grid;
  gap: .55rem var(--sg-s-7);
  margin: .55rem 0 0;
  font-size: .875rem;
  line-height: 1.5;
}

@media (width >= 720px) {
  .sample-report .sr-chart-retests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sample-report .sr-chart-retests div {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: .75rem;
}

@media (width < 480px) {
  .sample-report .sr-chart-retests div {
    grid-template-columns: minmax(0, 1fr);
    gap: .1rem;
  }
}

.sample-report .sr-chart-retests dt {
  color: var(--sg-text);
  font-weight: 560;
}

.sample-report .sr-chart-retests dd {
  margin: 0;
  color: var(--sg-text-2);
}

.sample-report .sr-chart-caption {
  padding-top: var(--sg-s-4);
  border-top: 1px solid var(--sg-line);
  color: var(--sg-text-2);
  font-size: var(--sg-fs-small);
}

/* 4. Forced colours: the bars turn CanvasText with Canvas gaps, and the table carries each severity count. */
@media (forced-colors: active) {
  .sample-report .sr-chart-svg .sr-seg { fill: CanvasText; }
  .sample-report .sr-chart-svg .sr-gap { stroke: Canvas; }
  .sample-report .sr-chart-svg .sr-grid,
  .sample-report .sr-chart-svg .sr-axis { stroke: GrayText; }
  .sample-report .sr-chart-svg text { fill: CanvasText; }
  .sample-report .sr-chart-svg .sr-chip-box { fill: Canvas; stroke: CanvasText; }
  .sample-report .sr-swatch { display: none; }
}

/* 5. Print: the printed report stays the report alone. */
@media print {
  .sample-report .sr-portal { display: none; }
}

/* Text contrast fixes from the Wave 39 audit (UI & Brand Designer, 3 December 2026). Both small texts move to the
   tertiary text token, which reads 6.62:1 on --sg-bg, and the backgrounds stay as they are. Make these two changes in
   the base token sheet's source rules; the same rules appended to /slamgate-wave-a.css also win, at equal specificity.
   1. Form placeholders (/enquire): were #6b7d7e, 4.49:1 on a resting field and 4.34:1 on a focused one. Entered text
      stays --sg-text, so a hint still reads clearly apart from a value.
   2. "Report contents" counters (/sample-report): were --sg-text-disabled, 3.65:1. They now share the label's colour;
      their smaller mono type keeps them below the label. --sg-text-disabled stays for disabled buttons only. */
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--sg-text-3);
}

.section-nav a::before {
  color: var(--sg-text-3);
}

/* /solutions lists (UI & Brand Designer, 3 December 2026): the lists have no markers, so on phones a wrapped item
   ("Weekly Check + Monthly Full AI Swarm / Attack Test, £150/mo") read as two links. A small gap between items keeps
   each item's own lines together. Single-item lists are unchanged. */
.solution-content .solution-list > li + li {
  margin-top: .5rem;
}

/* /responsible-testing "At a glance" box (Legal, policy v1.3.2). UI & Brand Designer, 3 December 2026. Append-only.
   Markup: <aside class="policy-glance" aria-labelledby="policy-glance-title"> with an h2 and six p, as the first child of
   .text-prose, before the policy's version lines.
   1. The box: the site's band panel (as on /how-it-works), full prose width.
   2. Its heading: .text-prose h2 draws a divider above every policy section, so the box's own h2 drops it and takes the
      h3 step, as a side note does.
   3. The first paragraph ("This is a non-binding guide…") is the box's qualifier: the small text step, set apart from
      the summary by a hairline, still in --sg-text-2 (10:1).
   4. The summary paragraphs keep the policy's own text colour and line height, so the binding policy below never
      reads as the lesser text.
   5. The version line: .text-prose > p:first-child styles "Policy version …" as a mono label; with the box first, the
      same style follows the box. The policy starts 2rem below the box. */
.text-prose .policy-glance {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-lg);
  background: var(--sg-band);
}

.text-prose .policy-glance > * + * {
  margin-top: .8rem;
}

.text-prose .policy-glance h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  font-size: var(--sg-fs-h3);
  letter-spacing: -.03em;
}

.text-prose .policy-glance h2 + p {
  margin-top: .6rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--sg-line-subtle);
  font-size: var(--sg-fs-small);
}

.text-prose > .policy-glance + p {
  margin-top: 2rem;
  color: var(--sg-text-3);
  font-family: var(--sg-font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* The flexible verification widget reserves 300 CSS pixels. On narrow phones,
   let its row use the form's padding while keeping the control inside the card. */
@media (max-width: 24rem) {
  .enquiry-layout > .enquiry-form:has([data-turnstile-sitekey]) {
    --enquiry-check-width: 300px;
    margin-inline: min(0px, calc((100% - var(--enquiry-check-width)) / 2 - var(--sg-s-2) - 1px));
  }

  .enquiry-form .form-check > [data-turnstile-sitekey] {
    margin-inline: min(0px, calc((100% - var(--enquiry-check-width)) / 2));
  }
}

/* Help Centre: /help and /help/{slug} (UI & Brand Designer, 3 December 2026). Append-only, to /slamgate-wave-a.css.
   Markup: markup/help-index.html and markup/help-guide-*.html. The pages reuse .shell, .page-intro, .eyebrow, .lead, the
   button classes and the site's closing card as they are; everything new is scoped to .help-*. */

/* 1. Guide titles are questions of up to 46 characters. At the site's h1 size, the intro's 18ch cap breaks them over
   three lines; 24ch keeps them to two at desktop widths. On phones the site's 2.5rem floor gives a 46-character title
   four lines at 320 px, so Help pages let the h1 shrink to 2rem there. The desktop size is unchanged. */
.help-page .page-intro h1 {
  max-width: 24ch;
  font-size: clamp(2rem, 1.35rem + 4vw, 4.5rem);
}

/* 2. Legal's portal note, on every Help page, straight after the intro. It sits outside .page-intro, because that
   block styles every paragraph inside it as a lead. Teal on teal-900 is the site's informational tone. */
.help-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 72ch;
  margin: 0 0 clamp(32px, 4vw, 48px);
  padding: 14px 18px;
  border: 1px solid var(--sg-teal-800);
  border-radius: var(--sg-r-md);
  background: var(--sg-teal-900);
}

.help-note svg {
  flex: none;
  margin-top: 1px;
  color: var(--sg-teal-300);
}

.help-note p {
  margin: 0;
  color: var(--sg-text);
  font-size: var(--sg-fs-small);
  line-height: 1.55;
}

/* 3. Guide cards: the /solutions card, simplified to a title and a description. The title link covers the card, and
   the link text stays its accessible name. */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--sg-s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sg-s-2);
  padding: var(--sg-s-5);
  border: 1px solid var(--sg-line);
  border-radius: var(--sg-r-lg);
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow-1);
  transition: border-color var(--sg-dur-1) var(--sg-ease), background-color var(--sg-dur-1) var(--sg-ease);
}

.help-card:hover {
  border-color: var(--sg-teal-700);
  background: var(--sg-surface-2);
}

.help-card:focus-within {
  outline: 2px solid var(--sg-focus);
  outline-offset: 3px;
}

.help-card-title {
  margin: 0;
  font-size: var(--sg-fs-h3);
  letter-spacing: -.025em;
  line-height: 1.25;
}

.help-card-title a {
  color: var(--sg-text);
  text-decoration: none;
}

.help-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--sg-r-lg);
}

.help-card-title a:focus-visible {
  outline: none;
}

.help-card-summary {
  margin: 0;
  color: var(--sg-text-2);
  font-size: var(--sg-fs-small);
  line-height: 1.55;
}

/* 4. A guide's questions: one column of at most 72ch. Each question is an h2 at the h3 step, with a hairline between
   questions. Answers use the policy prose's size and line height. The price list uses the prose's teal square marker. */
.help-faqs {
  max-width: 72ch;
}

.help-faq + .help-faq {
  margin-top: var(--sg-s-6);
  padding-top: var(--sg-s-6);
  border-top: 1px solid var(--sg-line-subtle);
}

.help-faq h2 {
  margin: 0;
  font-size: var(--sg-fs-h3);
  letter-spacing: -.025em;
  line-height: 1.25;
}

.help-faq > * + * {
  margin-top: .75rem;
}

.help-faq p,
.help-list li {
  color: var(--sg-text-2);
  font-size: 1.02rem;
  line-height: 1.75;
}

.help-list {
  display: grid;
  gap: .35rem;
  padding: 0;
  list-style: none;
}

.help-list li {
  position: relative;
  padding-left: 1.3rem;
}

.help-list li::before {
  content: "";
  position: absolute;
  top: .78em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--sg-teal-500);
}

/* 5. Related guides, then the site's closing card. */
.help-related {
  margin-top: clamp(48px, 6vw, 80px);
}

.help-related h2 {
  margin: 0;
  font-size: var(--sg-fs-h3);
  letter-spacing: -.025em;
}

.help-related .help-grid {
  margin-top: var(--sg-s-4);
}

.help-page .page-closing {
  margin-top: clamp(48px, 6vw, 80px);
}
