/* Mensen website + Employer and Candidate portals (Website Specification v1.0, section 2).
   One brand colour, Mensen Indigo #59598E, with white. On top of it one small accent, Mensen Navy #1E3A8A (dark blue),
   used sparingly: short bars over headings, ticks and arrows. On dark surfaces (footer, Indigo bands) the accent
   switches to its light tint --accent-light so it stays visible. A few warm touches (teal, amber, coral, leaf) tint
   icon tiles, step numbers, post categories and the illustrations, so pages aren't all blue. WhatsApp keeps its green.
   Plus Jakarta Sans for headings, Inter for everything else. Pill buttons, 16px cards, soft shadows only.
   Page-specific styles live in pages.css (public site), employer.css and candidate.css. */

body.site {
  --indigo: #59598E;
  --deep: #3E3E66;
  --ink: #232A3C;
  --navy: #232A3C;
  --gold: #E8A33D; --gold-soft: #FBEBD0;
  --lilac: #C9C9E0; --lilac2: #A9A9CC;
  --soft: #EEEEF5;
  --mist: #F7F7FB;
  --slate: #6B6B80;
  --line: #DCDCE8;
  --white: #FFFFFF;
  --success: #2E7D5B;
  --warning: #B7862A;
  --error: #B04A4A;
  --accent-2: #1E3A8A;
  --accent-light: #9DB8FF;
  --accent-soft: #E3EAF8;
  /* Warm touches: the strong tone is for icons/text on its soft tint (3:1+ for icons). */
  --teal: #0E7F6C; --teal-soft: #DDF4EF;
  --amber: #A86200; --amber-soft: #FDF0DA;
  --coral: #C2483A; --coral-soft: #FDE6E2;
  --leaf: #2B7E4F; --leaf-soft: #E1F3E8;
  --wa: #25D366; --wa-deep: #1DA851;
  /* Top bar + header, so a hero can fill exactly what is left of the screen. */
  --chrome: 128px;
  /* Dark surfaces (footer): a deep indigo-navy, a raised tone, and text tints that pass 4.5:1 on both. */
  --night: #22223A;
  --night-2: #2F2F4D;
  --on-dark-2: #D2D2E3;
  --on-dark-3: #A9A9C4;
  --line-dark: rgba(255, 255, 255, .12);
  --shadow: 0 8px 24px rgba(42, 42, 69, .08);
  --shadow-lift: 0 14px 32px rgba(42, 42, 69, .12);
  --ring: 0 0 0 3px rgba(89, 89, 142, .4);
  --radius: 16px;
  --head-font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
  --sec: 96px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* The shared component tokens (app.css) in Mensen colours. */
  --bg: var(--white);
  --side: var(--mist);
  --card: var(--white);
  --card-2: var(--mist);
  --line-2: #C9C9DA;
  --text: var(--ink);
  --muted: var(--slate);
  --dim: #6F6F86;
  --btn: var(--indigo);
  --btn-ink: #fff;
  --accent: var(--indigo);
  --field: var(--mist);
  --ok: var(--success);
  --warn: var(--warning);
  --bad: var(--error);
  --info: var(--indigo);
  --focus: var(--indigo);
  color-scheme: light;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 639px) { body.site { font-size: 16px; --sec: 64px; --gutter: 16px; --chrome: 108px; } }

body.site h1, body.site h2, body.site h3, body.site h4 { font-family: var(--head-font); color: var(--ink); letter-spacing: -.02em; font-weight: 700; line-height: 1.2; }
body.site h1 { font-size: 48px; }
body.site h2 { font-size: 34px; }
body.site h3 { font-size: 24px; font-weight: 600; }
body.site h4 { font-size: 18px; font-weight: 600; }
@media (max-width: 639px) {
  body.site h1 { font-size: 34px; }
  body.site h2 { font-size: 26px; }
  body.site h3 { font-size: 20px; }
  body.site h4 { font-size: 17px; }
}
body.site a { color: var(--indigo); text-underline-offset: 3px; }
body.site small, body.site .small { font-size: 15px; }
body.site .muted { color: var(--slate); }
body.site .dim { color: var(--dim); }
body.site :focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; }
body.site ::selection { background: var(--soft); color: var(--ink); }
body.site p { margin: 0 0 1em; }
body.site .i { stroke-width: 1.75; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--indigo); color: #fff !important; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
@view-transition { navigation: auto; }

/* ---------- layout ---------- */
.s-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.s-wrap--narrow { max-width: 820px; }
.s-sec { padding: var(--sec) 0; }
.s-sec--soft { background: var(--soft); }
.s-sec--mist { background: var(--mist); }
.s-sec--tight { padding: calc(var(--sec) / 2) 0; }
.s-sec__head { max-width: 720px; margin: 0 0 48px; }
.s-sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.s-sec__head p { color: var(--slate); font-size: 19px; margin: 12px 0 0; }
.s-kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin: 0 0 14px; }
.s-kicker .i { width: 22px; height: 22px; }
.s-grid { display: grid; gap: var(--gutter); }
.s-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .s-grid--3, .s-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .s-grid--2, .s-grid--3, .s-grid--4 { grid-template-columns: 1fr; } }
.s-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.s-lead { font-size: 20px; color: var(--slate); max-width: 62ch; }
@media (max-width: 639px) { .s-lead { font-size: 18px; } }
.s-prose { max-width: 70ch; }
.s-prose h2 { font-size: 26px; margin: 1.6em 0 .5em; }
.s-prose h3 { font-size: 20px; margin: 1.4em 0 .4em; }
.s-prose ul, .s-prose ol { padding-left: 1.2em; }
.s-prose li { margin: .3em 0; }

