/* =============================================================
   Worksteady Group — site styles
   Black header and footer around the white-and-blue logo, light
   heroes with a burst of colour behind each photo, and a white
   body. The logo's blue leads; violet, coral, mint and yellow sit
   beside it, so each audience and step has its own colour. Wide,
   heavy Archivo headlines echo the logo wordmark.
   ============================================================= */

:root {
  color-scheme: light;

  /* Colour: the logo's blue leads, with violet, coral, mint and yellow beside it */
  --ink: #0B0B0C;          /* black: header, footer, headings */
  --ink-2: #26262A;
  --ink-raised: #18181B;   /* cards on black */
  --brand: #0089FD;        /* the logo's blue */
  --brand-deep: #0064E0;   /* blue for text, and behind white text */
  --brand-light: #4DB3FF;  /* blue on black */
  --violet: #6C4DFF;
  --violet-soft: #EFEBFF;
  --coral: #FF6B3D;
  --mint-2: #12B886;
  --sun: #FFC83D;          /* yellow: chips and actions on colour */
  --sun-2: #FFA51F;
  --sun-soft: #FFF3CF;
  --soft: #F4F5F8;         /* neutral cards on white */
  --text: #3D3F45;         /* body text on white */
  --muted: #6B6E75;        /* secondary text on white */
  --on-ink: #B9BCC3;       /* body text on black */
  --blue: #0064E0;         /* links */
  --sky-soft: #EAF3FF;
  --sky-mid: #D6E9FF;
  --peach: #C2410C;
  --peach-soft: #FFEDE4;
  --mint: #0B7A55;
  --mint-soft: #DFF6EC;
  --grad-brand: linear-gradient(120deg, #0089FD 0%, #6C4DFF 100%);
  /* Colour panels behind hero photos, one per page tone */
  --art-blue: radial-gradient(55% 55% at 10% 92%, #FF6B3D 0%, transparent 62%), radial-gradient(50% 50% at 94% 6%, #2DD4F5 0%, transparent 62%), radial-gradient(55% 55% at 92% 96%, #FFC83D 0%, transparent 62%), linear-gradient(135deg, #0089FD 0%, #6C4DFF 100%);
  --art-violet: radial-gradient(55% 55% at 8% 90%, #FFC83D 0%, transparent 62%), radial-gradient(50% 50% at 94% 8%, #2DD4F5 0%, transparent 62%), linear-gradient(135deg, #6C4DFF 0%, #E0468C 100%);
  --art-mint: radial-gradient(55% 55% at 10% 92%, #FFC83D 0%, transparent 62%), radial-gradient(50% 50% at 94% 6%, #6C4DFF 0%, transparent 62%), linear-gradient(135deg, #12B886 0%, #0089FD 100%);
  --art-coral: radial-gradient(55% 55% at 10% 92%, #6C4DFF 0%, transparent 62%), radial-gradient(50% 50% at 94% 6%, #E0468C 0%, transparent 62%), linear-gradient(135deg, #FF6B3D 0%, #FFC83D 100%);
  --art-sun: radial-gradient(55% 55% at 10% 92%, #0089FD 0%, transparent 62%), radial-gradient(50% 50% at 94% 6%, #12B886 0%, transparent 62%), linear-gradient(135deg, #FFC83D 0%, #FF6B3D 100%);
  --line: #E6E6E2;         /* hairlines on white */
  --line-cool: #D6D6D1;    /* input borders */
  --line-ink: rgba(255, 255, 255, .12); /* hairlines on black */
  --ready: #138A5B;
  --danger: #C62D3A;

  /* Older names, still used by the portals */
  --navy: var(--ink);
  --steel: var(--text);
  --graphite: var(--text);
  --ash: var(--muted);
  --mist: var(--muted);
  --paper: var(--soft);
  --stone: var(--soft);
  --butter: var(--soft);
  --signal: var(--blue);
  --signal-deep: #0858A3;
  --sky: var(--blue);
  --line-strong: var(--line-cool);
  --line-dark: var(--line);

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);

  /* Shape and space */
  --r-sm: 12px;            /* inputs */
  --r-md: 22px;            /* cards */
  --r-lg: 32px;            /* large photos and panels */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 8.5vw, 124px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.site-header :focus-visible, .mobile-nav :focus-visible, .mobile-cta :focus-visible, .site-footer :focus-visible,
.aside-card :focus-visible, .cta-panel :focus-visible, .industry-more :focus-visible { outline-color: var(--sun); }
p { margin: 0; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; font-family: var(--font); text-wrap: balance; }
h1, h2 { font-weight: 800; font-stretch: 110%; }
h1 { font-size: clamp(2.7rem, 1.45rem + 3.9vw, 4.6rem); line-height: 1; letter-spacing: -0.028em; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2vw, 3.25rem); line-height: 1.04; letter-spacing: -0.024em; }
h3, h4 { font-size: 1.24rem; line-height: 1.28; font-weight: 700; font-stretch: 104%; letter-spacing: -0.01em; }
strong { color: var(--ink); font-weight: 650; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--ink); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hide-sm { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .9em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem/1.1 var(--font); font-stretch: 104%; text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s; white-space: nowrap;
}
.btn .icon { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--grad-brand); color: #fff; }
.btn-primary:hover { background: linear-gradient(120deg, #0077E6 0%, #5B3BF2 100%); color: #fff; }
.btn-outline, .btn-outline-light { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover, .btn-outline-light:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #FFD666; color: var(--ink); }
.btn-lg { min-height: 58px; padding: 1em 1.75em; font-size: 1.02rem; }
.btn[disabled] { opacity: .7; cursor: progress; }
/* On the blue-violet panels the main action is yellow; on black and colour the second is a white outline */
:is(.industry-more, .cta-band) .btn-primary { background: var(--sun); color: var(--ink); }
:is(.industry-more, .cta-band) .btn-primary:hover { background: #FFD666; color: var(--ink); }
:is(.mobile-nav, .mobile-cta, .industry-more, .cta-band) .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
:is(.mobile-nav, .mobile-cta, .industry-more, .cta-band) .btn-outline:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Phone-only pieces: hidden until the phone layout switches them on */
.mobile-cta, .rail-progress { display: none; }

/* ---------- Header (black) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-ink), 0 14px 30px -20px rgba(0, 0, 0, .8); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: block; flex: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.brand img { height: 30px; width: auto; }
.primary-nav { display: flex; gap: 2px; margin-left: auto; }
.primary-nav a { color: #ECECEE; text-decoration: none; font-weight: 600; font-size: .96rem; padding: 9px 14px; border-radius: 999px; transition: background-color .15s, color .15s; }
.primary-nav a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.primary-nav a[aria-current="page"] { color: var(--brand-light); }
.header-cta { display: flex; align-items: center; gap: 20px; margin-left: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .96rem; white-space: nowrap; }
.header-phone:hover { color: var(--brand-light); }
.header-phone .icon { width: 17px; height: 17px; color: var(--brand-light); }
.header-cta .btn { min-height: 48px; padding: .75em 1.3em; font-size: .95rem; }
@media (max-width: 1320px) { .header-phone { display: none; } }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 999px;
  border: 0; background: rgba(255, 255, 255, .1); color: #fff;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle:hover { background: var(--brand); color: #fff; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* Full-screen menu sheet (tablet and phone) */
.mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--sheet-top, 72px);
  background: var(--ink); border-top: 1px solid var(--line-ink);
  overflow-y: auto; overscroll-behavior: contain; padding: 6px 0 calc(32px + env(safe-area-inset-bottom));
  animation: ws-sheet .22s ease both;
}
.mobile-nav[hidden] { display: none; }
.m-links { display: grid; }
.m-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0;
  border-bottom: 1px solid var(--line-ink); color: #fff; text-decoration: none;
  font-weight: 800; font-stretch: 110%; font-size: 1.5rem; letter-spacing: -0.02em;
}
.m-link:hover, .m-link:focus-visible, .m-link[aria-current="page"] { color: var(--brand-light); }
.m-link .icon { width: 20px; height: 20px; color: var(--brand-light); transition: transform .15s; }
.m-link:hover .icon { transform: translateX(3px); }
.mobile-nav .m-actions { display: grid; gap: 10px; margin-top: 26px; }
.m-contact { margin-top: 26px; padding: 18px 20px; border-radius: var(--r-md); background: var(--ink-raised); display: grid; gap: 2px; }
.m-contact-title { color: #fff; font-weight: 700; margin-bottom: 6px; }
.m-contact a, .m-contact p { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: #fff; text-decoration: none; font-size: .98rem; }
.m-contact p { color: var(--on-ink); }
.m-contact a:hover { color: var(--brand-light); }
.m-contact .icon { width: 17px; height: 17px; color: var(--brand-light); }
@keyframes ws-sheet { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  html.nav-open, html.nav-open body { overflow: hidden; }
}
@media (min-width: 1101px) { .mobile-nav { display: none !important; } }

/* ---------- Heroes (home and inner pages) ----------
   Light, with soft colour in the corners and a bright colour panel
   behind the photo. Each inner page sets its tone with data-tone. */
.hero, .page-hero, .not-found {
  --art: var(--art-blue);
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #F2F4FF 0%, #FFFFFF 92%); color: var(--text);
}
[data-tone="violet"] { --art: var(--art-violet); }
[data-tone="mint"] { --art: var(--art-mint); }
[data-tone="coral"] { --art: var(--art-coral); }
[data-tone="sun"] { --art: var(--art-sun); }
.hero::before, .page-hero::before, .not-found::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 60% at 0% 0%, rgba(108, 77, 255, .13), transparent 70%),
    radial-gradient(34% 50% at 50% 100%, rgba(255, 200, 61, .17), transparent 70%),
    radial-gradient(rgba(11, 11, 12, .07) 1.1px, transparent 1.3px) 0 0 / 22px 22px;
}
.hero-photo, .page-hero-photo { position: relative; }
.hero-photo::before, .page-hero-photo::before {
  content: ""; position: absolute; z-index: -1; inset: -24px -24px 24px 24px;
  border-radius: calc(var(--r-lg) + 10px); background: var(--art);
}
.hero h1, .page-hero h1, .not-found h1 { color: var(--ink); }
.hero strong, .page-hero strong { color: var(--ink); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); column-gap: clamp(40px, 6vw, 96px);
  grid-template-areas: ". visual" "copy visual" "proof visual" ". visual"; grid-template-rows: 1fr auto auto 1fr;
  padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 112px);
}
.hero-copy { grid-area: copy; }
.hero-visual { grid-area: visual; position: relative; align-self: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; box-shadow: 0 0 0 1px rgba(11, 11, 12, .08), 0 12px 24px -18px rgba(30, 40, 110, .45); }
.hero-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-brand); }
.hero h1 { margin-top: 24px; }
.hero-lede { margin-top: 24px; font-size: 1.16rem; line-height: 1.65; max-width: 52ch; }
.lede-short { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.proof-list { grid-area: proof; list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; max-width: 560px; }
.proof-list li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: .97rem; font-weight: 600; }
.proof-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.proof-list li:nth-child(2) .proof-dot { background: var(--violet); }
.proof-list li:nth-child(3) .proof-dot { background: var(--coral); }
.proof-list li:nth-child(4) .proof-dot { background: var(--mint-2); }
.proof-dot .icon { width: 14px; height: 14px; stroke-width: 3; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--r-lg); }
.hero-chip {
  position: absolute; top: 40px; right: -20px; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 18px; background: var(--sun); color: var(--ink); font-weight: 700; font-size: .95rem;
  box-shadow: 0 20px 40px -20px rgba(30, 30, 80, .55);
}
.hero-chip .icon { width: 18px; height: 18px; }

/* The screening card: the page's one orchestrated moment */
.console {
  position: absolute; left: -64px; bottom: 36px; width: min(350px, 82%);
  background: #fff; border-radius: 24px; padding: 22px;
  color: var(--ink); box-shadow: 0 40px 80px -30px rgba(25, 30, 90, .5), 0 0 0 1px rgba(11, 11, 12, .05);
}
.console-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.console-title { font-weight: 800; font-stretch: 108%; }
.console-tag { font-size: .74rem; font-weight: 600; color: var(--ink); background: var(--sun-soft); border-radius: 999px; padding: 3px 10px; }
.console-role { margin: 0 0 14px; display: grid; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.console-role div { display: grid; grid-template-columns: 52px 1fr; gap: 12px; font-size: .92rem; }
.console-role dt { color: var(--muted); }
.console-role dd { margin: 0; color: var(--ink); font-weight: 600; }
.console-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.console-checks li { display: flex; align-items: center; gap: 10px; font-size: .94rem; color: var(--ink); animation: ws-line .45s ease both; animation-delay: calc(var(--i) * .5s + .5s); }
.tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ready); color: #fff; flex: none; animation: ws-tick .45s ease both; animation-delay: inherit; }
.tick .icon { width: 13px; height: 13px; stroke-width: 3; }
.console-result {
  margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: var(--mint-soft); color: #0B6B44; font-weight: 700;
  animation: ws-result .5s ease both; animation-delay: 3s;
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ready); box-shadow: 0 0 0 0 rgba(19, 138, 91, .5); animation: ws-pulse 2s ease-out 3.2s 3; }
@keyframes ws-line { from { color: rgba(11, 11, 12, .35); } to { color: var(--ink); } }
@keyframes ws-tick { from { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-cool); color: transparent; } to { background: var(--ready); box-shadow: inset 0 0 0 1.5px transparent; color: #fff; } }
@keyframes ws-result { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ws-pulse { to { box-shadow: 0 0 0 12px rgba(19, 138, 91, 0); } }

@media (max-width: 1240px) and (min-width: 1001px) {
  /* Narrow two-column hero: keep the card clear of the text column */
  .console { left: -28px; bottom: 28px; width: min(330px, 88%); padding: 18px; }
  .hero-chip { right: 12px; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "visual" "proof"; grid-template-rows: auto; }
  .hero-visual { max-width: 640px; margin-top: 48px; }
  .hero-photo img { aspect-ratio: 5 / 4; object-position: center 22%; }
  .hero-chip { right: 16px; top: 16px; }
  .console { position: relative; left: auto; bottom: auto; width: auto; margin: -96px 16px 0; }
}
@media (max-width: 520px) { .proof-list { grid-template-columns: 1fr; } .hero-actions .btn { flex: 1 1 100%; } }

/* Inner page heroes */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 104px); }
.page-hero-inner { max-width: 620px; }
.page-hero .hero-kicker { margin: 0; }
.page-hero h1 { margin-top: 22px; font-size: clamp(2.5rem, 1.45rem + 3vw, 4.1rem); }
.page-hero .lede { margin-top: 22px; font-size: 1.14rem; max-width: 54ch; }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero-photo { margin: 0; }
.page-hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- White body ---------- */
.section { padding-block: var(--section); background: #fff; }
.section + .section { padding-top: 0; }
.section-paper { background: #fff; }
.section-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 20px 80px; }
.section-head p { font-size: 1.12rem; max-width: 56ch; }
.kicker { display: inline-flex; align-items: center; justify-self: start; align-self: start; padding: 6px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: .88rem; }
.lede-dark { font-size: 1.12rem; margin-top: 20px; max-width: 56ch; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* Coloured icon tiles. Groups rotate blue, violet, coral and mint. */
.icon-box { width: 52px; height: 52px; border-radius: 16px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; margin-bottom: 18px; }
.icon-box .icon { width: 24px; height: 24px; }
:is(.feature, .service, .value, .compliance, .contact-option, .portal-link):nth-child(4n+2) .icon-box { background: var(--violet); color: #fff; }
:is(.feature, .service, .value, .compliance, .contact-option, .portal-link):nth-child(4n+3) .icon-box { background: var(--coral); color: var(--ink); }
:is(.feature, .service, .value, .compliance, .contact-option, .portal-link):nth-child(4n+4) .icon-box { background: var(--mint-2); color: var(--ink); }

/* Paths: a light grey card and a yellow card */
.path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.path-card { display: grid; grid-template-rows: auto 1fr; padding: 14px; border-radius: var(--r-lg); background: var(--soft); }
.path-worker { background: var(--sky-soft); }
.path-grid-3 .path-card:nth-child(2) { background: var(--violet-soft); }
.path-grid-3 .path-card:nth-child(2) .kicker { background: var(--violet); }
.path-grid-3 .path-card:nth-child(3) { background: var(--mint-soft); }
.path-grid-3 .path-card:nth-child(3) .kicker { background: var(--mint-2); color: var(--ink); }
.path-media { position: relative; }
.path-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; }
.path-title { display: grid; gap: 14px; padding: 26px 18px 0; }
.path-title h3 { font-size: clamp(1.7rem, 1.3rem + 1.1vw, 2.2rem); font-weight: 800; font-stretch: 110%; line-height: 1.06; letter-spacing: -0.022em; }
.path-body { padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 28px; }
.path-body .btn { align-self: flex-start; margin-top: auto; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.check-list .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand); color: #fff; stroke-width: 3.2; margin-top: 1px; }
.path-grid-3 .path-card:nth-child(2) .check-list .icon { background: var(--violet); }
.path-grid-3 .path-card:nth-child(3) .check-list .icon { background: var(--mint-2); color: var(--ink); }
@media (max-width: 860px) { .path-grid { grid-template-columns: 1fr; } }

/* Industries: grey cards, each with a coloured tile */
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.industry { position: relative; display: flex; flex-direction: column; background: var(--soft); border-radius: var(--r-md); overflow: hidden; }
.industry > img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.industry-info { position: relative; padding: 34px 24px 26px; }
.industry-icon { position: absolute; top: -26px; left: 22px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); }
.industry-icon .icon { width: 24px; height: 24px; }
.industry:nth-child(4n+2) .industry-icon { background: var(--violet); color: #fff; }
.industry:nth-child(4n+3) .industry-icon { background: var(--coral); color: var(--ink); }
.industry:nth-child(4n+4) .industry-icon { background: var(--mint-2); color: var(--ink); }
.industry h3 { font-size: 1.22rem; }
.industry p { margin-top: 6px; font-size: .96rem; line-height: 1.55; }
@media (max-width: 540px) { .industry-grid { grid-template-columns: 1fr; } }
/* The full list on the Industries page: two columns on tablets, compact rows on phones */
@media (max-width: 860px) { .industry-grid-full { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) {
  .industry-grid-full { grid-template-columns: 1fr; gap: 10px; }
  .industry-grid-full .industry { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
  .industry-grid-full .industry > img { aspect-ratio: auto; height: 100%; min-height: 136px; }
  .industry-grid-full .industry-info { padding: 16px 16px 18px; }
  .industry-grid-full .industry-icon { position: static; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; box-shadow: none; }
  .industry-grid-full .industry-icon .icon { width: 18px; height: 18px; }
  .industry-grid-full .industry h3 { font-size: 1.04rem; }
  .industry-grid-full .industry p { font-size: .9rem; }
}

/* "See all" links under a home page preview */
.section-more { margin-top: clamp(28px, 3.5vw, 40px); }

/* Home page preview of the screening process: five compact steps */
.step-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.step-strip li { padding: 24px 22px 26px; border-radius: var(--r-md); background: var(--sky-soft); }
.step-strip li:nth-child(2) { background: var(--violet-soft); }
.step-strip li:nth-child(3) { background: var(--peach-soft); }
.step-strip li:nth-child(4) { background: var(--mint-soft); }
.step-strip li:nth-child(5) { background: var(--sun-soft); }
.step-strip li:nth-child(2) .step-num { background: var(--violet); }
.step-strip li:nth-child(3) .step-num { background: var(--coral); color: var(--ink); }
.step-strip li:nth-child(4) .step-num { background: var(--mint-2); color: var(--ink); }
.step-strip li:nth-child(5) .step-num { background: var(--sun); color: var(--ink); }
.step-strip .step-num { margin-bottom: 18px; }
.step-strip h3 { font-size: 1.1rem; }
.step-strip p { margin-top: 6px; font-size: .94rem; line-height: 1.5; }
@media (max-width: 1100px) { .step-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .step-strip { grid-template-columns: 1fr; gap: 8px; }
  .step-strip li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 16px; }
  .step-strip .step-num { grid-row: 1 / span 2; width: 38px; height: 38px; font-size: 1rem; margin: 0; }
  .step-strip h3 { font-size: 1.04rem; }
  .step-strip p { margin-top: 2px; font-size: .9rem; }
  .section-more .btn { width: 100%; }
}

/* Screening: grey step cards with yellow numbers */
.screening-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.screening .lede { font-size: 1.12rem; margin-top: 22px; max-width: 54ch; }
.screening-photo { margin: 32px 0 0; }
.screening-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.principle { display: flex; gap: 14px; margin-top: 16px; padding: 20px 22px; border-radius: var(--r-md); background: var(--sky-soft); }
.principle .icon { color: var(--ink); width: 26px; height: 26px; margin-top: 1px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 24px 22px 20px; border-radius: var(--r-md); background: var(--soft); }
.step-num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-stretch: 110%; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.steps .step:nth-child(2) .step-num { background: var(--violet); }
.steps .step:nth-child(3) .step-num { background: var(--coral); color: var(--ink); }
.steps .step:nth-child(4) .step-num { background: var(--mint-2); color: var(--ink); }
.steps .step:nth-child(5) .step-num { background: var(--sun); color: var(--ink); }
.step h3 { font-size: 1.18rem; padding-top: 2px; }
.step p { margin-top: 6px; }
.step-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.tag .icon { width: 13px; height: 13px; }
.tag-ai { background: var(--sky-mid); color: #0858A3; }
.tag-human { background: #fff; color: var(--ink); }
@media (max-width: 960px) { .screening-grid { grid-template-columns: 1fr; } }

/* Mosaic gallery */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 17vw, 240px); gap: 14px; grid-template-areas: "a a b c" "a a d d" "e f f g"; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--soft); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .85rem; font-weight: 700; }
.m-a { grid-area: a; } .m-b { grid-area: b; } .m-c { grid-area: c; } .m-d { grid-area: d; } .m-e { grid-area: e; } .m-f { grid-area: f; } .m-g { grid-area: g; }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "d d" "e g" "f f"; grid-auto-rows: 170px; } }

