/* 001.css — the site stylesheet for Kassoom (kassoom.webosaurus.co.uk).
 *
 * Scaffolded EMPTY by site-scaffold on 2026-09-30, so the design step
 * has a file to open rather than a folder to guess at. Named from the project
 * number, never the brand: brands change, project numbers do not.
 *
 * core/includes/template-default.php links it by the name site/globalVars.php
 * gives in $siteStylesheet, behind is_file() — a file by any other name is
 * silently not loaded. Per-site: core/css/ is not part of the shared core.
 */

/*
  Kassoom free-trial site: template_4, direction 1b at the shape of the data.
  The ONE stylesheet. At the fold it is core/css/<nnn>.css, named by $siteStylesheet
  in site/globalVars.php. Until the scaffold gives the project number it is site.css.

  Vanilla CSS, mobile first, Grid and Flexbox. No framework, no build step.

  What the render layer emits and this file styles, never renames:
    div.cms-row#cms_row_<id> > div.cms-content#cms_content_<id>   rows and blocks
    form.webo_form and every hook inside it (contract section 4)
    div.wbo-consent, a.wbo-consent-open                           the cookie modal
  Everything else (wrappers, sections, chrome) is the design's own.

  A class that starts "kas-" is a class attribute set on a row or block in the CMS.
  The platform stores lowercase words joined by single hyphens, 44 characters at most.

  Contents
    1  Fonts            7  Regions            13  The cookie modal
    2  Tokens           8  Form card          14  Legal page
    3  Base             9  The form (core)    15  Empty state
    4  Buttons         10  Icons by row class 16  600 and up
    5  Chrome          11  Ratings            17  900 and up
    6  Hero            12  Footer             18  Wider
*/

/* ---------- 1. Fonts: self-hosted, OFL, Latin subset. No kit, no CDN ---------- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 2. Tokens ---------- */

