/* Trending Jobs Pvt Ltd — design system
   Colours are taken only from the company logo:
   --navy  #013157  the "T" and the dot (primary brand colour)
   --steel #97B7CE  the light highlight in the logo's gradient
   --ink   #0B0D10  the "J" (logo black)
   Everything else is a tint or shade of these three.
*/
:root {
  color-scheme: light;
  --navy-900: #01213C;
  --navy-700: #013157;
  --navy-600: #0C3D66;
  --navy-500: #1D5285;
  --steel-300: #97B7CE;
  --steel-200: #C4D6E4;
  --steel-100: #E3ECF3;
  --steel-50:  #F1F5F9;
  --ink: #0B0D10;
  --ink-700: #2A323B;
  --ink-500: #505B66;
  --ink-300: #B4BEC8;
  --ink-200: #D5DCE3;

  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: var(--steel-50);
  --text: var(--ink);
  --text-muted: var(--ink-500);
  --border: var(--ink-200);
  --primary: var(--navy-700);
  --primary-hover: var(--navy-900);
  --on-primary: #FFFFFF;
  --link: var(--navy-500);
  --accent: var(--steel-300);
  --accent-hover: var(--steel-200);
  --accent-soft: var(--steel-100);
  --cta: linear-gradient(135deg, var(--navy-500) 0%, var(--navy-700) 55%, var(--navy-900) 100%);
  --cta-solid: var(--navy-700);
  --on-cta: #FFFFFF;
  --band: var(--navy-900);
  --on-band: #EEF3F8;
  --on-band-muted: #A7BDD0;
  --focus: #2F7FD1;
  --ph-bg: #FFF4C2;
  --ph-border: #C99A00;
  --ph-text: #5A4300;
  --danger: #B42318;
  --success: #067647;
  --shadow: 0 1px 2px rgba(1,33,60,.06), 0 8px 24px rgba(1,33,60,.08);

  --font-display: "Familjen Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.4rem, 1.2rem + .8vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
  --fs-3xl: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #0A1119; --surface: #111B26; --surface-2: #162432;
  --text: #E8EEF4; --text-muted: #A2B1C0; --border: #253444;
  --primary: #97B7CE; --primary-hover: #BCD2E2; --on-primary: #01213C;
  --link: #9CC0DD; --accent: #97B7CE; --accent-hover: #BCD2E2; --accent-soft: #1A2B3B;
  --cta: linear-gradient(135deg, #BCD2E2 0%, #97B7CE 100%); --cta-solid: #97B7CE; --on-cta: #01213C;
  --band: #06182A; --on-band: #E8EEF4; --on-band-muted: #9DB2C6;
  --focus: #7DB9FF; --ph-bg: #3D3410; --ph-border: #C9A227; --ph-text: #F5E3A0;
  --danger: #FF8A7A; --success: #5BD39B; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A1119; --surface: #111B26; --surface-2: #162432;
  --text: #E8EEF4; --text-muted: #A2B1C0; --border: #253444;
  --primary: #97B7CE; --primary-hover: #BCD2E2; --on-primary: #01213C;
  --link: #9CC0DD; --accent: #97B7CE; --accent-hover: #BCD2E2; --accent-soft: #1A2B3B;
  --cta: linear-gradient(135deg, #BCD2E2 0%, #97B7CE 100%); --cta-solid: #97B7CE; --on-cta: #01213C;
  --band: #06182A; --on-band: #E8EEF4; --on-band-muted: #9DB2C6;
  --focus: #7DB9FF; --ph-bg: #3D3410; --ph-border: #C9A227; --ph-text: #F5E3A0;
  --danger: #FF8A7A; --success: #5BD39B; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-md); line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--fs-3xl); font-weight: 700; }
h2 { font-size: var(--fs-2xl); font-weight: 700; }
h3 { font-size: var(--fs-lg); font-weight: 650; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: var(--s-4); top: -60px; background: var(--surface); color: var(--text); padding: var(--s-2) var(--s-4); z-index: 100; border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--s-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-8); }
.section--tight { padding-block: var(--s-6); }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.section--band { background: var(--band); color: var(--on-band); }
.section--band a { color: var(--on-band); }
.stack { display: flex; flex-direction: column; gap: var(--s-4); }
.stack-lg { display: flex; flex-direction: column; gap: var(--s-6); }
.section-head { display: flex; flex-direction: column; gap: var(--s-3); max-width: 68ch; margin-bottom: var(--s-6); }
.lead { font-size: var(--fs-lg); color: var(--text-muted); max-width: 62ch; }
.section--band .lead { color: var(--on-band-muted); }
.eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--primary); }
.section--band .eyebrow { color: var(--steel-300); }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: var(--s-4); }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--s-5); }
.prose h3 { margin-top: var(--s-3); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: var(--s-2); }
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.split { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } .split--rev { grid-template-columns: .9fr 1.1fr; } }

