/* ================================================================
   lavorosvizzera.blog — site.css  v3  (Randstad-style redesign)
   Mobile-first · SSR only · CSP: default-src 'self'; img-src 'self' data:
   No inline styles · System font stack · Navy/blue corporate palette

   §1  Custom properties        §13 Pagination
   §2  Reset & base             §14 Hub page
   §3  Layout                   §15 Guide & Legal
   §4  Site header              §16 Error pages
   §5  Search hero              §17 Gone page
   §6  Trust row                §18 Newsletter confirm
   §7  Category cards           §19 Buttons
   §8  Job card + grid          §20 Chips
   §9  Listing layout           §21 Footer
   §10 Compact filter bar       §22 Utilities
   §11 Job detail (landing)
   §12 Newsletter block
   ================================================================ */

/* ── §1 Custom properties ──────────────────────────────────────── */
:root {
  --navy:        #0f1941;   /* headings, wordmark, salary            */
  --navy-soft:   #1c2a54;
  --blue:        #2175d9;   /* links, primary buttons, accents       */
  --blue-dk:     #1a5fb0;   /* hover / active                        */
  --blue-lt:     #eaf2fc;   /* tinted backgrounds                    */
  --bg:          #ffffff;   /* page background                       */
  --bg-soft:     #f7f8fa;   /* light-gray sections                   */
  --surface:     #ffffff;   /* card / input surface                  */
  --border:      #e3e6ea;   /* card / input borders                  */
  --text:        #1f2733;   /* body text                             */
  --muted:       #5b6572;   /* secondary / meta text                 */
  --subtle:      #8a929e;   /* placeholder / tertiary                */

  --font: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --r-sm:   6px;
  --r:      8px;
  --r-lg:   12px;
  --r-pill: 999px;

  --sh-sm:    0 1px 3px rgba(15,25,65,.08);
  --sh-md:    0 6px 20px rgba(15,25,65,.12);
  --sh-focus: 0 0 0 3px rgba(33,117,217,.30);
}