:root {
  /* THE LOGO'S OWN: read from the artwork (kassoom-logo.svg). Recorded, and used only
     where the logo itself is drawn. Never text, border or icon on light: 2.0:1 or less */
  --logo-gold-from: #FE992F;
  --logo-gold-to: #FFDF51;
  --logo-ink: #333333;

  /* KASSOOM'S LIVE SITE: read from kassoom.com's :root (reference/kassoom-com/index.css) */
  --gold: #F5A623;          /* button fill. Never text, border or icon on light: 2.0:1 */
  --gold-hover: #E8951A;
  --cta-text: #1A1A2E;      /* 8.4:1 on gold */
  --heading: #0D1B3E;
  --body: #3D3D56;
  --muted: #6B7280;         /* 4.8:1 on white, 4.6:1 on canvas. Not on the band (4.3:1) */
  --canvas: #F7F9FF;
  --band: #EEF2FF;
  --card: #FFFFFF;
  --link: #2B59C3;
  --line: #E5E7EB;          /* decorative hairlines only: 1.2:1 */
  --success-bg: #ECFDF5;
  --radius-btn: 10px;       /* kassoom.com's live button (John, 29 Sep 2026) */
  --radius-input: 10px;
  --radius-card: 16px;
  --radius-card-lg: 20px;

  /* THE TEMPLATE'S: added for contrast or structure (approved by John, 29 Sep 2026) */
  --input-border: #6B7280;  /* 4.8:1 on white; Kassoom's #E5E7EB is 1.2:1 */
  --error: #B42318;         /* 6.6:1 on white; Kassoom's #E74C3C is 3.8:1 */
  --error-bg: #FEF3F2;
  --success: #047857;       /* 5.5:1 on white; Kassoom's #059669 is 3.8:1 */
  --on-navy: #FFFFFF;       /* 16.9:1 on navy */
  --line-strong: #C9D2EA;   /* decorative divider on the band */
  --backdrop: rgba(13, 27, 62, 0.72);   /* the navy, behind the cookie modal */
  --shadow-card: 0 10px 15px -3px rgba(13, 27, 62, 0.1), 0 4px 6px -4px rgba(13, 27, 62, 0.1),
    0 0 0 1px rgba(13, 27, 62, 0.04);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ICONS: drawn by this file, in the navy, green and red above. The colour is written
     into each image, because an image cannot read a custom property. */
  --i-tick-bold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --i-tick-success: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.5v.01'/%3E%3C/svg%3E");
  --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230D1B3E'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/svg%3E");
  --i-stars-1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 98 18' fill='%230D1B3E'%3E%3Cg transform='translate(0 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(20 0) scale(0.75)'%3E%3Cpath fill='none' stroke='%230D1B3E' stroke-width='1.5' stroke-linejoin='round' d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(40 0) scale(0.75)'%3E%3Cpath fill='none' stroke='%230D1B3E' stroke-width='1.5' stroke-linejoin='round' d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(60 0) scale(0.75)'%3E%3Cpath fill='none' stroke='%230D1B3E' stroke-width='1.5' stroke-linejoin='round' d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(80 0) scale(0.75)'%3E%3Cpath fill='none' stroke='%230D1B3E' stroke-width='1.5' stroke-linejoin='round' d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3C/svg%3E");
  --i-stars-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 98 18' fill='%230D1B3E'%3E%3Cg transform='translate(0 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(20 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(40 0) scale(0.75)'%3E%3Cpath fill='none' stroke='%230D1B3E' stroke-width='1.5' stroke-linejoin='round' d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(60 0) scale(0.75)'%3E%3Cpath fill='none' stroke='%230D1B3E' stroke-width='1.5' stroke-linejoin='round' d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(80 0) scale(0.75)'%3E%3Cpath fill='none' stroke='%230D1B3E' stroke-width='1.5' stroke-linejoin='round' d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3C/svg%3E");
  --i-stars-3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 98 18' fill='%230D1B3E'%3E%3Cg transform='translate(0 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(20 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(40 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(60 0) scale(0.75)'%3E%3Cpath fill='none' stroke='%230D1B3E' stroke-width='1.5' stroke-linejoin='round' d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(80 0) scale(0.75)'%3E%3Cpath fill='none' stroke='%230D1B3E' stroke-width='1.5' stroke-linejoin='round' d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3C/svg%3E");
  --i-stars-4: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 98 18' fill='%230D1B3E'%3E%3Cg transform='translate(0 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(20 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(40 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(60 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(80 0) scale(0.75)'%3E%3Cpath fill='none' stroke='%230D1B3E' stroke-width='1.5' stroke-linejoin='round' d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3C/svg%3E");
  --i-stars-5: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 98 18' fill='%230D1B3E'%3E%3Cg transform='translate(0 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(20 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(40 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(60 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3Cg transform='translate(80 0) scale(0.75)'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.9-4.8 4.6 1.2 6.6L12 17.5l-5.9 3.2 1.2-6.6L2.5 9.5l6.6-.9z'/%3E%3C/g%3E%3C/svg%3E");
  --i-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20M4 4l16 16'/%3E%3C/svg%3E");
  --i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6l-8-3z'/%3E%3C/svg%3E");
  --i-shield-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6l-8-3z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  --i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --i-screen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E");
  --i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  --i-list: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6h10M10 12h10M10 18h10'/%3E%3Cpath d='m3 6 1.5 1.5L7 5M3 12l1.5 1.5L7 11M3 18l1.5 1.5L7 17'/%3E%3C/svg%3E");
  --i-person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
  --i-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h14v14H6a2 2 0 0 0-2 2V5z'/%3E%3Cpath d='M4 19a2 2 0 0 0 2 2h14v-4'/%3E%3C/svg%3E");
  --i-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4v16h16'/%3E%3Cpath d='M8 16v-4M12 16V8M16 16v-6'/%3E%3C/svg%3E");
  --i-refresh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.5-3.5'/%3E%3Cpath d='M4 4v4h4'/%3E%3Cpath d='M4 13a8 8 0 0 0 14.5 3.5'/%3E%3Cpath d='M20 20v-4h-4'/%3E%3C/svg%3E");
  --i-form: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E");
  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
  --i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1B3E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m10 8 6 4-6 4V8z'/%3E%3C/svg%3E");
}

/* ---------- 3. Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

/* Below 900 the sticky button takes the foot of the screen: keep focused links clear of it. */
@media (max-width: 899px) {
  html { scroll-padding-bottom: 96px; }
  /* kassoom-21, Iris's review: the menu's links take the full row, so the focus ring and the
     hit area span the width (3c). kassoom-37 (John, 28 Oct 2026: "Phones should show the hero
     still, as VTP does"): the person hero keeps its narrow still below 900, as every other hero
     does; the rule that blanked it (kassoom-21, item 5) is gone. */
  .has-nav-js .site-nav__list a { display: flex; width: 100%; }
  .has-nav-js .site-nav__item--sub > a { flex: 1 1 0; width: auto; }   /* the stage link beside its toggle (kassoom-24) */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--body);
  background: var(--canvas);
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 360;
  color: var(--heading);
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.5rem, 1.55rem + 4vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.875rem, 1.45rem + 1.8vw, 2.875rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--heading);
  overflow-wrap: break-word;
}

a { color: var(--link); text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--heading);
  outline-offset: 3px;
  border-radius: 4px;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* A row and a block are plain boxes until a region says otherwise. Long words never push a box wider. */
.cms-row, .cms-content { min-width: 0; overflow-wrap: break-word; }
.cms-content > ul, .cms-content > ol { padding-left: 1.25em; }

/* Paragraphs and lists that follow one another inside one block keep a gap. :where() adds
   no weight, so a region's own spacing still wins. */
:where(.cms-content) > :where(p, ul, ol, blockquote) + :where(p, ul, ol, blockquote) { margin-top: 12px; }
.cms-content img { width: 100%; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 30;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  background: var(--heading);
  color: var(--on-navy);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- 4. Buttons ----------
   a.btn is the chrome's (site partials and templates). A link block the CMS classes
   kas-button is drawn the same: the core emits a bare <a> inside the block. */

.btn,
.kas-button > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 32px;
  border: 0;
  border-radius: var(--radius-btn);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn--primary,
.kas-button > a {
  background: var(--gold);
  color: var(--cta-text);
  box-shadow: 0 1px 2px rgba(13, 27, 62, 0.12);
}
.btn--primary:hover,
.kas-button > a:hover { background: var(--gold-hover); }

.btn--block { display: flex; width: 100%; }
.btn--small { min-height: 44px; padding: 10px 20px; font-size: 0.9375rem; }

/* ---------- 5. Chrome: offer bar and header ---------- */

.offer-bar {
  background: var(--band);
  color: var(--heading);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
}

.offer-bar__clip { padding-block: 9px; }

/* Below 600 the offers stack, so no separator is left hanging at a line start. */
.offer-bar__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand { display: block; padding-block: 12px; }
.brand__logo { width: auto; height: 40px; }
.site-header__cta { display: none; }

/* The section links (kassoom-21 decision 6). Only a header that has them carries
   .site-header--nav, so every rule here leaves today's header as it is. Below 900: the
   logo, the menu button and the free-trial button on one line (the button outside the
   menu, always shown), the links on a line of their own below. Without JavaScript the
   button stays hidden and the links stay listed; .has-nav-js folds them behind it. */
.site-header--nav .site-header__in { flex-wrap: wrap; justify-content: flex-start; column-gap: 12px; row-gap: 0; }
.site-header--nav .brand { margin-right: auto; }
.site-header--nav .site-header__cta {
  display: inline-flex;
  max-width: 9.5em;
  min-height: 44px;
  padding: 6px 14px;
  font-size: 0.875rem;
  line-height: 1.2;
}
.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-btn);
  background: var(--card);
  color: var(--heading);
  cursor: pointer;
}
.site-nav__toggle[hidden] { display: none; }
.site-nav__bars,
.site-nav__bars::before,
.site-nav__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.site-nav__bars { position: relative; }
.site-nav__bars::before,
.site-nav__bars::after { content: ""; position: absolute; left: 0; }
.site-nav__bars::before { top: -6px; }
.site-nav__bars::after { top: 6px; }
.site-nav__toggle[aria-expanded="true"] .site-nav__bars { background: transparent; }
.site-nav__toggle[aria-expanded="true"] .site-nav__bars::before { top: 0; transform: rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .site-nav__bars::after { top: 0; transform: rotate(-45deg); }

.site-nav { flex: 1 0 100%; order: 1; }
.has-nav-js .site-nav { display: none; }
.has-nav-js.is-nav-open .site-nav { display: block; }
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
  padding: 4px 0 12px;
  list-style: none;
}
.has-nav-js .site-nav__list { flex-direction: column; gap: 0; padding: 4px 0 8px; border-top: 1px solid var(--line); }
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="page"],
.site-nav__list a[aria-current="true"] { text-decoration: underline; text-underline-offset: 6px; }

/* The subject dropdowns (kassoom-24): a stage link, its chevron toggle, its subjects. Mobile first: the subjects are
   listed under their stage (without JavaScript, always; with it, as an accordion inside the folded menu). */
.site-nav__item--sub { display: flex; flex: 1 0 100%; flex-wrap: wrap; align-items: center; }   /* a stage and its subjects take the row */
.site-nav__sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--heading);
  cursor: pointer;
}
.site-nav__sub-toggle[hidden] { display: none; }
.site-nav__sub-toggle::before {      /* the chevron: two borders of a square, turned */
  content: "";
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.site-nav__sub-toggle[aria-expanded="true"]::before { margin-top: 4px; transform: rotate(-135deg); }
.site-nav__sub-toggle:hover { background: var(--band); }
.site-nav__sub {
  flex: 1 0 100%;
  margin: 0;
  padding: 0 0 4px 16px;
  list-style: none;
}
.site-nav__sub a { font-weight: 500; }
.has-nav-js .site-nav__sub { display: none; }
.has-nav-js .site-nav__item--sub.is-open > .site-nav__sub { display: block; }
@media (prefers-reduced-motion: reduce) { .site-nav__sub-toggle::before { transition: none; } }

/* ---------- 6. Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 36px 56px;
  background: var(--canvas);
}

/* The image: a bright wall with window light, a desk along its foot. Below 900 it is
   behind the headline only, drawn 1.7 times the box height and pinned to the top, so the
   desk falls outside the box. Today's files (core/images/, the fold's) are the fallback: a
   Hero row holding an image overrides them through --hero-bg-narrow and --hero-bg-wide,
   which home.php sets on .hero__bg (kassoom-06). */
.hero__bg {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: -1;
  height: 380px;
  background-color: var(--canvas);
  background-image: var(--hero-bg-narrow, url("../images/hero-bg-960.jpg"));
  background-repeat: no-repeat;
  background-size: auto 170%;
  background-position: 30% 0;
}

/* The wash. Below 900 it fades to the plain canvas before the form starts. */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(247, 249, 255, 0.45) 0%,
    rgba(247, 249, 255, 0.55) 50%,
    rgba(247, 249, 255, 1) 100%
  );
}

/* The hero scene (landing-06): the footage layers inside .hero__bg, under its wash (the
   ::after paints last), drawn exactly as the still is. home.php prints them only when the
   "Hero background" row holds a video block; core/js/hero-scroll.js shows one at a time and
   hides both at the scene's last frame, where the poster is the same picture (landing-05
   D70). Below 900 they are never shown: the still only. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
  object-position: 50% 100%;
  opacity: 0;
  pointer-events: none;
}
.hero__video.is-shown { opacity: 1; }
.hero--at-end .hero__video { opacity: 0; }

/* The person hero (kassoom-21, K7): home.php adds .hero--person when the "Hero background"
   row holds a "(loop)" video. Without it, nothing here applies. core/js/hero-person.js sets
   the footage's opacity itself. Below 900 the person hero shows its narrow still and no
   footage (kassoom-37, John, 28 Oct 2026, replacing his 19 Oct "no phone band"). */

/* The pause control (WCAG 2.2.2; VTP's): a quiet round button at the hero's foot on the
   left, below the child's zone. It is shown by the script only while footage can play. */
.hero__pause {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--input-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--heading);
  cursor: pointer;
}
.hero__pause:not([hidden]) { display: inline-flex; }
.hero__pause svg { width: 14px; height: 14px; }
.hero__pause-play,
.hero__pause[aria-pressed="true"] .hero__pause-bars { display: none; }
.hero__pause[aria-pressed="true"] .hero__pause-play { display: block; }

.hero__grid { display: grid; gap: 28px; }
.hero__grid > * { min-width: 0; }

.hero__rows { display: grid; gap: 8px; margin-top: 18px; }
.hero__rows .cms-content { max-width: 38em; font-size: 1.0625rem; }

.hero__rows .kas-tagline {
  margin-bottom: 0;
  font-weight: 700;
  line-height: 1.4;
  color: var(--heading);
}

.checklist { display: grid; gap: 12px; }

.checklist > .cms-row {
  position: relative;
  padding-left: 36px;
  color: var(--heading);
  font-weight: 500;
}

.checklist > .cms-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--band) var(--i-tick-bold) center / 16px no-repeat;
}

.placeholder-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--heading);
  color: var(--on-navy);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero__tag { display: none; }

/* A quote: a row of three blocks, any of which may be missing. */
.quote-list { display: grid; gap: 16px; }

.quote-list > .cms-row {
  display: grid;
  gap: 14px;
  align-content: start;
}

.quote-list blockquote p {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 380;
  font-size: 1.3125rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--heading);
}

.quote-list .kas-name { font-size: 0.9375rem; }
.quote-list .kas-name strong { font-weight: 700; color: var(--heading); }
.quote-list .kas-name strong + span::before { content: "\00B7\00A0"; }

.hero__quotes {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

/* No checklist above it: the rule and its space go too. */
.hero__proof > .hero__quotes:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- 7. Regions ---------- */

.section { padding-block: 56px; }
.section--band { background: var(--band); }
.section--white { background: var(--card); border-top: 1px solid var(--line); }

/* When a region between two others is empty, two of one tone can meet: a hairline keeps the edge. */
.section--band + .section--band,
.section--plain + .section--plain { border-top: 1px solid var(--line-strong); }

.region-head { margin-bottom: 32px; }
.region-head--centre { max-width: 44rem; margin-inline: auto; text-align: center; }
.region-head > .cms-row { display: grid; gap: 14px; }

/* A heading with nothing under it keeps no gap for the list that isn't there. */
.region-head:last-child { margin-bottom: 0; }

.region-foot { margin-top: 32px; }
.region-foot--centre { text-align: center; }

.stats {
  background: var(--card);
  border-block: 1px solid var(--line);
}

.stats__clip { overflow: hidden; }

.stats__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  padding-block: 32px;
}

/* Each figure is sized by its own column, so a long one shrinks before it spills. */
.stats__list > .cms-row { container-type: inline-size; }
.stats__list p { display: grid; gap: 4px; font-size: 0.9375rem; line-height: 1.4; }

.stats__list strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 360;
  font-size: min(clamp(1.75rem, 0.9rem + 2.1vw, 2.75rem), 19cqi);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--heading);
  overflow-wrap: anywhere;
}

