@charset "UTF-8";
/* ==========================================================================
   Martyn's Law Workbook — public website
   Design system + components.

   Principle (spec §50): complexity behind the scenes, simplicity for the
   Responsible Person. Calm, professional, secure, clear, modern, simple.
   Red is reserved for things that need attention — never for decoration.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Typeface — self-hosted so no visitor data leaves the site to a third
   party, and so the page renders identically offline and on a locked-down
   corporate network. Inter is used under the SIL Open Font License 1.1;
   see /assets/fonts/Inter-LICENSE.txt.
   ------------------------------------------------------------------------ */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/InterVariable-latin.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------ */
:root {
  /* Brand — spec §30, extended with the brand-sheet accents */
  --navy:        #17324D;
  --navy-deep:   #1B2540;
  --navy-ink:    #0E2138;
  --blue:        #2368A2;
  --blue-dark:   #1B5182;
  --blue-slate:  #3E6A93;
  --steel:       #6FABD9;
  --sky:         #BADAFF;
  --blue-light:  #EAF3F9;

  --bg:          #F7F9FB;
  --white:       #FFFFFF;
  --grey-100:    #E9EEF5;
  --grey-200:    #DCE4EE;
  --grey-300:    #C6D2E0;

  --text:        #263238;
  --text-2:      #5F6B73;
  --text-3:      #6B7785;

  --success:     #2E7D32;
  --success-bg:  #EAF4EB;
  --warning:     #E69500;          /* the brand amber — fills, flags, bars */
  --warning-ink: #A96C00;          /* amber as text on white — 4.4:1 */
  --warning-ink-2: #8A5A00;        /* amber as text on --warning-bg — 5.4:1 */
  --warning-bg:  #FDF3E3;
  --danger:      #C62828;
  --danger-bg:   #FBEAEA;

  --focus:       #0B7285;

  /* Type — spec §31 */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;

  --fs-h1: clamp(2.25rem, 1.35rem + 3.2vw, 3rem);      /* 36 → 48 */
  --fs-h2: clamp(1.75rem, 1.25rem + 1.8vw, 2.25rem);   /* 28 → 36 */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);     /* 20 → 24 */
  --fs-h4: 1.125rem;
  --fs-body: 1.0625rem;                                 /* 17px */
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Space */
  --gap:   1.5rem;
  --pad-section: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  --wrap: 1200px;
  --wrap-narrow: 760px;

  /* Shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(23, 50, 77, .06);
  --shadow-sm: 0 2px 8px rgba(23, 50, 77, .07);
  --shadow:    0 8px 28px -10px rgba(23, 50, 77, .22);
  --shadow-lg: 0 28px 60px -24px rgba(23, 50, 77, .38);

  --ring: 0 0 0 3px rgba(35, 104, 162, .28);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { color: var(--blue-dark); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 650; color: var(--navy); }
small { font-size: var(--fs-sm); }

hr {
  border: 0;
  border-top: 1px solid var(--grey-200);
  margin: 2.5rem 0;
}

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

::selection { background: var(--sky); color: var(--navy); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: .85rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout
   ------------------------------------------------------------------------ */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 2rem, var(--wrap)); }
}

.section { padding-block: var(--pad-section); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section--light { background: var(--white); }
.section--tint  { background: var(--blue-light); }
.section--soft  { background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%); }

.section--navy {
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(111,171,217,.22), transparent 60%),
    linear-gradient(160deg, #1B3A58 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: #DFE9F3;
}
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy strong { color: #fff; }
.section--navy a:not(.btn) { color: var(--sky); }

.measure  { max-width: 68ch; }
.measure-narrow { max-width: 58ch; }
.center   { text-align: center; }
.center .measure, .center .measure-narrow { margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
.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)); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

.stack > * + * { margin-top: 1rem; }
.flow > * + * { margin-top: 1.75rem; }

/* Section heading block */
.section-head { margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem); }
.section-head .eyebrow { margin-bottom: .9rem; }
.section-head p { color: var(--text-2); font-size: var(--fs-lead); }
.section--navy .section-head p { color: #BFD3E6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .75rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--steel); }

/* --------------------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------------------ */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  box-shadow: var(--shadow-xs);
}
.btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--lg { min-height: 54px; padding: .95rem 1.9rem; font-size: 1.125rem; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: var(--fs-sm); }
.btn--block { display: flex; width: 100%; }

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--grey-300);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--blue-light); color: var(--blue-dark); border-color: var(--steel); }

.btn--onnavy {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(4px);
}
.btn--onnavy:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); color: #fff; }