/* ── §2 Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1 { font-size: 1.75rem; font-weight: 800; line-height: 1.2; color: var(--navy); }
h2 { font-size: 1.3rem;  font-weight: 700; line-height: 1.3; color: var(--navy); }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.4; color: var(--navy); }
p  { margin-bottom: .75rem; }
p:last-child { margin-bottom: 0; }
a  { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dk); text-decoration: underline; }
a:focus-visible { outline: none; box-shadow: var(--sh-focus); border-radius: 3px; }
img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }

/* ── §3 Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 1rem;
}
.main-content { padding-top: 1.5rem; padding-bottom: 3rem; }

/* ── §4 Site header ────────────────────────────────────────────── */
.site-header {
  background: var(--surface);
  padding-block: .75rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark { display: inline-flex; align-items: baseline; line-height: 1; transition: opacity .15s; font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.wordmark:hover { text-decoration: none; opacity: .85; }
.wordmark__name { color: var(--navy); }
.wordmark__tld { color: var(--blue); }
.wordmark-mini { font-size: 1.05rem; }
.site-header nav { display: flex; gap: .125rem; flex-wrap: wrap; }
.site-header nav a {
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
  padding: .375rem .7rem;
  border-radius: var(--r-sm);
  transition: background .15s, color .15s;
}
.site-header nav a:hover { background: var(--bg-soft); color: var(--blue); text-decoration: none; }
.site-header nav a.nav-guide { color: #fff; background: var(--blue); }
.site-header nav a.nav-guide:hover { background: var(--blue-dk); color: #fff; }

/* ── §5 Search hero ────────────────────────────────────────────── */
.search-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  margin: -1.5rem -1rem 2rem;
  padding: 2.5rem 1rem 3rem;
}
.search-hero__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.search-hero h1 {
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  margin-bottom: .5rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

/* Search card: white card with inputs + solid blue button */
.search-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: .75rem;
  text-align: left;
}
.search-card__field { display: block; flex: 1; min-width: 0; }
.search-card__field span { display: block; }
.search-card__label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: .2rem;
  padding-inline: .1rem;
}
.search-card input,
.search-card select {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.search-card select { cursor: pointer; appearance: none; -webkit-appearance: none; }
.search-card input::placeholder { color: var(--subtle); }
.search-card input:focus,
.search-card select:focus { outline: none; border-color: var(--blue); box-shadow: var(--sh-focus); }
.search-card__submit { width: 100%; }
@media (min-width: 680px) {
  .search-card { flex-direction: row; align-items: stretch; }
  .search-card__submit { width: auto; align-self: stretch; }
}
.search-card--inline { box-shadow: var(--sh-sm); margin-bottom: 1.5rem; }

/* Hero segmented search bar: 3 fields flush together with attached button */
.search-card--hero { padding: .5rem; gap: .4rem; }
@media (min-width: 860px) {
  .search-card--hero { align-items: flex-end; gap: 0; padding: .5rem; }
  .search-card--hero .search-card__field {
    padding: .1rem .75rem;
    border-right: 1px solid var(--border);
  }
  .search-card--hero .search-card__field:first-child { padding-left: .5rem; }
  .search-card--hero .search-card__field input,
  .search-card--hero .search-card__field select {
    border: none;
    border-radius: var(--r-sm);
    padding-inline: .35rem;
  }
  .search-card--hero .search-card__field input:focus,
  .search-card--hero .search-card__field select:focus { box-shadow: none; }
  .search-card--hero .search-card__submit { margin-left: .5rem; }
}

/* ── §6 Trust row ──────────────────────────────────────────────── */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem 1.5rem;
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 2rem;
  padding: .8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.trust-row strong { color: var(--navy); }

/* ── Section background alternation (full-bleed soft band) ─────── */
.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
  margin: 2.5rem -1rem;
  padding: 2.25rem 1rem;
}
.section-soft__inner { max-width: 1080px; margin-inline: auto; }

/* ── §7 Category cards ─────────────────────────────────────────── */
.category-grid { margin-block: .25rem 2rem; }
.category-grid.section-soft { margin-block: 2.5rem; }
.category-grid > h2,
.category-grid .section-soft__inner > h2 { margin-bottom: 1rem; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 480px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.card:hover { box-shadow: var(--sh-md); border-color: var(--blue); transform: translateY(-2px); }
.card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem .75rem;
  color: var(--navy);
  gap: .3rem;
}
.card a:hover { text-decoration: none; color: var(--navy); }
.card-name { font-size: .9rem; font-weight: 700; line-height: 1.3; }
.card-count {
  font-size: .75rem;
  color: var(--muted);
  background: var(--bg-soft);
  padding: .1rem .55rem;
  border-radius: var(--r-pill);
}

/* ── §8 Job card (core reusable component) ─────────────────────── */
/* Responsive job-card grid: ~2-3 cols desktop, 1 col mobile. */
.job-cards,
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  align-items: start;
}
.latest-jobs > h2, .similar-jobs > h2 { margin-bottom: 1rem; }
.latest-jobs, .similar-jobs { margin-block: .25rem 2rem; }

.job-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.125rem;
  box-shadow: var(--sh-sm);
  transition: box-shadow .18s, border-color .18s;
}
.job-card:hover { box-shadow: var(--sh-md); border-color: #cdd4dd; }
.job-card__top { margin-bottom: .5rem; min-height: 0; }
.job-card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-bottom: .3rem; }
.job-card__title a { color: var(--navy); }
.job-card__title a:hover { color: var(--blue); text-decoration: none; }
.job-card__meta { font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }
.job-card__dot { margin-inline: .35rem; opacity: .5; }
.job-card__salary { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: .4rem; }
.job-card__period { font-size: .8rem; font-weight: 500; color: var(--muted); }
.job-card__snippet {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: .75rem;
}
.job-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .5rem;
  border-top: 1px solid var(--border);
}
.job-card__date { font-size: .78rem; color: var(--subtle); }
.job-card__cta { font-size: .85rem; font-weight: 700; color: var(--blue); }
.job-card__cta:hover { color: var(--blue-dk); text-decoration: none; }