/* A star after the figure, for a row classed kas-star. Decoration: the words carry the meaning. */
.stats__list .kas-star strong::after {
  content: "";
  flex: none;
  width: 0.7em;
  height: 0.7em;
  background: var(--i-star) center / contain no-repeat;
}

.about { display: grid; gap: 32px; }
.about > * { min-width: 0; }
.about__text { display: grid; gap: 16px; align-content: start; }
.about__text > .region-head { margin-bottom: 4px; }
.about__text .cms-content { max-width: 36em; font-size: 1.0625rem; }

/* The image's box is set here: the core emits <img> with no dimensions. */
.about__media .cms-content {
  overflow: hidden;
  border-radius: var(--radius-card-lg);
  aspect-ratio: 1 / 1;            /* was 4 / 3: kit-03 ML-4 (a), so both faces and the hands show on phones */
  background: var(--card);
}

.about__media img { height: 100%; object-fit: cover; object-position: 50% 25%; }   /* kit-03 ML-2/ML-4 */
.about__media > .cms-row + .cms-row { margin-top: 16px; }

.pillars { display: grid; gap: 24px; }

.pillars > .cms-row {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.pillars p { margin-top: 4px; font-size: 0.9375rem; }

/* "What we cover" (kassoom-25): the heading sits on the section's own gap, then each card holding a picture has it on
   top, in a 4:3 box (kit-03 ML-3 b), and no rule. */
.region-head--pillars { margin-bottom: 0; }
.pillars > .cms-row:has(img) { padding-top: 0; border-top: 0; }
.pillars .cms-content:has(> img) {
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: var(--radius-card);
  aspect-ratio: 4 / 3;
  background: var(--card);
}
.pillars .cms-content > img { width: 100%; height: 100%; object-fit: cover; }

/* A hyphenated word in the h1, kept whole (home.php). */
.nobr { white-space: nowrap; }

.included { display: grid; gap: 32px; }
.included > * { min-width: 0; }
.included__main .region-head { margin-bottom: 28px; }
.included__list { display: grid; gap: 24px; }
.included__list p { margin-top: 2px; }

.price-card {
  display: grid;
  padding: 28px 24px;
  border-radius: var(--radius-card-lg);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.price-card .kas-button > a { display: flex; width: 100%; }

/* A price row: the term, then its value in <strong>. A row that holds a note or a
   button is not a price: it sits under the prices, with no rule above it. */
.price-card > .cms-row { padding-block: 16px; }
.price-card > .cms-row:first-child { padding-top: 0; }
.price-card > .cms-row + .cms-row { border-top: 1px solid var(--line); }
.price-card > .cms-row:last-child { padding-bottom: 0; }

.price-card > .cms-row:has(> .kas-note),
.price-card > .cms-row:has(> .kas-button) { padding-block: 20px 0; border-top: 0; }
.price-card > .cms-row:has(+ .cms-row > .kas-note),
.price-card > .cms-row:has(+ .cms-row > .kas-button) { padding-bottom: 0; }

.price-card p:has(> strong) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
}

.price-card strong {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 360;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--heading);
}