.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--blue-light); color: var(--navy); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }

.arrow { transition: transform .16s ease; }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   5. Header / navigation
   ------------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--grey-200);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
  padding: .35rem 0;
}
.brand svg { width: 34px; height: auto; flex: none; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text .b1 {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-slate);
}
.brand-text .b2 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  font-weight: 750;
  color: var(--navy);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .6rem .8rem;
  border-radius: var(--r-sm);
  color: var(--navy);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav-link:hover { background: var(--blue-light); color: var(--blue-dark); }
.nav-link[aria-current="page"],
.nav-item.is-active > .nav-link { color: var(--blue); background: var(--blue-light); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-login {
  color: var(--navy);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  padding: .6rem .8rem;
  border-radius: var(--r-sm);
}
.nav-login:hover { background: var(--blue-light); }

/* Dropdown */
.nav-item { position: relative; }
.caret { transition: transform .16s ease; }
.nav-item[data-open="true"] .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 330px;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: .5rem;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.nav-item[data-open="true"] .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: .7rem .85rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--navy);
}
.dropdown a:hover { background: var(--blue-light); }
.dropdown .dd-label { display: block; font-weight: 650; font-size: var(--fs-sm); }
.dropdown .dd-desc  { display: block; font-size: var(--fs-xs); color: var(--text-2); margin-top: .12rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--grey-200);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    inset: 76px 0 0;
    background: #fff;
    padding: 1.25rem 1.25rem 3rem;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: .35rem;
    border-top: 1px solid var(--grey-200);
  }
  .nav-menu.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .15rem; width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; padding: .85rem 1rem; font-size: 1.0625rem; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0;
    min-width: 0;
    padding: .15rem 0 .5rem .75rem;
    display: none;
  }
  .nav-item[data-open="true"] .dropdown { display: block; }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--grey-200);
  }
  .nav-login { text-align: center; border: 1px solid var(--grey-200); }
}
@media (min-width: 1041px) {
  .nav-menu { display: contents; }
}

/* --------------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% 8%, rgba(186,218,255,.5), transparent 62%),
    radial-gradient(620px 420px at 4% 96%, rgba(234,243,249,.9), transparent 60%),
    linear-gradient(180deg, #FBFCFE 0%, var(--bg) 100%);
  padding-block: clamp(3rem, 1.5rem + 6vw, 5.5rem) clamp(3rem, 1.5rem + 5vw, 5rem);
  border-bottom: 1px solid var(--grey-200);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel), transparent);
  opacity: .45;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}

.hero h1 { margin-bottom: 1rem; }
.hero-lead {
  font-size: var(--fs-lead);
  color: var(--text-2);
  max-width: 34ch;
}
.hero-sub { color: var(--text-2); max-width: 40ch; }
@media (max-width: 980px) {
  .hero-lead, .hero-sub { max-width: 60ch; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .85rem .4rem .5rem;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.4rem;
}
.pill .dot {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--blue-light);
  border-radius: 50%;
  color: var(--blue);
}

.reassure {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.reassure li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
}
.reassure li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--steel);
  flex: none;
}

/* --------------------------------------------------------------------------
   7. Dashboard mock (the hero's product visual)
   ------------------------------------------------------------------------ */
.mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: var(--fs-xs);
  line-height: 1.45;
}
.mock::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  pointer-events: none;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .9rem;
  background: linear-gradient(180deg, #FAFCFE, #F1F5F9);
  border-bottom: 1px solid var(--grey-200);
}
.mock-dots { display: flex; gap: .3rem; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--grey-300); }
.mock-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--r-pill);
  padding: .2rem .7rem;
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-body { padding: 1.05rem; background: var(--bg); }