/* ---------- placeholder marker ---------- */
.ph { background: var(--ph-bg); color: var(--ph-text); border: 1px dashed var(--ph-border); border-radius: 4px; padding: 0 .3em; font-weight: 600; font-size: .95em; white-space: normal; }
.ph-block { background: var(--ph-bg); color: var(--ph-text); border: 1.5px dashed var(--ph-border); border-radius: var(--radius); padding: var(--s-4) var(--s-5); font-size: var(--fs-sm); }
.ph-block strong { display: block; margin-bottom: var(--s-1); }
.draft-banner { background: var(--ph-bg); color: var(--ph-text); font-size: var(--fs-xs); text-align: center; padding: var(--s-2) var(--gutter); border-bottom: 1px dashed var(--ph-border); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: var(--s-4); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: none; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.brand img { width: 37px; height: 40px; flex: none; display: block; }
.brand small { white-space: nowrap; display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); line-height: 1; }
.brand span { line-height: 1.1; }
.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: var(--s-2); background: none; border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-sm); padding: var(--s-2) var(--s-3); font: inherit; font-weight: 600; cursor: pointer; }
.primary-nav { display: none; }
.primary-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); max-height: calc(100vh - 68px); overflow-y: auto; padding: var(--s-3) var(--gutter) var(--s-5); box-shadow: var(--shadow); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-list > li { border-bottom: 1px solid var(--border); }
.nav-link, .nav-trigger { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: var(--s-3) 0; color: var(--text); text-decoration: none; font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; text-align: left; }
.nav-link[aria-current="page"], .nav-trigger.is-current { color: var(--primary); }
.nav-trigger svg { width: 14px; transition: transform .15s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { list-style: none; margin: 0; padding: 0 0 var(--s-3) var(--s-3); display: none; }
.submenu.open { display: block; }
.submenu a { display: block; padding: var(--s-2) 0; color: var(--text-muted); text-decoration: none; font-size: var(--fs-sm); }
.submenu a:hover, .submenu a[aria-current="page"] { color: var(--primary); }
.header-ctas { display: flex; gap: var(--s-2); margin-top: var(--s-4); flex-wrap: wrap; }
@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.open { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; position: static; padding: 0; box-shadow: none; border: 0; background: none; max-height: none; overflow: visible; }
  .nav-list { flex-direction: row; gap: var(--s-1); }
  .nav-list > li { border: 0; position: relative; }
  .nav-link, .nav-trigger { padding: var(--s-2) .6rem; font-size: var(--fs-sm); gap: var(--s-1); border-radius: var(--radius-sm); white-space: nowrap; }
  .header-ctas .btn { white-space: nowrap; }
  .nav-link:hover, .nav-trigger:hover { background: var(--surface-2); }
  .submenu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s-2); }
  .submenu a { padding: var(--s-2) var(--s-3); border-radius: var(--radius-sm); color: var(--text); }
  .submenu a:hover { background: var(--surface-2); }
  .header-ctas { margin-top: 0; flex-wrap: nowrap; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 44px; padding: .6rem 1.15rem; border-radius: var(--radius-sm); border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: var(--fs-sm); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn--accent { background: var(--cta); background-color: var(--cta-solid); color: var(--on-cta); box-shadow: 0 2px 8px rgba(1,49,87,.25); }
.btn--accent:hover { background: var(--primary-hover); color: var(--on-cta); }
.section--band .btn--accent { background: var(--steel-300); color: var(--navy-900); box-shadow: none; }
.section--band .btn--accent:hover { background: var(--steel-200); color: var(--navy-900); }
.btn--ghost { background: transparent; color: var(--primary); border-color: currentColor; }
.btn--ghost:hover { background: var(--surface-2); color: var(--primary-hover); }
.section--band .btn--ghost { color: var(--on-band); }
.section--band .btn--ghost:hover { background: rgba(255,255,255,.08); color: var(--on-band); }
.btn--lg { min-height: 52px; padding: .8rem 1.5rem; font-size: var(--fs-md); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.text-link::after { content: "→"; transition: transform .15s; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- breadcrumbs & page hero ---------- */
.breadcrumbs { font-size: var(--fs-xs); color: var(--text-muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-1); }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--s-1); color: var(--ink-300); }
.breadcrumbs a { color: var(--text-muted); }
.page-hero { padding-block: var(--s-7) var(--s-7); background: var(--surface); border-bottom: 1px solid var(--border); }
.page-hero .stack { max-width: 72ch; }

/* ---------- home hero ---------- */
.hero { padding-block: var(--s-7) var(--s-8); background:
  linear-gradient(105deg, transparent 72%, var(--accent-soft) 72%, var(--accent-soft) 86%, transparent 86%),
  linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { font-size: var(--fs-3xl); }
.hero h1 em { font-style: normal; color: var(--primary); background: linear-gradient(transparent 64%, var(--accent-soft) 64%); }
.hero .lead { margin-top: var(--s-4); }
.hero .btn-row { margin-top: var(--s-6); }
.hero-note { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--text-muted); display: flex; gap: var(--s-2); align-items: flex-start; }
.hero-note svg { flex: none; width: 18px; margin-top: 3px; color: var(--primary); }

/* requisition slip: the hero's signature graphic */
.slip-stack { position: relative; display: grid; gap: var(--s-4); }
.slip { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: var(--s-5); position: relative; }
.slip::before { content: ""; position: absolute; left: 0; right: 0; top: 54px; border-top: 1.5px dashed var(--border); }
.slip-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); height: 30px; margin-bottom: var(--s-5); }
.slip-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); }
.slip-tag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--primary); }
.slip-tag--accent { background: var(--text); color: var(--bg); }
.slip dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-4); margin: 0; }
.slip dt { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.slip dd { margin: 2px 0 0; font-weight: 600; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.slip .blank { display: inline-block; min-width: 5.5em; border-bottom: 1.5px solid var(--ink-300); color: var(--text-muted); font-weight: 500; }
.slip-foot { margin-top: var(--s-4); display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); font-size: var(--fs-xs); color: var(--text-muted); }
.slip--offset { margin-left: 0; }
@media (min-width: 560px) { .slip--offset { margin-left: 12%; margin-top: -8px; } }

/* ---------- path chooser ---------- */
.paths { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); border-radius: var(--radius-lg); text-decoration: none; color: inherit; border: 1.5px solid var(--border); background: var(--surface); transition: border-color .15s, transform .15s; }
.path:hover { border-color: var(--primary); transform: translateY(-2px); color: inherit; }
.path--employer { background: var(--band); color: var(--on-band); border-color: var(--band); }
.path--employer:hover { color: var(--on-band); border-color: var(--steel-300); }
.path--employer p { color: var(--on-band-muted); }
.path h3 { font-size: var(--fs-xl); }
.path p { color: var(--text-muted); }
.path.path--employer p { color: var(--on-band-muted); }
.path.path--employer .eyebrow { color: var(--steel-300); }
.path.path--employer li::before { color: var(--steel-300); }
.path ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--s-1); font-size: var(--fs-sm); }
.path li::before { content: "✓"; color: var(--primary); font-weight: 700; margin-right: .5em; }
.path .text-link { margin-top: auto; color: inherit; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.card--link { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.card--link:hover { border-color: var(--primary); box-shadow: var(--shadow); color: inherit; }
.card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--primary); display: grid; place-items: center; }
.card-icon svg { width: 24px; height: 24px; }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }
.card .text-link { margin-top: auto; font-size: var(--fs-sm); color: var(--link); }
.section--alt .card { background: var(--bg); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); counter-reset: step; }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: var(--s-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: var(--s-2); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--primary); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: var(--fs-md); }
.steps p { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- checklists ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23013157' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat; }
.warnlist li::before { background: var(--ph-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23013157' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v7M12 17.5v.5'/%3E%3C/svg%3E") center/13px no-repeat; }

/* ---------- proof slots ---------- */
.proof { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.proof-item { border-top: 3px solid var(--primary); padding-top: var(--s-3); display: flex; flex-direction: column; gap: var(--s-1); }
.proof-item .ph { font-family: var(--font-display); font-size: var(--fs-lg); align-self: flex-start; }
.proof-item p { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--border); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s-4) var(--s-6) var(--s-4) 0; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: var(--s-2); top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 0 var(--s-5); color: var(--text-muted); max-width: 70ch; display: flex; flex-direction: column; gap: var(--s-3); }

/* ---------- callouts & CTA band ---------- */
.callout { border-radius: var(--radius); padding: var(--s-5); background: var(--surface-2); border: 1px solid var(--border); display: flex; flex-direction: column; gap: var(--s-2); }
.callout--warn { background: var(--surface); border-color: var(--primary); border-width: 1.5px; }
.callout h3 { font-size: var(--fs-md); }
.cta-band .wrap { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.3fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }
.empty-state { text-align: left; padding: var(--s-6); border: 1.5px dashed var(--ink-300); border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(var(--s-4), 3vw, var(--s-6)); }
.form-grid { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: var(--s-1); }
.field label, .field legend { font-weight: 650; font-size: var(--fs-sm); }
.field .req { color: var(--danger); }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1.5px solid var(--ink-300); border-radius: var(--radius-sm); padding: .6rem .75rem; min-height: 46px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: 3px solid color-mix(in srgb, var(--focus) 40%, transparent); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: var(--fs-xs); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-2); align-items: start; font-size: var(--fs-sm); }
.check input { width: 20px; height: 20px; min-height: 0; padding: 0; margin-top: 3px; accent-color: var(--primary); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: var(--s-4); font-size: var(--fs-sm); }
.form-status[data-kind="error"] { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); border: 1px solid var(--danger); }
.form-status[data-kind="success"] { background: color-mix(in srgb, var(--success) 12%, var(--surface)); color: var(--text); border: 1px solid var(--success); }
.form-status[data-kind="demo"] { background: var(--ph-bg); color: var(--ph-text); border: 1.5px dashed var(--ph-border); }
.demo-flag { font-size: var(--fs-xs); background: var(--ph-bg); color: var(--ph-text); border: 1px dashed var(--ph-border); border-radius: var(--radius-sm); padding: var(--s-2) var(--s-3); }