.price-card small {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--body);
}

.price-card .kas-note { font-size: 0.9375rem; }

.cards { display: grid; gap: 16px; }

.cards > .cms-row {
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(13, 27, 62, 0.06), 0 0 0 1px rgba(13, 27, 62, 0.04);
}

.cards p { margin-top: 6px; font-size: 0.9375rem; }

/* v6 drops "How it works" on a phone: a rule on the region, not on a row. */
.region-how { display: none; }

.timeline { display: grid; }

.timeline > .cms-row {
  position: relative;
  min-height: 48px;
  padding: 0 0 36px 72px;
}

.timeline > .cms-row:last-child { padding-bottom: 0; }

.timeline > .cms-row::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.timeline > .cms-row:last-child::after { display: none; }
.timeline h3 { padding-top: 11px; font-size: 1.125rem; }
.timeline p { margin-top: 4px; }

.region-reviews .region-head > .cms-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* The heading takes the line; what follows it (a rating, a line of text) sits together. */
.region-reviews .region-head > .cms-row > .cms-content:first-child { flex: 1 1 100%; margin-bottom: 4px; }

.kas-summary {
  font-weight: 600;
  color: var(--heading);
}

.quotes > .cms-row {
  padding: 28px 24px;
  border-radius: var(--radius-card);
  background: var(--canvas);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quotes + .chips { margin-top: 24px; }

.chips > .cms-row {
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--band);
  color: var(--heading);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.faq-grid { display: grid; gap: 24px; }
.faq-grid > * { min-width: 0; }
.faq-grid > .region-head { margin-bottom: 0; }

.faq { border-bottom: 1px solid var(--line-strong); }
.faq:first-child { border-top: 1px solid var(--line-strong); }

.faq > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 20px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
}

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

.faq > summary::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background: var(--i-chevron) center / contain no-repeat;
  transition: transform 0.2s ease;
}

.faq[open] > summary::after { transform: rotate(180deg); }
.faq__answer { display: grid; gap: 12px; padding-bottom: 22px; max-width: 40em; }

/* A question classed kas-wide-only is v6's desktop-only one. */
.faq.kas-wide-only { display: none; }

.closing { display: grid; gap: 28px; text-align: center; }
.closing > .cms-row { display: grid; justify-items: center; }
.closing h2 { max-width: 16em; }
.closing .cms-content { font-size: 1.0625rem; }
.closing .cms-content + .cms-content { margin-top: 14px; }
.closing .cms-content + .kas-button { margin-top: 28px; }
.closing .cms-content + .kas-micro { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }
.closing .kas-button > a { min-height: 60px; padding: 18px 40px; font-size: 1.0625rem; }

/* The sticky button, phones only. Sticky inside .after-hero, so it can never sit over
   the form above it or the footer below it. No script. */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 10;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 -8px 24px rgba(13, 27, 62, 0.1);
}

/* ---------- 8. The form card: the design's container round the core's form ---------- */

.form-card {
  container-type: inline-size;
  padding: 24px 20px;
  border-radius: var(--radius-card-lg);
  background: var(--card);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 24px;
}

.form-card:focus { outline: 0; }

/* The card is the container: the form row's own wrappers add nothing. */
.form-card__in { display: flex; flex-wrap: wrap; gap: 8px; }
.form-card__in > .cms-row,
.form-card__in > .cms-row > .cms-content { display: contents; }
.form-card__in > .cms-row > .cms-content > *,
.form-card__in > .trust-row,
.form-card__in > .form-note { flex: 0 0 100%; min-width: 0; }

/* Two small tags share the first line: the CMS's (kas-tag) and the site's slot. */
.form-card__in > .cms-row > .kas-tag > *,
.form-eyebrow {
  flex: 0 1 auto;
  order: -2;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--band);
  color: var(--heading);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.form-eyebrow { order: -1; }

.form-card h2 {
  margin-top: 4px;
  font-size: 1.75rem;
  line-height: 1.15;
}

.form-card .kas-intro > p { font-size: 0.9375rem; }
.form-card .webo_form { margin-top: 12px; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 8px;
  margin-top: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--body);
}

.trust-row > .cms-row { display: grid; justify-items: center; align-content: start; gap: 6px; }

.form-note {
  margin-top: 12px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 9. The form, as the core renders it (formRender.php) ----------
   The class names are Bootstrap 4's. No framework ships: every hook the form uses is
   styled here against Kassoom's tokens. */

.webo_form { display: grid; gap: 16px; }
.webo_form .d-none { display: none !important; }

/* The step shell. A form of one step shows neither "Step 1 of 1" nor a list of one
   (John, 29 Sep 2026): both rules read the data, so a longer form shows them.
   Nor its step's name (the form group's name in Webolytics, "Book Your Free Trial
   Class" under the card's own title; kassoom-22 ML-6 a, John, 19 Oct 2026). Keyed on
   the same data-step-count, which the confirmation step never carries, so its
   heading (.webo-form-step--complete) is untouched. */
.webo-form-step { display: grid; gap: 6px; }
.webo-form-step__progress[data-step-count="1"] { display: none; }
.webo-form-steps:has(> li:only-child) { display: none; }
.webo-form-step:has(> .webo-form-step__progress[data-step-count="1"]) > .webo-form-step__name { display: none; }

.webo-form-step__name {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--heading);
}

.webo-form-step__intro { font-size: 0.9375rem; }

.webo-form-step__progress {
  order: -1;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.webo-form-steps {
  order: -2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.webo-form-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--body);
}

.webo-form-steps__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--band);
  color: var(--heading);
}

.webo-form-steps__item--current { border-color: var(--heading); background: var(--heading); color: var(--on-navy); }
.webo-form-steps__item--current .webo-form-steps__num { background: var(--card); }
.webo-form-steps__item--done { color: var(--heading); }
.webo-form-steps__item--done .webo-form-steps__num { font-size: 0; background: var(--success-bg) var(--i-tick-success) center / 14px no-repeat; }

/* The confirmation: the same card, the form on its last group. */
.webo-form-step--complete { gap: 10px; padding-top: 76px; position: relative; }

.webo-form-step--complete::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-bg) var(--i-tick-success) center / 28px no-repeat;
}

.webo-form-step--complete .webo-form-step__name {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 360;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.webo-form-step__progress--complete {
  order: 0;
  justify-self: start;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--success-bg);
  color: var(--success);
}

.webo-form-step--complete ~ .row { font-size: 1.125rem; color: var(--body); }

/* The alert list after a failed step. site.js moves focus to it. */
.webo-form-errors {
  padding: 16px 18px;
  border: 2px solid var(--error);
  border-radius: var(--radius-input);
  background: var(--error-bg);
  color: var(--heading);
  scroll-margin-top: 24px;
}

.webo-form-errors:focus-visible { outline-offset: 3px; }

.webo-form-errors__intro {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 700;
  color: var(--error);
}

.webo-form-errors__intro::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: var(--i-alert) center / contain no-repeat;
}

.webo-form-errors__list {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 30px;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.webo-form-errors__list a { color: var(--error); font-weight: 600; }

/* Rows and columns. col-md-N is a share of twelve only where the card has the room. */
.webo_form .row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px 12px;
  align-items: start;
  margin: 0;
}

.webo_form .row > [class*="col-"] { grid-column: 1 / -1; min-width: 0; }

