/* britaccountants design system. Documented in .local/redesign/DESIGN-SYSTEM.md.
   Order: layers + fonts → tokens → base → layout → buttons → header → hero + device → components → footer
   → legacy components (pages not yet migrated) → responsive (1100 / 768 / 480) → motion.
   Desktop values match the 941 px mockup boards scaled to a 1280 px viewport (board px × 1.36). */

/* "base" holds element defaults; "legacy" receives mockup.css on pages that still show old inset art.
   Everything else is unlayered, so it always wins over both. */
@layer base, legacy;

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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;
}
/* Arial scaled to Plus Jakarta Sans metrics, so the font swap barely moves the layout. */
@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Arial'), local('ArialMT'), local('Helvetica');
  size-adjust: 104%;
  ascent-override: 100%;
  descent-override: 21%;
  line-gap-override: 0%;
}

/* ============================================================ tokens */
:root {
  /* navy family */
  --hero: #0a224a;          /* hero background */
  --hero-glow: #0e3a6e;     /* lighter navy toward the hero's right edge */
  --footer-bg: #072046;     /* footer and CTA band */
  --ink: #0b1534;           /* headings, strong text */
  --ink-2: #0a1a44;         /* nav, labels, dark UI text */
  --body: #3a425c;          /* paragraph text */
  --muted: #5f6a82;         /* meta, captions */
  --subtle: #8a94a8;        /* placeholders, disabled */
  --side: #133259;          /* device sidebar */
  /* action and accents */
  --coral: #fd5b5e;
  --coral-2: #ff6a63;       /* warm left edge of coral buttons */
  --coral-hover: #ec4448;
  --teal-hl: #62eddc;       /* highlighted words in hero headings */
  --teal-tick: #2fd8bf;     /* ticks on navy */
  --teal: #19b8a8;          /* teal on light backgrounds, blobs */
  --teal-dark: #0b6f65;     /* teal text and icons on mint (4.5:1 or better on mint) */
  --green: #14a84b;         /* ticks and checks */
  --green-ui: #0ea463;      /* green outline icons (feature strip, steps) */
  --star: #0aaf66;          /* testimonial stars */
  --star-box: #0cb46b;      /* boxed rating stars */
  --red: #f0444a;           /* crosses */
  --blue: #1c64e0;          /* text links (at least 4.6:1 on every tinted surface) */
  --brand-blue: #0a5cf0;    /* "ba" monogram */
  --chart: #2f80fb;         /* device bar chart */
  --icon-navy: #0b3a6e;     /* navy outline icons */
  --aat: #6a3695;           /* AAT wordmark */
  /* surfaces */
  --white: #ffffff;
  --band: #f3f7fc;          /* trust bar and light bands */
  --surface: #f5f8fe;       /* card background */
  --surface-2: #f8fafd;
  --panel: #f5f8fd;         /* how-it-works panel, device screen */
  --mint-50: #effcfa;
  --mint-100: #e3f8f4;      /* icon squares, highlighted table column */
  --mint-200: #d3f5ec;
  --mint-300: #c4f3e5;      /* step number circles */
  --sky-100: #e8f1fe;       /* active nav pill, ghost buttons, tags */
  /* lines */
  --line: #e3e8f0;
  --line-2: #eef1f6;
  --line-card: #e6ebf6;
  --line-strong: #c9d1de;
  --line-dark: rgba(255, 255, 255, .16);
  /* depth */
  --shadow-sm: 0 1px 2px rgba(16, 36, 77, .05);
  --shadow: 0 6px 18px rgba(16, 36, 77, .06);
  --shadow-md: 0 10px 28px rgba(16, 36, 77, .10);
  --shadow-lg: 0 24px 48px rgba(4, 16, 42, .28);
  /* radii */
  --r-xs: 6px;
  --r-sm: 8px;
  --r: 11px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;
  /* type */
  --fw-heading: 800;        /* h1-h3: the boards use a heavy bold */
  --fw-title: 800;          /* card, feature and stat titles */
  --fw-bold: 700;
  --fw-medium: 500;
  --font: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 13.5px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-title: 18px;                              /* card and feature titles */
  --fs-h1: clamp(32px, 2.2vw + 15px, 44px);      /* hero heading */
  --fs-h2: clamp(25px, 1.3vw + 14.4px, 31px);      /* section heading */
  --fs-h2-lg: clamp(26px, 1.5vw + 14px, 33px);   /* centred section heading */
  --fs-h2-sm: clamp(24px, .9vw + 17px, 28.5px);    /* compact section heading */
  /* spacing */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 40px; --s9: 48px; --s10: 64px;
  /* Vertical padding of a section, so sections sit 2 x --sec-y apart: 64 px on phones, 92 px at 1280, 120 px at 1920. */
  --sec-y: clamp(32px, 2.2vw + 18px, 64px);
  --sec-head-gap: clamp(22px, 1vw + 14px, 36px); /* section heading to its content */
  /* Content width: 1180 px at 1280 wide (the boards), then 92% of the window up to 1440 px, so wide screens
     are not left with large empty margins. Below 1280 the width is the window minus the gutters. */
  --container: clamp(1180px, 92vw, 1440px);
  --container-wide: calc(var(--container) + 28px);  /* bands that bleed slightly past the content (how it works) */
  --container-bleed: calc(var(--container) + 64px); /* wider bands such as the closing CTA */
  --gutter: 24px;
  --hero-inset: 27px;       /* hero copy sits slightly inside the container */
  --header-h: 60px;
  /* layers */
  --z-header: 50;
  --z-menu: 60;
  /* legacy names, mapped to the new palette so older CSS keeps working */
  --navy: var(--ink);
  --deep: var(--hero);
  --text: var(--body);
  --coral-dark: var(--coral-hover);
  --mint: var(--mint-100);
  --pale: var(--band);
  --shadow-legacy: var(--shadow);
  --radius: var(--r);
}