/* ── §9 Listing layout (full-width grid) ───────────────────────── */
.listing-main { min-width: 0; }
.listing-header { margin-bottom: 1.25rem; }
.listing-header h1 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .625rem;
  font-size: 1.5rem;
}
.count-badge {
  display: inline-block;
  background: var(--blue-lt);
  color: var(--blue-dk);
  font-size: .85rem;
  font-weight: 700;
  padding: .15rem .7rem;
  border-radius: var(--r-pill);
}
.listing-intro { color: var(--muted); font-size: .95rem; margin-top: .5rem; }
.no-results {
  text-align: center;
  padding: 2rem 1.25rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.results-count { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.search-hint { color: var(--muted); font-size: .95rem; margin-top: .25rem; }

/* ── §10 Light filter toolbar (above grid) ─────────────────────── */
/* A quiet, unobtrusive row of pills — no heavy box or sidebar. */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .9rem;
  padding: .25rem 0 .9rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.filter-bar__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem;
}
.filter-bar__group--links { gap: .1rem .75rem; }
.filter-bar__label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--subtle);
  margin-right: .15rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .24rem .68rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  transition: background .12s, color .12s, border-color .12s;
}
.filter-chip:hover { background: var(--blue-lt); color: var(--blue-dk); border-color: #cfe0f6; text-decoration: none; }
.filter-chip.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.filter-chip.is-active:hover { background: var(--blue-dk); color: #fff; border-color: var(--blue-dk); }
.filter-chip__x { font-weight: 700; line-height: 1; opacity: .85; }
/* Cross-links: subtle small text links, not pills */
.filter-link { font-size: .8rem; color: var(--blue); white-space: nowrap; }
.filter-link:hover { color: var(--blue-dk); }
.filter-bar__clear {
  margin-left: auto;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.filter-bar__clear:hover { color: var(--blue-dk); }

/* ── §11 Job detail (landing) ──────────────────────────────────── */
.job-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 760px;
  margin-inline: auto;
}
.job-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}
.wordmark-mini { transition: opacity .15s; }
.wordmark-mini:hover { opacity: .75; text-decoration: none; }
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: var(--blue-lt);
  color: var(--blue-dk);
  font-size: .8rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: var(--r-pill);
}
.job-meta-row { font-size: .9rem; color: var(--muted); margin-bottom: .5rem; }
.job-meta-sep { opacity: .5; }
.job-meta-loc { font-weight: 600; }
.job-title-h1 {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: .875rem;
}
/* Salary block */
.job-salary-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: 1rem;
  padding: .875rem 1rem;
  background: var(--blue-lt);
  border: 1px solid #cfe0f6;
  border-radius: var(--r);
}
.job-salary-block--estimate { background: #fff8ec; border-color: #f4dcae; }
.job-salary-amount, .job-salary-max {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}
.job-salary-block--estimate .job-salary-amount,
.job-salary-block--estimate .job-salary-max { font-size: 1.15rem; color: #8a5a12; }
.job-salary-sep { color: var(--muted); font-size: 1.15rem; }
.job-salary-period { font-size: .875rem; color: var(--muted); align-self: flex-end; }
.job-salary-label { font-size: .8rem; font-weight: 700; color: #8a5a12; width: 100%; }
.job-salary-note { font-size: .8rem; color: var(--muted); }
/* Description snippet */
.job-snippet,
.job-description {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
  margin-block: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* Full description preserves source newlines (Google anti-cloaking match). */
.job-description--full { white-space: pre-line; }
/* Full-width solid blue CTA */
.job-cta { margin-block: 1.25rem .375rem; }
.btn-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--blue);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  padding: .95rem 1.5rem;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn-cta:hover { background: var(--blue-dk); text-decoration: none; color: #fff; transform: translateY(-1px); }
/* CTA loading state: the fresh tracked link is being fetched (Careerjet minted
   with the visitor's real IP). Muted + non-interactive until track.js reveals it. */
.btn-cta--loading {
  background: var(--muted);
  cursor: progress;
  opacity: .75;
  pointer-events: none;
}
.btn-cta--loading:hover { background: var(--muted); transform: none; }
/* CTA error state: no fresh link available → keep it non-clickable. */
.btn-cta--error {
  background: var(--muted);
  cursor: not-allowed;
  opacity: .7;
  pointer-events: none;
}
.btn-cta--error:hover { background: var(--muted); transform: none; }
.job-source-row { font-size: .8rem; color: var(--muted); margin-top: .75rem; }

/* ── §12 Newsletter block ──────────────────────────────────────── */
.newsletter-block {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 2.25rem 1.5rem;
  margin-block: 2rem;
  text-align: center;
}
.newsletter-block > h2 { font-size: 1.3rem; color: #fff; margin-bottom: .5rem; }
.newsletter-block > p { font-size: .95rem; opacity: .85; margin-bottom: 1.25rem; }
.newsletter-block--compact { padding: 1.4rem 1.25rem; margin-block: 1.75rem; max-width: 760px; margin-inline: auto; }
.newsletter-block--compact > h2 { font-size: 1.05rem; }

/* ── Newsletter subscribe page + locations index intro ─────────── */
.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.5; margin-bottom: 1.5rem; }
.newsletter-page { max-width: 620px; margin-inline: auto; padding-block: 1rem 2rem; text-align: center; }
.newsletter-page > h1 { margin-bottom: .75rem; }
.newsletter-form { display: flex; flex-direction: column; gap: .875rem; text-align: left; margin-bottom: 1.25rem; }
.newsletter-form__field { display: flex; flex-direction: column; gap: .35rem; }
.newsletter-form__label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.newsletter-form input, .newsletter-form select {
  font-family: var(--font);
  font-size: 1rem;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--navy);
  width: 100%;
}
.newsletter-form input:focus, .newsletter-form select:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.newsletter-note { font-size: .85rem; color: var(--muted); }

/* ── §19 Buttons ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  padding: .7rem 1.5rem;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--blue-dk); text-decoration: none; color: #fff; transform: translateY(-1px); }
.newsletter-block .btn-primary { background: #fff; color: var(--blue); }
.newsletter-block .btn-primary:hover { background: var(--blue-lt); color: var(--blue-dk); }
.btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: .95rem;
  padding: .6rem 1.35rem;
  border-radius: var(--r);
  border: 1.5px solid rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .15s;
}
.btn-secondary:hover { background: rgba(255,255,255,.22); text-decoration: none; color: #fff; }

/* ── §20 Chips ─────────────────────────────────────────────────── */
.job-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-block: .75rem; }
.chip {
  display: inline-flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: .2rem .7rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.chip--contract { background: var(--blue-lt); border-color: #cfe0f6; color: var(--blue-dk); }
.chip--permesso { background: #eaf7ee; border-color: #bfe3ca; color: #1c7a3d; }
.chip--lang     { background: #fff5e6; border-color: #f4dcae; color: #8a5a12; }

/* ── §13 Pagination ────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-block: 1.75rem .5rem; }
.pagination a {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--surface);
  transition: background .12s, border-color .12s, color .12s;
}
.pagination a:hover { background: var(--blue); color: #fff; border-color: var(--blue); text-decoration: none; }

/* ── §14 Hub page ──────────────────────────────────────────────── */
.hub-section {
  margin-block: 1.5rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.hub-section > h2 { margin-bottom: .875rem; }
.hub-list { display: flex; flex-direction: column; gap: .375rem; }
.hub-list li { font-size: .95rem; }

/* ── §15 Guide & Legal pages ───────────────────────────────────── */
.guide-content, .legal-content { max-width: 760px; margin-inline: auto; }
.guide-header, .legal-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}
.guide-header h1, .legal-header h1 { margin-bottom: .25rem; }
.guide-description { color: var(--muted); font-size: 1.05rem; margin-top: .5rem; }
.guide-body, .legal-body { font-size: .95rem; line-height: 1.7; }
.guide-body h2, .legal-body h2 { font-size: 1.2rem; margin-block: 1.5rem .625rem; }
.guide-body h3, .legal-body h3 { font-size: 1.05rem; margin-block: 1.25rem .5rem; }
.guide-body p, .legal-body p { margin-bottom: .875rem; }
.guide-body ul, .legal-body ul { list-style: disc; margin-left: 1.25rem; margin-bottom: .875rem; }
.guide-footer, .legal-footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: .9rem; }

/* ── §16 Error pages ───────────────────────────────────────────── */
.error-page { text-align: center; padding: 3rem 1rem; max-width: 480px; margin-inline: auto; }
.error-page h1 { font-size: 1.5rem; margin-bottom: .75rem; }
.error-page p { color: var(--muted); margin-bottom: 1.5rem; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.error-actions a:not(.btn-primary) { color: var(--blue); font-size: .95rem; padding: .7rem .5rem; }

/* ── §17 Gone page (410) ───────────────────────────────────────── */
.gone-header {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 1.75rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.gone-title { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: .5rem; }
.gone-subtitle { color: var(--muted); }
.gone-no-similar {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
}

/* ── §18 Newsletter confirm / invalid ──────────────────────────── */
.newsletter-confirm, .newsletter-invalid {
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.newsletter-confirm h1, .newsletter-invalid h1 { margin-bottom: .75rem; }
.newsletter-confirm p, .newsletter-invalid p { color: var(--muted); }
.confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.confirm-actions a:not(.btn-primary) { color: var(--blue); font-size: .95rem; }

/* ── §21 Site footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding-block: 1.75rem 1.25rem;
  margin-top: 3rem;
  font-size: .85rem;
}
.site-footer .container { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 600px) {
  .site-footer .container { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-links a { color: rgba(255,255,255,.65); transition: color .12s; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-copy { color: rgba(255,255,255,.4); font-size: .78rem; }

/* ── §22 Utilities ─────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── §23 Cookie banner ─────────────────────────────────────────── */
/* Fixed informative banner. Shown by default so it degrades gracefully
   with JS disabled; track.js hides it (adds .cookie-banner--hidden) once
   the user has accepted (localStorage flag). CSP-safe: no inline styles. */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: var(--navy);
  color: rgba(255,255,255,.9);
  border-top: 3px solid var(--blue);
  box-shadow: 0 -2px 14px rgba(15,25,65,.25);
  font-size: .85rem;
  padding: .9rem 1rem;
}
.cookie-banner__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-start;
}
@media (min-width: 720px) {
  .cookie-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cookie-banner__text { margin: 0; line-height: 1.45; }
.cookie-banner__text a { color: #cfe0f6; text-decoration: underline; }
.cookie-banner__text a:hover { color: #fff; }
.cookie-banner__actions { display: flex; gap: .75rem; align-items: center; flex-shrink: 0; }
.cookie-banner__accept {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: .5rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-banner__accept:hover { background: var(--blue-dk); }
.cookie-banner__link { color: #cfe0f6; text-decoration: underline; white-space: nowrap; }
.cookie-banner__link:hover { color: #fff; }
.cookie-banner--hidden { display: none; }

/* ── §24 Job-ad legal disclaimer box ───────────────────────────── */
.legal-disclaimer {
  margin-top: 2.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--muted);
}
.legal-disclaimer h2, .legal-disclaimer strong { color: var(--navy); }
.legal-disclaimer h2 { font-size: .95rem; margin: 0 0 .5rem; }
.legal-disclaimer p { margin: 0 0 .6rem; }
.legal-disclaimer p:last-child { margin-bottom: 0; }

/* ── Instagram "link in bio" page (/bio) — mobile-first ───────────── */
.bio-page { background: #0f2744; margin: 0; }
.bio-wrap { max-width: 560px; margin: 0 auto; padding: 24px 16px 48px; }
.bio-header { text-align: center; color: #fff; margin-bottom: 20px; }
.bio-logo { border-radius: 50%; background: #fff; display: block; margin: 0 auto 12px; }
.bio-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 4px; color: #fff; }
.bio-sub { font-size: .9rem; color: #b8cbe0; margin: 0; }
.bio-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bio-card {
  display: block; background: #16335a; border: 1px solid #24406b; border-radius: 14px;
  padding: 16px 18px; text-decoration: none; color: #fff;
  transition: background .12s ease, transform .12s ease;
}
.bio-card:active, .bio-card:hover { background: #1c3d69; transform: translateY(-1px); }
.bio-job-title { display: block; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.bio-salary {
  display: inline-block; margin-top: 8px; font-weight: 700; color: #fff;
  background: #3B82F6; border-radius: 999px; padding: 3px 12px; font-size: .9rem;
}
.bio-chips { display: block; margin-top: 10px; }
.bio-chip {
  display: inline-block; font-size: .78rem; color: #cdddf0; background: #22406e;
  border-radius: 999px; padding: 3px 10px; margin-right: 6px;
}
.bio-empty { color: #b8cbe0; text-align: center; padding: 40px 0; }
.bio-all {
  display: block; text-align: center; margin-top: 24px; color: #b8cbe0;
  font-size: .95rem; text-decoration: none;
}
.bio-all:hover { color: #fff; }

/* ── §23 Lead-magnet funnel (/free) ────────────────────────────── */
.free-hero { max-width: 680px; margin-inline: auto; padding-block: 1rem 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; }
.free-cover { width: 240px; height: auto; border-radius: var(--r); box-shadow: var(--sh-md); border: 1px solid var(--border); }
.free-hero__body { width: 100%; }
.free-headline { font-size: clamp(1.5rem, 6vw, 2.1rem); line-height: 1.15; margin-bottom: .75rem; }
.free-subtitle { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.25rem; }
.free-benefits { text-align: left; max-width: 460px; margin: 0 auto 1.5rem; }
.free-benefit { position: relative; padding: 0 0 .55rem 1.7rem; }
.free-benefit::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: #1c7a3d; }
.free-form { display: flex; flex-direction: column; gap: .75rem; max-width: 420px; margin: 0 auto 1rem; text-align: left; }
.free-form__field { display: flex; flex-direction: column; gap: .3rem; }
.free-form__label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.free-form input { font-family: var(--font); font-size: 1rem; padding: .75rem .85rem; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); color: var(--navy); width: 100%; }
.free-form input:focus { outline: none; border-color: var(--blue); box-shadow: var(--sh-focus); }
.free-error { background: #fdecea; border: 1px solid #f5c2c0; color: #a4262c; border-radius: var(--r); padding: .6rem .85rem; font-size: .9rem; max-width: 420px; margin: 0 auto 1rem; }
.free-note { font-size: .85rem; color: var(--muted); max-width: 460px; margin-inline: auto; }
.free-note--soon { color: #8a5a12; font-weight: 600; }
.free-thanks { max-width: 560px; margin-inline: auto; text-align: center; padding-block: 1.5rem 2.5rem; }
.free-download { max-width: 380px; margin: 1.5rem auto; }
@media (min-width: 680px) {
  .free-hero { flex-direction: row; text-align: left; align-items: flex-start; gap: 2rem; }
  .free-benefits, .free-form, .free-note, .free-error { margin-inline: 0; }
  .free-cover { width: 260px; }
}