/* A row that holds only hidden fields takes no room and leaves no gap. */
.webo_form .row:has(input[type="hidden"]):not(:has(> [class*="col-"] > :not(input[type="hidden"]))) { display: none; }

/* Two plain text fields share a line at every width, as 1b has the name fields. */
.webo_form .row > .col-md-6:has(> .input-text) { grid-column: span 6; }

.webo-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
}

.webo_form .form-control,
.webo_form .custom-select {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  background-color: var(--card);
  color: var(--heading);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  scroll-margin-block: 96px 32px;
}

.webo_form textarea.form-control { height: auto; min-height: 120px; padding-block: 12px; line-height: 1.5; resize: vertical; }
.webo_form .form-control::placeholder { color: var(--muted); opacity: 1; }

.webo_form .custom-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  text-overflow: ellipsis;
  background-image: var(--i-chevron);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

/* The prompt, while nothing is chosen. */
.webo_form select.custom-select:required:invalid { color: var(--body); }

.webo_form .form-control:focus-visible,
.webo_form .custom-select:focus-visible,
.webo_form .custom-control-input:focus-visible,
.webo_form .custom-file-input:focus-visible {
  outline: 3px solid var(--heading);
  outline-offset: 1px;
  border-radius: var(--radius-input);
}

.webo_form .form-control:disabled,
.webo_form .custom-select:disabled {
  border-style: dashed;
  background-color: var(--canvas);
  color: var(--body);
  cursor: not-allowed;
}

.webo_form [aria-invalid="true"].form-control,
.webo_form [aria-invalid="true"].custom-select,
.webo_form .input-group:has([aria-invalid="true"]) > .webo-phone-country {
  border-color: var(--error);
  border-width: 2px;
}

.webo-field-error {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--error);
}

.webo-field-error::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: var(--i-alert) center / contain no-repeat;
}

.webo-field-hint { margin-top: 6px; font-size: 0.875rem; line-height: 1.35; color: var(--muted); }

/* Grouped controls. min-width: 0, or a select will not shrink in a flex row. */
.webo_form .input-group,
.webo_form .input-text { display: flex; align-items: stretch; }

.webo_form .input-group > .form-control,
.webo_form .input-group > .custom-select,
.webo_form .input-text > .form-control { flex: 1 1 0; width: auto; min-width: 0; max-width: 100%; }

.webo_form .form-group { margin: 0; }
.webo_form .form-group > .input-group { flex-direction: column; gap: 6px; }

/* The textarea's prepend is a caption, not an addon. */
.webo_form .input-group-prepend { display: block; }
.webo_form .input-group-prepend .input-group-text { font-size: 0.875rem; color: var(--body); }

/* The addons on email and phone: after the control, one showing at a time. With no
   $slgIcons the spans are empty and take no room. */
.webo_form .input-group > .input-group-text {
  order: 2;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  margin-left: 8px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  background: var(--canvas);
  color: var(--heading);
}

.webo_form .input-group > .input-group-text:empty { display: none; }
.webo_form .input-group-text svg { width: 20px; height: 20px; }
.webo_form .webo-email-success, .webo_form .webo-phone-success { border-color: var(--success); background: var(--success-bg); color: var(--success); }
.webo_form .webo-email-error, .webo_form .webo-phone-error { border-color: var(--error); background: var(--error-bg); color: var(--error); }
.webo_form .webo-email-loader svg, .webo_form .webo-phone-loader svg, .webo-submit-loader svg { animation: kas-spin 1s linear infinite; }
@keyframes kas-spin { to { transform: rotate(360deg); } }

/* The phone: the dial code joined to the number, as 1b's "+44". Three classes, to
   outrank the grouped-control rule above. Wide enough for the "Country" prompt. */
.webo_form .input-group > .webo-phone-country {
  flex: 0 0 110px;
  width: 110px;
  min-width: 0;
  padding: 0 28px 0 12px;
  background-position: right 8px center;
  border-right: 0;
  border-radius: var(--radius-input) 0 0 var(--radius-input);
  background-color: var(--band);
  font-weight: 600;
}

.webo_form .input-group > .webo-phone-number { padding-inline: 12px; border-radius: 0 var(--radius-input) var(--radius-input) 0; }
.webo_form .input-group > .webo-phone-country:focus-visible { position: relative; z-index: 1; }

/* Radio cards: a module list at or under the site's threshold. This form has none. */
.webo-choice-list { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.webo-choice-list > legend { padding: 0; }
.webo-choice-list:focus { outline: 0; }
.webo-choice { position: relative; }
.webo-choice__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }

.webo-choice__label {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 14px 10px 44px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-input);
  background: var(--card);
  color: var(--heading);
  font-weight: 600;
  position: relative;
}

.webo-choice__label::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 1px solid var(--input-border);
  border-radius: 50%;
  background: var(--card);
}

.webo-choice__input:checked + .webo-choice__label { border-color: var(--heading); box-shadow: inset 0 0 0 1px var(--heading); background: var(--canvas); }
.webo-choice__input:checked + .webo-choice__label::before { border-color: var(--heading); background: var(--heading); box-shadow: inset 0 0 0 4px var(--card); }
.webo-choice__input:focus-visible + .webo-choice__label { outline: 3px solid var(--heading); outline-offset: 3px; }
.webo-choice-list--invalid .webo-choice__label { border-color: var(--error); border-width: 2px; }

/* Native checks, switches and file inputs. This form has none. */
.webo_form .custom-control { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.webo_form .custom-control-input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--heading); }
.webo_form .custom-control-label { font-weight: 500; color: var(--heading); }
.webo_form .custom-file { display: block; flex: 1 1 0; min-width: 0; }
.webo_form .custom-file-input { height: auto; padding: 12px 14px; border-style: dashed; }
.webo_form .custom-file-label { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--body); }
.webo_form .text-muted { margin-top: 6px; font-size: 0.875rem; color: var(--muted); }

/* The button: the core's markup, Kassoom's live button. */
.webo-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  padding: 14px 32px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--gold);
  color: var(--cta-text);
  box-shadow: 0 1px 2px rgba(13, 27, 62, 0.12);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease;
  scroll-margin-block: 96px 32px;
}

.webo-submit:hover { background: var(--gold-hover); }
.webo-submit:disabled { background: var(--line); color: var(--body); box-shadow: none; cursor: not-allowed; }
.webo-submit-loader { display: flex; }
.webo-submit-loader svg { width: 20px; height: 20px; }

/* ---------- 10. Icons by row class ----------
   A row classed kas-icon-<name> draws that icon in a tile. A row with no such class,
   or one this file does not know, draws nothing and leaves no hole. */

.kas-icon-card { --icon: var(--i-card); }
.kas-icon-shield { --icon: var(--i-shield); }
.kas-icon-shield-check { --icon: var(--i-shield-check); }
.kas-icon-clock { --icon: var(--i-clock); }
.kas-icon-screen { --icon: var(--i-screen); }
.kas-icon-search { --icon: var(--i-search); }
.kas-icon-list { --icon: var(--i-list); }
.kas-icon-person { --icon: var(--i-person); }
.kas-icon-book { --icon: var(--i-book); }
.kas-icon-chart { --icon: var(--i-chart); }
.kas-icon-refresh { --icon: var(--i-refresh); }
.kas-icon-form { --icon: var(--i-form); }
.kas-icon-phone { --icon: var(--i-phone); }
.kas-icon-play { --icon: var(--i-play); }