/* Why */
.why-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 104px); align-items: center; }
.why-photo { margin: 0; }
.why-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.features-wide { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 0; }
.feature { padding: 24px; border-radius: var(--r-md); background: var(--soft); }
.feature .icon-box { margin-bottom: 16px; }
.feature h3 { font-size: 1.1rem; }
.feature p { margin-top: 6px; font-size: .98rem; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr; } .why-photo img { aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Service standards: four tiles */
.standards { background: #fff; padding-block: 0 var(--section); }
.standards + .section { padding-top: 0; }
.standards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.standard { padding: 30px 28px 32px; border-radius: var(--r-md); background: var(--soft); }
.standard:nth-child(1) { background: var(--brand-deep); }
.standard:nth-child(2) { background: var(--violet); }
.standard:nth-child(-n+2) .standard-figure, .standard:nth-child(-n+2) p + p { color: #fff; }
.standard:nth-child(3) { background: var(--coral); }
.standard:nth-child(4) { background: var(--sun); }
.standard-figure { font-size: clamp(2.6rem, 1.9rem + 2vw, 3.6rem); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.standard-figure span { font-size: .42em; font-weight: 700; letter-spacing: -0.01em; }
.standard p + p { margin-top: 14px; font-size: .97rem; color: #34363C; max-width: 26ch; }
@media (max-width: 960px) { .standards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 96px); }
.faq-head p { margin-top: 18px; }
.faq-cols { display: grid; gap: 36px; }
.faq-group { display: inline-flex; padding: 5px 13px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: 10px; }
.faq-cols > div:nth-child(2) .faq-group { background: var(--sun); color: var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 650; color: var(--ink); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--soft); color: var(--ink); transition: transform .2s, background-color .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); background: var(--brand); color: #fff; }
.faq details > p { padding: 0 0 22px; max-width: 66ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Closing call to action: a blue-to-violet panel with a photo */
.cta-band { background: #fff; padding-block: 0 var(--section); }
.cta-panel {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(60% 90% at 0% 100%, rgba(255, 107, 61, .55), transparent 65%), radial-gradient(50% 70% at 60% 0%, rgba(45, 212, 245, .35), transparent 65%), linear-gradient(125deg, #0064E0 0%, #6C4DFF 62%, #9B4DE0 100%);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.3px, transparent 1.5px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.cta-inner { align-self: center; padding: clamp(36px, 5.5vw, 80px); }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 18px; font-size: 1.12rem; max-width: 46ch; color: rgba(255, 255, 255, .88); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-photo { margin: 0; min-height: 380px; position: relative; }
.cta-photo img { position: absolute; inset: 14px 14px 14px 0; width: calc(100% - 14px); height: calc(100% - 28px); object-fit: cover; border-radius: 24px; }
@media (max-width: 900px) {
  .cta-panel { grid-template-columns: 1fr; }
  .cta-photo { min-height: 0; padding: 0 14px 14px; }
  .cta-photo img { position: static; width: 100%; aspect-ratio: 16 / 10; height: auto; }
}

/* Portal login: the last section on the home page */
.portal-login { background: #fff; padding-block: 0 var(--section); }
.portal-login-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.7fr); gap: 28px clamp(32px, 5vw, 72px); align-items: center; }
.portal-login h2 { font-size: clamp(1.9rem, 1.45rem + 1.4vw, 2.6rem); }
.portal-login-head p { margin-top: 14px; max-width: 38ch; }
.portal-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.portal-links-one { grid-template-columns: minmax(0, 560px); }
.portal-link {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 18px;
  padding: 26px; border-radius: var(--r-md); background: var(--sky-soft);
  color: var(--text); text-decoration: none; transition: transform .18s, box-shadow .18s;
}
.portal-link + .portal-link { background: var(--violet-soft); }
.portal-link:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 22px 40px -28px rgba(0, 0, 0, .45); }
.portal-link .icon-box { grid-row: 1 / span 2; margin: 0; }
.portal-link + .portal-link .icon-box { background: var(--violet); color: #fff; }
.portal-link-title { grid-column: 2; color: var(--ink); font-weight: 800; font-stretch: 108%; font-size: 1.15rem; line-height: 1.3; padding-top: 2px; }
.portal-link-text { grid-column: 2; margin-top: 6px; font-size: .96rem; line-height: 1.5; }
.portal-link-go {
  grid-column: 2; align-self: end; justify-self: start; margin-top: 18px; display: inline-flex; align-items: center; min-height: 42px; padding: 0 1.2em;
  border-radius: 999px; background: var(--grad-brand); color: #fff; font-weight: 700; font-size: .92rem;
}
@media (max-width: 960px) { .portal-login-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .portal-links { grid-template-columns: 1fr; } }

/* Footer: black, with blue headings to match the logo */
.site-footer { background: var(--ink); color: var(--on-ink); font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 40px; padding-block: 88px 56px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 22px; max-width: 34ch; }
.site-footer h3 { color: var(--brand-light); font-size: .98rem; margin-bottom: 14px; }
.site-footer nav a, .footer-contact a { display: flex; align-items: center; gap: 8px; color: #E8E8EA; text-decoration: none; padding: 6px 0; }
.site-footer nav a:hover, .footer-contact a:hover { color: var(--brand-light); }
.footer-contact .icon { width: 16px; height: 16px; color: var(--brand-light); }
.footer-contact p { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.footer-ack { position: relative; padding-block: 28px; font-size: .9rem; }
.footer-ack::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-ink); }
.footer-ack p { max-width: 90ch; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 0 36px; font-size: .86rem; }
.footer-base a { color: #E8E8EA; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } .footer-contact { grid-column: 1 / -1; } }

/* ---------- Inner page components ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service { padding: 28px 26px 26px; border-radius: var(--r-md); background: var(--sky-soft); display: flex; flex-direction: column; gap: 10px; }
.service:nth-child(4n+2) { background: var(--violet-soft); }
.service:nth-child(4n+3) { background: var(--peach-soft); }
.service:nth-child(4n+4) { background: var(--mint-soft); }
.service .icon-box { margin-bottom: 8px; }
.service p { font-size: 1rem; }
.service .best-for { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(11, 11, 12, .1); font-size: .92rem; }
@media (max-width: 1100px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.split.reverse .split-photo { order: 2; }
.split .check-list { margin-top: 28px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-photo { order: 0; } }

.role-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.role-group { padding: 22px 22px 24px; border-radius: var(--r-md); background: var(--soft); }
.role-group h3 { font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.role-group h3 .icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--brand); color: #fff; }
.role-group:nth-child(4n+2) h3 .icon { background: var(--violet); }
.role-group:nth-child(4n+3) h3 .icon { background: var(--coral); color: var(--ink); }
.role-group:nth-child(4n+4) h3 .icon { background: var(--mint-2); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; }
.split .chips .chip { background: var(--soft); }
@media (max-width: 860px) { .role-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .role-groups { grid-template-columns: 1fr; } }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: flow; }
.flow li { position: relative; padding-top: 72px; }
.flow li::before {
  counter-increment: flow; content: counter(flow); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 800; font-stretch: 110%; font-variant-numeric: tabular-nums;
}
.flow li:nth-child(2)::before { background: var(--violet); }
.flow li:nth-child(3)::before { background: var(--coral); color: var(--ink); }
.flow li:nth-child(4)::before { background: var(--mint-2); color: var(--ink); }
.flow li::after { content: ""; position: absolute; top: 25px; left: 64px; right: -16px; border-top: 2px dashed rgba(11, 11, 12, .2); }
.flow li:last-child::after { display: none; }
.flow h3 { font-size: 1.14rem; }
.flow p { margin-top: 8px; font-size: 1rem; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 24px; }
  .flow li { padding: 10px 0 0 70px; min-height: 52px; }
  .flow li::after { top: 60px; left: 25px; right: auto; height: calc(100% - 34px); border-top: 0; border-left: 2px dashed rgba(11, 11, 12, .2); }
}

.photo-trio { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.photo-trio figure { margin: 0; }
.photo-trio img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--r-md); }
.photo-trio figcaption { margin-top: 12px; font-size: .93rem; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .photo-trio { grid-template-columns: 1fr 1fr; } .photo-trio figure:first-child { grid-column: 1 / -1; } .photo-trio img { height: 220px; } }

.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.value { padding: 28px 26px; border-radius: var(--r-md); background: var(--soft); }
.value h3 { font-size: 1.2rem; }
.value p { margin-top: 8px; }
@media (max-width: 860px) { .value-grid { grid-template-columns: 1fr; } }

.ai-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.ai-list { padding: 26px; border-radius: var(--r-md); background: var(--soft); }
.ai-list.never { background: var(--peach-soft); }
.ai-list h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ai-list.does h3 .icon { color: var(--ink); }
.ai-list.never h3 .icon { color: var(--danger); }
.ai-list ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 1rem; }
@media (max-width: 600px) { .ai-lists { grid-template-columns: 1fr; } }

.compliance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.compliance { padding: 28px 24px; border-radius: var(--r-md); background: var(--soft); }
.compliance h3 { font-size: 1.08rem; }
.compliance p { margin-top: 8px; font-size: .98rem; }
@media (max-width: 1100px) { .compliance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .compliance-grid { grid-template-columns: 1fr; } }

.contact-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-option { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--r-md); background: var(--soft); text-decoration: none; color: var(--text); transition: transform .18s, box-shadow .18s; }
.contact-option:nth-child(1) { background: var(--sky-soft); }
.contact-option:nth-child(2) { background: var(--violet-soft); }
.contact-option:nth-child(3) { background: var(--mint-soft); }
.contact-option:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 22px 40px -28px rgba(0, 0, 0, .45); }
.contact-option h2 { font-size: 1.5rem; }
.contact-option .go { margin-top: auto; padding-top: 10px; color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.contact-option .go .icon { width: 1em; height: 1em; }
@media (max-width: 860px) { .contact-options { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 52px); box-shadow: 0 40px 80px -60px rgba(0, 0, 0, .35); }
.form-card > h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); }
.form-intro { margin-top: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; margin-top: 30px; }
.form-step { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.form-step:not(:first-child) { margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-step-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--grad-brand); color: #fff; font-size: .9rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field[hidden] { display: none; }
.field.full { grid-column: 1 / -1; }
.field > label, .field legend { font-weight: 650; color: var(--ink); font-size: .95rem; padding: 0; }
.field .hint { font-size: .86rem; color: var(--muted); font-weight: 400; }
.field .hint.is-good { color: #0B6B44; font-weight: 600; }
.req { color: var(--danger); margin-left: 2px; }
.form-grid input[type="text"], .form-grid input[type="email"], .form-grid input[type="tel"], .form-grid input[type="date"], .form-grid select, .form-grid textarea {
  width: 100%; min-height: 54px; padding: 13px 16px; border: 1.5px solid var(--line-cool); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.form-grid input:hover, .form-grid select:hover, .form-grid textarea:hover { border-color: #A9A9A3; }
.form-grid textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.form-grid select {
  -webkit-appearance: none; appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='2' 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 16px center;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 137, 253, .22); background-color: #fff; }
.form-grid [aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .88rem; font-weight: 600; }
.field-error:empty { display: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-cool); background: #fff; color: var(--ink); font-size: .93rem; font-weight: 600; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.choice span:hover { border-color: var(--ink); }
.choice span .icon { width: 14px; height: 14px; stroke-width: 3; display: none; }
.choice input:checked + span { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.choice input:checked + span .icon { display: block; color: #fff; }
.choice input:focus-visible + span { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.dropzone { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 2px dashed #8CC6FF; border-radius: var(--r-md); background: var(--sky-soft); cursor: pointer; transition: border-color .15s; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--brand); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone .icon-box { margin: 0; background: var(--brand); color: #fff; }
.dropzone-text { display: grid; gap: 2px; font-size: .95rem; }
.dropzone-text strong { color: var(--ink); }
.field > .consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; font-weight: 400; color: var(--text); }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brand-deep); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: .95rem; }
.form-status.is-error { color: var(--danger); font-weight: 600; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: ws-spin .8s linear infinite; }
@keyframes ws-spin { to { transform: rotate(360deg); } }
.form-success { padding: 8px 0; }
.form-success .big-check { width: 68px; height: 68px; border-radius: 50%; background: var(--mint-2); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.form-success .big-check .icon { width: 32px; height: 32px; stroke-width: 3; }
.form-success h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); }
.form-success p { margin-top: 12px; max-width: 56ch; }
.form-success .note { margin-top: 18px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--soft); font-size: .92rem; }

.aside-card { background: radial-gradient(70% 50% at 100% 0%, rgba(45, 212, 245, .35), transparent 70%), linear-gradient(160deg, #0064E0 0%, #6C4DFF 100%); color: rgba(255, 255, 255, .88); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px); position: sticky; top: 116px; }
.aside-card h2, .aside-card h3 { color: #fff; }
.aside-card h2 { font-size: 1.55rem; }
.aside-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: a; }
.aside-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.aside-steps li::before { counter-increment: a; content: counter(a); width: 32px; height: 32px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: .9rem; font-weight: 800; }
.aside-steps strong { color: #fff; display: block; }
.aside-divider { height: 1px; background: rgba(255, 255, 255, .22); margin: 26px 0; border: 0; }
.aside-contact { display: grid; gap: 10px; }
.aside-contact a, .aside-contact p { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.aside-contact a:hover { color: var(--sun); }
.aside-contact .icon { color: var(--sun); width: 18px; height: 18px; }
.aside-warning { margin-top: 22px; display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--sun); color: var(--ink); font-size: .93rem; }
.aside-warning strong { color: var(--ink); }
.aside-warning .icon { color: var(--ink); margin-top: 2px; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } .aside-card { position: static; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* Prose (privacy) */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose li { margin: 6px 0; }
.prose .updated { display: inline-flex; padding: 5px 13px; border-radius: 999px; background: var(--sky-mid); color: var(--brand-deep); font-size: .9rem; font-weight: 600; margin-bottom: 28px; }

/* 404 */
.not-found { padding-block: clamp(80px, 12vw, 160px); }
.not-found p { margin-top: 18px; font-size: 1.1rem; max-width: 52ch; }

/* =============================================================
   Phone layout (760px and below)
   Headline first on black, then the photo and screening card.
   Swipe rails instead of long stacks, a sticky action bar and a
   tighter type scale.
   ============================================================= */
@media (max-width: 760px) {
  :root { --section: 60px; --r-lg: 26px; --r-md: 20px; }
  html { scroll-padding-top: 76px; }
  body { font-size: 1rem; }
  a, button, summary, label { -webkit-tap-highlight-color: rgba(0, 137, 253, .18); }

  h1 { font-size: 2.45rem; line-height: 1.02; font-stretch: 106%; letter-spacing: -0.025em; }
  h2 { font-size: 1.9rem; line-height: 1.06; font-stretch: 106%; letter-spacing: -0.02em; }
  h3 { font-size: 1.12rem; }
  .hide-sm { display: none; }
  .btn-lg { min-height: 54px; padding: .9em 1.2em; font-size: 1rem; }

  /* Header */
  .header-row { min-height: 66px; gap: 12px; }
  .brand img { height: 26px; }
  .nav-toggle { width: 46px; height: 46px; }
  .m-link { padding: 14px 0; font-size: 1.4rem; }

  /* Section rhythm */
  .section-head { gap: 12px; margin-bottom: 26px; }
  .section-head p, .lede-dark { font-size: 1rem; }
  .lede-dark { margin-top: 14px; }
  .check-list { gap: 10px; font-size: .97rem; }

  /* Home hero */
  .hero-photo::before, .page-hero-photo::before { inset: -14px -12px 14px 12px; border-radius: calc(var(--r-lg) + 6px); }
  .hero-grid { padding-block: 22px 52px; }
  .hero-kicker { font-size: .84rem; padding: 7px 13px 7px 11px; }
  .hero h1 { margin-top: 18px; }
  .hero-lede { margin-top: 16px; font-size: 1.03rem; line-height: 1.58; }
  .lede-long { display: none; }
  .lede-short { display: inline; }
  .hero-actions { margin-top: 24px; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; padding-inline: .9em; }
  .hero-visual { margin-top: 30px; max-width: none; }
  .hero-photo img { aspect-ratio: 1 / 1; object-position: center 18%; }
  .hero-chip { top: 14px; right: 14px; padding: 10px 14px; font-size: .86rem; border-radius: 14px; }
  .console { margin: -84px 12px 0; padding: 18px; border-radius: 20px; }
  .console-role div { grid-template-columns: 48px 1fr; font-size: .9rem; }
  .console-checks li { font-size: .92rem; }
  .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin-top: 28px; }
  .proof-list li { align-items: flex-start; gap: 9px; font-size: .88rem; line-height: 1.35; }
  .proof-dot { width: 22px; height: 22px; margin-top: -2px; }
  .proof-dot .icon { width: 12px; height: 12px; }

  /* Inner page heroes */
  .page-hero-grid { gap: 28px; padding-block: 22px 52px; }
  .page-hero h1 { margin-top: 16px; font-size: 2.35rem; }
  .page-hero .lede { margin-top: 14px; font-size: 1rem; }
  .page-hero .hero-actions { margin-top: 22px; }
  .page-hero-photo img { aspect-ratio: 4 / 3; }

  /* Paths */
  .path-grid { gap: 16px; }
  .path-card { padding: 10px; }
  .path-media img { border-radius: 18px; aspect-ratio: 4 / 3; }
  .path-worker .path-media img { object-position: center 30% !important; }
  .path-title { padding: 20px 10px 0; gap: 10px; }
  .path-title h3 { font-size: 1.65rem; }
  .path-body { padding: 16px 10px 10px; gap: 22px; }
  .path-body .btn { align-self: stretch; }

  /* Swipe rails: groups of cards scroll sideways instead of stacking */
  [data-rail] {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding-block: 2px 4px; scrollbar-width: none;
  }
  [data-rail]::-webkit-scrollbar { display: none; }
  [data-rail]::before, [data-rail]::after { content: ""; flex: 0 0 calc(var(--gutter) - 12px); }
  [data-rail] > * { flex: 0 0 80%; min-width: 0; scroll-snap-align: start; }
  .rail-progress { display: block; position: relative; width: 112px; height: 4px; margin-top: 20px; border-radius: 4px; background: var(--soft); overflow: hidden; }
  .rail-progress[hidden] { display: none; }
  .rail-progress span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--grad-brand); }
  .industry { flex-basis: 80%; }
  .industry-info { padding: 32px 18px 20px; }
  .industry-icon { left: 16px; width: 48px; height: 48px; top: -24px; border-radius: 14px; }
  .industry h3 { font-size: 1.12rem; }
  .mosaic figure { flex-basis: 74%; aspect-ratio: 4 / 5; }
  .service { flex-basis: 82%; padding: 24px 20px 22px; }
  .compliance { flex-basis: 80%; padding: 22px 20px; }
  .photo-trio figure { flex-basis: 80%; }
  .photo-trio img { height: auto; aspect-ratio: 4 / 3; }
  .role-group { flex-basis: 82%; padding: 20px 18px; }
  .role-group h3 { font-size: 1rem; }

  /* Screening */
  .screening-grid { gap: 30px; }
  .screening .lede { margin-top: 14px; font-size: 1rem; }
  .screening-photo { margin-top: 24px; }
  .screening-photo img { aspect-ratio: 16 / 10; }
  .principle { margin-top: 12px; padding: 16px; gap: 12px; font-size: .95rem; }
  .principle .icon { width: 22px; height: 22px; }
  .steps { gap: 10px; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 16px; }
  .step-num { width: 38px; height: 38px; font-size: 1rem; }
  .step h3 { font-size: 1.06rem; padding-top: 0; }
  .step p { font-size: .95rem; }

  /* Features, values and benefits: icon beside the text */
  .why-grid { gap: 28px; }
  .why-photo img { aspect-ratio: 16 / 10; }
  .features { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .features-wide { margin-top: 0; }
  .value-grid { gap: 10px; }
  .feature, .value { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; padding: 18px 16px; }
  .feature .icon-box, .value .icon-box { grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 14px; margin: 0; }
  .feature .icon-box .icon, .value .icon-box .icon { width: 21px; height: 21px; }
  .feature h3, .value h3 { padding-top: 2px; font-size: 1.04rem; }
  .feature p, .value p { margin-top: 4px; font-size: .95rem; }

  /* Service standards */
  .standards-grid { gap: 10px; }
  .standard { padding: 20px 18px 22px; }
  .standard-figure { font-size: 2.3rem; }
  .standard p + p { margin-top: 10px; font-size: .9rem; }

  /* Split sections, flow and about page */
  .split { gap: 26px; }
  .split-photo img { aspect-ratio: 16 / 10; }
  .split .check-list { margin-top: 20px; }
  .flow { gap: 22px; }
  .flow li::before { width: 46px; height: 46px; font-size: 1.05rem; }
  .flow li { padding-left: 62px; }
  .flow li::after { left: 22px; top: 54px; }
  .flow h3 { font-size: 1.05rem; }
  .flow p { font-size: .95rem; }
  .ai-lists { gap: 12px; margin-top: 22px; }
  .ai-list { padding: 20px; }

  /* Contact choices as compact rows */
  .contact-options { gap: 10px; }
  .contact-option { display: grid; grid-template-columns: 46px minmax(0, 1fr) 20px; gap: 4px 14px; align-items: center; padding: 18px; }
  .contact-option .icon-box { grid-row: 1 / span 2; margin: 0; width: 46px; height: 46px; border-radius: 14px; }
  .contact-option h2 { font-size: 1.2rem; }
  .contact-option p { grid-column: 2; font-size: .93rem; line-height: 1.45; }
  .contact-option .go { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; }
  .go-label { display: none; }

  /* Forms */
  .form-section { padding-block: 0 56px; }
  .form-layout { gap: 14px; }
  .form-card { padding: 24px 18px 26px; }
  .form-card > h2 { font-size: 1.75rem; }
  .form-intro { font-size: .95rem; }
  .form-grid { gap: 18px; margin-top: 24px; }
  .form-step { gap: 10px; font-size: 1.02rem; }
  .form-step:not(:first-child) { margin-top: 6px; padding-top: 22px; }
  .form-step-num { width: 28px; height: 28px; font-size: .82rem; }
  .choice span { min-height: 40px; padding: 7px 13px; font-size: .9rem; }
  .aside-card { padding: 24px 20px; }
  .aside-card h2 { font-size: 1.35rem; }
  .form-success h2 { font-size: 1.75rem; }

  /* FAQ */
  .faq-grid { gap: 22px; }
  .faq-cols { gap: 28px; }
  .faq summary { padding: 16px 0; font-size: 1rem; }
  .faq summary .icon { width: 28px; height: 28px; }
  .faq details > p { padding-bottom: 16px; font-size: .95rem; }

  /* Closing call to action */
  .cta-inner { padding: 30px 22px 28px; }
  .cta-band p { font-size: 1rem; }
  .cta-actions { margin-top: 22px; gap: 10px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .cta-photo { padding: 0 10px 10px; }
  .cta-photo img { border-radius: 18px; }

  /* Portal login */
  .portal-login-head p { margin-top: 10px; font-size: .97rem; }
  .portal-links { gap: 10px; }
  .portal-link { grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; padding: 20px 18px; }
  .portal-link .icon-box { width: 46px; height: 46px; border-radius: 14px; }
  .portal-link-title { font-size: 1.06rem; }
  .portal-link-text { font-size: .93rem; }
  .portal-link-go { margin-top: 14px; min-height: 44px; }

  /* Footer: contact details first, then the link groups */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; padding-block: 52px 32px; }
  .footer-brand { order: -2; grid-column: 1 / -1; }
  .footer-brand img { height: 40px; }
  .footer-brand p { margin-top: 16px; font-size: .95rem; }
  .footer-contact { order: -1; grid-column: 1 / -1; padding-bottom: 26px; border-bottom: 1px solid var(--line-ink); }
  .site-footer h3 { margin-bottom: 8px; font-size: .95rem; }
  .site-footer nav a { font-size: .95rem; }
  .footer-ack { padding-block: 22px; font-size: .85rem; }
  .footer-base { padding-bottom: 28px; font-size: .82rem; }

  /* Sticky action bar: appears once the hero buttons scroll away */
  .mobile-cta {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 50px; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 11, 12, .94); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
    border-top: 1px solid var(--line-ink); box-shadow: 0 -14px 30px -24px rgba(0, 0, 0, .7);
    transform: translateY(110%); visibility: hidden; transition: transform .26s ease, visibility 0s linear .26s;
  }
  .mobile-cta.is-visible { transform: none; visibility: visible; transition: transform .26s ease; }
  .mobile-cta .btn { min-height: 50px; padding: .7em .6em; font-size: .95rem; }
  .mobile-cta .mobile-cta-call { padding: 0; background: var(--sun); border-color: var(--sun); color: var(--ink); }
  .mobile-cta-call .icon { width: 20px; height: 20px; }
}
@media (max-width: 359px) {
  .mobile-cta { gap: 6px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 46px; }
  .mobile-cta .btn { padding-inline: .3em; font-size: .86rem; }
  h1 { font-size: 2.2rem; }
}

/* ---------- Student pieces ---------- */
/* Hero card: a week of classes with shifts fitted around them */
.week { display: grid; grid-template-columns: 30px repeat(7, minmax(0, 1fr)); gap: 5px; }
.week > span { min-width: 0; }
.wk-h { padding-bottom: 3px; text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); }
.wk-t { align-self: center; font-size: .66rem; font-weight: 600; color: var(--muted); }
.wk { height: 30px; border-radius: 8px; background: var(--soft); }
.wk.c { background: #D9D9D3; }
.wk.s {
  display: grid; place-items: center; background: var(--c, var(--brand)); color: var(--t, #fff); font-size: .7rem; font-weight: 800;
  animation: ws-shift .4s ease both; animation-delay: calc(var(--i) * .4s + .6s);
}
@keyframes ws-shift {
  from { background: var(--soft); color: transparent; box-shadow: inset 0 0 0 1.5px var(--line-cool); }
  to { background: var(--c, var(--brand)); color: var(--t, #fff); box-shadow: inset 0 0 0 1.5px transparent; }
}
.week-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.week-key span { display: inline-flex; align-items: center; gap: 7px; }
.week-key i { width: 12px; height: 12px; border-radius: 4px; background: #D9D9D3; }
.week-key i.s { background: linear-gradient(90deg, var(--brand), var(--violet), var(--coral), var(--mint-2)); }
.week-card .console-result { margin-top: 14px; }

/* Three paths: students, employers, schools */
.path-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path-grid-3 .path-media img { aspect-ratio: 4 / 3; }
.path-grid-3 .path-title { padding-top: 22px; }
.path-grid-3 .path-title h3 { font-size: clamp(1.35rem, 1rem + .85vw, 1.8rem); }
.path-grid-3 .path-body { gap: 24px; }
@media (max-width: 1100px) { .path-grid-3 .path-card { padding: 10px; } .path-grid-3 .path-title, .path-grid-3 .path-body { padding-inline: 10px; } }
@media (max-width: 860px) and (min-width: 761px) { .path-grid-3 .path-media img { aspect-ratio: 2 / 1; } }

/* Last tile of the industries grid: a prompt to apply */
.industry-more { justify-content: space-between; gap: 28px; padding: 30px 26px 26px; background: radial-gradient(70% 60% at 100% 100%, rgba(255, 107, 61, .5), transparent 70%), linear-gradient(140deg, #0064E0 0%, #6C4DFF 100%); color: rgba(255, 255, 255, .88); }
.industry-more h3 { color: #fff; font-size: 1.5rem; font-stretch: 110%; line-height: 1.12; }
.industry-more p { color: rgba(255, 255, 255, .88); }
.industry-more .btn { align-self: flex-start; }
@media (max-width: 540px) { .industry-grid-full .industry-more { display: flex; padding: 22px 18px; } }

/* Starter roles: what each kind of job asks for */
.starter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.starter { padding: 28px 26px; border-radius: var(--r-md); background: var(--sky-soft); }
.starter:nth-child(2) { background: var(--peach-soft); }
.starter:nth-child(3) { background: var(--violet-soft); }
.starter h3 { font-size: 1.2rem; }
.starter > p { margin-top: 8px; }
.starter .chips { margin-top: 18px; }
@media (max-width: 860px) { .starter-grid { grid-template-columns: 1fr; } }

/* Student visa facts */
.facts { display: grid; gap: 12px; margin: 0; }
.facts > div { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 8px 22px; align-items: baseline; padding: 22px 24px; border-radius: var(--r-md); background: var(--soft); }
.facts > div:first-child { background: var(--brand-deep); }
.facts > div:nth-child(2) { background: var(--violet-soft); }
.facts > div:nth-child(3) { background: var(--mint-soft); }
.facts dt { font-weight: 800; font-stretch: 110%; font-size: 1.55rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.facts dd { margin: 0; color: var(--text); }
.facts > div:first-child dt, .facts > div:first-child dd { color: #fff; }
.fine-print { margin-top: 18px; font-size: .92rem; color: var(--muted); }
@media (max-width: 600px) { .facts > div { grid-template-columns: 1fr; padding: 18px; } .facts dt { font-size: 1.35rem; } }

/* Schools: a sample of the partner portal */
.portal-mock { margin: 0; padding: clamp(18px, 2.2vw, 26px); border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); box-shadow: 0 40px 80px -44px rgba(0, 0, 0, .5); }
.pm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pm-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: .95rem; }
.pm-brand .icon { width: 20px; height: 20px; color: var(--brand-light); }
.pm-school { margin-top: 18px; color: #fff; font-size: 1.45rem; font-weight: 800; font-stretch: 110%; letter-spacing: -0.02em; }
.pm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.pm-stats > div { padding: 14px; border-radius: 14px; background: var(--ink-raised); }
.pm-stats dt { font-size: .8rem; }
.pm-stats dd { margin: 4px 0 0; color: #fff; font-size: 1.5rem; font-weight: 800; font-stretch: 110%; }
.pm-stats > div:last-child { background: var(--grad-brand); }
.pm-stats > div:last-child dt, .pm-stats > div:last-child dd { color: #fff; }
.pm-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.pm-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; color: var(--ink); }
.pm-name { display: block; font-weight: 700; }
.pm-meta { display: block; font-size: .86rem; color: var(--muted); }
.pm-pill { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.pm-pill.paid { background: var(--mint-soft); color: #0B6B44; }
.pm-pill.due { background: var(--sun-soft); color: #7A5200; }
@media (max-width: 600px) { .pm-stats dd { font-size: 1.25rem; } .pm-stats > div { padding: 12px 10px; } }

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