.mock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}
.mock-head h3,
.mock-head .mock-h {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 .1rem;
}
.mock-head p { margin: 0; color: var(--text-2); font-size: 11.5px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .6rem;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.badge--ok    { background: var(--success-bg); color: var(--success); }
.badge--warn  { background: var(--warning-bg); color: var(--warning-ink-2); }
.badge--alert { background: var(--danger-bg);  color: var(--danger); }
.badge--info  { background: var(--blue-light); color: var(--blue); }

.mock-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin-bottom: .7rem;
}
.tile {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  padding: .6rem .55rem;
  text-align: center;
}
.tile .num { display: block; font-size: 1.4rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.tile .lbl { display: block; font-size: 10.5px; color: var(--text-2); margin-top: .15rem; }
.tile--alert .num { color: var(--danger); }
.tile--warn  .num { color: var(--warning-ink); }
.tile--ok    .num { color: var(--success); }

.mock-panel {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  padding: .7rem .75rem;
  margin-bottom: .55rem;
}
.mock-panel:last-child { margin-bottom: 0; }
.mock-panel-title {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  align-items: center;
  justify-content: space-between;
  font-weight: 650;
  color: var(--navy);
  font-size: 11.5px;
  margin-bottom: .5rem;
}
.mock-panel-title a { font-size: 10.5px; font-weight: 600; text-decoration: none; }

.mock-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .38rem 0;
  border-top: 1px solid #F1F4F8;
  font-size: 11.5px;
}
.mock-row:first-of-type { border-top: 0; }
.mock-row .flag { width: 3px; align-self: stretch; border-radius: 2px; background: var(--grey-300); flex: none; }
.mock-row.is-alert .flag { background: var(--danger); }
.mock-row.is-warn  .flag { background: var(--warning); }
.mock-row.is-ok    .flag { background: var(--success); }
.mock-row .t { flex: 1; min-width: 0; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-row .m { color: var(--text-3); font-size: 10.5px; white-space: nowrap; }

.bar {
  height: 6px;
  border-radius: 3px;
  background: var(--grey-100);
  overflow: hidden;
}
.bar > span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--steel), var(--blue)); }
.bar-row { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; font-size: 11px; }
.bar-row .bl { width: 34%; color: var(--text-2); }
.bar-row .bb { flex: 1; }
.bar-row .bv { width: 34px; text-align: right; color: var(--navy); font-weight: 650; }

/* Below ~380px the four stat tiles and the two-up header no longer fit the
   product mock; drop to two columns and let the header wrap. */
@media (max-width: 400px) {
  .mock-body { padding: .8rem; }
  .mock-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-head { flex-wrap: wrap; gap: .5rem; }
  .mock-head .badge { order: -1; }
  .mock-row .m { display: none; }
  .bar-row .bl { width: 42%; }
}

/* Floating proof chips beside the mock */
.mock-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: .6rem .8rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--navy);
  z-index: 2;
}
.mock-float .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.mock-float small { display: block; font-weight: 500; color: var(--text-2); font-size: 11px; }
.mock-wrap { position: relative; }
.mock-float--tl { top: -22px; left: -26px; }
.mock-float--br { bottom: -22px; right: -22px; }
@media (max-width: 1180px) { .mock-float { display: none; } }

/* --------------------------------------------------------------------------
   8. Cards
   ------------------------------------------------------------------------ */
.card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--r);
  padding: 1.6rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card h2, .card h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.card .h-sm { font-size: 1.0625rem; }
.card p { color: var(--text-2); font-size: var(--fs-sm); }
.card p:last-child { margin-bottom: 0; }

a.card, .card--link { text-decoration: none; color: inherit; display: block; }
a.card:hover, .card--hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--steel);
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; }

.section--navy .card {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}
.section--navy .card p { color: #B9CCDE; }
.section--navy .card-icon { background: rgba(111,171,217,.18); color: var(--sky); }

/* Numbered steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Five across on a wide screen, then two, then one. This is a class rather than
   an inline grid-template so the breakpoints can actually win. */
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .steps-5 { grid-template-columns: minmax(0, 1fr); } }
.step { position: relative; }
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 6px var(--blue-light);
}
.steps--connected .step::after {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(50% + 34px);
  right: calc(-50% + 34px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--grey-300) 0 6px, transparent 6px 12px);
}
.steps--connected .step:last-child::after { display: none; }
/* Keep the body copy on one baseline even when titles wrap to two lines. */
.steps--connected .step h3 { min-height: 2.4em; }
@media (max-width: 1100px) {
  .steps--connected .step::after { display: none; }
  .steps--connected .step h3 { min-height: 0; }
}

/* Feature list with ticks */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .6rem;
  color: var(--text);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .28em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--success-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D32' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ticks--two {
  columns: 2;
  column-gap: 2.5rem;
}
.ticks--two li { break-inside: avoid; }
@media (max-width: 720px) { .ticks--two { columns: 1; } }