/* In a card, and beside an included item: a 44px tile. */
.cards > :is(
  .kas-icon-card,
  .kas-icon-shield,
  .kas-icon-shield-check,
  .kas-icon-clock,
  .kas-icon-screen,
  .kas-icon-search,
  .kas-icon-list,
  .kas-icon-person,
  .kas-icon-book,
  .kas-icon-chart,
  .kas-icon-refresh,
  .kas-icon-form,
  .kas-icon-phone,
  .kas-icon-play
)::before,
.included__list > :is(
  .kas-icon-card,
  .kas-icon-shield,
  .kas-icon-shield-check,
  .kas-icon-clock,
  .kas-icon-screen,
  .kas-icon-search,
  .kas-icon-list,
  .kas-icon-person,
  .kas-icon-book,
  .kas-icon-chart,
  .kas-icon-refresh,
  .kas-icon-form,
  .kas-icon-phone,
  .kas-icon-play
)::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--canvas) var(--icon) center / 24px no-repeat;
}

.cards > :is(
  .kas-icon-card,
  .kas-icon-shield,
  .kas-icon-shield-check,
  .kas-icon-clock,
  .kas-icon-screen,
  .kas-icon-search,
  .kas-icon-list,
  .kas-icon-person,
  .kas-icon-book,
  .kas-icon-chart,
  .kas-icon-refresh,
  .kas-icon-form,
  .kas-icon-phone,
  .kas-icon-play
) > .cms-content:first-child { margin-top: 18px; }

.included__list > :is(
  .kas-icon-card,
  .kas-icon-shield,
  .kas-icon-shield-check,
  .kas-icon-clock,
  .kas-icon-screen,
  .kas-icon-search,
  .kas-icon-list,
  .kas-icon-person,
  .kas-icon-book,
  .kas-icon-chart,
  .kas-icon-refresh,
  .kas-icon-form,
  .kas-icon-phone,
  .kas-icon-play
) {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

.included__list > :is(
  .kas-icon-card,
  .kas-icon-shield,
  .kas-icon-shield-check,
  .kas-icon-clock,
  .kas-icon-screen,
  .kas-icon-search,
  .kas-icon-list,
  .kas-icon-person,
  .kas-icon-book,
  .kas-icon-chart,
  .kas-icon-refresh,
  .kas-icon-form,
  .kas-icon-phone,
  .kas-icon-play
)::before { grid-row: 1 / span 9; background-color: var(--band); }

/* One text edge for the whole list: where any item has its tile, an item without one
   keeps the tile's room. Where none has, none does. */
.included__list:has(> :is(
  .kas-icon-card,
  .kas-icon-shield,
  .kas-icon-shield-check,
  .kas-icon-clock,
  .kas-icon-screen,
  .kas-icon-search,
  .kas-icon-list,
  .kas-icon-person,
  .kas-icon-book,
  .kas-icon-chart,
  .kas-icon-refresh,
  .kas-icon-form,
  .kas-icon-phone,
  .kas-icon-play
)) > .cms-row:not(:is(
  .kas-icon-card,
  .kas-icon-shield,
  .kas-icon-shield-check,
  .kas-icon-clock,
  .kas-icon-screen,
  .kas-icon-search,
  .kas-icon-list,
  .kas-icon-person,
  .kas-icon-book,
  .kas-icon-chart,
  .kas-icon-refresh,
  .kas-icon-form,
  .kas-icon-phone,
  .kas-icon-play
)) { padding-left: 60px; }

.included__list > :is(
  .kas-icon-card,
  .kas-icon-shield,
  .kas-icon-shield-check,
  .kas-icon-clock,
  .kas-icon-screen,
  .kas-icon-search,
  .kas-icon-list,
  .kas-icon-person,
  .kas-icon-book,
  .kas-icon-chart,
  .kas-icon-refresh,
  .kas-icon-form,
  .kas-icon-phone,
  .kas-icon-play
) > .cms-content { grid-column: 2; }

/* Under the form: the icon alone, above its words. */
.trust-row > :is(
  .kas-icon-card,
  .kas-icon-shield,
  .kas-icon-shield-check,
  .kas-icon-clock,
  .kas-icon-screen,
  .kas-icon-search,
  .kas-icon-list,
  .kas-icon-person,
  .kas-icon-book,
  .kas-icon-chart,
  .kas-icon-refresh,
  .kas-icon-form,
  .kas-icon-phone,
  .kas-icon-play
)::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--icon) center / contain no-repeat;
}

/* On the timeline every step has its dot; the icon is drawn in it when the row names one. */
.timeline > .cms-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--band) var(--icon, none) center / 24px no-repeat;
}

/* ---------- 11. Ratings ----------
   A block classed kas-rating-N holds the words ("Rated 5 out of 5"). The stars are
   drawn from N; the words stay for a screen reader. With no class, the words show. */

[class*="kas-rating-"] > p {
  width: 98px;
  height: 18px;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  background: var(--i-stars-5) 0 0 / 98px 18px no-repeat;
}

.kas-rating-4 > p { background-image: var(--i-stars-4); }
.kas-rating-3 > p { background-image: var(--i-stars-3); }
.kas-rating-2 > p { background-image: var(--i-stars-2); }
.kas-rating-1 > p { background-image: var(--i-stars-1); }

/* ---------- 12. Footer ---------- */

.site-footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  text-align: center;
}

.site-footer__in {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-block: 44px;
}

.site-footer__in > * { min-width: 0; max-width: 100%; }

.site-footer__marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-bottom: 8px;
}

.footer__kassoom { width: auto; height: 40px; }
.footer__webo { width: auto; height: 22px; }
.site-footer__rule { width: 1px; height: 32px; background: var(--line-strong); }
.site-footer__disclaimer { max-width: 52em; }

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

.site-footer__links a { display: inline-block; padding-block: 6px; }

/* ---------- 13. The cookie modal (core/includes/consent.php) ----------
   Until a choice it blocks: a centred dialog over a dimmed page, the scroll locked by
   the body class the server adds, the page's other regions inert from the server, so
   all of it holds without script. Only a choice closes it. The three buttons are ONE
   style, equal weight: refusing is as easy as accepting. */