/* ---------- contact blocks ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); }
.contact-list svg { width: 22px; height: 22px; color: var(--primary); margin-top: 2px; }
.contact-list .label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); display: block; }
address { font-style: normal; }

/* ---------- article ---------- */
.article-meta { font-size: var(--fs-sm); color: var(--text-muted); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.sources { font-size: var(--fs-sm); border-top: 1px solid var(--border); padding-top: var(--s-4); }
.toc { font-size: var(--fs-sm); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); }
th, td { text-align: left; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--band); color: var(--on-band); padding-block: var(--s-8) var(--s-5); margin-top: 0; }
.site-footer a { color: var(--on-band); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--on-band); }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.footer-grid h2 { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-300); margin-bottom: var(--s-3); font-family: var(--font-body); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--fs-sm); }
.footer-brand { display: flex; flex-direction: column; gap: var(--s-3); font-size: var(--fs-sm); color: var(--on-band-muted); }
.footer-brand .brand { color: var(--on-band); }
.footer-brand .brand small { white-space: nowrap; color: var(--on-band-muted); }
.footer-safety { margin-top: var(--s-7); padding: var(--s-4) var(--s-5); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); font-size: var(--fs-sm); color: var(--on-band-muted); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; }
.footer-safety strong { color: var(--steel-300); }
.footer-bottom { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; font-size: var(--fs-xs); color: var(--on-band-muted); }
.site-footer .ph { color: var(--ph-text); }