.section--navy .ticks li { color: #D6E3EF; }
.section--navy .ticks li::before {
  background-color: rgba(111,171,217,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BADAFF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   9. Pricing
   ------------------------------------------------------------------------ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
@media (max-width: 820px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow);
}
.plan-flag {
  position: absolute;
  top: -13px; left: 2rem;
  background: var(--blue);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
  padding: .3rem .8rem;
  border-radius: var(--r-pill);
}
.plan h3 { margin-bottom: .3rem; }
.plan-for { color: var(--text-2); font-size: var(--fs-sm); margin-bottom: 1.25rem; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--grey-100);
}
.plan-price .amt { font-size: 2.6rem; font-weight: 750; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.plan-price .per { color: var(--text-2); font-size: var(--fs-sm); }
.plan .ticks { margin-bottom: 1.5rem; font-size: var(--fs-sm); }
.plan .btn { margin-top: auto; }
.plan-note { font-size: var(--fs-xs); color: var(--text-3); margin-top: .8rem; text-align: center; }

/* Comparison table */
/* The frame lives on the scroll container, not the table: `overflow` on a
   <table> makes its caption escape the clip and push the page wide on narrow
   screens. */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--grey-200);
  border-radius: var(--r);
  background: #fff;
}
table.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  font-size: var(--fs-sm);
}
table.compare th, table.compare td {
  padding: .85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-100);
}
table.compare thead th {
  background: var(--navy);
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
}
table.compare tbody th { font-weight: 550; color: var(--text); }
table.compare td { text-align: center; width: 22%; }
table.compare thead th:not(:first-child) { text-align: center; }
table.compare tbody tr:last-child td,
table.compare tbody tr:last-child th { border-bottom: 0; }
table.compare tbody tr:nth-child(even) { background: #FBFCFE; }
table.compare .yes { color: var(--success); font-weight: 700; }
table.compare .no  { color: var(--text-2); }
/* Sits under the scroll container so it wraps to the viewport rather than to
   the table's minimum width. */
.table-note {
  margin: .9rem 0 0;
  font-size: var(--fs-xs);
  color: var(--text-2);   /* --text-3 fails AA at this size on the tinted band */
  max-width: 80ch;
}

/* --------------------------------------------------------------------------
   10. Callouts / notes
   ------------------------------------------------------------------------ */
.note {
  border: 1px solid var(--grey-200);
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.25rem;
  font-size: var(--fs-sm);
}
.note h4,
.note .note-title {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}
.note--warn .note-title { color: var(--warning-ink-2); }
.note p:last-child { margin-bottom: 0; }
.note--warn { border-left-color: var(--warning); background: var(--warning-bg); }
.note--quiet { border-left-color: var(--grey-300); background: var(--white); }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
  border-radius: var(--r);
  overflow: hidden;
}
.stat-strip > div { background: #fff; padding: 1.4rem 1.2rem; }
.stat-strip .k { display: block; font-size: 1.6rem; font-weight: 750; color: var(--navy); letter-spacing: -.02em; }
.stat-strip .v { display: block; font-size: var(--fs-sm); color: var(--text-2); margin-top: .2rem; }
@media (max-width: 820px) { .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Trust bar */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  padding: 1.4rem 0;
  list-style: none;
  margin: 0;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy);
}
.trust svg { color: var(--blue); flex: none; }

/* --------------------------------------------------------------------------
   11. Accordion (FAQ)
   ------------------------------------------------------------------------ */
.accordion { border-top: 1px solid var(--grey-200); }
.accordion details {
  border-bottom: 1px solid var(--grey-200);
  background: transparent;
}
.accordion summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem .25rem;
  cursor: pointer;
  font-weight: 650;
  font-size: 1.0625rem;
  color: var(--navy);
  list-style: none;
  min-height: 48px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--blue); }
.accordion summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.accordion .chev {
  flex: none;
  margin-top: .2rem;
  color: var(--blue);
  transition: transform .18s ease;
}
.accordion details[open] .chev { transform: rotate(180deg); }
.accordion .acc-body {
  padding: 0 3rem 1.5rem .25rem;
  color: var(--text-2);
  font-size: var(--fs-sm);
  max-width: 78ch;
}
.accordion .acc-body ul { padding-left: 1.2em; }

/* --------------------------------------------------------------------------
   12. Forms
   ------------------------------------------------------------------------ */