.wbo-consent {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.wbo-consent[hidden] { display: none; }
.wbo-consent__backdrop { position: absolute; inset: 0; background: var(--backdrop); }

.wbo-consent__dialog {
  position: relative;
  width: 100%;
  max-width: 36rem;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px 20px 20px;
  border-radius: var(--radius-card-lg);
  background: var(--card);
  color: var(--body);
  box-shadow: 0 24px 60px rgba(13, 27, 62, 0.35);
}

/* The dialog takes focus as a container; the controls inside carry the rings. */
.wbo-consent__dialog:focus { outline: 0; }

.wbo-consent__title { font-size: 1.75rem; line-height: 1.15; }
.wbo-consent__text { margin-top: 10px; font-size: 0.9375rem; line-height: 1.55; }
.wbo-consent__form { margin-top: 20px; }
.wbo-consent__actions { display: grid; gap: 8px; }

.wbo-consent__btn {
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid var(--heading);
  border-radius: var(--radius-btn);
  background: var(--heading);
  color: var(--on-navy);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.wbo-consent__btn:hover { background: var(--cta-text); border-color: var(--cta-text); }
.wbo-consent__choose { margin-bottom: 20px; }
.wbo-consent__choose .wbo-consent__btn { width: 100%; }
.wbo-consent__fieldset { display: grid; gap: 14px; min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.wbo-consent__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wbo-consent__option { display: flex; gap: 12px; align-items: flex-start; }
.wbo-consent__option input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--heading); }
.wbo-consent__name { font-weight: 700; color: var(--heading); }
.wbo-consent__desc { display: block; font-size: 0.9375rem; line-height: 1.5; }

/* The page behind: no scroll while the modal blocks. */
html:has(body.wbo-consent-open), body.wbo-consent-open { overflow: hidden; }

/* Without the script: "Cookie settings" (#wbo-consent) reopens the hidden modal, and
   "Choose" opens its toggles. The core's script marks the modal .is-js and drives
   [hidden] itself. */
.wbo-consent:not(.is-js):target,
.wbo-consent:not(.is-js):has(#wbo-consent-choose:target) { display: flex; }
.wbo-consent:not(.is-js) .wbo-consent__choose:target { display: block; }
body[data-wbo-consent-return]:focus { outline: 0; }

/* ---------- 14. Legal page ---------- */

.legal-hero {
  padding-block: 36px 40px;
  background: var(--band);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--body);
}

.crumbs [aria-current] { color: var(--heading); }
.legal-hero__title { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); }
.legal-hero__date { margin-top: 12px; font-size: 0.9375rem; }
.legal-body { padding-block: 40px 64px; background: var(--card); }
.legal-body__inner { display: grid; gap: 32px; }
.legal-body__inner > * { min-width: 0; }

.toc {
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--canvas);
}

.toc__head { font-weight: 700; color: var(--heading); }

.toc__list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 1.4em;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.toc__list li { padding-block: 3px; }

.legal-sections { display: grid; gap: 40px; max-width: 44rem; }
.legal-sections > .cms-row { display: grid; gap: 14px; scroll-margin-top: 24px; }
.legal-sections .cms-content { display: grid; gap: 14px; }
.legal-sections h2 { font-size: 1.75rem; line-height: 1.2; }
.legal-sections h3 { margin-top: 6px; }
.legal-sections li + li { margin-top: 6px; }
.legal-sections .kas-table { overflow-x: auto; }
.legal-sections table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; }

.legal-sections th,
.legal-sections td {
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  text-align: left;
  vertical-align: top;
}

.legal-sections th { background: var(--canvas); color: var(--heading); }

.legal-others {
  display: grid;
  gap: 12px;
  max-width: 44rem;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}

.legal-other {
  display: grid;
  gap: 2px;
  padding: 16px 20px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-card);
  color: var(--heading);
  text-decoration: none;
}

