:root {
  --navy: #0b2545; --navy-2: #13315c; --ink: #111827; --muted: #5b6474; --line: #e3e6ec;
  --bg: #ffffff; --soft: #f5f6f9; --gold: #c9a227; --gold-ink: #1d1503; --ok: #13795b; --err: #b42318;
  --radius: 10px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.06);
  --serif: "Source Serif 4", Georgia, serif; --sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); }
img { max-width: 100%; }
a { color: var(--navy-2); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h1 { font: 700 clamp(2rem, 4.6vw, 3.1rem)/1.1 var(--serif); margin: .2em 0 .4em; letter-spacing: -.01em; }
h2 { font: 700 1.5rem/1.25 var(--serif); }
h3 { font-size: 1.1rem; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); }
section { padding: 56px 0; }
section.tight { padding: 32px 0 56px; }
.band { background: var(--soft); }
.center { text-align: center; }
.muted { color: var(--muted); }
.micro { font-size: .82rem; }
.opt { color: var(--muted); font-weight: 400; font-size: .9em; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 1.05rem; letter-spacing: .01em; }
.brand strong { color: var(--gold); }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--gold); color: var(--gold-ink); font: 700 .85rem var(--sans); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: #dbe4f0; text-decoration: none; padding: 8px 10px; border-radius: 6px; font-weight: 500; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.site-nav .btn { color: var(--gold-ink); margin-left: 6px; }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 6px; padding: 6px 12px; font: inherit; }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .site-nav.open { display: flex; }
  .site-nav .btn { margin: 8px 0 0; text-align: center; }
}

/* hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #e6edf6; padding: 56px 0 48px; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.15rem; max-width: 46rem; color: #cfdae8; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--gold); margin: 0; }
.hero-home { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.hero-card div { background: rgba(11,37,69,.6); padding: 22px; }
.hero-card strong { display: block; font: 700 2rem/1 var(--serif); color: #fff; }
.hero-card span { font-size: .9rem; color: #cfdae8; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* buttons */
.btn { display: inline-block; background: var(--navy); color: #fff; border: 1px solid var(--navy); border-radius: 8px; padding: 11px 20px; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--navy-2); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #b38f1d; color: var(--gold-ink); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { background: var(--soft); color: var(--navy); }
.btn-sm { padding: 7px 14px; font-size: .92rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--navy-2); text-decoration: underline; cursor: pointer; font: inherit; }

/* content blocks */
.section-title { margin-top: 0; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.type-tile { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); }
.type-tile:hover { border-color: var(--navy-2); box-shadow: var(--shadow); }
.type-tile strong { color: var(--navy); }
.type-tile span:last-child { color: var(--muted); font-size: .92rem; }
.type-count { font: 700 1.6rem/1 var(--serif); color: var(--gold); }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h2:first-child { margin-top: 0; }
.card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.notice { background: #fff8e6; border: 1px solid #f1d58a; border-radius: 8px; padding: 12px 16px; margin: 0 0 20px; }
.notice.info { background: #eef4fb; border-color: #c9daee; }
.notice p { margin: .3em 0 0; }
.article { max-width: 760px; }
.article h2 { margin-top: 1.8em; }
.table-scroll { overflow-x: auto; }
.data-table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
label { font-weight: 600; font-size: .95rem; }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid #c8cdd6; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
input[type=checkbox] { width: auto; }
textarea { resize: vertical; }
.hint { margin: 0; color: var(--muted); font-size: .85rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.span2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: inline-flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.check.block { display: flex; margin: 12px 0; }
.check input { margin-top: 4px; }
.checks { border: 0; padding: 0; margin: 8px 0 0; }
.checks legend { font-weight: 600; margin-bottom: 8px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 16px; }
.form-error { color: var(--err); font-weight: 600; }
.form-msg { color: var(--ok); font-weight: 600; min-height: 1em; }
.inline-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.inline-form .field { flex: 1 1 240px; margin: 0; }
.stack h2 { margin: 8px 0 12px; }

/* directory */
.filters { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 16px; align-items: end; }
@media (max-width: 760px) { .filters { grid-template-columns: 1fr; gap: 0; } }
.firm-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.firm { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.firm label { display: flex; gap: 12px; padding: 16px; cursor: pointer; font-weight: 400; height: 100%; }
.firm input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.firm-name { font-weight: 600; color: var(--navy); display: block; }
.firm-meta { color: var(--muted); font-size: .9rem; }
.badge { display: inline-block; font-size: .76rem; font-weight: 600; background: #eef2f8; color: var(--navy-2); border-radius: 999px; padding: 2px 10px; margin-top: 6px; }
.firm.on { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); background: #f7f9fd; }
.tray { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,24,40,.08); z-index: 30; }
.tray-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.tray-row p { margin: 0; }
body:has(.tray:not([hidden])) .site-footer { padding-bottom: 90px; }

/* wizard */
.wizard-steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: s; font-size: .85rem; }
.wizard-steps li { counter-increment: s; border-top: 4px solid var(--line); padding-top: 8px; color: var(--muted); }
.wizard-steps li::before { content: counter(s) ". "; }
.wizard-steps li.on, .wizard-steps li.done { border-color: var(--navy); color: var(--navy); font-weight: 600; }
.step { border: 0; padding: 0; margin: 0; }
.step > legend { font: 700 1.4rem var(--serif); color: var(--navy); margin-bottom: 16px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.wizard-nav [data-next], .wizard-nav [type=submit] { margin-left: auto; }
.chosen { padding-left: 1.2em; columns: 2; }
@media (max-width: 640px) { .chosen { columns: 1; } }
.chosen button { margin-left: 6px; }
.results li { margin: 4px 0; }

/* jobs */
.job-list { display: grid; gap: 14px; margin-top: 8px; }
.job { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.job h3 { margin: 0 0 4px; font-size: 1.15rem; }
.job-meta { color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.job details { margin-top: 10px; }
.job summary { cursor: pointer; color: var(--navy-2); font-weight: 600; }
.job-desc { white-space: pre-wrap; margin: 10px 0; }
.job-list.compact .job { padding: 14px 16px; }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }

/* footer */
.site-footer { background: #08192f; color: #b9c6d8; padding: 48px 0 24px; margin-top: 24px; }
.site-footer a { color: #dbe4f0; display: block; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { color: #fff; font: 600 .95rem var(--sans); margin: 0 0 10px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand { margin-top: 0; }
.site-footer .muted { color: #9fb0c6; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* cookie banner (consent.js) */
.cc-banner { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(16,24,40,.18); padding: 18px; }
.consent-title { font: 700 1.05rem var(--sans); margin: 0 0 6px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.consent-btn { font: 600 .95rem var(--sans); padding: 9px 14px; border-radius: 8px; border: 1px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; }
.consent-btn.consent-link { background: #fff; color: var(--navy); }
.consent-row { display: flex; gap: 10px; margin: 8px 0; }
.consent-row label { font-weight: 400; }

.producer { margin-top: 16px; }
.producer .checks .check { margin-right: 20px; }
.site-footer a, .site-footer p { overflow-wrap: anywhere; }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.share-consent { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq p { margin: 10px 0 0; }
.crumbs { font-size: .875rem; margin-bottom: 12px; opacity: .85; }
.crumbs a { color: inherit; }
.job h3 a { color: inherit; text-decoration: none; }
.job h3 a:hover { text-decoration: underline; }