.form-card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.15rem; }
.field:last-of-type { margin-bottom: 1.5rem; }
.field label,
.fieldset-legend {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--navy);
  margin-bottom: .4rem;
}
.field .hint {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-2);
  margin-bottom: .45rem;
  font-weight: 400;
}
.input, select.input, textarea.input {
  width: 100%;
  min-height: 48px;
  padding: .7rem .85rem;
  font: inherit;
  font-size: var(--fs-body);
  color: var(--text);
  background: #fff;
  border: 1px solid var(--grey-300);
  border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.input { min-height: 130px; resize: vertical; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B73' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 17px;
  padding-right: 2.6rem;
}
.input:hover { border-color: var(--blue-slate); }
.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--ring);
}
.input::placeholder { color: #98A4AE; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

fieldset { border: 0; padding: 0; margin: 0 0 1.15rem; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .55rem 0;
  font-size: var(--fs-sm);
  color: var(--text);
  cursor: pointer;
}
.check input[type="checkbox"],
.check input[type="radio"] {
  width: 24px; height: 24px;
  margin: .05rem 0 0;
  accent-color: var(--blue);
  flex: none;
  cursor: pointer;
}
.check span { flex: 1; }

/* Option cards (readiness questionnaire) */
.opt {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--r-sm);
  cursor: pointer;
  background: #fff;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  margin-bottom: .6rem;
}
.opt:hover { border-color: var(--steel); background: #FCFDFF; }
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-light); box-shadow: var(--ring); }
.opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt input { width: 24px; height: 24px; margin: 0; accent-color: var(--blue); flex: none; }
.opt .ol { font-weight: 600; color: var(--navy); display: block; }
.opt .od { font-size: var(--fs-xs); color: var(--text-2); display: block; margin-top: .12rem; }

.form-error {
  color: var(--danger);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-top: .35rem;
}
.form-legal { font-size: var(--fs-xs); color: var(--text-2); margin-top: 1rem; }

/* --------------------------------------------------------------------------
   13. Page header (interior pages)
   ------------------------------------------------------------------------ */
.page-head {
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(186,218,255,.42), transparent 62%),
    linear-gradient(180deg, #FBFCFE, var(--bg));
  border-bottom: 1px solid var(--grey-200);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.25rem);
}
.page-head h1 { margin-bottom: .75rem; }
.page-head .lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 62ch; }
.page-head .btn-row { margin-top: 1.75rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: var(--fs-xs);
  color: var(--text-2);
}
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--grey-300); }
.crumbs a { text-decoration: none; color: var(--text-2); font-weight: 500; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }

/* Split content block */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
@media (max-width: 900px) {
  .split, .split--wide-left, .split--wide-right { grid-template-columns: minmax(0, 1fr); }
  .split .order-first-mobile { order: -1; }
}

/* Article prose */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose > *:first-child { margin-top: 0; }
.prose ul, .prose ol { color: var(--text); }

/* --------------------------------------------------------------------------
   14. CTA band
   ------------------------------------------------------------------------ */
.cta-band {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(111,171,217,.26), transparent 60%),
    linear-gradient(140deg, #1D4064 0%, var(--navy) 50%, var(--navy-deep) 100%);
  color: #DCE7F1;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #B9CCDE; font-size: var(--fs-lead); }
.cta-band .price-line {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: center;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
}
.cta-band .price-line li { margin: 0; color: #CBDCEB; }
.cta-band .price-line strong { color: #fff; }

/* --------------------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------------------ */
.site-footer {
  background: var(--navy-deep);
  color: #A9BACB;
  font-size: var(--fs-sm);
  padding-block: 3.5rem 2rem;
}
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-cta h2 { color: #fff; font-size: var(--fs-h3); margin: 0; letter-spacing: -.02em; }
.footer-cta p { margin: .3rem 0 0; color: #92A6BA; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.footer-brand .brand { color: #fff; margin: 0 0 1rem; }
.footer-brand .brand-text .b1 { color: var(--steel); }
.footer-brand .brand-text .b2 { color: #fff; }
.footer-brand p { color: #8FA3B7; max-width: 34ch; font-size: var(--fs-xs); line-height: 1.65; }

.footer-col h2,
.footer-col h3 {
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a {
  color: #A9BACB;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: var(--fs-xs);
  color: #7F94A9;
}
.footer-base a { color: #A9BACB; text-decoration: none; }
.footer-base a:hover { color: #fff; }
.footer-legal-note { max-width: 70ch; line-height: 1.65; }

/* --------------------------------------------------------------------------
   16. Utilities
   ------------------------------------------------------------------------ */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.75rem !important; }
.mt-4 { margin-top: 2.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.75rem !important; }
.text-2 { color: var(--text-2); }
.lead { font-size: var(--fs-lead); color: var(--text-2); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   17. Print
   ------------------------------------------------------------------------ */
@media print {
  .site-header, .site-footer, .cta-band, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* --------------------------------------------------------------------------
   18. Forced colours / high contrast
   ------------------------------------------------------------------------ */
@media (forced-colors: active) {
  .btn, .card, .plan, .input, .opt { border: 1px solid ButtonBorder; }
  .bar > span { forced-color-adjust: none; background: Highlight; }
}