.legal-other:hover { background: var(--canvas); }
.legal-other__kicker { font-size: 0.875rem; color: var(--body); }
.legal-other__title { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 15. The page's own empty state ---------- */

.empty-state { margin-top: 18px; font-size: 1.0625rem; }

/* ---------- 16. 600 and up ---------- */

@media (min-width: 600px) {
  .wrap { padding-inline: 32px; }

  /* The offers in a line, a dot between. The list is pulled left by one item's
     padding and the clip hides it, so a line that wraps never starts with a dot. */
  .offer-bar__clip { width: fit-content; max-width: 100%; margin-inline: auto; overflow: hidden; }
  .offer-bar__list { flex-direction: row; flex-wrap: wrap; align-items: baseline; margin-left: -20px; text-align: left; }
  .offer-bar__list > .cms-row { position: relative; padding-left: 20px; }

  .offer-bar__list > .cms-row::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0.75em;
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-radius: 50%;
    background: var(--input-border);
  }

  .form-card { padding: 32px; }
  .stats__list { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .pillars { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .cards { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .wbo-consent__dialog { padding: 32px 32px 28px; }
  .wbo-consent__actions { grid-template-columns: repeat(3, 1fr); }
  .wbo-consent__choose .wbo-consent__btn { width: auto; min-width: 12rem; }
}

/* Inside the card, by the card's own width: two selects share a line (5 and 7 of 12, as 1b)
   only where the longer prompt fits; email and phone share one only in a wide card. */
@container (min-width: 364px) {
  .webo_form .row > .col-md-6:has(> .input-group > select.form-control):first-child { grid-column: span 5; }
  .webo_form .row > .col-md-6:has(> .input-group > select.form-control):last-child { grid-column: span 7; }
  .webo_form .row > .col-md-4:has(> .input-text),
  .webo_form .row > .col-md-4:has(> .input-group > select.form-control) { grid-column: span 4; }
}

@container (min-width: 640px) {
  .webo_form .row > .col-md-6 { grid-column: span 6; }
  .webo_form .row > .col-md-6:has(> .input-group > select.form-control):first-child,
  .webo_form .row > .col-md-6:has(> .input-group > select.form-control):last-child { grid-column: span 6; }
  .webo_form .row > .col-md-4 { grid-column: span 4; }
  .webo_form .row > .col-md-3 { grid-column: span 3; }
}

/* ---------- 17. 900 and up ---------- */

@media (min-width: 900px) {
  html { scroll-padding-top: 104px; }
  body { font-size: 1.0625rem; }
  .wrap { padding-inline: 48px; }

  .offer-bar { font-size: 0.875rem; }

  .site-header { position: sticky; top: 0; z-index: 20; }
  .site-header__in { min-height: 80px; }
  .brand__logo { height: 48px; }
  .site-header__cta { display: inline-flex; white-space: nowrap; }

  /* The section links beside the free-trial button, which stays the strongest thing in
     the header: plain words, no fill, no border (kassoom-21 decision 6). */
  .site-header--nav .site-header__in { flex-wrap: nowrap; column-gap: 32px; }
  .site-header--nav .site-header__cta { max-width: none; min-height: 44px; padding: 10px 20px; font-size: 0.9375rem; }
  .site-nav__toggle { display: none; }
  .site-nav,
  .has-nav-js .site-nav { display: block; flex: 0 1 auto; order: 0; }
  .site-nav__list,
  .has-nav-js .site-nav__list { flex-direction: row; flex-wrap: nowrap; gap: 28px; padding: 0; border-top: 0; }
  .site-nav__list a { font-size: 0.9375rem; }   /* the button label's size (Iris's review, 3a) */

  /* The subject panel (kassoom-24): white, under its stage, over the page. Without JavaScript it opens on hover and
     while focus is inside its item; with it, on the toggle (header.php's script). One column: ten subjects at 44px end
     well above the fold at 1440 × 900. */
  .site-nav__item--sub { position: relative; flex: 0 0 auto; flex-wrap: nowrap; }
  .site-nav__sub {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: -12px;
    z-index: 30;
    min-width: 15rem;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--card);
    box-shadow: var(--shadow-card);
  }
  .site-header:not(.has-nav-js) .site-nav__item--sub:hover > .site-nav__sub,
  .site-header:not(.has-nav-js) .site-nav__item--sub:focus-within > .site-nav__sub { display: block; }
  .site-nav__sub a {
    display: flex;
    padding: 0 12px;
    border-radius: 8px;
    white-space: nowrap;
  }
  .site-nav__sub a:hover { background: var(--band); box-shadow: inset 3px 0 0 var(--gold); }   /* gold as an accent, never the focus ring (2.0:1) */

  /* Room under the content for the desk to show. */
  .hero { padding-block: 72px clamp(220px, 17vw, 300px); }

  /* The box runs past the foot of the hero, which crops the empty front of the desk and
     lowers the books and notebook clear of the text and the card. 1b ran it 13.6% past;
     the core's form makes the card taller (the step's name, a longer notice), which
     enlarges the image, so the box runs 24px further to keep the desk where 1b had it. */
  .hero__bg {
    inset: 0 0 calc(-13.6% - 24px) 0;
    height: auto;
    background-image: var(--hero-bg-wide, url("../images/hero-bg-1920.jpg"));
    background-size: cover;
    background-position: 50% 100%;
  }
  .hero__video { display: block; }

  /* Heavier over the text column, lighter to the right, clear over the desk. */
  .hero__bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(247, 249, 255, 0.35) 0%,
        rgba(247, 249, 255, 0.35) 55%,
        rgba(247, 249, 255, 0) 72%
      ),
      linear-gradient(
        90deg,
        rgba(247, 249, 255, 0.6) 0%,
        rgba(247, 249, 255, 0.5) 50%,
        rgba(247, 249, 255, 0) 78%
      );
  }

  /* The person hero (kassoom-21 decision 5): the wash above is today's and stays as it is.
     Under .hero--person it is replaced by one that covers the text block only (.hero__intro
     and .hero__proof, feathered at its edges), so the child below the text shows at full
     strength. */
  .hero--person .hero__bg::after { background: none; }
  .hero--person .hero__intro,
  .hero--person .hero__proof { position: relative; }
  /* Lighter, with a wider feather, so it reads as light on the wall, not a slab (Iris's
     review, 2). */
  .hero--person .hero__intro::after,
  .hero--person .hero__proof::after {
    content: "";
    position: absolute;
    inset: -16px -32px;
    z-index: -1;
    border-radius: 48px;
    background: rgba(247, 249, 255, 0.4);
    box-shadow: 0 0 72px 36px rgba(247, 249, 255, 0.4);
    pointer-events: none;
  }
  /* Pull the proof panel's spill up off the child's crown. */
  .hero--person .hero__proof::after { box-shadow: 0 -24px 72px 24px rgba(247, 249, 255, 0.4); }
  /* Bottom left, but in the first screen: the screen less the 120 px of offer bar and header
     above the hero (measured on live from 900 to 1920 wide), a 24 px margin and the 44 px button; the hero's foot when the hero is
     shorter (Iris's review, 4b). */
  .hero__pause { left: 24px; top: min(calc(100svh - 188px), calc(100% - 68px)); bottom: auto; }

  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas:
      "intro form"
      "proof form";
    grid-template-rows: auto 1fr;
    column-gap: 72px;
    row-gap: 36px;
    align-items: start;
  }

  /* No form on the page: the text takes the width, and the image is not drawn. The
     image is composed round the card's height; without the card the hero is short and
     the desk would come up under the words (2.2:1, measured). */
  .hero__grid:not(:has(> .hero__form)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "proof"; }
  .hero:not(:has(.hero__form)) { padding-bottom: 88px; }
  .hero:not(:has(.hero__form)) > .hero__bg,
  .hero:not(:has(.hero__form)) > .hero__tag { display: none; }

  .hero__intro { grid-area: intro; }
  .hero__form { grid-area: form; }
  .hero__proof { grid-area: proof; }
  .hero__rows { margin-top: 24px; }
  .hero__rows .cms-content { font-size: 1.1875rem; }
  .hero__quotes { max-width: 34em; border-top-color: rgba(13, 27, 62, 0.22); }
  .hero__tag { display: block; left: auto; right: 16px; bottom: 16px; }

  .form-card, .webo-form-errors { scroll-margin-top: 104px; }

  .section { padding-block: 64px; }
  .section + .section--band,
  .section--band + .section { padding-block: 80px; }
  .region-head { margin-bottom: 48px; }
  .region-foot { margin-top: 40px; }

  /* A line between the figures. The list is pulled left by one gap and the strip
     hides it, so the first figure on any line has no line before it. */
  .stats__list { gap: 32px 0; margin-left: -33px; padding-block: 44px; }
  .stats__list > .cms-row { padding-inline: 32px 0; border-left: 1px solid var(--line); margin-left: 0; }
  .stats__list > .cms-row > .cms-content { padding-right: 24px; }

  .about {
    column-gap: 72px;
    row-gap: 56px;
    align-items: center;
  }

  .about:has(> .about__media) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .about__media { justify-self: end; width: 100%; max-width: 480px; }
  .about__media .cms-content { aspect-ratio: 4 / 5; max-height: 600px; }
  .pillars { grid-column: 1 / -1; gap: 32px; }
  .region-head--pillars { grid-column: 1 / -1; margin-bottom: -24px; }

  .included { column-gap: 72px; align-items: center; }
  .included:has(> .price-card):has(> .included__main) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .price-card { padding: 40px; }
  .included:not(:has(> .included__main)) > .price-card { max-width: 480px; }
  .price-card strong { font-size: 2.75rem; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cards > .cms-row { padding: 28px; }

  .region-how { display: block; }

  .how { display: grid; column-gap: 72px; row-gap: 32px; align-items: start; }
  .how:has(> .region-head):has(> .timeline) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .how > .region-head { margin-bottom: 0; }

  .region-reviews .region-head > .cms-row { align-items: flex-end; }
  .region-reviews .region-head > .cms-row > .cms-content:first-child { flex: 1 1 24rem; margin: 0 38px 0 0; }
  .region-reviews .region-head > .cms-row > .cms-content:not(:first-child) { margin-bottom: 6px; }

  .quotes { gap: 20px; }
  .quotes > .cms-row { padding: 36px; }
  .quote-list blockquote p { font-size: 1.5rem; }

  .faq-grid { column-gap: 72px; align-items: start; }
  .faq-grid:has(> .region-head):has(> .faqs) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .faq.kas-wide-only { display: block; }

  .region-closing { padding-block: 96px; }
  .sticky-cta { display: none; }

  .site-footer__in { padding-block: 56px; }

  .legal-hero { padding-block: 56px 64px; }
  .legal-body { padding-block: 64px 96px; }
  .legal-body__inner:has(> .legal-side > .toc) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 72px; align-items: start; }
  .legal-side { position: sticky; top: 104px; }
}

/* ---------- 18. Wider: the figures scale a little smaller at mid widths ---------- */

@media (min-width: 900px) and (max-width: 1199px) {
  .stats__list strong { font-size: min(2rem, 19cqi); }
  /* The person hero: the tall, narrow box crops the frame's sides, so the crop moves left to
     keep the child's head in (Iris's review, 1). The still and the footage move together. */
  .hero--person .hero__bg { background-position: 35% 100%; }
  .hero--person .hero__video { object-position: 35% 100%; }
}

@media (min-width: 1200px) {
  /* The person hero: at 1440 x 900 the child's face sat just below the first screen (John,
     20 Oct 2026). The still and the footage move up 70 px together; the box runs 13.6% + 24 px
     past the hero's foot, so the strip that opens at its foot stays out of sight. Her hair then
     passes behind the proof's last line, so the proof's wash goes from 0.4 to 0.6 to keep that
     line over 4.5:1. */
  .hero--person .hero__bg { background-position: 50% calc(100% - 70px); }
  .hero--person .hero__video { object-position: 50% calc(100% - 70px); }
  .hero--person .hero__proof::after {
    background: rgba(247, 249, 255, 0.6);
    box-shadow: 0 -24px 72px 24px rgba(247, 249, 255, 0.6);
  }
}
