/* BluPulse public website — shared styles for /, /care-providers/ and /work-with-us/.
   Brand: navy #0b2a4a, BluPulse blue #0c5186, BluPulse green #1a9e3f. Care providers use the blue
   accent, workers the green accent. Motion respects prefers-reduced-motion. */

:root {
  --navy-950: #061629;
  --navy-900: #0a223d;
  --navy-800: #0f2f52;
  --blue-700: #0c5186;
  --blue-600: #1670b5;
  --blue-500: #2b86cf;
  --blue-100: #d6e8f7;
  --blue-50: #eef5fc;
  --green-700: #137a31;
  --green-600: #1a9e3f;
  --green-500: #28b04f;
  --green-100: #d3f0dc;
  --green-50: #edf8f0;
  --amber-50: #fff8e6;

  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-card: #ffffff;
  --ink: #0d1b2e;
  --ink-2: #33445c;
  --muted: #5d6f86;
  --line: #e1e8f0;
  --line-strong: #c9d5e3;
  --shadow-sm: 0 1px 2px rgba(13, 27, 46, .06), 0 2px 8px rgba(13, 27, 46, .05);
  --shadow-md: 0 6px 24px rgba(13, 27, 46, .09), 0 2px 6px rgba(13, 27, 46, .05);
  --shadow-lg: 0 24px 60px rgba(10, 34, 61, .18), 0 6px 18px rgba(10, 34, 61, .08);
  /* Card shadow matched to the portal dashboard tiles. */
  --shadow-card: 5px 7px 10px rgba(15, 23, 42, .18), 0 2px 3px rgba(15, 23, 42, .12);
  --shadow-card-hover: 8px 12px 18px rgba(15, 23, 42, .20), 0 3px 6px rgba(15, 23, 42, .12);
  /* Dark and photo panels need a deeper shadow to read against their own dark edge. */
  --shadow-panel: 10px 16px 30px rgba(15, 23, 42, .34), 0 4px 10px rgba(15, 23, 42, .20);
  --shadow-panel-hover: 14px 22px 42px rgba(15, 23, 42, .38), 0 6px 14px rgba(15, 23, 42, .22);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --header-h: 72px;
  --bar-h: 0px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #07121f;
  --bg-soft: #0b1a2c;
  --bg-card: #0f2136;
  --ink: #eaf1f9;
  --ink-2: #c3d0df;
  --muted: #8ea2b9;
  --line: #1c3350;
  --line-strong: #2a4769;
  --blue-50: #0e2740;
  --blue-100: #15375a;
  --green-50: #0d2a1c;
  --green-100: #134026;
  --amber-50: #2b2412;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 26px rgba(0, 0, 0, .45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
  --shadow-card: 5px 7px 10px rgba(0, 0, 0, .32), 0 2px 3px rgba(0, 0, 0, .22);
  --shadow-card-hover: 8px 12px 18px rgba(0, 0, 0, .40), 0 3px 6px rgba(0, 0, 0, .26);
  --shadow-panel: 10px 16px 30px rgba(0, 0, 0, .55), 0 4px 10px rgba(0, 0, 0, .35);
  --shadow-panel-hover: 14px 22px 42px rgba(0, 0, 0, .60), 0 6px 14px rgba(0, 0, 0, .38);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* The hidden attribute always wins: classes such as .field (display: grid) were overriding it, so the
   enquiry form showed its demo and staffing fields together. */
[hidden] { display: none !important; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
/* Elements waiting to slide in from the right start 34px off to the side; clip them so the page never
   scrolls sideways (O-211). clip, unlike hidden, does not make main a scroll container; hidden is the fallback. */
main { overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + var(--bar-h) + 16px); }
.sr-only { position: absolute; 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: -60px; z-index: 2000; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; margin-top: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 14px; }
html[data-theme="dark"] .eyebrow { color: var(--blue-500); }
.eyebrow.green { color: var(--green-700); }
html[data-theme="dark"] .eyebrow.green { color: var(--green-500); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.small { font-size: .88rem; color: var(--muted); }
.text-blue { color: var(--blue-600); }
.text-green { color: var(--green-600); }

/* ── Buttons ─────────────────────────────────────────── */
.btn { --b: var(--blue-700); display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 650; font-size: .98rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn .i { transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-blue { background: var(--blue-700); color: #fff; box-shadow: 0 8px 20px rgba(12, 81, 134, .28); }
.btn-blue:hover { background: var(--blue-600); box-shadow: 0 12px 28px rgba(12, 81, 134, .34); }
.btn-green { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px rgba(26, 158, 63, .28); }
.btn-green:hover { background: var(--green-500); box-shadow: 0 12px 28px rgba(26, 158, 63, .34); }
.btn-white { background: #fff; color: var(--navy-900); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.btn-white:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .24); }
.btn-ghost-white { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-700); }
html[data-theme="dark"] .btn-outline:hover { color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.04rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; color: var(--blue-700); }
html[data-theme="dark"] .link-arrow { color: var(--blue-500); }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow.green { color: var(--green-700); }
html[data-theme="dark"] .link-arrow.green { color: var(--green-500); }

/* ── Header ──────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1000; }
.recruit-bar { display: none; position: relative; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 7px 16px; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .92); font-size: .88rem; font-weight: 500; text-decoration: none; }
.recruit-bar.on { display: flex; }
.recruit-bar .rb-tag { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 3px 10px 3px 8px; border-radius: 999px; background: rgba(40, 176, 79, .18); color: #8de6a8; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.recruit-bar .rb-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: rbPulse 2.2s ease-out infinite; }
.recruit-bar .rb-head { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recruit-bar .rb-arrow { width: 16px; height: 16px; flex: none; opacity: .75; transition: transform .2s var(--ease), opacity .2s; }
.recruit-bar:hover .rb-head, .recruit-bar:focus-visible .rb-head { text-decoration: underline; text-underline-offset: 3px; }
.recruit-bar:hover .rb-arrow, .recruit-bar:focus-visible .rb-arrow { transform: translateX(3px); opacity: 1; }
@media (max-width: 900px) { .recruit-bar .rb-head { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; } }
@media (max-width: 600px) { .recruit-bar { justify-content: flex-start; gap: 9px; font-size: .8rem; } }
@keyframes rbPulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70%, 100% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); } }

.nav { height: var(--header-h); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.site-header.scrolled .nav { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13, 27, 46, .07); }
.nav .container { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { line-height: 1; }
.brand-text .b1 { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; color: var(--blue-700); letter-spacing: -.01em; }
.brand-text .b2 { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--green-600); margin-top: 3px; }
html[data-theme="dark"] .brand-text .b1 { color: #fff; }
/* Header logo a little larger than the footer one (operator, F-593); it still fits the 72px header. */
.site-header .brand img { width: 62px; height: 62px; }
.site-header .brand-text .b1 { font-size: 1.6rem; }
.site-header .brand-text .b2 { font-size: .82rem; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0 auto; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.nav-links a[aria-current="page"] { color: var(--blue-700); }
html[data-theme="dark"] .nav-links a[aria-current="page"] { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-card); color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.icon-btn:hover { color: var(--ink); transform: rotate(-12deg); }
.icon-btn .i { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.login-menu { position: relative; }
.login-menu > button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-card); font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink-2); }
.login-menu > button:hover { color: var(--ink); border-color: var(--line-strong); }
.login-menu .menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 8px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.login-menu.open .menu { opacity: 1; visibility: visible; transform: none; }
.login-menu .menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.login-menu .menu a:hover { background: var(--bg-soft); }
.login-menu .menu small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.burger { display: none; }

.mobile-menu { position: fixed; inset: 0; top: calc(var(--header-h) + var(--bar-h)); z-index: 999; background: var(--bg); padding: 20px 20px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.mobile-menu .mm-ctas { display: grid; gap: 10px; margin-top: 22px; }
.mobile-menu .mm-ctas .btn { width: 100%; }
.mobile-menu .mm-contact { margin-top: 26px; display: grid; gap: 8px; color: var(--ink-2); }
.mobile-menu .mm-contact a { text-decoration: none; display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }
body.menu-open { overflow: hidden; }

/* Narrow desktops: the header keeps one line by dropping the secondary outline button (Book a demo on
   /care-providers/, also in its hero, phone menu and enquiry form). */
@media (max-width: 1240px) { .nav-links a { padding-left: 9px; padding-right: 9px; } }
@media (max-width: 1080px) {
  .nav-links, .nav-actions .login-menu, .nav-actions .btn { display: none; }
  .burger { display: inline-grid; }
  .nav .container { justify-content: space-between; }
  .nav-actions { margin-left: auto; }
}

/* ── Home hero: shared headline + split audience panels ── */
.hero-intro { padding: clamp(28px, 4vw, 44px) 0 clamp(20px, 2.4vw, 28px); text-align: center; }
.hero-intro h1 { max-width: 1040px; margin: 0 auto; font-size: clamp(2rem, 4.2vw, 3.25rem); }
.hero-intro h1 .grad { background: linear-gradient(90deg, var(--blue-700), var(--green-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="dark"] .hero-intro h1 .grad { background: linear-gradient(90deg, #6fb5ee, #5fd884); -webkit-background-clip: text; background-clip: text; }
.hero-intro .lead { max-width: 800px; margin: 16px auto 0; }
/* Phones: the panels stack, so two jump buttons let each audience skip straight to its own panel. */
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.pill .i { color: var(--green-600); }

.split { display: flex; gap: 16px; height: clamp(470px, calc(100svh - 380px), 620px); }
.split-panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; color: #fff; isolation: isolate; transition: flex-grow .7s var(--ease), box-shadow .4s; box-shadow: var(--shadow-panel); }
.split-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.2s var(--ease); animation: drift 18s ease-in-out infinite alternate; }
.split-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .5s; }
/* Light colour wash (blue for providers, green for workers) over a dark fade. Toned down from the
   first version at the operator's request, 2026-10-11: wash about half strength, fade lightly tinted. */
.split-panel.providers::before { background: linear-gradient(90deg, rgba(12, 81, 134, .24), rgba(12, 81, 134, 0) 70%), linear-gradient(180deg, rgba(8, 18, 32, 0) 22%, rgba(8, 18, 32, .5) 52%, rgba(8, 18, 32, .88) 100%); }
.split-panel.workers::before { background: linear-gradient(270deg, rgba(19, 122, 49, .24), rgba(19, 122, 49, 0) 70%), linear-gradient(180deg, rgba(6, 24, 14, 0) 22%, rgba(6, 24, 14, .5) 52%, rgba(6, 24, 14, .88) 100%); }
.split-panel .sp-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 34px); }
.split-panel .sp-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.split-panel h2 { color: #fff; margin: 12px 0 8px; font-size: clamp(1.6rem, 2.3vw, 2.1rem); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.split-panel p, .split-panel li { text-shadow: 0 1px 10px rgba(0, 0, 0, .3); }
.split-panel p { color: rgba(255, 255, 255, .88); max-width: 470px; }
.split-panel ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; }
.split-panel li { display: flex; gap: 10px; align-items: center; font-weight: 550; color: rgba(255, 255, 255, .95); }
.split-panel li .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .2); stroke-width: 3; }
.split-panel .sp-ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.split-panel .sp-extra { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.split-panel .sp-extra > div { overflow: hidden; }
@media (hover: hover) and (min-width: 900px) {
  .split:hover .split-panel { flex-grow: .82; }
  .split .split-panel:hover { flex-grow: 1.18; box-shadow: var(--shadow-panel-hover); }
  .split-panel:hover > img { transform: scale(1.12); }
  .split-panel .sp-extra { grid-template-rows: 0fr; }
  .split-panel:hover .sp-extra, .split-panel:focus-within .sp-extra { grid-template-rows: 1fr; }
}
@media (hover: none), (max-width: 899px) { .split-panel .sp-extra { grid-template-rows: 1fr; } }
@keyframes drift { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.split-panel:hover > img { animation-play-state: paused; }
.split-panel .sp-enter { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.split-panel.workers .sp-enter { animation-delay: .15s; }
.split-panel.providers { animation: slideL 1s var(--ease) both; }
.split-panel.workers { animation: slideR 1s var(--ease) .1s both; }
@keyframes slideL { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes slideR { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .split { flex-direction: column; height: auto; }
  .split-panel { min-height: 520px; }
  /* Stacked panels: the text covers most of the photo, so the fade starts near the top. */
  .split-panel.providers::before { background: linear-gradient(90deg, rgba(12, 81, 134, .2), rgba(12, 81, 134, 0) 75%), linear-gradient(180deg, rgba(8, 18, 32, .2) 0%, rgba(8, 18, 32, .62) 28%, rgba(8, 18, 32, .9) 100%); }
  .split-panel.workers::before { background: linear-gradient(270deg, rgba(19, 122, 49, .2), rgba(19, 122, 49, 0) 75%), linear-gradient(180deg, rgba(6, 24, 14, .2) 0%, rgba(6, 24, 14, .62) 28%, rgba(6, 24, 14, .9) 100%); }
}
@media (max-width: 480px) {
  .split-panel { min-height: 560px; }
  .split-panel .sp-ctas .btn { flex: 1 1 auto; }
}

/* ── Page hero (audience pages) ──────────────────────── */
.page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: drift 22s ease-in-out infinite alternate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.page-hero > img.mirror { scale: -1 1; }
.page-hero.providers::before { background: linear-gradient(90deg, rgba(12, 81, 134, .14), rgba(12, 81, 134, 0) 65%), linear-gradient(90deg, rgba(9, 16, 26, .86) 0%, rgba(9, 16, 26, .7) 40%, rgba(9, 16, 26, .18) 74%, rgba(9, 16, 26, 0)); }
.page-hero.workers::before { background: linear-gradient(90deg, rgba(19, 122, 49, .14), rgba(19, 122, 49, 0) 65%), linear-gradient(90deg, rgba(8, 19, 15, .86) 0%, rgba(8, 19, 15, .7) 40%, rgba(8, 19, 15, .18) 74%, rgba(8, 19, 15, 0)); }
.page-hero .container { min-height: clamp(540px, 78vh, 700px); display: flex; flex-direction: column; justify-content: center; padding-top: 56px; padding-bottom: 56px; }
.page-hero .ph-inner { max-width: 620px; }
.page-hero h1 { color: #fff; margin: 16px 0 18px; }
.page-hero p.lead { color: rgba(255, 255, 255, .9); }
.page-hero .ph-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero .ph-chips { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px; margin-top: 30px; }
@media (max-width: 520px) { .page-hero .ph-chips { grid-template-columns: max-content; } }
.page-hero .ph-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: .84rem; font-weight: 600; backdrop-filter: blur(6px); }
.page-hero .sp-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); }
.page-hero .ph-inner > * { opacity: 0; transform: translateY(20px); animation: rise .9s var(--ease) forwards; }
.page-hero .ph-inner > *:nth-child(2) { animation-delay: .08s; }
.page-hero .ph-inner > *:nth-child(3) { animation-delay: .16s; }
.page-hero .ph-inner > *:nth-child(4) { animation-delay: .24s; }
.page-hero .ph-inner > *:nth-child(5) { animation-delay: .32s; }
@media (max-width: 760px) {
  .page-hero.providers::before { background: linear-gradient(180deg, rgba(12, 81, 134, .12), rgba(12, 81, 134, 0) 60%), linear-gradient(180deg, rgba(9, 16, 26, .45), rgba(9, 16, 26, .9) 55%); }
  .page-hero.workers::before { background: linear-gradient(180deg, rgba(19, 122, 49, .12), rgba(19, 122, 49, 0) 60%), linear-gradient(180deg, rgba(8, 19, 15, .45), rgba(8, 19, 15, .9) 55%); }
  .page-hero .container { justify-content: flex-end; }
}

/* ── Trust strip ─────────────────────────────────────── */
.trust { padding: 26px 0; border-bottom: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
/* Phones: one item per line, so list them left-aligned as a centred block and the icons line up. */
@media (max-width: 600px) { .trust-row { display: grid; grid-template-columns: max-content; justify-content: center; gap: 12px; } }
@media (min-width: 901px) { .trust-row { display: grid; grid-template-columns: repeat(3, max-content); justify-content: center; gap: 14px 44px; } }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .94rem; color: var(--ink-2); }
.trust-item .ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-50); color: var(--blue-700); }
.trust-item:nth-child(even) .ic { background: var(--green-50); color: var(--green-700); }
html[data-theme="dark"] .trust-item .ic { color: #8cc4f2; }
html[data-theme="dark"] .trust-item:nth-child(even) .ic { color: #7fe0a0; }

/* ── Cards & grids ───────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.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: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--line-strong); }
.card h3 { margin: 14px 0 8px; }
.card p { font-size: .97rem; }
.ic-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); }
.ic-badge .i { width: 26px; height: 26px; }
.ic-badge.green { background: var(--green-50); color: var(--green-700); }
html[data-theme="dark"] .ic-badge { color: #8cc4f2; }
html[data-theme="dark"] .ic-badge.green { color: #7fe0a0; }

/* Roles */
.role-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.role-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.role-card .rc-img { aspect-ratio: 3 / 2; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--blue-100), var(--green-100)); }
.role-card .rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.role-card:hover .rc-img img { transform: scale(1.07); }
.role-card .rc-img .rc-chip { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy-900); font-size: .76rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.role-card .rc-img .rc-chip .i { color: var(--green-600); stroke-width: 2.6; }
.role-card .rc-fallback { display: grid; place-items: center; height: 100%; color: var(--blue-700); }
.role-card .rc-fallback .i { width: 54px; height: 54px; stroke-width: 1.5; }
.role-card .rc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.role-card h3 { margin-bottom: 8px; }
.role-card .rc-desc { font-size: .95rem; flex: 1; }
.role-card .rc-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; }
/* A role the portal shows only when "Show on website" is ticked (data-portal-role) stays hidden until then. */
[data-portal-role][hidden] { display: none !important; }
/* The seventh role spans the grid as a wide card, so the last row is never a single orphan card. */
@media (min-width: 641px) {
  .role-card.rc-wide { grid-column: 1 / -1; flex-direction: row; }
  .role-card.rc-wide .rc-img { flex: 0 0 45%; aspect-ratio: auto; min-height: 250px; }
  .role-card.rc-wide .rc-body { justify-content: center; padding: 28px 32px; }
  .role-card.rc-wide .rc-desc { flex: 0 0 auto; max-width: 620px; }
}

/* Steps / tabs */
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); gap: 4px; position: relative; }
.tabs button { position: relative; z-index: 1; border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs .tab-glider { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--blue-700); transition: transform .45s var(--ease), width .45s var(--ease), background-color .45s; box-shadow: 0 6px 16px rgba(12, 81, 134, .3); }
.tabs.green .tab-glider { background: var(--green-600); box-shadow: 0 6px 16px rgba(26, 158, 63, .3); }
.tab-panel[hidden] { display: none; }
.tab-panel.entering { animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-card); }
.step .num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: var(--blue-700); box-shadow: 0 0 0 6px var(--bg-soft), 0 8px 18px rgba(12, 81, 134, .3); margin-bottom: 16px; }
.steps.green .step .num { background: var(--green-600); box-shadow: 0 0 0 6px var(--bg-soft), 0 8px 18px rgba(26, 158, 63, .3); }
.section:not(.section-soft) .step .num { box-shadow: 0 0 0 6px var(--bg), 0 8px 18px rgba(12, 81, 134, .3); }
.step h3 { font-size: 1.06rem; margin-bottom: 6px; }
.step p { font-size: .93rem; }
.step .note { display: inline-flex; gap: 6px; align-items: flex-start; margin-top: 12px; font-size: .82rem; font-weight: 600; color: var(--blue-700); background: var(--blue-50); padding: 6px 10px; border-radius: 10px; }
.steps.green .step .note { color: var(--green-700); background: var(--green-50); }
html[data-theme="dark"] .step .note { color: #8cc4f2; }
html[data-theme="dark"] .steps.green .step .note { color: #7fe0a0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps::before { display: none; } }
.steps.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .steps, .steps.cols-2, .steps.cols-3 { grid-template-columns: minmax(0, 1fr); } }
/* Step cards with a photo: the image fills the top of the card and the number sits on its lower edge. */
.steps.has-img::before { display: none; }
.step .step-img { margin: -22px -22px 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: linear-gradient(135deg, var(--blue-100), var(--green-100)); }
.step .step-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.step:hover .step-img img { transform: scale(1.06); }
.steps.has-img .step .num { position: relative; margin-top: -24px; box-shadow: 0 0 0 5px var(--bg-card), 0 8px 18px rgba(12, 81, 134, .3); }
.steps.green.has-img .step .num { box-shadow: 0 0 0 5px var(--bg-card), 0 8px 18px rgba(26, 158, 63, .3); }
@media (max-width: 560px) { .step .step-img { aspect-ratio: 2 / 1; } }

/* Feature split (image + copy) */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature.flip { grid-template-columns: 1fr 1.05fr; }
.feature.flip .feature-media { order: 2; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); } .feature.flip .feature-media { order: 0; } }
.feature-media { position: relative; }
.feature-media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-panel); aspect-ratio: 4 / 3; }
.feature-media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-media:hover .frame img { transform: scale(1.04); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.check-list { list-style: none; padding: 0; display: grid; gap: 14px; margin: 22px 0 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list li .i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green-50); color: var(--green-700); stroke-width: 3; margin-top: 1px; }
.check-list.blue li .i { background: var(--blue-50); color: var(--blue-700); }
html[data-theme="dark"] .check-list li .i { color: #7fe0a0; }
html[data-theme="dark"] .check-list.blue li .i { color: #8cc4f2; }
.check-list li strong { color: var(--ink); display: block; }

/* Portal showcase */
.portal-band { background: radial-gradient(1200px 500px at 85% -10%, rgba(26, 158, 63, .28), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(43, 134, 207, .35), transparent 60%), var(--navy-900); color: #fff; overflow: hidden; }
.portal-band h2, .portal-band h3 { color: #fff; }
.portal-band p { color: rgba(255, 255, 255, .8); }
.portal-band .eyebrow { color: #7fe0a0; }
.portal-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 960px) { .portal-grid { grid-template-columns: minmax(0, 1fr); } }
.portal-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 28px 0; }
@media (max-width: 520px) { .portal-lists { grid-template-columns: minmax(0, 1fr); } }
.portal-lists h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.portal-lists ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.portal-lists li { display: flex; gap: 9px; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.portal-lists li .i { color: #7fe0a0; margin-top: 3px; stroke-width: 2.6; }
.mock-stage { position: relative; min-height: 430px; }
.mock-window { position: relative; background: #fff; color: #0d1b2e; border-radius: 18px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); overflow: hidden; max-width: 540px; margin-left: auto; width: calc(100% - 120px); }
.mock-window .mw-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.mock-window .mw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-window .mw-bar span { margin-left: 10px; font-size: .74rem; color: #64748b; background: #fff; padding: 3px 10px; border-radius: 999px; border: 1px solid #e2e8f0; }
.mock-window .mw-body { display: grid; grid-template-columns: 130px 1fr; min-height: 340px; }
.mw-side { background: linear-gradient(180deg, #0a223d, #0f2f52); padding: 16px 12px; display: grid; align-content: start; gap: 6px; }
.mw-side b { color: #fff; font-family: var(--font-head); font-size: .95rem; margin-bottom: 8px; }
.mw-side b em { font-style: normal; color: #5fd884; }
.mw-side span { color: rgba(255, 255, 255, .7); font-size: .72rem; font-weight: 600; padding: 6px 8px; border-radius: 8px; }
.mw-side span.on { background: rgba(95, 216, 132, .2); color: #fff; }
.mw-main { padding: 18px; background: #f6f9fc; display: grid; align-content: start; gap: 12px; }
.mw-main .mw-title { font-family: var(--font-head); font-weight: 800; font-size: 1rem; }
.shift-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px; display: grid; gap: 10px; box-shadow: 0 4px 14px rgba(13, 27, 46, .06); }
.shift-card .sc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.shift-card .sc-role { font-weight: 750; font-size: .92rem; }
.shift-card .sc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: #5d6f86; }
.shift-card .sc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; transition: background-color .4s, color .4s; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status[data-s="open"] { background: #fff3d6; color: #9a6400; }
.status[data-s="confirmed"] { background: #dbeafe; color: #1d4ed8; }
.status[data-s="completed"] { background: #dcfce7; color: #15803d; }
.status[data-s="approved"] { background: #15803d; color: #fff; }
.sc-worker { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px dashed #e2e8f0; font-size: .8rem; max-height: 0; opacity: 0; overflow: hidden; padding-top: 0; border-top-color: transparent; transition: max-height .5s var(--ease), opacity .5s, padding-top .5s, border-color .5s; }
.sc-worker.show { max-height: 60px; opacity: 1; padding-top: 10px; border-top-color: #e2e8f0; }
.sc-worker .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #2b86cf, #28b04f); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .72rem; }
.sc-ts { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .8rem; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 10px 12px; max-height: 0; opacity: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; transition: all .5s var(--ease); }
.sc-ts.show { max-height: 70px; opacity: 1; padding-top: 10px; padding-bottom: 10px; }
.sc-ts .mini-btn { background: #15803d; color: #fff; border-radius: 999px; padding: 5px 12px; font-weight: 800; font-size: .72rem; }
.mw-progress { display: flex; gap: 6px; }
.mw-progress i { flex: 1; height: 4px; border-radius: 4px; background: #e2e8f0; overflow: hidden; position: relative; }
.mw-progress i.done::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #2b86cf, #28b04f); animation: fill .6s var(--ease) forwards; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mock-phone { position: absolute; left: 0; bottom: -36px; width: 196px; border-radius: 30px; background: #0b1726; padding: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); animation: bob 7s ease-in-out infinite; }
.mock-phone .mp-screen { background: #f6f9fc; border-radius: 22px; padding: 16px 12px 14px; color: #0d1b2e; min-height: 300px; display: grid; align-content: start; gap: 10px; }
.mock-phone .mp-notch { width: 70px; height: 6px; border-radius: 6px; background: #1e293b; margin: 0 auto 6px; }
.mock-phone .mp-hello { font-family: var(--font-head); font-weight: 800; font-size: .95rem; }
.mock-phone .mp-hello em { font-style: normal; color: #1a9e3f; }
.mock-phone .mp-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 11px; font-size: .74rem; display: grid; gap: 6px; }
.mock-phone .mp-card b { font-size: .82rem; }
.mock-phone .mp-accept { background: #1a9e3f; color: #fff; text-align: center; font-weight: 800; padding: 8px; border-radius: 10px; animation: pulseBtn 2.4s ease-in-out infinite; }
.mock-phone .mp-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-phone .mp-stat div { background: linear-gradient(135deg, #0c5186, #1670b5); color: #fff; border-radius: 12px; padding: 9px; font-size: .66rem; font-weight: 700; }
.mock-phone .mp-stat div:last-child { background: linear-gradient(135deg, #137a31, #28b04f); }
.mock-phone .mp-stat strong { display: block; font-size: 1.15rem; font-family: var(--font-head); }
@keyframes pulseBtn { 0%, 100% { box-shadow: 0 0 0 0 rgba(26, 158, 63, .5); } 50% { box-shadow: 0 0 0 8px rgba(26, 158, 63, 0); } }
.mock-stage { padding-bottom: 40px; }
@media (max-width: 640px) { .mock-window { width: 100%; } .mock-window .mw-body { grid-template-columns: minmax(0, 1fr); } .mw-side { display: none; } .mock-phone { position: relative; left: auto; bottom: auto; margin: -30px auto 0; } .mock-stage { min-height: 0; padding-bottom: 0; } }
.mock-caption { font-size: .78rem; color: rgba(255, 255, 255, .55); margin-top: 18px; text-align: right; }

/* Settings we cover (chip row under the provider role cards) */
.settings-row { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.settings-row h3 { font-size: 1.15rem; }
.settings-row .chips { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { padding: 8px 14px; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-2); transition: border-color .2s, color .2s, transform .2s; }
.chips span:hover { border-color: var(--blue-600); color: var(--blue-700); transform: translateY(-2px); }
html[data-theme="dark"] .chips span:hover { color: #fff; }

/* CTA band */
.cta-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); color: #fff; isolation: isolate; box-shadow: var(--shadow-panel); }
.cta-card.workers { background: linear-gradient(135deg, #0a3d1d, var(--green-600)); }
.cta-card::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%); z-index: -1; transition: transform 1s var(--ease); }
.cta-card:hover::after { transform: scale(1.25) translate(-20px, 20px); }
.cta-card h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 10px 0 10px; }
.cta-card p { color: rgba(255, 255, 255, .85); margin-bottom: 22px; }
.cta-card .ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
/* overflow: the spinning ring is a rotating square box; near 45 degrees its corners widened the page on phones. */
.about-mark { position: relative; aspect-ratio: 1; max-width: 380px; margin: 0 auto; display: grid; place-items: center; overflow: hidden; }
/* Ring: back to the original pale blue-green slow turn (operator, F-587). */
.about-mark::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: conic-gradient(from 0deg, var(--blue-100), var(--green-100), var(--blue-100)); animation: spin 24s linear infinite; }
.about-mark::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: var(--bg); }
/* height:auto - the width/height attributes would otherwise pin the height and stretch the logo sideways. */
/* Two exactly aligned layers cut from the logo: everything except the heart (still) and the heart with its
   pulse line, which beats from its own centre (operator, F-581). Not hydrated from the portal logo setting,
   because the cut-out must match this exact image. */
.about-mark img { grid-area: 1 / 1; position: relative; z-index: 1; width: 58%; height: auto; }
.about-mark .am-heart { transform-origin: 49.8% 56.7%; animation: heartbeat 2.6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Double beat that also dips below normal size, so the pulse reads clearly (operator, F-581). */
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.08); } 22% { transform: scale(.93); } 34% { transform: scale(1.05); } 46% { transform: scale(.97); } 58% { transform: scale(1); } }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
@media (max-width: 520px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.pillar { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 600; font-size: .93rem; box-shadow: var(--shadow-card); }
.pillar b { font-family: var(--font-head); color: var(--blue-700); font-size: 1.1rem; }
html[data-theme="dark"] .pillar b { color: #8cc4f2; }

/* Terms / FAQ */
.terms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .terms-grid { grid-template-columns: minmax(0, 1fr); } }
.term { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-card); box-shadow: var(--shadow-card); }
.term h3 { font-size: 1.02rem; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.term h3 .i { color: var(--blue-600); }
.term p { font-size: .92rem; }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); overflow: hidden; box-shadow: var(--shadow-card); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .35s var(--ease); color: var(--muted); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq .faq-a { padding: 0 22px 20px; color: var(--ink-2); }

/* Training chips */
.training { display: flex; flex-wrap: wrap; gap: 8px; }
.training span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.training span .i { color: var(--green-600); stroke-width: 2.6; width: 14px; height: 14px; }
.reveal-more { max-height: 128px; overflow: hidden; position: relative; transition: max-height .8s var(--ease); }
.reveal-more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--bg-soft)); transition: opacity .4s; }
.reveal-more.open { max-height: 1200px; }
.reveal-more.open::after { opacity: 0; pointer-events: none; }

/* Forms */
.form-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-card); }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: .86rem; font-weight: 650; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue-500) 22%, transparent); }
.field .hint { font-size: .78rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .seg { grid-template-columns: minmax(0, 1fr); } }
.seg label { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line-strong); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.seg label:hover { border-color: var(--blue-500); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label .i { width: 22px; height: 22px; color: var(--blue-700); margin-top: 2px; }
.seg label b { display: block; font-size: .95rem; }
.seg label small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.seg label:has(input:checked) { border-color: var(--blue-700); background: var(--blue-50); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-500) 20%, transparent); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.checks-inline label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; border: 1.5px solid var(--line-strong); cursor: pointer; font-size: .88rem; font-weight: 600; transition: all .2s; }
/* Reset the general .field input sizing, which stretched these checkboxes into large boxes. */
.checks-inline input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--blue-700); }
.checks-inline label:has(input:checked) { border-color: var(--blue-700); background: var(--blue-50); color: var(--blue-700); }
html[data-theme="dark"] .checks-inline label:has(input:checked) { color: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue-700); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.form-msg.ok { display: block; background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); }
.form-msg.err { display: block; background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
html[data-theme="dark"] .form-msg.ok { color: #7fe0a0; }
html[data-theme="dark"] .form-msg.err { background: #3a0d16; color: #fecdd3; border-color: #7f1d2d; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .tick { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); animation: pop .6s var(--ease); }
.form-success .tick .i { width: 38px; height: 38px; stroke-width: 3; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* Contact */
/* Both columns end level: the form card stretches, and any spare height spreads between the contact cards. */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-cards { display: grid; gap: 12px; align-content: space-between; }
/* A short card beside a long one (checks / training) follows the reader down instead of leaving a gap. */
@media (min-width: 641px) { .sticky-side { position: sticky; top: calc(var(--header-h) + var(--bar-h) + 20px); } }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-card); text-decoration: none; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
a.contact-card:hover { transform: translateX(4px); border-color: var(--line-strong); box-shadow: var(--shadow-card-hover); }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-card strong { font-size: 1.02rem; }
.contact-card .extra-links { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .9rem; }
@media (max-width: 600px) { .contact-card .extra-links a { min-height: 44px; } }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .75); padding: 70px 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue-600), var(--green-600)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer .brand-text .b1 { color: #fff; }
.site-footer p { color: rgba(255, 255, 255, .65); font-size: .92rem; margin-top: 16px; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; font-size: .92rem; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .84rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-badges span { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: .74rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .8); transition: background .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); color: #fff; }
.footer-social .i { width: 18px; height: 18px; }
.footer-social[hidden], .footer-social a[hidden], .no-js .footer-social { display: none; }
.site-footer .footer-note { margin-top: 16px; max-width: none; font-size: .78rem; color: rgba(255, 255, 255, .5); }

/* Comparison: the usual way and the BluPulse way (care providers, workers). One grid, so each pair of rows
   lines up across the two cards and its arrow sits between them; the two card backgrounds are ::before and
   ::after. On phones it becomes one card, each usual-way line followed by its BluPulse answer. */
.compare { --cmp-bg: radial-gradient(520px 320px at 100% 0%, rgba(26, 158, 63, .32), transparent 70%), linear-gradient(135deg, var(--navy-900), var(--blue-700)); --cmp-arrow: var(--blue-600); position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); padding-bottom: 14px; }
.compare.green { --cmp-bg: radial-gradient(520px 320px at 100% 0%, rgba(43, 134, 207, .3), transparent 70%), linear-gradient(135deg, #0a3d1d, var(--green-600)); --cmp-arrow: var(--green-600); }
.compare::before, .compare::after { content: ""; position: absolute; top: 0; bottom: 0; width: calc(50% - 32px); border-radius: var(--radius-lg); z-index: -1; }
.compare::before { left: 0; background: var(--bg-card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.compare::after { right: 0; background: var(--cmp-bg); box-shadow: var(--shadow-panel); }
.cmp-head { padding: 28px 30px 12px; }
.cmp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.cmp-head.old .cmp-pill { background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.cmp-head.new .cmp-pill { background: #fff; color: var(--navy-900); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.cmp-pill img { width: 22px; height: 22px; }
.cmp-old, .cmp-new { display: flex; gap: 12px; align-items: center; padding: 17px 30px; }
.cmp-old { border-top: 1px solid var(--line); }
.cmp-new { border-top: 1px solid rgba(255, 255, 255, .14); }
.cmp-head.new + .cmp-old, .cmp-head.new + .cmp-old + .cmp-arrow + .cmp-new { border-top: 0; }
.cmp-old p { color: var(--ink-2); font-size: .98rem; }
.cmp-new p { color: #fff; font-size: .98rem; font-weight: 600; }
.cmp-ic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.cmp-ic .i { width: 14px; height: 14px; stroke-width: 3; }
.cmp-old .cmp-ic { background: #fde4e7; color: #d4283b; }
html[data-theme="dark"] .cmp-old .cmp-ic { background: rgba(244, 63, 94, .16); color: #fb7185; }
.cmp-new .cmp-ic { background: var(--green-500); color: #fff; }
.compare.green .cmp-new .cmp-ic { background: #fff; color: var(--green-600); }
.cmp-arrow { display: grid; place-items: center; color: var(--cmp-arrow); }
.cmp-arrow .i { width: 24px; height: 24px; stroke-width: 2.4; }
.cmp-arrow.is-visible .i { animation: cmpNudge 2.4s ease-in-out infinite; }
@keyframes cmpNudge { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(4px); } }
@media (max-width: 760px) {
  .compare { display: block; padding: 22px 20px 6px; border-radius: var(--radius-lg); background: var(--cmp-bg); box-shadow: var(--shadow-panel); }
  .compare::before, .compare::after, .cmp-gap, .cmp-arrow { display: none; }
  .cmp-head { display: inline-block; padding: 0 4px 12px 0; }
  .cmp-pill { gap: 6px; padding: 6px 11px; font-size: .8rem; }
  .cmp-pill img, .cmp-pill .i { width: 18px; height: 18px; }
  .cmp-head.old .cmp-pill { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .2); }
  .cmp-old, .cmp-new { padding: 0; border-top: 0; }
  .cmp-old { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
  .cmp-head.new + .cmp-old { padding-top: 6px; border-top: 0; }
  .cmp-old p { color: rgba(255, 255, 255, .66); font-size: .88rem; }
  .cmp-old .cmp-ic, html[data-theme="dark"] .cmp-old .cmp-ic { width: 22px; height: 22px; background: rgba(244, 63, 94, .2); color: #fda4af; }
  .cmp-new { padding: 8px 0 16px; }
}

/* Refer banner */
.refer { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 22px 26px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--amber-50), var(--green-50)); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
/* The text block takes the free width so the button stays on the right, wrapping below only when narrow. */
.refer > :first-child { flex: 1 1 420px; min-width: 0; }
.refer .r-ic { flex: none; }
.refer .r-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--green-600); box-shadow: var(--shadow-sm); }
html[data-theme="dark"] .refer .r-ic { background: var(--bg-card); }
.refer .r-ic .i { width: 28px; height: 28px; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal="left"] { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; z-index: 3000; padding: 14px 20px; border-radius: 14px; background: var(--navy-900); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.toast-error { background: #9f1239; }
.toast.toast-success { background: var(--green-700); }

/* ── Application modal (existing portal-connected form, restyled) ── */
html.ngs-modal-open, body.ngs-modal-open { overflow: hidden; }
.modal-overlay { position: fixed; inset: 0; z-index: 2500; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 22, 41, .62); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-overlay, .modal-overlay > .modal { overscroll-behavior: contain; }
.modal { width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg-card); color: var(--ink); border-radius: 22px; padding: clamp(20px, 3.5vw, 34px) clamp(20px, 3.5vw, 34px) 0; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.98); transition: transform .4s var(--ease); }
.modal-overlay.open .modal { transform: none; }
.modal-title { font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.modal .section-h { font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); margin: 22px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
html[data-theme="dark"] .modal .section-h { color: #7fe0a0; }
.modal .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .modal .frow { grid-template-columns: minmax(0, 1fr); } }
.modal .fg { display: grid; gap: 6px; margin-bottom: 14px; }
.modal .fg label { font-size: .84rem; font-weight: 650; color: var(--ink); }
.modal input[type="text"], .modal input[type="tel"], .modal input[type="email"], .modal input[type="file"], .modal select, .modal textarea { width: 100%; min-height: 46px; padding: 10px 13px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--ink); }
.modal input[type="file"] { padding: 9px; font-size: .86rem; }
.modal textarea { min-height: 96px; resize: vertical; }
.modal input:focus, .modal select:focus, .modal textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(26, 158, 63, .18); }
/* The modal has no bottom padding so the sticky action bar sits flush with the bottom edge and nothing shows beneath it. */
.modal .mf { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; position: sticky; bottom: 0; z-index: 1; background: var(--bg-card); padding: 12px 0 clamp(20px, 3.5vw, 34px); border-top: 1px solid var(--line); }
.modal .btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--green-600); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px rgba(26, 158, 63, .28); }
.modal .btn-primary:hover { background: var(--green-500); }
.modal .btn-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font-weight: 650; cursor: pointer; }
.modal-close { position: sticky; top: 0; float: right; margin: -6px -6px 0 0; z-index: 2; }

/* Floating back-to-top arrow (added by site.js), shown after the first screen. */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 50px; height: 50px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--blue-700), var(--green-600)); box-shadow: 0 10px 26px rgba(8, 18, 32, .3); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, visibility .3s, transform .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top .i { width: 22px; height: 22px; stroke-width: 2.4; animation: toTopFloat 2.2s ease-in-out infinite; }
@keyframes toTopFloat { 0%, 100% { transform: translateY(1px); } 50% { transform: translateY(-3px); } }
body.ngs-modal-open .to-top { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Privacy Notice (F-595): the legal text in the site's own layout. */
.legal-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 10px; }
.legal-hero { padding: clamp(36px, 5vw, 64px) 0; }
.legal-hero + .section { padding-top: clamp(28px, 4vw, 48px); }
.legal-hero .section-head { max-width: 860px; margin: 0 auto; }
.legal { max-width: 860px; margin: 0 auto; }
.legal .meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.legal .meta div { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); font-size: .92rem; color: var(--ink-2); box-shadow: var(--shadow-card); }
.legal .meta strong { display: block; margin-bottom: 4px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legal section { padding: 26px 0; border-top: 1px solid var(--line); }
.legal .meta + section { border-top: 0; }
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 12px; }
.legal h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p, .legal ul + p, .legal .table-wrap + p { margin-top: 10px; }
.legal ul { margin: 10px 0 0 20px; display: grid; gap: 6px; }
.legal a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
html[data-theme="dark"] .legal a { color: #8cc4f2; }
.legal .callout { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--blue-50); color: var(--ink-2); font-size: .94rem; }
.legal .table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.legal th, .legal td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.legal tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .legal .meta { grid-template-columns: minmax(0, 1fr); } }

/* Printing (F-595): every section in its finished state, photos and dark panels kept, screen-only controls dropped. */
@media print {
  @page { margin: 12mm; }
  html, body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], .split-panel, .split-panel .sp-enter, .page-hero .ph-inner > * { opacity: 1 !important; transform: none !important; }
  .split-panel > img { transform: none !important; }
  .split-panel .sp-extra { grid-template-rows: 1fr; }
  .site-header { position: static; }
  .site-header .nav { box-shadow: none; }
  .recruit-bar, .nav-links, .nav-actions, .mobile-menu, .skip-link, .to-top, .toast, .modal-overlay { display: none !important; }
  .hero-intro h1 .grad { background: none; color: var(--blue-700); -webkit-text-fill-color: currentColor; }
  .split-panel, .step, .role-card, .term, .card, .cmp-old, .cmp-new, .contact-card, .form-card, .faq details, .cta-card { break-inside: avoid; }
  h2, h3, .eyebrow { break-after: avoid; }
  .section-head { break-inside: avoid; }
  .reveal-more { max-height: none !important; }
  .reveal-more::after, [data-more] { display: none !important; }
}