/* ---------- cookie banner (only rendered when analytics is configured) ---------- */
.cookie-banner { position: fixed; left: var(--s-4); right: var(--s-4); bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 560px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); font-size: var(--fs-sm); }

/* ---------- utilities ---------- */
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.mt-4 { margin-top: var(--s-4); } .mt-6 { margin-top: var(--s-6); }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.tag-list li { background: var(--surface-2); color: var(--primary); border-radius: 999px; padding: .25rem .75rem; font-size: var(--fs-sm); font-weight: 600; }
.photo-slot { aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius-lg); border: 1.5px dashed var(--ph-border); background: repeating-linear-gradient(135deg, var(--ph-bg) 0 14px, color-mix(in srgb, var(--ph-bg) 70%, var(--surface)) 14px 28px); color: var(--ph-text); display: grid; place-items: center; text-align: center; padding: var(--s-5); font-size: var(--fs-sm); font-weight: 600; }
@media (max-width: 479px), (min-width: 1200px) and (max-width: 1439px) { .hide-sm { display: none; } }
@media (min-width: 1200px) { .nav-list { gap: 0; } .primary-nav, .primary-nav.open { gap: var(--s-3); } }

/* logo legibility on dark surfaces: the black "J" needs a light tile */
.site-footer .brand img { background: #FFFFFF; border-radius: 8px; padding: 4px; width: 45px; height: 48px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img { background: #FFFFFF; border-radius: 7px; padding: 3px; width: 43px; height: 46px; } }
:root[data-theme="dark"] .brand img { background: #FFFFFF; border-radius: 7px; padding: 3px; width: 43px; height: 46px; }
.brand > span { white-space: nowrap; }
.nav-trigger svg { flex: none; width: 14px; height: 14px; }

/* social icons */
.footer-grid ul.social-list { flex-direction: row; flex-wrap: wrap; gap: var(--s-2); }
.social { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); color: var(--on-band); }
a.social:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* ---------- alignment pass ---------- */
.btn--sm { min-height: 38px; padding: .45rem .9rem; font-size: var(--fs-xs); }
.slip-stack { grid-auto-rows: 1fr; }
.slip { display: flex; flex-direction: column; }
.slip dl { flex: 1; align-content: start; }
.slip-foot { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--border); }
.slip--offset { margin: 0 !important; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero .btn-row .btn--lg { padding-inline: 1.25rem; }
.card--link h3, .grid .card > h3 { min-height: 2.4em; display: flex; align-items: flex-end; }
.grid .card > h3:only-of-type { }
.steps--row li h3 { min-height: 2.4em; }
.grid > * { height: 100%; }
.proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-num { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--primary); line-height: 1.1; }
.proof-item { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: var(--radius); padding: var(--s-4); }
@media (min-width: 900px) { .cta-band .btn-row { flex-wrap: nowrap; } }
.path { height: 100%; }
.grid, .proof { grid-auto-rows: 1fr; }
.cta-band .btn { white-space: nowrap; }
@media (max-width: 480px) { .cta-band .btn { white-space: normal; } }