/* ---------- buttons (spec 2.4) ---------- */
body.site .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; height: auto; padding: 0 24px; border-radius: 999px;
  border: 1.5px solid var(--indigo); background: var(--indigo); color: #fff; font: 600 16px/1.2 var(--sans); letter-spacing: 0; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s ease; opacity: 1; white-space: nowrap; }
body.site .btn:hover { background: var(--deep); border-color: var(--deep); color: #fff; }
body.site .btn:focus-visible { box-shadow: var(--ring); border-radius: 999px; }
body.site .btn.secondary, body.site .btn.ghost { background: #fff; color: var(--indigo); border-color: var(--indigo); }
body.site .btn.secondary:hover, body.site .btn.ghost:hover { background: var(--soft); color: var(--deep); border-color: var(--deep); }
body.site .btn.light { background: #fff; color: var(--indigo); border-color: #fff; }
body.site .btn.light:hover { background: var(--soft); border-color: var(--soft); color: var(--deep); }
body.site .btn.light-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
body.site .btn.light-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
body.site .btn.text { background: transparent; border-color: transparent; color: var(--indigo); padding: 0 8px; }
body.site .btn.text:hover { text-decoration: underline; background: transparent; color: var(--deep); }
body.site .btn.danger, body.site .btn.ghost.danger { background: #fff; color: var(--error); border-color: var(--error); }
body.site .btn.danger:hover, body.site .btn.ghost.danger:hover { background: var(--error); color: #fff; }
body.site .btn.sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
body.site .btn.lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
body.site .btn[disabled], body.site .btn.is-disabled { opacity: .4; cursor: not-allowed; }
body.site .btn.is-busy { opacity: .7; cursor: progress; }
body.site .btn .i { width: 18px; height: 18px; }
.s-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--indigo); text-decoration: none; min-height: 44px; }
.s-link:hover { text-decoration: underline; color: var(--deep); }
.s-link .i { transition: transform .25s var(--ease); }
.s-link:hover .i { transform: translateX(3px); }

/* ---------- forms ---------- */
body.site .form { display: grid; gap: 20px; }
body.site .field { display: grid; gap: 6px; }
body.site .field > span, body.site .s-label { font: 600 15px var(--sans); color: var(--ink); }
body.site .field > span .req, body.site .s-req { color: var(--indigo); font-weight: 600; font-size: 13px; margin-left: 6px; background: var(--soft); border-radius: 999px; padding: 1px 8px; }
body.site .field > span .opt, body.site .s-opt { color: var(--slate); font-weight: 500; font-size: 13px; margin-left: 6px; }
body.site .field small, body.site .s-hint { color: var(--slate); font-size: 14px; }
body.site :is(input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=tel], input[type=url], input[type=search], select, textarea) {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--mist); color: var(--ink);
  font: 400 16px/1.4 var(--sans); transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
body.site textarea { line-height: 1.55; min-height: 120px; resize: vertical; }
body.site select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2359598E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
body.site :is(input, select, textarea):hover { border-color: #B9B9CF; }
body.site :is(input, select, textarea):focus { outline: none; border-color: var(--indigo); background: #fff; box-shadow: var(--ring); }
body.site input[type=file] { font: 15px var(--sans); padding: 10px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--mist); width: 100%; }
body.site input[type=file]::file-selector-button { font: 600 14px var(--sans); border: 1.5px solid var(--indigo); color: var(--indigo); background: #fff; border-radius: 999px; padding: 8px 16px; margin-right: 12px; cursor: pointer; }
body.site .field.has-error :is(input, select, textarea) { border-color: var(--error); }
body.site .field-error { color: var(--error); font-size: 14px; font-weight: 500; display: flex; gap: 6px; align-items: center; }
body.site .check, body.site .radio { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; cursor: pointer; min-height: 32px; }
body.site .check input, body.site .radio input { width: 20px; height: 20px; accent-color: var(--indigo); margin: 2px 0 0; flex: none; }
body.site .checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
body.site .radios { display: flex; flex-wrap: wrap; gap: 8px; }
body.site .radios .radio { margin: 0; }
body.site .radios .radio input { position: absolute; opacity: 0; pointer-events: none; }
body.site .radios .radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; transition: all .15s ease; }
body.site .radios .radio input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
body.site .radios .radio input:focus-visible + span { box-shadow: var(--ring); }
body.site .row, body.site .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
body.site .row3, body.site .form .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 20px; }
@media (max-width: 639px) { body.site .row, body.site .row3, body.site .form .row, body.site .form .row3 { grid-template-columns: 1fr; } }
.s-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
/* Password strength meter (public/site.js) */
.s-meter { height: 6px; border-radius: 999px; background: var(--soft); overflow: hidden; margin-top: 6px; }
.s-meter i { display: block; height: 100%; width: 0; background: var(--error); transition: width .25s ease, background-color .25s ease; }
.s-meter[data-score="2"] i { background: var(--warning); }
.s-meter[data-score="3"] i, .s-meter[data-score="4"] i { background: var(--success); }
.s-meter-label { font-size: 14px; color: var(--slate); }
.s-pw { position: relative; }
.s-pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; border: 0; background: none; color: var(--indigo); font: 600 14px var(--sans); cursor: pointer; padding: 0 10px; border-radius: 999px; }

/* ---------- cards, badges, flashes ---------- */
body.site .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
body.site .card.pad { padding: 28px; }
@media (max-width: 639px) { body.site .card.pad { padding: 20px; } }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; position: relative; }
.s-card--soft { background: var(--soft); border-color: transparent; }
.s-card--mist { background: var(--mist); border-color: transparent; }
a.s-card { display: block; color: inherit; text-decoration: none; }
a.s-card:hover, .s-card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.s-card h3 { font-size: 21px; margin: 0 0 8px; }
.s-card p { color: var(--slate); margin: 0 0 12px; }
.s-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--indigo); margin-bottom: 18px; }
.s-ic .i { width: 26px; height: 26px; }
body.site .badge { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 999px; padding: 4px 11px; font: 600 13px/1.3 var(--sans); background: var(--soft); color: var(--deep); white-space: nowrap; }
body.site .badge::before { display: none; }
body.site .badge.ok { background: #E3F1EA; color: #23664A; }
body.site .badge.warn { background: #F6EEDC; color: #8A6417; }
body.site .badge.bad { background: #F5E4E4; color: var(--error); }
body.site .badge.info { background: var(--soft); color: var(--indigo); }
body.site .chip { display: inline-flex; align-items: center; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--deep); border: 0; font-weight: 500; }
body.site .chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
body.site .flash { display: flex; gap: 12px; align-items: flex-start; border: 0; border-radius: 14px; padding: 14px 18px; font-size: 16px; background: var(--soft); color: var(--ink); margin-bottom: 20px; flex-wrap: wrap; }
body.site .flash .i { flex: none; margin-top: 3px; }
body.site .flash.ok { background: #E3F1EA; }
body.site .flash.ok .i { color: var(--success); }
body.site .flash.bad { background: #F5E4E4; }
body.site .flash.bad .i { color: var(--error); }
body.site .flash.warn { background: #F6EEDC; }
body.site .flash.warn .i { color: var(--warning); }
body.site .note { border: 0; border-radius: 14px; background: var(--soft); color: var(--ink); font-size: 16px; padding: 14px 16px; }
body.site .empty { padding: 40px 24px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--slate); font-size: 16px; text-align: center; background: var(--mist); }
.s-empty { display: grid; justify-items: center; gap: 12px; }
.s-empty > .i { color: var(--indigo); opacity: .8; }
.s-empty p { margin: 0; max-width: 46ch; }
body.site .tbl-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow-x: auto; }
body.site .tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
body.site .tbl th { font: 600 13px var(--sans); text-transform: none; letter-spacing: 0; color: var(--slate); padding: 14px 18px 10px; text-align: left; border-bottom: 1px solid var(--line); background: var(--mist); }
body.site .tbl td { padding: 14px 18px; border-bottom: 1px solid var(--soft); vertical-align: top; }
body.site .tbl tr:last-child td { border-bottom: 0; }
body.site .tbl tbody tr:hover td { background: var(--mist); }
body.site .tbl a { text-decoration: none; }
body.site .tbl a:hover b { text-decoration: underline; }
body.site .tbl .sub { font-size: 14px; color: var(--slate); }
body.site .kv { display: grid; grid-template-columns: minmax(140px, 32%) 1fr; gap: 10px 20px; margin: 0; font-size: 16px; }
body.site .kv dt { color: var(--slate); font-weight: 500; }
body.site .kv dd { margin: 0; }
@media (max-width: 639px) { body.site .kv { grid-template-columns: 1fr; gap: 2px; } body.site .kv dd { margin-bottom: 10px; } }
body.site .tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 0 0 24px; }
body.site .tabs a { padding: 12px 16px; text-decoration: none; color: var(--slate); font-weight: 600; border-bottom: 2.5px solid transparent; margin-bottom: -1px; min-height: 44px; }
body.site .tabs a.on, body.site .tabs a[aria-selected="true"] { color: var(--indigo); border-color: var(--indigo); }

/* Accordions (FAQs, How it works) */
.s-acc { border-bottom: 1px solid var(--line); }
.s-acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; font: 600 18px/1.35 var(--head-font); color: var(--ink); min-height: 44px; }
.s-acc summary::-webkit-details-marker { display: none; }
.s-acc summary .i { flex: none; color: var(--indigo); transition: transform .3s var(--ease); }
.s-acc[open] summary .i { transform: rotate(45deg); }
.s-acc__body { padding: 0 4px 22px; color: var(--slate); max-width: 72ch; }
.s-acc__body p:last-child { margin: 0; }

/* Progress bar + steps (multi-step forms) */
.s-progress { margin: 0 0 28px; }
.s-progress__bar { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.s-progress__bar i { display: block; height: 100%; background: var(--indigo); border-radius: 999px; transition: width .4s var(--ease); }
.s-progress__steps { display: flex; justify-content: space-between; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--slate); }
.s-progress__steps li { flex: 1; text-align: center; }
.s-progress__steps li.on { color: var(--indigo); font-weight: 600; }
.s-progress__steps li.done { color: var(--ink); }
.s-progress__steps a { color: inherit; text-decoration: none; }
@media (max-width: 767px) { .s-progress__steps li:not(.on) { display: none; } .s-progress__steps li.on { text-align: left; } }
/* Completeness ring: style="--p: 80" */
.s-ring { --p: 0; --size: 120px; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(closest-side, #fff 78%, transparent 79% 100%), conic-gradient(var(--indigo) calc(var(--p) * 1%), var(--soft) 0); }
.s-ring b { font: 700 28px var(--head-font); color: var(--ink); }
.s-ring b small { font-size: 15px; }

/* ---------- connection motif ---------- */
.s-motif { position: absolute; pointer-events: none; overflow: visible; }
.s-motif__a { fill: none; stroke: currentColor; stroke-width: 3; opacity: .35; }
.s-motif__b { fill: currentColor; opacity: .12; }
.js:not(.reduce-motion) .s-motif--drift .s-motif__a { animation: s-drift-a 1.6s var(--ease) both; }
.js:not(.reduce-motion) .s-motif--drift .s-motif__b { animation: s-drift-b 1.6s var(--ease) both; }
@keyframes s-drift-a { from { transform: translateX(-60px); opacity: 0; } }
@keyframes s-drift-b { from { transform: translateX(60px); opacity: 0; } }
/* Loader / success: two circles sliding together. */
.s-connect { display: inline-flex; align-items: center; justify-content: center; width: 96px; height: 56px; position: relative; }
.s-connect i { position: absolute; width: 44px; height: 44px; border-radius: 50%; }
.s-connect i:first-child { border: 4px solid var(--indigo); left: 6px; }
.s-connect i:last-child { background: var(--indigo); right: 6px; }
.js:not(.reduce-motion) .s-connect i:first-child { animation: s-meet-a 1.4s var(--ease) both; }
.js:not(.reduce-motion) .s-connect i:last-child { animation: s-meet-b 1.4s var(--ease) both; }
@keyframes s-meet-a { from { transform: translateX(-24px); } }
@keyframes s-meet-b { from { transform: translateX(24px); } }

/* Scroll reveal (site.js adds .is-in) */
.js:not(.reduce-motion) [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js:not(.reduce-motion) [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- header (spec 3.2) ---------- */
.s-top { background: var(--soft); font-size: 14px; color: var(--deep); }
.s-top__in { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.s-top a { color: var(--deep); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.s-top a:hover { color: var(--indigo); text-decoration: underline; }
.s-top__social { margin-left: auto; display: flex; gap: 4px; }
.s-top .s-social { width: 32px; height: 32px; min-height: 0; }
@media (max-width: 639px) { .s-top__tel { display: none !important; } }
.s-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .3s ease, background-color .3s ease; view-transition-name: s-head; }
.s-head[data-scrolled] { background: #fff; box-shadow: 0 6px 20px rgba(42, 42, 69, .07); }
.s-head__in { display: flex; align-items: center; gap: 24px; height: 88px; transition: height .3s var(--ease); }
.s-head[data-scrolled] .s-head__in { height: 64px; }
.s-head__logo { text-decoration: none; flex: none; }
.s-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--indigo); }
.s-logo__mark { width: 39px; height: 35px; display: block; flex: none; }
.s-logo__word--svg { height: 17px; width: auto; aspect-ratio: 798.5 / 100; display: block; color: var(--ink); }
.s-logo__word { font: 800 25px/1 var(--head-font); color: var(--ink); letter-spacing: -.03em; }
.s-logo--light, .s-logo--light .s-logo__word { color: #fff; }
.s-logo--sm .s-logo__mark { width: 29px; height: 26px; }
.s-logo--sm .s-logo__word--svg { height: 13px; }
.s-logo--sm .s-logo__word { font-size: 20px; }
.s-nav { flex: 1; display: flex; justify-content: center; }
.s-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.s-nav__list > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; border-radius: 999px; }
.s-nav__list > li > a:hover { color: var(--indigo); background: var(--mist); }
.s-nav__list > li > a.on { color: var(--indigo); font-weight: 600; }
.s-nav__mega { position: relative; display: flex; align-items: center; }
.s-nav__mega > a { padding-right: 4px !important; }
.s-nav__caret { display: inline-grid; place-items: center; width: 32px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 999px; }
.s-nav__caret .i { transition: transform .25s var(--ease); }
.s-nav__mega.is-open .s-nav__caret .i { transform: rotate(180deg); }
.s-nav__mobile-foot { display: none; }
.s-mega { position: absolute; top: calc(100% + 10px); left: 50%; width: min(860px, 92vw); transform: translate(-50%, 8px); display: grid; grid-template-columns: 1fr 2fr; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lift); padding: 20px; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .25s var(--ease), visibility .2s; z-index: 50; }
.s-nav__mega:hover .s-mega, .s-nav__mega:focus-within .s-mega, .s-nav__mega.is-open .s-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.s-nav__mega::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.s-mega__group { padding: 8px; border-radius: 14px; }
.s-mega__group:first-child { background: var(--mist); }
.s-mega__h { font: 600 13px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--slate); margin: 4px 10px 8px; }
.s-mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.s-mega__item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink) !important; }
.s-mega__item:hover { background: var(--soft); }
.s-mega__item b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.s-mega__item small { display: block; font-size: 14px; color: var(--slate); line-height: 1.35; margin-top: 2px; }
.s-mega__ic { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--indigo); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.s-mega__group .s-link { margin: 6px 10px 0; font-size: 15px; }
.s-head__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.s-head__signin { font-weight: 600; text-decoration: none; padding: 0 8px; min-height: 44px; display: inline-flex; align-items: center; }
.s-head__signin:hover { text-decoration: underline; }
.s-user { position: relative; }
.s-user summary { list-style: none; cursor: pointer; border-radius: 50%; }
.s-user summary::-webkit-details-marker { display: none; }
.s-user .avatar { width: 44px; height: 44px; font-size: 15px; background: var(--soft); color: var(--indigo); }
.s-user__menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift); padding: 8px; min-width: 220px; display: grid; z-index: 60; }
.s-user__menu b { padding: 8px 12px; font-size: 15px; }
.s-user__menu a, .s-user__menu button { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font: 500 15px var(--sans); background: none; border: 0; width: 100%; cursor: pointer; }
.s-user__menu a:hover, .s-user__menu button:hover { background: var(--soft); }
.s-burger { display: none; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 999px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.s-burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.s-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.s-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.s-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1100px) {
  .s-burger { display: inline-flex; }
  .s-head__cta { margin-left: auto; }
  .s-head__signin { display: none; }
  .s-nav { position: fixed; inset: 0; top: 0; z-index: 45; background: #fff; display: none; flex-direction: column; justify-content: flex-start; padding: 104px var(--gutter) 32px; overflow-y: auto; }
  body.menu-open .s-nav { display: flex; }
  body.menu-open { overflow: hidden; }
  body.menu-open .s-head__cta { position: relative; z-index: 46; }
  body.menu-open .s-head__logo { position: relative; z-index: 46; }
  .s-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .s-nav__list > li > a { font: 600 24px var(--head-font); min-height: 60px; padding: 0 4px; border-bottom: 1px solid var(--soft); border-radius: 0; width: 100%; }
  .s-nav__mega { flex-wrap: wrap; }
  .s-nav__mega > a { flex: 1; }
  .s-nav__caret { width: 52px; height: 60px; }
  .s-mega { position: static; transform: none; width: 100%; display: none; grid-template-columns: 1fr; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 12px; }
  .s-nav__mega:hover .s-mega, .s-nav__mega:focus-within .s-mega { transform: none; }
  .s-nav__mega.is-open .s-mega { display: grid; }
  .s-mega__grid { grid-template-columns: 1fr; }
  .s-nav__mobile-foot { display: grid; gap: 14px; margin-top: auto; padding-top: 32px; }
  .s-nav__mobile-foot p { margin: 0; display: grid; font-size: 17px; }
  .s-nav__mobile-foot span:not(.s-email):not(.s-email__t) { font-size: 14px; color: var(--slate); }
}
@media (max-width: 639px) { .s-head__in { height: 68px; gap: 12px; } .s-head[data-scrolled] .s-head__in { height: 60px; } .s-head__cta .btn { min-height: 44px; padding: 0 16px; font-size: 15px; } .s-logo__word { font-size: 22px; } .s-logo__mark { width: 34px; height: 30px; } .s-logo__word--svg { height: 15px; } }
.s-flash { padding-top: 20px; }

/* ---------- footer (spec 3.3) ----------
   Dark surfaces use their own small palette (palette tokens --night*), checked for 4.5:1 contrast:
   white headings, --on-dark-2 body text, --on-dark-3 labels, the light accent tint only for hover and small rules.
   Every rule is scoped under body.site so the light-page defaults (body.site h2 / a) never leak in. */
body.site .s-cta-band { background: var(--indigo); color: #fff; position: relative; overflow: hidden; }
.s-cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; position: relative; }
body.site .s-cta-band h2 { color: #fff; font-size: 32px; margin: 0; position: relative; }
.s-cta-band .s-actions { position: relative; }
.s-cta-band__motif { color: #fff; width: 520px; right: -120px; top: -90px; opacity: .5; }

body.site .s-foot { background: var(--night); color: var(--on-dark-2); padding: 72px 0 32px; font-size: 15px; line-height: 1.6; }
body.site .s-foot a { color: var(--on-dark-2); text-decoration: none; transition: color .15s ease; }
body.site .s-foot a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent-light); text-decoration-thickness: 2px; text-underline-offset: 5px; }
body.site .s-foot h2 { color: #fff; font: 600 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 20px; }
body.site .s-foot h2::after { content: ''; display: block; width: 24px; height: 3px; border-radius: 3px; background: var(--accent-light); margin-top: 10px; }
.s-foot__top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); align-items: start; }
.s-foot__brand .s-logo__word { color: #fff; }
.s-foot__brand p { margin: 18px 0 22px; color: var(--on-dark-2); max-width: 42ch; font-size: 16px; }
.s-foot__social { display: flex; gap: 8px; }
.s-social { width: 44px; height: 44px; border-radius: 999px; display: inline-grid; place-items: center; color: inherit; }
body.site .s-foot .s-social { background: var(--night-2); color: #fff; }
body.site .s-foot .s-social:hover { background: var(--accent-light); color: var(--night); text-decoration: none; }
body.site .s-news { background: var(--night-2); border-radius: var(--radius); padding: 28px; }
.s-news__label { display: block; font: 700 20px var(--head-font); color: #fff; margin-bottom: 6px; }
.s-news__lead { color: var(--on-dark-3); margin: 0 0 16px; font-size: 15px; }
.s-news__row { display: flex; gap: 10px; flex-wrap: wrap; }
body.site .s-news__row input { flex: 1 1 220px; background: #fff; border-color: transparent; }
body.site .s-news__row select { flex: 0 1 180px; background-color: #fff; border-color: transparent; }
body.site .s-news .btn.light { background: var(--accent-light); border-color: var(--accent-light); color: var(--night); }
body.site .s-news .btn.light:hover { background: #C2D3FF; border-color: #C2D3FF; color: var(--night); }
body.site .s-news small { display: block; margin-top: 12px; color: var(--on-dark-3); font-size: 14px; }
body.site .s-news small a { color: var(--on-dark-2); text-decoration: underline; }
.s-foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding: 48px 0 40px; }
.s-foot__cols nav { display: grid; gap: 12px; align-content: start; }
.s-foot__cols p { margin: 0 0 16px; display: grid; gap: 2px; }
.s-foot__k { font-size: 12px; font-weight: 600; color: var(--on-dark-3); text-transform: uppercase; letter-spacing: .1em; }
body.site .s-foot .s-email__a { color: #fff; font-weight: 500; }
.s-pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 32px; }
body.site .s-pills a { background: var(--night-2); color: var(--on-dark-2); border-radius: 999px; padding: 0 16px; min-height: 40px; display: inline-flex; align-items: center; font-size: 14px; }
body.site .s-pills a:hover { background: var(--accent-light); color: var(--night); text-decoration: none; }
.s-foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--on-dark-3); padding-top: 24px; border-top: 1px solid var(--line-dark); }
.s-foot__free { display: inline-flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; }
@media (max-width: 1023px) { .s-foot__top { grid-template-columns: 1fr; gap: 40px; } .s-foot__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { body.site .s-foot { padding-top: 56px; } .s-foot__cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .s-foot__cols > div { grid-column: 1 / -1; } body.site .s-cta-band h2 { font-size: 26px; } body.site .s-news { padding: 22px; } }

/* Email links (assembled by site.js) */
.s-email { display: inline-flex; align-items: center; gap: 4px; }
.s-email__a { font-weight: 500; }
.s-copy { border: 0; background: none; color: var(--slate); width: 32px; height: 32px; border-radius: 8px; display: inline-grid; place-items: center; cursor: pointer; }
.s-copy:hover { background: var(--soft); color: var(--indigo); }
.s-copy.is-done { color: var(--success); }

/* WhatsApp button + cookie banner */
.s-wa { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--accent-2); color: #fff !important; display: grid; place-items: center; box-shadow: var(--shadow-lift); transition: transform .25s var(--ease); }
.s-wa:hover { transform: scale(1.06); }
.s-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; display: flex; justify-content: center; }
.s-cookie[hidden] { display: none; }
.s-cookie__in { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lift); padding: 20px 22px; max-width: 760px; font-size: 15px; }
.s-cookie__in p { margin: 0 0 10px; }
.s-cookie__opts { display: grid; gap: 4px; margin: 0 0 12px; }
body.has-cookie .s-wa { bottom: 160px; }

/* ---------- auth pages ---------- */
.s-auth { min-height: calc(100vh - 128px); display: grid; grid-template-columns: 1fr 1fr; }
.s-auth__side { background: var(--indigo); color: #fff; padding: 64px 56px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.s-auth__side h2 { color: #fff; font-size: 34px; max-width: 16ch; position: relative; }
.s-auth__side ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; position: relative; font-size: 17px; }
.s-auth__side li { display: flex; gap: 12px; align-items: flex-start; }
.s-auth__side li .i { flex: none; margin-top: 3px; }
.s-auth__side .s-motif { color: #fff; width: 620px; left: -180px; bottom: -180px; }
.s-auth__main { padding: 56px var(--gutter); display: flex; justify-content: center; align-items: flex-start; }
.s-auth__card { width: 100%; max-width: 480px; }
.s-auth__card h1 { font-size: 34px; margin: 0 0 8px; }
.s-auth__card > p { color: var(--slate); }
@media (max-width: 899px) { .s-auth { grid-template-columns: 1fr; } .s-auth__side { display: none; } .s-auth__main { padding-top: 40px; } }
/* Segmented control: Employer | Candidate */
.s-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--soft); border-radius: 999px; padding: 4px; margin: 0 0 24px; width: 100%; }
.s-seg a, .s-seg button { min-height: 44px; display: grid; place-items: center; border-radius: 999px; text-decoration: none; color: var(--deep); font: 600 15px var(--sans); border: 0; background: none; cursor: pointer; }
.s-seg a[aria-current="true"], .s-seg button[aria-pressed="true"] { background: #fff; color: var(--indigo); box-shadow: 0 2px 8px rgba(42, 42, 69, .1); }
.s-or { display: flex; align-items: center; gap: 12px; color: var(--slate); font-size: 14px; margin: 20px 0; }
.s-or::before, .s-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.s-otp-qr { width: 200px; height: 200px; border-radius: 12px; border: 1px solid var(--line); padding: 8px; background: #fff; }
.s-otp-qr svg { width: 100%; height: 100%; display: block; }
.s-secret { font: 600 15px ui-monospace, Consolas, monospace; letter-spacing: .08em; background: var(--soft); padding: 8px 12px; border-radius: 10px; word-break: break-all; }

/* ---------- portals (Employer + Candidate) ---------- */
body.portal { --side: var(--mist); background: var(--mist); }
body.portal .shell { grid-template-columns: 264px 1fr; }
body.portal .side { background: #fff; border-right: 1px solid var(--line); }
body.portal .side .brand { padding: 22px 22px 18px; color: var(--indigo); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
body.portal .side .brand small { font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--slate); display: block; }
body.portal .nav { padding: 4px 12px; }
body.portal .nav .group { font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--slate); padding: 18px 12px 6px; }
body.portal .nav a { min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 15px; color: var(--ink); gap: 12px; }
body.portal .nav a .i { color: var(--indigo); width: 18px; height: 18px; }
body.portal .nav a:hover { background: var(--soft); }
body.portal .nav a.on { background: var(--indigo); color: #fff; font-weight: 600; }
body.portal .nav a.on .i { color: #fff; }
body.portal .nav .count { background: var(--soft); color: var(--indigo); border-radius: 999px; font: 600 12px var(--sans); padding: 1px 8px; margin-left: auto; }
body.portal .nav a.on .count { background: rgba(255, 255, 255, .25); color: #fff; }
body.portal .side .me { border-top: 1px solid var(--line); padding: 14px 16px; }
body.portal .avatar { background: var(--soft); color: var(--indigo); }
body.portal .top { background: rgba(247, 247, 251, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); min-height: 64px; }
body.portal .top .crumbs { font-weight: 600; font-size: 15px; }
body.portal .content { max-width: 1120px; padding: 32px 32px 64px; }
body.portal .content--wide { max-width: none; }
body.portal .head { margin-bottom: 28px; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
body.portal .head h1 { font-size: 32px; }
body.portal .head p { color: var(--slate); font-size: 17px; margin: 6px 0 0; }
body.portal .section-title { font: 600 20px var(--head-font); margin: 36px 0 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
body.portal .section-title a { font: 600 15px var(--sans); }
body.portal .card + .card { margin-top: 20px; }
body.portal .stats { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
body.portal .stats .label { font: 600 14px var(--sans); text-transform: none; letter-spacing: 0; color: var(--slate); }
body.portal .stats .num { font: 700 34px var(--head-font); color: var(--ink); }
body.portal .stats a.cell:hover { background: var(--mist); }
body.portal .iconbtn { color: var(--ink); }
body.portal .chat__bubble { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
body.portal .chat__msg--me .chat__bubble { background: var(--indigo); color: #fff; border-color: var(--indigo); }
@media (max-width: 899px) {
  body.portal .shell { grid-template-columns: 1fr; }
  body.portal .content { padding: 20px 16px 48px; }
  body.portal .head h1 { font-size: 26px; }
}
/* A consultant card (Employer dashboard) / helper card */
.s-person { display: flex; gap: 16px; align-items: center; }
.s-person .avatar { width: 56px; height: 56px; font-size: 18px; flex: none; }
.s-person b { display: block; font-size: 17px; }
.s-person span { color: var(--slate); font-size: 15px; }
/* Status timeline (request detail, applications) */
.s-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.s-timeline li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.s-timeline li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--line); background: #fff; margin-top: 6px; z-index: 1; }
.s-timeline li::after { content: ''; position: absolute; left: 7px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.s-timeline li:last-child::after { display: none; }
.s-timeline li.done::before { background: var(--indigo); border-color: var(--indigo); }
.s-timeline li.now::before { border-color: var(--indigo); box-shadow: 0 0 0 4px var(--soft); }
.s-timeline b { display: block; font-size: 16px; }
.s-timeline span { color: var(--slate); font-size: 14px; }
/* Sticky form footer (multi-step forms) */
.s-formbar { position: sticky; bottom: 0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); margin: 28px -28px -28px; padding: 16px 28px; border-radius: 0 0 var(--radius) var(--radius); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.s-formbar .grow { flex: 1; }
.s-saved { color: var(--slate); font-size: 14px; }
@media (max-width: 639px) { .s-formbar { margin: 24px -20px -20px; padding: 12px 20px; } }
/* A repeater block (education, languages, referees...) */
.s-rep { display: grid; gap: 12px; }
.s-rep__item { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--mist); display: grid; gap: 12px; position: relative; }
.s-rep__item .s-rep__rm { position: absolute; top: 8px; right: 8px; }
.s-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--mist); min-height: 48px; align-items: center; }
.s-tags:focus-within { border-color: var(--indigo); box-shadow: var(--ring); background: #fff; }
.s-tags .chip button { border: 0; background: none; color: inherit; cursor: pointer; padding: 0 0 0 6px; font-size: 16px; line-height: 1; }
.s-tags input { border: 0 !important; background: transparent !important; box-shadow: none !important; min-height: 36px !important; flex: 1; min-width: 140px; padding: 4px 6px !important; }

.s-bare { min-height: 100vh; background: var(--mist); }
.s-bare > .flash { max-width: 480px; margin: 24px auto 0; }

/* [hidden] must win over the display rules above. */
.s-cookie__opts[hidden], body.site .btn[hidden], body.site [hidden] { display: none !important; }

/* ---------- accent: Mensen Navy ---------- */
.s-kicker:not(:has(.i))::before { content: ''; width: 22px; height: 4px; border-radius: 4px; background: var(--accent-2); flex: none; }
.s-kicker .i { color: var(--accent-2); }
.s-sec__head h2::after { content: ''; display: block; width: 56px; height: 5px; border-radius: 5px; background: var(--accent-2); margin-top: 16px; }
.s-sec__head--center h2::after { margin-left: auto; margin-right: auto; }
.s-hl { background: linear-gradient(transparent 66%, color-mix(in srgb, #F2A93B 42%, transparent) 66%, color-mix(in srgb, #F2A93B 42%, transparent) 92%, transparent 92%); padding: 0 .05em; }
.s-link .i { color: var(--accent-2); }
.s-link:hover .i { color: var(--accent-2); }
body.site .s-cta-band { border-top: 6px solid var(--accent-2); }
.s-foot__free .i { color: var(--accent-light); }
.s-wa { background: var(--wa); }
.s-wa:hover { background: var(--wa-deep); }
body.portal .nav a.on { box-shadow: inset 4px 0 0 var(--accent-2); }
.s-progress__bar i { background: linear-gradient(90deg, var(--indigo), var(--indigo) 70%, var(--accent-2)); }
.s-ring { background: radial-gradient(closest-side, #fff 78%, transparent 79% 100%), conic-gradient(var(--accent-2) calc(var(--p) * 1%), var(--soft) 0); }
.s-timeline li.done::before { background: var(--accent-2); border-color: var(--accent-2); }

/* ---------- photos ---------- */
/* Real people, real offices (spec 2.3): cover-cropped, 16px corners, with a light Indigo wash (10-15%). */
.s-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); isolation: isolate; }
.s-frame::after { content: ''; position: absolute; inset: 0; background: var(--indigo); opacity: .12; mix-blend-mode: multiply; pointer-events: none; }
.s-frame--accent::before { content: ''; position: absolute; left: 0; bottom: 0; width: 38%; height: 8px; background: var(--accent-2); z-index: 2; }

/* Auth pages: a photo behind the Indigo panel. */
.s-auth__side { isolation: isolate; }
.s-auth__photo { position: absolute; inset: 0; z-index: -2; }
.s-auth__photo .s-photo { filter: grayscale(.2); }
.s-auth__side::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(62, 62, 102, .78), rgba(89, 89, 142, .92) 60%); }
.s-auth__side::after { content: ''; position: absolute; left: 56px; bottom: 48px; width: 64px; height: 6px; border-radius: 6px; background: var(--accent-light); }
.s-auth__side li .i { color: var(--accent-light); }
/* Signed in on a phone: the avatar menu already holds My Dashboard, so the button gives way to the menu. */
@media (max-width: 639px) { .s-head__cta .s-user + .btn { display: none; } }
/* Text on the Indigo and night bands: headings white, links light, whatever the light-page defaults say. */
body.site :is(.p-band, .p-trust, .s-auth__side, .s-cta-band, .s-foot) :is(h1, h2, h3, h4) { color: #fff; }
body.site :is(.p-band, .p-trust, .s-auth__side, .s-cta-band) a:not(.btn) { color: #fff; }
body.site .p-svc--feature h3 { color: #fff; }
body.site .p-bundle h3 { color: #fff; }
/* Keep the last footer line clear of the floating WhatsApp button; newsletter fields on one row when they fit. */
.s-foot__legal { padding-right: 84px; }
body.site .s-news__row input { flex: 1 1 160px; }
body.site .s-news__row select { flex: 0 1 160px; }
@media (max-width: 639px) { .s-foot__legal { padding-right: 0; padding-bottom: 72px; } }

/* ---------- colour touches ---------- */
/* Icon tiles in a grid take turns: Indigo, teal, amber, coral, leaf. */
:is(.s-grid, .p-svc-grid) > :nth-child(5n+2) .s-ic { background: var(--teal-soft); color: var(--teal); }
:is(.s-grid, .p-svc-grid) > :nth-child(5n+3) .s-ic { background: var(--amber-soft); color: var(--amber); }
:is(.s-grid, .p-svc-grid) > :nth-child(5n+4) .s-ic { background: var(--coral-soft); color: var(--coral); }
:is(.s-grid, .p-svc-grid) > :nth-child(5n+5) .s-ic { background: var(--leaf-soft); color: var(--leaf); }
body.site .p-svc--feature .s-ic { background: rgba(255, 255, 255, .16); color: #fff; }
/* Sign-in pages without the site header (Back Office): the two panels fill the whole screen, form centred. */
.s-bare .s-auth { min-height: 100vh; min-height: 100svh; }
.s-bare .s-auth__main { align-items: center; padding-top: 40px; padding-bottom: 40px; }
.s-bare > .flash { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); width: min(480px, calc(100% - 32px)); margin: 0; z-index: 5; }
/* Services menu in three columns: the tagline People / Growth / Solutions. */
.s-mega--3 { grid-template-columns: repeat(3, 1fr); width: min(940px, 94vw); }
.s-mega--3 .s-mega__group:first-child { background: none; }
.s-mega--3 .s-mega__h { display: flex; align-items: center; gap: 8px; letter-spacing: .2em; color: var(--indigo); }
.s-mega--3 .s-mega__h::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.s-mega__all { grid-column: 1 / -1; justify-self: start; margin: 0 18px 4px; font-size: 15px; }
@media (max-width: 1023px) { .s-mega--3 { grid-template-columns: 1fr; width: 100%; } }
.s-nav__list > li > a { white-space: nowrap; }
/* Portals: card titles at a working size, not page-heading size. */
body.site.portal .card h2 { font-size: 20px; letter-spacing: -.015em; margin: 0 0 12px; }
body.site.portal .section-title { font-size: 20px; }
body.site.portal .chat__log { min-height: 0; }

/* Footer credit (2026-11-22): replaces "Free for job seekers, always." */
.s-foot__by { color: var(--on-dark-3); text-decoration: none; }
.s-foot__by b { color: #fff; font-weight: 600; }
.s-foot__by:hover b, .s-foot__by:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