/* ============================================================ base */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
  ol, ul { padding: 0; }
  h1, h2, h3, h4 { color: var(--ink); font-weight: var(--fw-heading); line-height: 1.18; letter-spacing: -.01em; }
  h1 { font-size: var(--fs-h1); }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-title); }
  p { text-wrap: pretty; }
  a { color: inherit; text-decoration: none; }
  img, svg, video { display: block; max-width: 100%; }
  img { height: auto; }
  button, input, select, textarea { font: inherit; color: inherit; }
  button { cursor: pointer; }
  table { border-collapse: collapse; }
  strong, b { font-weight: 700; }
  summary { cursor: pointer; }
  :focus-visible { outline: 3px solid var(--focus, #1c64e0); outline-offset: 2px; border-radius: 4px; }
}
/* focus ring: deep blue on light surfaces, light blue on the navy ones (3:1 or better on both) */
.page-hero, .cta-band, .foot, .contact-callback { --focus: #8ab4ff; }
.page-hero .search-bar { --focus: #1c64e0; } /* white controls inside dark sections keep the deep ring */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; background: var(--white); }
body {
  width: auto; max-width: none; margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
.icon { flex: none; }
.icon-fill .i-bg { fill: currentColor; }
.icon-fill .i-fg { stroke: #fff; stroke-width: 2.4; }
.icon .i-tone { fill: currentColor; fill-opacity: .2; }
.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ============================================================ layout */
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); max-width: none; margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gutter), var(--container-wide)); margin-inline: auto; }
.sec { padding-block: var(--sec-y); }
.sec--tint { background: var(--band); }
.grid { display: grid; gap: 22px 29px; list-style: none; margin: 0; padding: 0; }
.grid > li { display: flex; min-width: 0; }
.grid > li > * { flex: 1; min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.eyebrow { display: inline-flex; margin-bottom: 8px; color: var(--teal-dark); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.text-muted { color: var(--muted); }

/* ============================================================ buttons and links */
.btn {
  --btn-h: 45px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--btn-h); padding: 0 22px;
  border: 1.5px solid transparent; border-radius: var(--r);
  font-size: 16.5px; font-weight: 600; line-height: 1.15; letter-spacing: -.005em;
  white-space: nowrap; text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn .btn-icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(90deg, var(--coral-2), var(--coral) 45%); color: #fff; box-shadow: 0 6px 16px rgba(253, 91, 94, .22); }
.btn-primary:hover { background: var(--coral-hover); }
.btn-outline { border-color: var(--ink-2); background: #fff; color: var(--ink-2); }
.btn-outline:hover { background: var(--ink-2); color: #fff; }
.page-hero .btn-outline, .cta-band .btn-outline, .is-dark .btn-outline, .btn-outline-light { border-color: rgba(255, 255, 255, .82); background: transparent; color: #fff; }
.page-hero .btn-outline:hover, .cta-band .btn-outline:hover, .is-dark .btn-outline:hover, .btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1b2a55; }
.btn-ghost { background: var(--sky-100); color: var(--blue); }
.btn-ghost:hover { background: #d9e7fd; }
.btn-play .btn-icon, .btn .icon[class*='play'] { width: 16px; height: 16px; }
.btn-sm { --btn-h: 34px; padding: 0 15px; border-radius: 9px; font-size: 14px; gap: 7px; }
.btn-sm .btn-icon { width: 15px; height: 15px; }
.btn-lg { --btn-h: 48px; padding: 0 30px; border-radius: 13px; font-size: 16.5px; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: var(--fw-title); text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; transition: transform .15s; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover .icon { transform: translateX(2px); }
p .text-link, li .text-link, .faq-a .text-link, .prose .text-link { display: inline; }
p .text-link .icon, li .text-link .icon, .faq-a .text-link .icon { display: inline-block; vertical-align: -3px; width: 15px; height: 15px; }

/* pills, tags, badges */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 32px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: #fff; color: var(--ink-2);
  font-size: 13.5px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.pill .icon { width: 18px; height: 18px; color: var(--green-ui); }
a.pill:hover, button.pill:hover { border-color: var(--ink-2); }
.pill.is-active { border-color: var(--teal-hl); background: var(--teal-hl); color: var(--ink); }
.tag {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px;
  border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1;
}
.tag--blue { background: #e6f5fb; color: #0b3f86; }
.tag--mint { background: var(--mint-100); color: #0b7a4e; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
.tag--navy { background: var(--ink); color: #fff; }
.tag--coral { background: #ffe9e9; color: #c4262b; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 11px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap;
}
.badge .icon { width: 15px; height: 15px; }
.badge--green { background: #04875a; color: #fff; } /* white text needs the deeper green for 4.5:1 */
.badge--mint { background: var(--mint-100); color: #0b7a4e; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.badge--coral { background: var(--coral); color: #fff; }
.badge--navy { background: var(--ink); color: #fff; }

/* stars */
.stars { display: inline-flex; align-items: center; gap: 3px; color: var(--star); line-height: 0; }
.stars .star { width: 16px; height: 16px; fill: currentColor; }
.stars .star.is-off { opacity: .25; }
.stars--boxed { gap: 2.5px; color: #fff; }
.stars--boxed .star { width: 22px; height: 22px; padding: 3.5px; background: var(--star-box); fill: #fff; }
.stars--boxed .star.is-off { opacity: 1; background: #c8d0dc; }

/* check lists */
.check-list-ui { display: grid; gap: 10px; list-style: none; padding: 0; }
.check-list-ui li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink-2); font-size: 17px; font-weight: 500; line-height: 1.35; }
.check-list-ui .icon { width: 21px; height: 21px; margin-top: 1px; color: var(--green); }
.check-list-ui--tick .icon { stroke-width: 2.4; }
.check-list-ui--circle .icon { width: 24px; height: 24px; margin-top: -1px; color: #21b866; stroke-width: 2.1; }
.check-list-ui--light li { color: #fff; }
.check-list-ui--light .icon { color: var(--teal-tick); stroke-width: 2.4; }

/* ============================================================ header */
.masthead { position: relative; z-index: var(--z-header); background: #fff; border-bottom: 1px solid #d9dee6; }
.masthead-bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); text-decoration: none; }
.logo-mark { width: 36px; height: 28px; flex: none; fill: var(--brand-blue); }
.logo-word { font-size: 23px; font-weight: var(--fw-title); letter-spacing: -.02em; line-height: 1; transform: translateY(-1px); }
.logo--light { color: #fff; }
.logo--light .logo-mark { fill: #fff; }
.brand-lockup { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; white-space: nowrap; }
.brand-lockup .logo-mark { width: 22px; height: 17px; }
.primary-nav { display: flex; flex: 1; align-items: center; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 34px; padding: 0 12.5px;
  border-radius: var(--r-pill);
  color: var(--ink-2); font-size: 14.5px; font-weight: 600; white-space: nowrap;
  list-style: none; transition: background-color .15s, color .15s;
}
summary.nav-link::-webkit-details-marker { display: none; }
.nav-link:hover, .nav-group[open] > .nav-link { color: var(--blue); }
.nav-link.is-active, .nav-group.is-active > .nav-link, .nav-link[aria-current='page'] { background: var(--sky-100); color: #1d5ed8; }
.nav-chev { width: 14px; height: 14px; stroke-width: 2.4; transition: transform .15s; }
.nav-group[open] .nav-chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: -14px; z-index: var(--z-menu);
  width: 480px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; box-shadow: 0 20px 44px rgba(10, 26, 68, .16);
}
.mega--resources { width: 470px; }
.mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; list-style: none; padding: 0; }
.mega-link { display: block; padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 14px; font-weight: 600; line-height: 1.3; }
.mega-link:hover, .mega-link[aria-current='page'] { background: var(--surface); color: var(--blue); }
.mega-all { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 12px 10px 4px; border-top: 1px solid var(--line); color: var(--blue); font-size: 14px; font-weight: var(--fw-title); }
.mega-all .icon { width: 16px; height: 16px; }
.nav-actions { display: flex; align-items: center; gap: 22px; flex: none; }
.login-link { color: var(--ink-2); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.login-link:hover { color: var(--blue); }
.nav-quote { min-width: 168px; }
.masthead-quote, .menu-toggle { display: none; }
.menu-toggle {
  flex: none; flex-direction: column; justify-content: center; align-items: center; gap: 4.5px;
  width: 44px; height: 44px; margin-left: 4px; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink-2); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* breadcrumbs (inside the hero, or a light trail above content on pages without a hero) */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; list-style: none; padding: 0; font-size: 12.5px; line-height: 1.4; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ''; width: 5px; height: 5px; margin: 0 9px 0 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.crumbs a:hover { text-decoration-color: currentColor; }
.crumbs--hero { margin-bottom: 12px; color: rgba(255, 255, 255, .72); }
.crumbs--hero [aria-current] { color: rgba(255, 255, 255, .92); }
.crumbs-plain { padding-top: 18px; color: var(--muted); }
.crumbs-plain [aria-current] { color: var(--ink-2); font-weight: 600; }

/* ============================================================ hero */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 100% 78%, var(--hero-glow) 0%, rgba(14, 58, 110, 0) 52%),
    var(--hero);
  color: #fff;
}
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 385px; padding-block: calc(var(--sec-y) * .8) var(--sec-y); }
.page-hero-copy { position: relative; z-index: 2; padding-left: var(--hero-inset); min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 27px; margin-bottom: 11px; padding: 0 13px 0 10px;
  border-radius: var(--r-pill); background: rgba(150, 178, 220, .26);
  color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .01em; line-height: 1; text-transform: uppercase;
}
.hero-badge .uk-flag { width: 21px; height: 13px; border-radius: 2px; }
.hero-badge > .icon { width: 17px; height: 17px; }
.hero-badge-help { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--coral); }
.hero-badge-help .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.page-hero-title { color: #fff; font-size: var(--fs-h1); line-height: 1.08; letter-spacing: 0; }
.page-hero-title .hl, .hl { color: var(--teal-hl); }
.page-hero-intro { margin-top: 16px; max-width: 34em; color: #fff; font-size: 17px; font-weight: 500; line-height: 1.5; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 22px; }
.page-hero-actions .btn { min-width: 202px; }
.page-hero-actions .btn .icon[class*='btn-icon']:first-child { width: 17px; height: 17px; }
.page-hero-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.page-hero-pills-label { margin-right: 4px; color: #fff; font-size: 13.5px; font-weight: 600; }
.page-hero .pill { min-height: 30px; padding: 0 13px; border-color: rgba(255, 255, 255, .78); background: transparent; color: #fff; font-size: 13px; }
.page-hero .pill:hover { background: rgba(255, 255, 255, .1); }
.page-hero .pill.is-active { border-color: var(--teal-hl); background: var(--teal-hl); color: var(--ink); }
.page-hero-ticks { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 15px; list-style: none; padding: 0; color: #fff; font-size: 14px; font-weight: 500; }
.page-hero-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.page-hero-ticks .icon { width: 17px; height: 17px; color: var(--teal-tick); stroke-width: 2.6; }
.page-hero-media { position: relative; z-index: 1; align-self: end; justify-self: end; width: 100%; max-width: 641px; margin: 0 -8px -22px 0; container-type: inline-size; }
.page-hero-aside { position: relative; z-index: 2; }
/* The stage sets the device scale: 1em = 10px when the laptop is shown at its board size (641 px wide). */
.hero-stage { position: relative; width: 64.1em; font-size: 10px; font-size: min(10px, 100cqw / 64.1); }
.hero-blob { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero-blob--a { left: 47.7em; top: -2.9em; width: 23.2em; height: 23.2em; background: linear-gradient(180deg, #3fe2d4 0%, #26c2b8 55%, #1aa9a6 100%); }
.hero-blob--b { left: -4.6em; top: 12.1em; width: 19em; height: 19em; background: radial-gradient(circle at 40% 35%, #1a4c90 0%, #123a74 70%); }
.hero-blob--c { left: -3.9em; top: 25em; width: 12.2em; height: 12.2em; background: linear-gradient(160deg, #36dccf 0%, #1a9fa0 100%); }
.page-hero--compact .page-hero-inner { min-height: 360px; }
/* PM-4: device plus a floating price card on the right */
.page-hero--aside .page-hero-inner { grid-template-columns: minmax(0, 430px) minmax(0, 1fr) 216px; gap: 20px; }
.page-hero--aside .page-hero-media { max-width: 520px; margin-right: 0; }
.page-hero--aside .page-hero-copy { padding-left: 0; }
/* PM-8 / PM-10: search bar and topic pills */
.page-hero--search .page-hero-intro { max-width: 37em; }
/* PM-9: tilted laptop */
.page-hero--tilt .hero-stage { transform: perspective(1500px) rotateY(-14deg) rotateZ(-5deg) translateY(-1.5em); transform-origin: 60% 70%; }

/* ============================================================ device (decorative laptop) */
.device { position: relative; width: 64.1em; color: var(--ink); font-family: var(--font); line-height: 1.25; }
.device-lid {
  position: relative; width: 55.2em; margin: 0 auto; padding: 1.95em 1.2em 1.75em;
  border-radius: 1.9em 1.9em .5em .5em;
  background: linear-gradient(180deg, #121722, #07090e);
  box-shadow: 0 0 0 .22em #c3c9d2, 0 0 0 .32em #8f97a4, 0 1.6em 3.2em rgba(0, 0, 0, .38);
}
.device-lid::before { content: ''; position: absolute; top: .75em; left: 50%; width: .5em; height: .5em; margin-left: -.25em; border-radius: 50%; background: #2c3442; box-shadow: inset 0 0 0 .1em #1a1f29; }
.device-screen { display: grid; grid-template-columns: 13.6em minmax(0, 1fr); height: 27.9em; overflow: hidden; border-radius: .45em; background: linear-gradient(180deg, #14335f 0%, #0f2a52 100%); }
.device-side { padding: 1.5em .75em 1em .8em; color: #e9f0fb; }
.device-brand { display: flex; align-items: center; gap: .4em; margin: 0 0 1.75em .45em; color: #fff; font-size: 1.1em; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.device-brand .logo-mark { width: 1.5em; height: 1.15em; fill: #fff; }
.device-nav { display: grid; gap: .35em; list-style: none; padding: 0; }
.device-nav li { display: flex; align-items: center; gap: .8em; min-height: 2.75em; padding: 0 .75em; border-radius: .55em; color: #dfe7f4; font-size: 1.05em; font-weight: 500; white-space: nowrap; }
.device-nav li .icon { width: 1.35em; height: 1.35em; stroke-width: 1.9; }
.device-nav li.is-active { background: linear-gradient(180deg, #2c5fa3, #234f85); color: #fff; font-weight: 600; }
.device-main { display: flex; flex-direction: column; gap: 1.2em; min-width: 0; margin: .3em .3em .3em 0; padding: 1.7em 1.6em 1.4em; border-radius: .7em; background: #f3f6fc; }
.device-base { position: relative; width: 100%; height: 1.75em; border-radius: .2em .2em 1.4em 1.4em / .2em .2em .9em .9em; background: linear-gradient(180deg, #f2f4f7 0%, #d8dce3 45%, #aab1bc 100%); box-shadow: 0 .9em 1.4em rgba(0, 0, 0, .35); }
.device-base::before { content: ''; position: absolute; top: 0; left: 50%; width: 8.4em; height: .62em; margin-left: -4.2em; border-radius: 0 0 .7em .7em; background: linear-gradient(180deg, #b9bec7, #cfd3da); }
.device--tilt .device-lid { box-shadow: 0 0 0 .22em #c3c9d2, 0 0 0 .32em #8f97a4, 1.2em 2em 3.4em rgba(0, 0, 0, .42); }
/* dashboard primitives */
.dash-title { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: .25em; color: var(--ink); font-size: 1.5em; }
.dash-title b { font-weight: var(--fw-title); }
.dash-stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 1.15em; }
.dash-stat { display: grid; gap: .3em; padding: 1.15em 1.25em 1.05em; border-radius: .7em; background: #fff; box-shadow: 0 .1em .4em rgba(16, 36, 77, .06); }
.dash-stat small { color: #303a52; font-size: 1.2em; font-weight: 500; line-height: 1.2; }
.dash-stat b { color: var(--ink); font-size: 1.8em; font-weight: var(--fw-title); letter-spacing: -.01em; }
.dash-delta { display: inline-flex; align-items: center; gap: .45em; color: #1f9a50; }
.dash-delta .icon { width: 1.4em; height: 1.4em; stroke-width: 2.6; }
.dash-delta em { padding: .22em .55em; border-radius: var(--r-pill); background: #cdf6e6; font-size: 1.1em; font-style: normal; font-weight: 700; line-height: 1.2; }
.dash-row { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 1em; flex: 1; min-height: 0; }
.dash-card { min-width: 0; padding: 1em; border-radius: .7em; background: #fff; box-shadow: 0 .1em .4em rgba(16, 36, 77, .06); }
.dash-label { display: block; margin-bottom: .5em; color: var(--ink); font-size: .9em; font-weight: 700; }
.dash-chart { display: flex; flex-direction: column; }
.dash-bars {
  display: flex; flex: 1; align-items: flex-end; gap: 1.15em; min-height: 6em; padding: .3em .8em 0;
  background: repeating-linear-gradient(180deg, transparent 0, transparent calc(33.3% - 1px), #eef1f7 calc(33.3% - 1px), #eef1f7 33.3%);
}
.dash-bars i { flex: 1; border-radius: .2em .2em 0 0; background: linear-gradient(180deg, #3b8dff, #1f75f5); }
.dash-checks { display: grid; align-content: center; gap: 1.35em; padding: 1em 1.5em; }
.dash-checks p { display: flex; align-items: center; gap: .8em; color: #1d2540; font-size: 1.15em; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.dash-checks .icon { width: 1.55em; height: 1.55em; color: #0aa344; }
.dash-tiles { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: .9em; }
.dash-tile { display: grid; justify-items: center; gap: .55em; padding: 1.1em .5em; border-radius: .7em; background: #fff; color: var(--ink); font-size: .9em; font-weight: 700; text-align: center; box-shadow: 0 .1em .4em rgba(16, 36, 77, .06); }
.dash-tile .icon { width: 2em; height: 2em; color: #12a558; }
.dash-lines { display: grid; gap: .65em; }
.dash-lines i { display: block; height: .6em; border-radius: var(--r-pill); background: #d9e0ec; }
.dash-lines i:nth-child(3n + 2) { width: 78%; }
.dash-lines i:nth-child(3n) { width: 56%; }
.dash-photo img { width: 100%; height: 100%; border-radius: .6em; object-fit: cover; }

/* ============================================================ trust bar and brand marks */
.trust-bar { background: var(--band); border-radius: 0 0 4px 4px; }
.trust-bar-inner {
  display: grid; grid-template-columns: auto 1px auto 1px auto 1px auto 1px auto;
  justify-content: space-between; align-items: center;
  min-height: 90px; padding-inline: 18px 23px;
}
.trust-sep { width: 1px; height: 44px; background: #c5ccda; }
.trust-item { display: flex; align-items: center; gap: 14px; min-width: 0; color: var(--ink); }
.trust-rating { flex-direction: column; align-items: center; gap: 3px; }
.trust-rating-row { display: flex; align-items: center; gap: 15px; }
.trust-rating-row b { font-size: 19px; font-weight: var(--fw-title); letter-spacing: -.01em; }
.trust-reviews { display: inline-flex; align-items: center; gap: 3px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.trust-reviews .icon { width: 13px; height: 13px; color: var(--blue); stroke-width: 2.6; }
.trust-reviews:hover { color: var(--blue); }
.trust-clients .icon { width: 44px; height: 44px; color: #5574a0; }
.trust-clients p { display: grid; line-height: 1.2; }
.trust-clients b { font-size: 18.5px; font-weight: var(--fw-title); }
.trust-clients small { color: #2a3552; font-size: 15.5px; font-weight: 500; }
.brandmark { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.brandmark-text { display: grid; }
.brandmark-text b { font-size: 17.5px; font-weight: var(--fw-title); letter-spacing: -.01em; }
.brandmark-text small { color: #2a3552; font-size: 14.5px; font-weight: 500; }
.brandmark-glyph { flex: none; }
.brandmark-disc { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: -.03em; }
.brandmark-disc--wide { width: 44px; height: 30px; border-radius: 15px; font-size: 13px; letter-spacing: -.02em; }
.brandmark-letter { color: var(--c); font-size: 34px; font-weight: 800; line-height: 1; }
.brandmark-square { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--c); color: #fff; font-size: 15px; font-weight: 800; }
.brandmark-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px rgba(255, 122, 69, .2); }
.brandmark--icaew { gap: 8px; }
.brandmark--icaew .brandmark-glyph { width: 17px; height: 32px; }
.brandmark--icaew .brandmark-text b { font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.brandmark--icaew .brandmark-text small { font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; line-height: 1.2; }
.brandmark--aat .brandmark-text { justify-items: center; }
.brandmark--aat .brandmark-text b { color: var(--aat); font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.brandmark--aat .brandmark-text small { font-size: 13.5px; }
.brandmark--sm .brandmark-text b { font-size: 15px; }
.brandmark--sm .brandmark-text small { font-size: 12.5px; }
.brandmark--sm .brandmark-disc { width: 28px; height: 28px; font-size: 13px; }
.brandmark--lg .brandmark-text b { font-size: 20px; }
.brandmark--lg .brandmark-disc { width: 40px; height: 40px; font-size: 17px; }

/* ============================================================ feature strip */
.feature-strip { padding-block: var(--sec-y); }
.feature-strip--band { background: var(--band); padding-block: calc(var(--sec-y) * .55); }
.feature-strip-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; }
.feature-strip-item { display: flex; align-items: center; gap: 22px; min-width: 0; padding-left: 35px; padding-right: 16px; }
.feature-strip-item:first-child { padding-left: 16px; }
.feature-strip-item + .feature-strip-item { border-left: 1px solid #e3e7ef; }
.feature-strip-icon { display: grid; place-items: center; flex: none; width: 64px; height: 62px; border-radius: 14px; background: var(--mint-100); color: var(--green-ui); }
.feature-strip-icon .icon { width: 38px; height: 38px; stroke-width: 1.55; }
.feature-strip-copy { display: grid; gap: 4px; min-width: 0; }
.feature-strip-copy b { color: var(--ink); font-size: 19px; font-weight: var(--fw-title); line-height: 1.2; letter-spacing: -.01em; }
.feature-strip-copy span { color: #333b57; font-size: 16px; font-weight: 500; line-height: 1.3; }
.feature-strip--band .feature-strip-icon { background: #dff6f1; }
@media (min-width: 1100px) and (max-width: 1239px) {
  .feature-strip-item { gap: 14px; padding-left: 22px; }
  .feature-strip-icon { width: 56px; height: 54px; border-radius: 13px; }
  .feature-strip-icon .icon { width: 33px; height: 33px; }
  .feature-strip-copy b { font-size: 17.5px; }
  .feature-strip-copy span { font-size: 15px; }
}

/* ============================================================ section heads */
.section-head { margin-bottom: var(--sec-head-gap); }
.section-head h2 { font-size: var(--fs-h2); line-height: 1.15; }
.section-head p { margin-top: 10px; color: var(--body); font-size: 16.5px; }
.section-head--center { max-width: 820px; margin-inline: auto; text-align: center; }
.section-head--center h2 { font-size: var(--fs-h2-lg); text-wrap: balance; }
.section-head--link { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; max-width: none; text-align: left; }
.section-head--link .text-link { margin-bottom: 4px; }

/* ============================================================ icon cards */
.icon-card {
  position: relative; display: flex; gap: 18px; height: 100%; min-width: 0;
  padding: 20px 22px; border: 1px solid var(--line-card); border-radius: var(--r-lg);
  background: linear-gradient(180deg, #f8fafe 0%, #f3f6fc 100%);
  color: var(--ink); text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.icon-card:hover { border-color: #c9d5ea; box-shadow: var(--shadow-md); }
.icon-card--h { align-items: center; }
.icon-card--top { align-items: flex-start; }
.icon-card--v { flex-direction: column; align-items: flex-start; }
.icon-card-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; }
.icon-card-icon .icon { width: 100%; height: 100%; stroke-width: 1.6; }
.icon-card-icon--mint { width: 54px; height: 54px; border-radius: 12px; background: var(--mint-100); }
.icon-card-icon--mint .icon { width: 30px; height: 30px; stroke-width: 1.7; }
.icon-card-icon--panel { align-self: stretch; width: 78px; height: auto; margin: -16px 0 -16px -18px; border-radius: 12px 0 0 12px; background: var(--mint-100); }
.icon-card-icon--panel .icon { width: 34px; height: 34px; stroke-width: 1.7; }
.tone-navy { color: var(--icon-navy); }
.tone-green { color: var(--green-ui); }
.tone-teal { color: var(--teal-dark); }
.tone-blue { color: #2f5fb3; }
.icon-card-body { display: grid; align-content: start; gap: 6px; flex: 1; min-width: 0; }
.icon-card-title { color: var(--ink); font-size: 18px; font-weight: var(--fw-title); line-height: 1.22; letter-spacing: -.01em; }
.icon-card-text { color: var(--body); font-size: 15px; line-height: 1.45; }
.icon-card-tag { justify-self: start; }
.icon-card-arrow { display: grid; place-items: center; flex: none; width: 31px; height: 31px; border-radius: 50%; background: #fff; color: #1d335c; box-shadow: 0 1px 4px rgba(16, 36, 77, .12); transition: transform .15s; }
.icon-card-arrow .icon { width: 16px; height: 16px; stroke-width: 2.2; }
a.icon-card:hover .icon-card-arrow { transform: translateX(2px); }
.icon-card--arrow-br { padding-right: 56px; }
.icon-card--arrow-br .icon-card-arrow { position: absolute; right: 16px; bottom: 16px; }
.icon-card--arrow-mid .icon-card-arrow { align-self: center; }
.icon-card--tone-mint { background: linear-gradient(180deg, #f1fcf9, #e8f8f3); border-color: #d8f1ea; }
/* PM-1 service tile: big navy icon, title, arrow bottom-right */
.icon-card--tile { min-height: 78px; padding: 14px 56px 14px 30px; gap: 33px; border-radius: var(--r); background: var(--surface); border-color: #e6ebf7; }
.icon-card--tile .icon-card-icon { width: 48px; height: 48px; }
.icon-card--tile .icon-card-icon .icon { stroke-width: 1.45; }
.icon-card--tile .icon-card-title { font-size: 17.5px; }
.icon-card--tile .icon-card-arrow { right: 13px; bottom: 13px; }
/* PM-3 service card */
.icon-card--feature { min-height: 130px; padding: 22px 60px 22px 22px; }
.icon-card--feature .icon-card-body { padding-top: 6px; }
/* PM-4 included card */
.icon-card--tall { gap: 12px; min-height: 148px; padding: 20px 20px 18px; }
.icon-card--tall .icon-card-icon { width: 36px; height: 36px; }
.icon-card--tall .icon-card-title { font-size: 17px; }
.icon-card--tall .icon-card-text { font-size: 14.5px; }
/* PM-4 list row */
.icon-card--row { gap: 20px; min-height: 71px; padding: 16px 18px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.icon-card--row .icon-card-text { font-size: 14.5px; }
/* PM-8 topic tile */
.icon-card--topic { justify-content: space-between; gap: 16px; min-height: 133px; padding: 20px 52px 20px 22px; }
.icon-card--topic .icon-card-icon { width: 38px; height: 38px; }
/* PM-6/PM-7 value card */
.icon-card--value { gap: 14px; min-height: 160px; padding: 22px 26px; }
.icon-card--value .icon-card-icon { width: 38px; height: 38px; }
.icon-card--value .icon-card-title { font-size: 20px; }
/* PM-9 enquiry card */
.icon-card--enquiry { gap: 12px; min-height: 170px; padding: 20px 22px; }
.icon-card--enquiry.icon-card--arrow-mid { padding-right: 60px; }
.icon-card--enquiry .icon-card-arrow { position: absolute; right: 16px; top: 50%; margin-top: -15px; }
.icon-card--enquiry .icon-card-title { font-size: 21px; }
/* PM-10 help row */
.icon-card--help { gap: 22px; min-height: 76px; padding: 14px 18px 14px 22px; border-radius: 12px; }
.icon-card--help .icon-card-icon { width: 40px; height: 40px; }
.icon-card--help .icon-card-body { gap: 2px; }
.icon-card--help .icon-card-text { font-size: 14px; }

/* ============================================================ how it works */
.how { padding-block: var(--sec-y); }
.how-panel { display: grid; grid-template-columns: 287px minmax(0, 1fr); align-items: center; gap: 0; min-height: 128px; padding: calc(var(--sec-y) * .5) 14px calc(var(--sec-y) * .5) 38px; border-radius: 16px; background: var(--panel); }
.how-intro { padding-right: 24px; }
.how-intro h2 { font-size: var(--fs-h2); line-height: 1.15; }
.how-intro p { margin-top: 6px; color: var(--body); font-size: 18px; font-weight: 500; }
.how-panel .how-steps { position: relative; display: grid; grid-template-columns: 274fr 261fr 282fr; gap: 0; list-style: none; padding: 0 0 0 48px; border-left: 1px solid #ccd4df; }
.how-step { position: relative; min-width: 0; padding-right: 12px; }
.how-step-top { display: flex; align-items: center; gap: 15px; margin-bottom: 7px; }
.how-num { display: grid; place-items: center; flex: none; width: 33px; height: 33px; border-radius: 50%; background: var(--mint-300); color: var(--ink); font-size: 14px; font-weight: 800; }
.how-icon { display: grid; color: var(--green-ui); }
.how-icon .icon { width: 38px; height: 38px; stroke-width: 1.7; }
.how-step h3 { font-size: 19px; line-height: 1.25; }
.how-step p { margin-top: 3px; color: var(--body); font-size: 15.5px; font-weight: 500; line-height: 1.4; }
.how-arrow { position: absolute; left: -46px; top: 36px; color: #7786a1; }
.how-arrow .icon { width: 20px; height: 20px; stroke-width: 1.6; }
.how-panel .how-step + .how-step { padding-left: 32px; }
.how-panel .how-step + .how-step .how-arrow { left: -38px; }
/* centred variant (PM-4) */
.how--centered .how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; list-style: none; padding: 0 20px; }
.how--centered .how-step { display: flex; align-items: flex-start; gap: 20px; padding: 0; }
.how--centered .how-step-top { position: relative; flex: none; margin: 0; }
.how--centered .how-icon { place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mint-100); color: var(--icon-navy); }
.how--centered .how-icon .icon { width: 30px; height: 30px; }
.how--centered .how-num { position: absolute; top: -6px; right: -8px; width: 24px; height: 24px; border: 2px solid #fff; font-size: 12px; }
.how--centered .how-arrow { left: -44px; top: 20px; }

/* ============================================================ comparison table */
.cmp-wrap { position: relative; overflow-x: auto; border: 1px solid #e2e7ef; border-radius: 10px; background: #fff; -webkit-overflow-scrolling: touch; }
.cmp-wrap:focus-visible { outline-offset: 3px; }
.cmp-table { width: 100%; min-width: 560px; border-collapse: collapse; color: var(--ink-2); font-size: 15px; }
.cmp-table th, .cmp-table td { height: 33px; padding: 4px 18px; text-align: center; vertical-align: middle; }
.cmp-table thead th { height: 38px; background: #f5f7fb; color: var(--ink); font-size: 15px; font-weight: var(--fw-title); white-space: nowrap; }
.cmp-table thead th:first-child, .cmp-table tbody th { text-align: left; }
.cmp-table tbody th { font-weight: 600; color: var(--ink); }
.cmp-text { font-weight: 500; }
.cmp-table tbody tr + tr > * { border-top: 1px solid #eef2f6; }
.cmp-table tbody tr:first-child > * { border-top: 1px solid #e8edf3; }
.cmp-table .is-hl { background: var(--mint-100); }
.cmp-table thead .is-hl { background: #d6f5ee; }
.cmp-brand { justify-content: center; font-size: 15px; }
.cmp-brand .logo-mark { width: 24px; height: 18px; }
.cmp-yes, .cmp-no { display: inline-flex; align-items: center; gap: 10px; }
.cmp-yes:has(> .visually-hidden), .cmp-no:has(> .visually-hidden) { vertical-align: middle; }
.cmp-yes .icon, .cmp-no .icon { width: 21px; height: 21px; stroke-width: 3; }
.cmp-yes .icon { color: #22ad5c; }
.cmp-no .icon { color: var(--red); }
.cmp-label { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.cmp-label .icon { width: 24px; height: 24px; color: var(--icon-navy); }

/* ============================================================ testimonials */
.testimonials { padding-block: var(--sec-y); }
.testimonials-head { margin-bottom: var(--sec-head-gap); }
.testimonials-head h2 { font-size: var(--fs-h2); }
.testimonials-head p { margin-top: 10px; font-size: 16px; }
.testimonials-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; list-style: none; padding: 0; }
.testimonials-list > li { display: flex; min-width: 0; }
.quote-card { display: flex; gap: 20px; flex: 1; min-width: 0; min-height: 143px; padding: 7px 14px 7px 13px; border: 1px solid #edf1f7; border-radius: var(--r-lg); background: #fff; box-shadow: 0 4px 16px rgba(16, 36, 77, .05); }
.quote-card-end { margin-left: -.15em; } /* the font leaves a wide gap after a full stop */
.quote-card-photo { flex: none; width: 117px; height: 129px; border-radius: 10px; object-fit: cover; align-self: center; }
.quote-card-body { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; }
.quote-card-text p { position: relative; padding-left: 25px; color: var(--ink); font-size: 18px; font-weight: var(--fw-title); line-height: 1.25; letter-spacing: -.01em; }
.quote-card-mark { position: absolute; left: 0; top: -3px; color: var(--star); font-size: 34px; font-weight: 800; line-height: 1; }
.quote-card-name { padding-left: 25px; color: #2a3552; font-size: 14.5px; font-weight: 500; }
.quote-card-body .stars { padding-left: 25px; }
.quote-card-body .stars .star { width: 20px; height: 20px; }
/* side layout (PM-4): heading on the left, cards on the right */
.testimonials--side .testimonials-inner { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.testimonials--side .testimonials-list { gap: 22px; }
.testimonials--side .quote-card { gap: 14px; }
.testimonials--side .quote-card-photo { width: 76px; height: 84px; }
.testimonials--side .quote-card-text p { font-size: 15px; }

/* ============================================================ post cards (article card with photo) */
.post-card { display: flex; flex-direction: column; height: 100%; min-width: 0; overflow: hidden; border: 1px solid #eceff4; border-radius: var(--r); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
a.post-card:hover { border-color: #c9d5ea; box-shadow: var(--shadow-md); }
a.post-card:hover .post-card-title { color: var(--blue); }
.post-card-media { position: relative; display: block; aspect-ratio: 284 / 98; background: var(--band); }
.post-card-img { width: 100%; height: 100%; object-fit: cover; }
.post-card-tag { position: absolute; left: 19px; bottom: 6px; min-height: 20px; font-size: 11.5px; }
.post-card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 8px 19px 12px; }
.post-card-title { color: var(--ink); font-size: 15px; font-weight: var(--fw-title); line-height: 1.3; letter-spacing: -.01em; transition: color .15s; }
.post-card-text { color: var(--body); font-size: 14.5px; line-height: 1.5; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; margin-top: auto; padding-top: 10px; color: #3f4863; font-size: 13.5px; font-weight: 500; }
.post-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .icon { width: 16px; height: 16px; }

/* ============================================================ FAQ split */
.faq-split { padding-block: var(--sec-y); }
.faq-split-inner { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; }
.faq-split--aside .faq-split-inner { grid-template-columns: 280px minmax(0, 1fr) 282px; gap: 22px 24px; }
.faq-split-intro h2 { font-size: var(--fs-h2-sm); line-height: 1.12; }
.faq-split-intro p { margin-top: 10px; color: var(--body); font-size: 15.5px; line-height: 1.45; }
.faq-split-intro .btn { margin-top: 16px; }
.faq-acc { min-width: 0; }
.faq-split--joined .faq-acc { border: 1px solid #dfe5ee; border-radius: 10px; background: #fff; overflow: hidden; }
.faq-split--separate .faq-acc { display: grid; gap: 10px; }
.faq-split--separate .faq-item { border: 1px solid #dfe5ee; border-radius: 10px; background: #fff; }
.faq-split--joined .faq-item + .faq-item { border-top: 1px solid #edf1f4; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 9px 20px 9px 26px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; line-height: 1.35; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-split--separate .faq-q { min-height: 44px; padding: 10px 18px 10px 20px; font-weight: 700; font-size: 15px; }
.faq-q:hover { color: var(--blue); }
.faq-chev { width: 18px; height: 18px; color: var(--ink-2); stroke-width: 2.2; transition: transform .2s; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 2px 26px 14px; color: var(--body); font-size: 14.5px; line-height: 1.6; }
.faq-split--separate .faq-a { padding: 0 20px 16px; }
.faq-a p + p { margin-top: 8px; }
.faq-a a:not(.btn) { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
/* aside card (PM-1) */
.aside-card { display: flex; align-items: flex-start; gap: 14px; height: 100%; min-height: 116px; padding: 20px 18px 18px 12px; border-radius: var(--r-lg); background: linear-gradient(180deg, #f3fafc 0%, #ecf6fa 100%); }
.aside-card-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-top: 4px; border-radius: 50%; background: #d9f6f4; color: #178a7f; }
.aside-card-icon .icon { width: 24px; height: 24px; }
.aside-card-title { color: var(--ink); font-size: 18.5px; font-weight: var(--fw-title); line-height: 1.25; }
.aside-card-text { margin-top: 4px; color: var(--body); font-size: 14.5px; }
.aside-card .text-link { margin-top: 8px; font-size: 16.5px; }

/* ============================================================ CTA band */
.cta-band-section { padding-block: var(--sec-y); }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center; gap: 24px 118px;
  min-height: 97px; padding: max(16px, calc(var(--sec-y) * .45)) 48px max(16px, calc(var(--sec-y) * .45)) 92px;
  border-radius: 48px; background: linear-gradient(90deg, #08224b 0%, #092956 50%, #08224b 100%); color: #fff;
}
.cta-band::before, .cta-band::after { content: ''; position: absolute; z-index: -1; pointer-events: none; }
.cta-band::before { left: 0; top: 0; bottom: 0; width: 190px; background: radial-gradient(ellipse 104px 34px at 26% 100%, #22cbbd 0 97%, rgba(34, 203, 189, 0) 100%), radial-gradient(circle 128px at 0 92%, #0a3a78 0 98%, rgba(10, 58, 120, 0) 100%); }
.cta-band::after { right: -36px; bottom: -88px; width: 190px; height: 190px; border-radius: 50%; background: linear-gradient(200deg, #0e5575 0%, #149a9a 55%, #22c9bd 100%); }
.cta-band-copy { text-align: center; }
.cta-band-copy h2 { color: #fff; font-size: 27.5px; line-height: 1.2; }
.cta-band-copy p { margin-top: 6px; color: #fff; font-size: 16.5px; }
.cta-band-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.cta-band-actions .btn-primary { min-width: 240px; }
.cta-band--center { flex-direction: column; gap: 18px; min-height: 128px; padding: 24px 48px 22px; }
.cta-band--center .cta-band-copy h2 { font-size: 30px; }
.cta-band--center .cta-band-actions .btn { min-width: 220px; }

/* ============================================================ forms */
.form-field { display: grid; gap: 7px; min-width: 0; }
.form-label { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.req { color: #c8262b; }
.form-control { position: relative; display: flex; align-items: center; }
.form-icon { position: absolute; left: 15px; top: 50%; display: grid; color: var(--ink-2); transform: translateY(-50%); pointer-events: none; }
.form-icon .icon { width: 20px; height: 20px; }
.form-control--area .form-icon { top: 14px; transform: none; }
.form-input, .form-select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid #cfd8e5; border-radius: 10px; background: #fff;
  color: var(--ink); font-size: 15px; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.form-input::placeholder { color: #5b6580; opacity: 1; }
.form-input:hover, .form-select:hover { border-color: #aebbd0; }
.form-input:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 107, 239, .18); outline: none; }
.form-input:user-invalid, .form-select:user-invalid { border-color: var(--red); }
.has-icon .form-input, .has-icon .form-select { padding-left: 46px; }
.form-select { appearance: none; padding-right: 42px; cursor: pointer; }
.form-chev { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--ink-2); stroke-width: 2.2; pointer-events: none; }
.form-textarea { min-height: 112px; resize: vertical; }
.form-hint { color: var(--muted); font-size: 13px; }
.form-status { padding: 12px 14px; border-radius: 10px; background: var(--mint-100); color: #0b5b45; font-size: 14px; }
.form-status:empty { display: none; }
/* toggle switch */
.toggle { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; cursor: pointer; }
.toggle-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-text { display: grid; gap: 2px; }
.toggle-label { color: var(--ink); font-size: 15px; font-weight: 700; }
.toggle-sub { color: var(--body); font-size: 14px; }
/* Opt-in leading icon: toggle({icon}) */
.toggle-icon { display: grid; place-items: center; flex: none; align-self: center; color: var(--icon-navy); }
.toggle-icon .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.toggle--icon .toggle-text { margin-right: auto; }
.toggle-track { position: relative; flex: none; width: 42px; height: 24px; border-radius: var(--r-pill); background: #c9d0da; transition: background-color .15s; }
.toggle-thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.toggle-input:checked + .toggle-text + .toggle-track { background: #12a659; }
.toggle-input:checked + .toggle-text + .toggle-track .toggle-thumb { transform: translateX(18px); }
.toggle-input:focus-visible + .toggle-text + .toggle-track { outline: 3px solid var(--focus, #1c64e0); outline-offset: 2px; }
/* search bar */
.search-bar { position: relative; display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 6px 6px 6px 50px; border: 1px solid #d5dde9; border-radius: 14px; background: #fff; }
.search-bar-icon { position: absolute; left: 18px; top: 50%; width: 21px; height: 21px; margin-top: -10.5px; color: var(--ink-2); stroke-width: 2.1; pointer-events: none; }
.search-bar-input { flex: 1; min-width: 0; min-height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 15.5px; outline: none; }
.search-bar-input::placeholder { color: #66708a; opacity: 1; }
.search-bar-input::-webkit-search-cancel-button { cursor: pointer; }
.search-bar:focus-within { box-shadow: 0 0 0 3px rgba(98, 237, 220, .45); }
.search-bar-btn { flex: none; min-height: 40px; padding: 0 20px; border: 0; border-radius: 10px; background: #5fe3cf; color: var(--ink); font-size: 15.5px; font-weight: 700; }
.search-bar-btn:hover { background: #46d6c0; }
.search-bar-btn--arrow { display: grid; place-items: center; width: 40px; padding: 0; border-radius: 50%; background: #46d6a6; color: var(--ink); }
.search-bar-btn--arrow .icon { width: 19px; height: 19px; stroke-width: 2.2; }
.search-bar--hero { max-width: 590px; margin-top: 22px; border-color: transparent; box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }

/* ============================================================ footer */
.foot { margin-top: 0; background: var(--footer-bg); color: #fff; font-size: 14px; }
.foot a { color: #fff; }
.foot a:hover { color: var(--teal-hl); }
.foot-top { display: grid; grid-template-columns: minmax(214px, .85fr) minmax(0, 3.3fr) minmax(230px, .9fr); gap: 0; padding-block: 48px 40px; }
.foot-brand { display: grid; align-content: start; gap: 12px; }
.foot-brand .logo-mark { width: 31px; height: 24px; }
.foot-brand .logo-word { font-size: 21px; }
.foot-tagline { max-width: 260px; color: #e3e9f3; font-size: 14.5px; line-height: 1.5; }
.foot-rating-row { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13.5px; line-height: 1.3; }
.foot-rating-row .stars--boxed .star { width: 17px; height: 17px; padding: 2.5px; }
.foot-social { display: flex; align-items: center; gap: 22px; margin-top: 8px; }
.foot-social-link { display: grid; color: #fff; }
.foot-social-link .icon { width: 19px; height: 19px; }
/* Columns size to their links and spread out; links wrap instead of overflowing when the space runs short. */
.foot-nav { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 28px clamp(20px, 1.8vw, 32px); padding: 0 clamp(20px, 1.6vw, 44px); border-left: 1px solid rgba(255, 255, 255, .18); }
.foot-col h2, .foot-news h2 { margin-bottom: 14px; color: #fff; font-size: 15px; font-weight: var(--fw-title); letter-spacing: 0; }
/* line-height on the list too: the li strut (13 px × 1.55) would otherwise set the pitch to 20 px. */
.foot-col ul { display: grid; gap: 10px; list-style: none; padding: 0; line-height: 1.4; }
.foot-col a { display: inline-block; padding-block: 0; color: #e9eef6; font-size: 14px; line-height: 1.4; }
.foot-news { padding-left: clamp(28px, 3vw, 48px); border-left: 1px solid rgba(255, 255, 255, .18); }
.foot-news > p { color: #e3e9f3; font-size: 14px; line-height: 1.5; }
.foot-news-form { margin-top: 16px; }
.foot-news-row { display: flex; }
.foot-news-input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 8px 0 0 8px; background: #fff; color: var(--ink); font-size: 14px; }
.foot-news-input::placeholder { color: #69738b; opacity: 1; }
.foot-news-input:focus { outline: 3px solid var(--teal-hl); outline-offset: 0; }
.foot-news-btn { display: grid; place-items: center; flex: none; width: 48px; border: 0; border-radius: 0 8px 8px 0; background: #f95a5d; color: #fff; }
.foot-news-btn:hover { background: var(--coral-hover); }
.foot-news-btn:disabled { cursor: default; opacity: .75; }
.foot-news-btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.foot-news-status { margin-top: 10px; color: #bff6ee; font-size: 13.5px; line-height: 1.45; }
.foot-news-status:empty { display: none; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 20px 24px; border-top: 1px solid rgba(255, 255, 255, .18); color: #e3e9f3; font-size: 13px; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 32px; list-style: none; padding: 0; }
.foot-bottom a { color: #e9eef6; }

/* ============================================================ legacy components (pages not yet migrated) */
/* section rhythm and headings */
.section { padding-block: 28px; }
.section-sm { padding-block: 20px; }
.section-tint { background: var(--band); }
.section-heading { max-width: 820px; margin: 0 auto 22px; text-align: center; }
.section-heading h2 { font-size: var(--fs-h2-lg); }
.section-heading > p { margin-top: 6px; font-size: 16.5px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.split-copy > h2 { font-size: var(--fs-h2); }
.split-copy > p { margin-top: 12px; font-size: 16px; }
.split-copy .button-row, .button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.reading-width { max-width: 760px; margin-inline: auto; }
.muted { color: var(--muted); }
/* buttons written as raw markup */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 45px; padding: 0 22px; border: 1.5px solid transparent; border-radius: var(--r);
  background: linear-gradient(90deg, var(--coral-2), var(--coral) 45%); color: #fff;
  font-size: 16px; font-weight: 600; line-height: 1.15; white-space: nowrap; cursor: pointer;
  box-shadow: 0 6px 16px rgba(253, 91, 94, .2); transition: background-color .15s;
}
.button:hover { background: var(--coral-hover); }
.button .icon { width: 18px; height: 18px; }
.button:disabled { opacity: .6; cursor: not-allowed; }
.button-secondary { border-color: var(--ink-2); background: #fff; color: var(--ink-2); box-shadow: none; }
.button-secondary:hover { background: var(--ink-2); color: #fff; }
.button-small { min-height: 34px; padding: 0 14px; font-size: 14px; }
/* check list */
.check-list { display: grid; gap: 10px; margin-top: 14px; list-style: none; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.check-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--green); stroke-width: 2.4; }
/* tiles and cards */
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  position: relative; display: flex; align-items: center; gap: 22px; min-height: 84px;
  padding: 16px 56px 16px 22px; border: 1px solid var(--line-card); border-radius: var(--r-lg);
  background: linear-gradient(180deg, #f8fafe, #f3f6fc); color: var(--ink); text-align: left;
  transition: border-color .15s, box-shadow .15s;
}
.tile:hover { border-color: #c9d5ea; box-shadow: var(--shadow-md); }
.tile-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--mint-100); color: var(--green-ui); }
.tile-icon .icon { width: 28px; height: 28px; color: inherit; }
.tile strong { display: block; color: var(--ink); font-size: 17.5px; font-weight: var(--fw-title); line-height: 1.25; max-width: none; }
.tile p { margin-top: 4px; color: var(--body); font-size: 14.5px; line-height: 1.45; }
.tile:has(p) { flex-wrap: wrap; align-content: center; }
.tile:has(p) strong { flex: 1; }
.tile:has(p) p { flex-basis: 100%; margin-top: -8px; padding-left: 74px; }
.tile .tile-arrow { position: absolute; right: 16px; bottom: 16px; width: 31px; height: 31px; padding: 7px; border-radius: 50%; background: #fff; color: #1d335c; stroke-width: 2.2; box-shadow: 0 1px 4px rgba(16, 36, 77, .12); }
.tiles-with-notes .tile-arrow { display: block; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line-card); border-radius: var(--r-lg);
  background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s;
}
a.card:hover { border-color: #c9d5ea; box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 6px; font-size: 18px; }
.card p { color: var(--body); font-size: 15px; line-height: 1.5; }
.icon-box { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 12px; background: var(--mint-100); color: var(--green-ui); }
.icon-box .icon { width: 28px; height: 28px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--blue); font-size: 15px; font-weight: 700; }
.card-link .icon { width: 17px; height: 17px; }
.topic-tag { display: inline-flex; align-self: flex-start; margin-bottom: 10px; padding: 4px 9px; border-radius: 6px; background: var(--mint-100); color: #0b7a4e; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.article-card .icon-box { width: 100%; height: 96px; background: linear-gradient(130deg, #f0faf7, #e2f4f1); }
.article-card .icon-box .icon { width: 40px; height: 40px; stroke-width: 1.4; }
.card-meta { margin-top: 12px; color: var(--muted); font-size: 13px; }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line-card); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.pricing-card.featured { border: 2px solid #31c9a4; background: linear-gradient(180deg, #f2fdf9, #fff 40%); }
.pricing-card h3 { font-size: 22px; }
.pricing-card > p { margin-top: 8px; font-size: 14.5px; }
.pricing-card .check-list { flex: 1; margin-bottom: 22px; }
.pricing-card .check-list li { font-size: 15px; }
.pricing-card .btn, .pricing-card .button { width: 100%; }
.plan-label { position: absolute; top: -13px; left: 22px; margin: 0; padding: 5px 12px; border-radius: var(--r-pill); background: var(--green); color: #fff; font-size: 11.5px; font-weight: 700; }
.price-placeholder { padding-block: 18px; border-bottom: 1px solid var(--line); }
.price-placeholder strong { display: block; color: var(--ink); font-size: 24px; letter-spacing: -.01em; }
.price-placeholder small { color: var(--muted); font-size: 13px; }
/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step { position: relative; padding: 22px 22px 20px; border-radius: var(--r-lg); background: var(--panel); text-align: left; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 0 12px; border-radius: 50%; background: var(--mint-300); color: var(--ink); font-size: 15px; font-weight: 800; }
.step h3 { font-size: 18px; }
.step p { margin-top: 4px; max-width: none; color: var(--body); font-size: 15px; line-height: 1.5; }
.step:not(:last-child)::after { content: none; }
.process-strip { margin-top: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
/* list links and references */
.mini-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-top: 18px; border: 0; }
.mini-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-card); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 700; }
.mini-links a .icon { width: 18px; height: 18px; color: var(--blue); }
.mini-links a:hover { border-color: #c9d5ea; color: var(--blue); }
.reference-list { display: grid; gap: 10px; }
.reference-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border: 1px solid var(--line-card); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; }
.reference-list a .icon { width: 20px; height: 20px; color: var(--blue); }
.date-list { display: grid; gap: 10px; }
.date-list > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 14px 18px; border: 1px solid var(--line-card); border-radius: 12px; background: #fff; }
.callout-row { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--band); }
.callout-row h2 { font-size: 22px; }
.callout-row p { margin-top: 4px; font-size: 15px; }
.callout-row .button, .callout-row .btn { margin-left: auto; flex: none; }
.callout-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--mint-100); color: var(--teal-dark); }
/* detail cards */
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.detail-card { padding: 20px; border: 1px solid var(--line-card); border-radius: var(--r-lg); background: linear-gradient(180deg, #f8fafe, #f3f6fc); }
.detail-card summary { display: flex; align-items: center; gap: 12px; color: var(--ink); list-style: none; }
.detail-card summary::-webkit-details-marker { display: none; }
.detail-card summary .icon { width: 28px; height: 28px; color: var(--green-ui); }
.detail-card summary strong { font-size: 17px; }
.detail-card h3 { margin-top: 8px; font-size: 18px; }
.detail-card p { margin-top: 8px; color: var(--body); font-size: 15px; line-height: 1.6; }
.office-card { overflow: hidden; border-radius: var(--r-xl); background: var(--panel); }
.office-card img { width: 100%; height: 100%; object-fit: cover; }
/* article layout */
.article-header { max-width: 840px; padding-block: 36px 24px; }
.article-header h1 { font-size: clamp(30px, 3.2vw, 44px); }
.article-header > p:not(.eyebrow) { margin-top: 14px; font-size: 17px; line-height: 1.7; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 20px; color: var(--muted); font-size: 13.5px; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .icon { width: 17px; height: 17px; color: var(--icon-navy); }
.content-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: space-between; gap: 48px; align-items: start; }
.contents-nav { position: sticky; top: 16px; padding: 20px; border: 1px solid var(--line-card); border-radius: var(--r-lg); background: var(--surface); font-size: 14px; }
.contents-nav h2 { margin-bottom: 8px; font-size: 16px; }
.contents-nav a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.45; }
.contents-nav a:last-child { border-bottom: 0; }
.contents-nav a:hover { color: var(--blue); }
.prose { color: var(--body); font-size: 16.5px; line-height: 1.75; }
.prose h2 { margin-bottom: 12px; font-size: 26px; line-height: 1.2; }
.prose h3 { margin: 18px 0 8px; font-size: 19px; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { margin-top: 12px; padding-left: 22px; }
.prose a:not(.btn):not(.button) { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose .mini-links a { text-decoration: none; }
.prose section + section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.takeaways { margin-bottom: 32px; padding: 24px 28px; border-radius: var(--r-lg); background: var(--mint-50); border: 1px solid #d5f1e9; }
.takeaways h2 { font-size: 21px; }
.source-list { list-style: none; padding: 0; font-size: 15px; }
.source-list li { margin-top: 10px; }
.article-inset { margin-top: 18px; }
.article-inset img { border-radius: var(--r-lg); }
.featured-guide { display: grid; grid-template-columns: 40% minmax(0, 1fr); align-items: center; gap: 28px; padding: 18px; border: 1px solid var(--line-card); border-radius: var(--r-xl); background: linear-gradient(180deg, #fbfcfe, #f1f6fc); color: var(--ink); }
.featured-guide img { width: 100%; height: auto; border-radius: var(--r-lg); }
.featured-guide h3 { font-size: 24px; }
.featured-guide p { margin-top: 8px; font-size: 15.5px; }
.featured-guide span { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--blue); font-weight: 700; }
.featured-guide .icon { width: 18px; height: 18px; }
/* guide search */
.search-label { display: block; margin-bottom: 8px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.search-control { position: relative; max-width: 620px; margin-bottom: 18px; }
.search-control .icon { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--ink-2); }
.search-control input { width: 100%; min-height: 50px; padding: 10px 16px 10px 46px; border: 1px solid #cfd8e5; border-radius: 12px; background: #fff; color: var(--ink); font-size: 15px; }
.search-control input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 107, 239, .18); outline: none; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-button { min-height: 34px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: #fff; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.filter-button:hover { border-color: var(--ink-2); }
.filter-button[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: #fff; }
.empty-search { padding: 20px; border-radius: 12px; background: var(--band); }
/* forms written with the legacy helpers */
.quote-stack { max-width: 760px; margin-inline: auto; }
.form-panel { padding: 30px; border: 1px solid var(--line-card); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow); }
.form-panel h2 { margin-bottom: 6px; font-size: 26px; }
.form-panel > p { margin-bottom: 20px; font-size: 15px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; margin-bottom: 16px; }
.field label, .field-label, .form-panel legend { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea, .form-panel textarea, .form-panel select, .form-panel input:not([type=radio]):not([type=checkbox]) {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cfd8e5; border-radius: 10px; background: #fff;
  color: var(--ink); font-size: 15px; line-height: 1.4;
}
.field textarea, .form-panel textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 107, 239, .18); outline: none; }
.form-panel fieldset { margin: 0 0 16px; padding: 0; border: 0; }
.form-panel legend { margin-bottom: 8px; }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.business-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.radio-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink-2); font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; }
.radio-card .icon { width: 26px; height: 26px; color: var(--green-ui); }
.radio-card input { position: absolute; top: 8px; right: 8px; accent-color: var(--green); }
.radio-card:has(input:checked) { border-color: #31c9a4; background: var(--mint-50); box-shadow: 0 0 0 1px #31c9a4; }
.form-panel .button[type=submit], .form-panel .btn[type=submit] { width: 100%; }
.form-footnote { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.quote-result { margin-top: 20px; padding: 20px; border: 1px solid #c5ecdf; border-radius: 12px; background: var(--mint-50); }
.quote-result h3 { font-size: 19px; }
.quote-result p { margin-top: 8px; font-size: 14.5px; }
.enquiry-summary { white-space: pre-wrap; overflow-wrap: anywhere; }
/* calculators */
.calculator-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.calculator-result { position: sticky; top: 16px; padding: 28px; border: 1px solid #cdeee3; border-radius: var(--r-xl); background: linear-gradient(180deg, #f1fcf9, #e7f8f2); }
.calculator-result h2 { margin-bottom: 14px; font-size: 22px; }
.result-total { color: #087455; font-size: clamp(34px, 4vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.result-caption { margin-top: 6px; font-size: 14.5px; }
.result-detail { margin-top: 18px; }
.result-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #cde8dd; font-size: 15px; }
.result-line::before { content: none; }
.result-line:last-child { border-bottom: 0; }
.result-line strong { color: var(--ink); text-wrap: balance; }
.calc-small { margin-top: 16px; color: #46655b; font-size: 13.5px; }
/* comparison table (legacy helper) */
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.comparison-table { width: 100%; min-width: 600px; border-collapse: collapse; color: var(--ink-2); font-size: 15px; text-align: left; }
.comparison-table th, .comparison-table td { padding: 14px 18px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.comparison-table thead th { background: #f5f7fb; color: var(--ink); font-weight: 700; }
.comparison-table tbody th { color: var(--ink); font-weight: 600; }
.comparison-table td:nth-child(2) { background: var(--mint-50); }
.comparison-table tr:last-child > * { border-bottom: 0; }
/* downloads */
.download-preview { max-width: 340px; margin: auto; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow-md); transform: rotate(-2deg); }
.download-preview h3 { margin-bottom: 16px; font-size: 26px; }
.download-preview > small { font-size: 9px; }
.download-line { height: 5px; width: 75%; margin-top: 10px; border-radius: 3px; background: var(--line); }
.download-preview .table-scroll { margin-top: 20px; }
.download-preview table { width: 100%; font-size: 10px; }
.download-preview th { padding: 7px; background: var(--ink); color: #fff; }
.download-preview td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.download-preview p { margin-top: 18px; font-size: 9px; }
.download-action { margin-top: 20px; }
.invoice-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.invoice-option { display: flex; flex-direction: column; align-items: center; padding: 22px; border: 1px solid var(--line-card); border-radius: var(--r-lg); background: #fff; text-align: center; box-shadow: var(--shadow-sm); }
.invoice-option h3 { font-size: 18px; }
.invoice-option h3 a:hover { color: var(--blue); }
.invoice-option p { flex: 1; margin-top: 6px; font-size: 14.5px; }
.invoice-option .button, .reminder-row .button { min-height: 40px; margin-top: 14px; font-size: 14.5px; }
.invoice-paper { position: relative; display: grid; align-content: start; gap: 9%; width: 58%; aspect-ratio: .77; margin: 0 0 16px; padding: 12%; border: 1px solid #c3d1de; border-radius: 4px; background: #f9fcff; box-shadow: 3px 4px 0 #e1ecf5; color: var(--ink); font-size: 11px; }
.invoice-paper span { display: block; width: 100%; height: 2px; background: #d7e5ee; }
.invoice-paper span:nth-child(4) { height: 4px; background: #77d6c8; }
.invoice-paper em { position: absolute; bottom: 4%; right: -10%; padding: 3px 5px; border-radius: 4px; background: var(--teal-dark); color: #fff; font: 700 10px/1 var(--font); }
.reminder-list { display: grid; gap: 12px; }
.reminder-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 20px; border: 1px solid var(--line-card); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.reminder-row > .icon { width: 30px; height: 30px; color: var(--green-ui); }
.reminder-row h3 { font-size: 17px; }
.reminder-row p { font-size: 14.5px; }
.reminder-row .button { margin: 0; }
/* old illustrations still referenced by page bodies */
.symbol-scene { position: relative; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.symbol-scene::before { content: ''; position: absolute; width: 250px; height: 250px; border-radius: 50%; background: var(--mint-100); }
.tool-symbol { position: relative; display: grid; place-items: center; width: 140px; height: 140px; border-radius: 30px; background: linear-gradient(140deg, #36dccf, #129a93); color: #fff; transform: rotate(-8deg); }
.tool-symbol > .icon { width: 70px; height: 70px; stroke-width: 1.4; }
.symbol-note { position: absolute; right: 6%; bottom: 12%; display: flex; align-items: center; gap: 7px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: var(--shadow); }
.symbol-note .icon { width: 17px; height: 17px; color: var(--green); }
.hero-motif { display: none; }
.workflow-figure { max-width: 760px; }
.workflow-preview { display: flex; min-height: 164px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.workflow-rail { display: flex; flex: 0 0 56px; flex-direction: column; align-items: center; gap: 12px; padding: 12px; background: linear-gradient(180deg, #14335f, #0f2a52); color: #dfe7f4; }
.workflow-rail .icon { width: 17px; height: 17px; }
.mini-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--brand-blue); color: #fff; font-size: 13px; font-weight: 800; }
.workflow-screen { flex: 1; min-width: 0; padding: 16px; }
.workflow-screen h3 { font-size: 17px; }
.workflow-screen ul { display: grid; gap: 6px; margin-top: 10px; list-style: none; padding: 0; }
.workflow-screen li { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.workflow-screen li strong { color: #087455; font-size: 13px; }
.workflow-screen li .icon { width: 15px; height: 15px; color: var(--green); }
.workflow-figure figcaption { margin-top: 6px; color: var(--muted); font-size: 12px; }
/* policy and site directory */
.policy { max-width: 820px; }
.policy h1 { margin-bottom: 20px; font-size: clamp(30px, 3.4vw, 42px); }
.policy h2 { margin: 28px 0 10px; font-size: 23px; }
.policy p, .policy li { font-size: 15.5px; line-height: 1.7; }
.policy p + p { margin-top: 10px; }
.sitemap-group { margin-top: 26px; }
.sitemap-group h2 { margin-bottom: 12px; font-size: 21px; }
.sitemap-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; font-size: 14.5px; }
.sitemap-links a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
/* legacy inset art: framed so it sits tidily until page agents replace it */
.mockup-inset { display: block; max-width: 100%; height: auto; border-radius: var(--r-lg); }
.board-photo-panel { overflow: hidden; border-radius: var(--r-xl); }
.board-panel-copy h2 { font-size: 24px; }
.software-screen { max-width: 860px; margin-inline: auto; }

/* ============================================================ responsive */
@media (max-width: 1240px) {
  /* step titles fill their columns here, so the arrows move up to the number row */
  .how-panel .how-step + .how-step .how-arrow { top: 8px; }
  .page-hero-media { margin-right: 0; }
  /* below 1241 px the four link columns need the full width: brand and newsletter share the top row */
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 44px 36px; }
  .foot-nav { grid-column: 1 / -1; grid-row: 2; padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .foot-news-input { padding-inline: 10px; }
  .foot-news { justify-self: end; width: min(100%, 380px); padding-left: 0; border-left: 0; }
}
@media (max-width: 1099px) {
  :root { --header-h: 64px; }
  /* header: hamburger with a full-width panel */
  .menu-toggle { display: flex; }
  .masthead-bar { gap: 12px; }
  .masthead-quote { display: inline-flex; margin-left: auto; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: var(--z-menu);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line);
    background: #fff; box-shadow: 0 24px 40px rgba(10, 26, 68, .14);
  }
  .primary-nav.is-open { display: block; }
  html.nav-open { overflow: hidden; }
  .nav-list { display: block; margin: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { display: flex; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 6px; border-radius: 0; font-size: 16px; }
  .nav-link.is-active, .nav-group.is-active > .nav-link, .nav-link[aria-current='page'] { background: transparent; color: #1d5ed8; }
  .nav-chev { width: 18px; height: 18px; }
  .mega { position: static; width: auto; margin: 0 0 12px; padding: 6px; border: 0; border-radius: 12px; background: var(--surface); box-shadow: none; }
  .mega--resources { width: auto; }
  .mega-link { padding: 10px 12px; font-size: 15px; }
  .mega-all { margin-top: 4px; padding: 12px; }
  .nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
  .login-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1.5px solid var(--ink-2); border-radius: var(--r); }
  .nav-quote { min-width: 0; min-height: 44px; }
  /* hero stacks */
  .page-hero-inner, .page-hero--aside .page-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; padding-block: 30px 0; }
  .page-hero-copy, .page-hero--aside .page-hero-copy { padding-left: 0; max-width: 680px; }
  .page-hero-media, .page-hero--aside .page-hero-media { justify-self: center; max-width: 641px; margin: 0 0 -6px; }
  .page-hero-aside { justify-self: center; width: min(100%, 360px); margin-bottom: 30px; order: 3; }
  .page-hero--tilt .hero-stage { transform: none; }
  /* grids to two columns */
  .grid-3, .grid-4, .tile-grid, .card-grid, .detail-grid, .invoice-gallery, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-bar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 36px; padding-block: 18px; }
  .trust-sep { display: none; }
  .feature-strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .feature-strip-item, .feature-strip-item:first-child { padding-left: 16px; }
  .feature-strip-item:nth-child(odd) { border-left: 0; }
  .how-panel { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; }
  .how-intro { padding: 0; }
  .how-panel .how-steps { border-left: 0; padding: 20px 0 0; border-top: 1px solid #ccd4df; }
  .how--centered .how-steps { gap: 24px 40px; padding: 0; }
  /* tablet: no step arrows (they collide with wrapped titles); centred steps stack the icon above the text */
  .how-arrow { display: none; }
  .how-panel .how-steps { gap: 24px; }
  .how-panel .how-step + .how-step { padding-left: 0; }
  .how--centered .how-step { flex-direction: column; gap: 12px; }
  /* a lone last card in a two-column grid sits centred at card width instead of hugging the left */
  .grid-3 > :last-child:nth-child(odd):not(:only-child) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 14.5px); }
  /* tablet: three cards across with the photo above the quote */
  .testimonials-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .quote-card { flex-direction: column; gap: 12px; padding-block: 12px 14px; }
  .quote-card-photo { width: 84px; height: 88px; align-self: flex-start; }
  .testimonials--side .testimonials-inner { grid-template-columns: minmax(0, 1fr); }
  .faq-split-inner, .faq-split--aside .faq-split-inner { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cta-band { flex-direction: column; gap: 16px; padding: 28px 32px 30px; border-radius: 32px; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 40px 32px; }
  .foot-nav { grid-column: 1 / -1; grid-row: 2; padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .foot-news { padding-left: 0; border-left: 0; }
  .foot-col ul { gap: 4px; }
  .foot-col a { padding-block: 4px; }
  .content-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
  .split { gap: 32px; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .masthead-quote { display: none; }
  .menu-toggle { margin-left: auto; }
  .logo-word { font-size: 21px; }
  .logo-mark { width: 32px; height: 25px; }
  .page-hero-inner { padding-top: 24px; }
  .page-hero-title { line-height: 1.1; }
  .page-hero-intro { font-size: 16px; }
  .page-hero-actions { gap: 12px; }
  .page-hero-actions .btn { flex: 1 1 200px; min-width: 0; }
  .page-hero-ticks { gap: 8px 20px; }
  .grid-2, .grid-3, .grid-4, .tile-grid, .tile-grid.two-up, .card-grid, .detail-grid, .invoice-gallery, .steps, .split, .calculator-layout, .content-layout, .mini-links, .sitemap-links, .form-columns { grid-template-columns: minmax(0, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { gap: 14px; }
  .trust-bar-inner { justify-content: space-around; gap: 16px 24px; }
  .trust-item:first-child { flex-basis: 100%; }
  .brandmark--aat .brandmark-text b { font-size: 24px; }
  .feature-strip-list { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .feature-strip-item, .feature-strip-item:first-child, .feature-strip-item + .feature-strip-item { padding-left: 0; border-left: 0; }
  .feature-strip-icon { width: 54px; height: 52px; }
  .feature-strip-copy b { font-size: 17px; }
  .feature-strip-copy span { font-size: 15px; }
  .section-head p { font-size: 15.5px; }
  .icon-card--tile { padding-left: 22px; gap: 22px; }
  .how-panel .how-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .how-panel .how-step, .how-panel .how-step + .how-step { padding: 0; }
  .how-arrow { display: none; }
  .how--centered .how-steps { grid-template-columns: minmax(0, 1fr); }
  .how--centered .how-step { flex-direction: row; gap: 20px; }
  .grid-3 > :last-child:nth-child(odd):not(:only-child) { grid-column: auto; justify-self: stretch; width: auto; }
  .testimonials-list { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .quote-card { flex-direction: row; gap: 16px; padding-block: 7px; }
  .quote-card-photo { width: 92px; height: 100px; align-self: center; }
  .quote-card-text p { font-size: 16.5px; }
  .faq-q { padding-inline: 16px 14px; min-height: 44px; }
  .cmp-table { min-width: 0; font-size: 13.5px; }
  .cmp-table th, .cmp-table td { padding: 6px 8px; }
  .cmp-table thead th { font-size: 13.5px; white-space: normal; line-height: 1.25; }
  .cmp-table thead th:first-child, .cmp-table tbody th { padding-left: 12px; }
  .cmp-brand > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cmp-brand .logo-mark { width: 30px; height: 23px; }
  .faq-a { padding-inline: 16px; }
  .cta-band { padding-inline: 24px; border-radius: 28px; }
  .cta-band-copy h2 { font-size: 24px; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 220px; min-width: 0; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
  .foot-col a { padding-block: 5px; font-size: 14px; line-height: 18px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .foot-bottom ul { gap: 8px 20px; }
  .form-panel { padding: 22px 18px; }
  .calculator-result { position: static; padding: 22px; }
  .contents-nav { position: static; }
  .callout-row { flex-direction: column; align-items: flex-start; }
  .callout-row .button, .callout-row .btn { margin-left: 0; }
  .featured-guide { grid-template-columns: minmax(0, 1fr); }
  .reminder-row { grid-template-columns: minmax(0, 1fr); }
  .business-options { gap: 6px; }
  .radio-card { padding: 14px 4px; font-size: 13px; }
  .tile:has(p) p { padding-left: 0; margin-top: 0; }
}
@media (max-width: 479px) {
  :root { --gutter: 16px; }
  .logo { gap: 8px; }
  .logo-word { font-size: 19.5px; }
  .page-hero-actions .btn { flex-basis: 100%; }
  .trust-rating-row { gap: 10px; }
  .trust-rating-row b { font-size: 17px; }
  .stars--boxed .star { width: 20px; height: 20px; }
  .quote-card { flex-direction: column; }
  .quote-card-photo { width: 84px; height: 88px; align-self: flex-start; }
  .grid-6 { grid-template-columns: minmax(0, 1fr); }
  .business-options { grid-template-columns: minmax(0, 1fr); }
  .mega-list { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================ motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------------------------------------------------------------- dashboard motion
   The laptop screens (.device) build in as they scroll into view: sidebar items and cards rise in turn, chart bars
   grow and check rows slide in, while site.mjs counts the figures up to their real values. site.mjs arms each screen
   (.is-armed holds the start state) and plays it once it is in view (.is-in). None of this applies without scripting,
   with reduced motion or in print, so the screens then show their final state at once. If the script never arms a
   screen, the "-late" keyframes still reveal it after 2.5 s. */
@media screen and (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .device :is(.device-nav li, .device-main > :not(:has(.dash-card, .dash-stat, .dash-tile)), .dash-stat, .dash-card, .dash-tile, .dash-checks p) { animation: dash-rise-late .5s ease 2.5s both; }
  .device .dash-bars i { transform-origin: 50% 100%; animation: dash-grow-late .6s ease 2.5s both; }
  .device.is-armed :is(.device-main > :not(:has(.dash-card, .dash-stat, .dash-tile)), .dash-stat, .dash-card, .dash-tile) { animation: dash-rise .65s cubic-bezier(.2, .8, .25, 1) var(--dash-delay, 0ms) both paused; }
  .device.is-armed :is(.device-nav li, .dash-checks p) { animation: dash-slide .5s cubic-bezier(.2, .8, .25, 1) var(--dash-delay, 0ms) both paused; }
  .device.is-armed .dash-bars i { animation: dash-grow .9s cubic-bezier(.25, .9, .3, 1) var(--dash-delay, 0ms) both paused; }
  .device.is-armed.is-in :is(.device-nav li, .device-main > *, .dash-stat, .dash-card, .dash-tile, .dash-checks p, .dash-bars i) { animation-play-state: running; }
}
@keyframes dash-rise { from { opacity: 0; transform: translateY(.9em); } }
@keyframes dash-rise-late { from { opacity: 0; transform: translateY(.9em); } }
@keyframes dash-slide { from { opacity: 0; transform: translateX(-.8em); } }
@keyframes dash-grow { from { transform: scaleY(0); } }
@keyframes dash-grow-late { from { transform: scaleY(0); } }
