/* ============================================================
   Job Board — Template Prototype  ·  MODERN refresh
   Big display type · large soft cards · pill tags · airy canvas
   One light template, re-skinned per vertical by accent + content.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Neutrals */
  --paper:        #F3F4F6;
  --paper-2:      #EAECEF;
  --surface:      #FFFFFF;
  --ink:          #0E1116;
  --ink-2:        #565D67;
  --ink-3:        #79808B;
  --ink-4:        #A6ACB6;
  --line:         #ECEDF1;
  --line-2:       #E2E4EA;
  --line-strong:  #D2D6DE;

  /* Accent (full palette injected on app root via JS; these are blue defaults) */
  --accent:        #1D4ED8;
  --accent-ink:    #18409f;
  --accent-deep:   #122a63;
  --accent-soft:   #e8eefb;
  --accent-soft-2: #f3f6fd;
  --accent-on:     #FFFFFF;

  --success:   #0E9F6E;
  --success-soft: #E3F6EE;
  --warning:   #C2410C;
  --fav:       #F0436A;

  /* Radius — tunable via --r */
  --r: 1;
  --r-xs: calc(6px * var(--r));
  --r-sm: calc(10px * var(--r));
  --r-md: calc(13px * var(--r));
  --r-lg: calc(18px * var(--r));
  --r-xl: calc(24px * var(--r));
  --r-2xl: calc(30px * var(--r));
  --r-pill: 999px;

  /* Spacing density — scaled by --d */
  --d: 1;
  --s1: calc(4px * var(--d));  --s2: calc(8px * var(--d));   --s3: calc(12px * var(--d));
  --s4: calc(16px * var(--d)); --s5: calc(20px * var(--d));  --s6: calc(24px * var(--d));
  --s8: calc(32px * var(--d)); --s10: calc(40px * var(--d)); --s12: calc(48px * var(--d));
  --s16: calc(68px * var(--d)); --s20: calc(88px * var(--d));

  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;

  --shadow-sm: 0 1px 2px rgba(14,17,22,.05), 0 2px 6px rgba(14,17,22,.04);
  --shadow-md: 0 2px 4px rgba(14,17,22,.04), 0 8px 22px rgba(14,17,22,.07);
  --shadow-lg: 0 8px 24px rgba(14,17,22,.08), 0 28px 64px rgba(14,17,22,.14);

  --maxw: 1200px;
}

/* Per-site accent seed (JS injects full palette inline; this is no-JS fallback) */
[data-site="dietitian"]   { --accent: #0B7D61; }
[data-site="electrician"] { --accent: #C2410C; }
[data-site="teaching"]    { --accent: #4338CA; }
[data-site="company"]     { --accent: #1D4ED8; }

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body);
  background: var(--paper); color: var(--ink);
  font-size: 16px; line-height: 1.55; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 700; margin: 0; line-height: 1.04; letter-spacing: -0.025em; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }
/* visible keyboard focus on all interactive elements (outline sits outside, so it shows on accent/dark fills too) */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .chip:focus-visible, .savebtn:focus-visible, .jcard:focus-visible, .jobcard:focus-visible, .site-card:focus-visible, .cat:focus-visible, .guide-card:focus-visible, .faq-q:focus-visible { outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
.tnum { font-variant-numeric: tabular-nums; }
code { font-family: var(--font-body); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--s6); padding-right: var(--s6); }
.section { padding-top: var(--s16); padding-bottom: var(--s16); }
.section-sm { padding-top: var(--s12); padding-bottom: var(--s12); }
@media (max-width: 720px){
  .wrap { padding-left: var(--s4); padding-right: var(--s4); }
  .section, .section-sm { padding-top: var(--s12); padding-bottom: var(--s12); }
}

.eyebrow { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.eyebrow .edot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex: none; }
.eyebrow.muted { color: var(--ink-3); }
.section-head { margin-bottom: var(--s8); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 12px; letter-spacing: -0.03em; }
.section-head .sub { color: var(--ink-2); margin-top: 12px; max-width: 56ch; font-size: 16.5px; }
.sec-top { display:flex; align-items:flex-end; justify-content:space-between; gap: var(--s6); flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: var(--r-md);
  border: 1px solid transparent; background: var(--surface); color: var(--ink);
  transition: transform .14s ease, border-color .16s ease, box-shadow .16s ease;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 8px 22px -8px var(--accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #23282f; box-shadow: 0 8px 22px -10px rgba(14,17,22,.6); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--line-strong); background: var(--paper); }
.btn-soft { background: var(--accent-soft); color: var(--accent-ink); }
.btn-soft:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--accent-soft); }
.btn-lg { font-size: 16px; padding: 16px 28px; border-radius: var(--r-lg); }
.btn-sm { font-size: 13.5px; padding: 9px 15px; }
.btn-pill { border-radius: var(--r-pill); }
.btn-block { width: 100%; }
.btn[disabled]{ opacity:.45; pointer-events:none; }

/* ---------- Chips & pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font-size: 14.5px; font-weight: 600;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 12px -6px var(--accent); }
.chip .c-count { color: var(--ink-4); font-weight: 700; font-size: 13px; }
.chip:hover .c-count { color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.chip.is-active .c-count { color: rgba(255,255,255,.8); }

/* neutral pill tag (modern: light gray) */
.tag {
  display:inline-flex; align-items:center; gap:6px;
  font-size: 13px; font-weight: 600; font-family: var(--font-body);
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--paper-2); color: var(--ink-2); letter-spacing: -0.005em;
}
.tag.accent { background: var(--accent-soft); color: var(--accent-ink); }
.tag.success { background: var(--success-soft); color: var(--success); }
.tag.dot::before { content:""; width:6px; height:6px; border-radius:50%; background: currentColor; display:inline-block; }

/* ---------- Logo / monogram ---------- */
.mono {
  display: inline-grid; place-items: center; flex: none;
  border-radius: var(--r-md); color: #fff;
  font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1; overflow: hidden;
}
.logo-tile { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); display:grid; place-items:center; flex:none; box-shadow: var(--shadow-sm); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); transition: border-color .16s, box-shadow .16s, transform .16s; }
.card-pad { padding: var(--s6); }

/* ===== Modern BIG job card (featured grid + browse results) ===== */
.jcard {
  display: flex; flex-direction: column; gap: var(--s4);
  padding: var(--s6); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm); transition: border-color .16s, box-shadow .16s, transform .16s;
  text-align: left; position: relative; min-height: 220px;
}
.jcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line); }
.jcard-top { display:flex; align-items:flex-start; justify-content:space-between; gap: var(--s3); }
.jcard-co { color: var(--ink-3); font-size: 13.5px; font-weight: 600; }
.jcard-co b { color: var(--ink); font-weight: 700; }
.jcard-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2vw, 25px); letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
.jcard:hover .jcard-title { color: var(--accent-ink); }
.jcard-tags { display:flex; flex-wrap: wrap; gap: 8px; }
.jcard-spacer { flex: 1; }
.jcard-rule { height:1px; background: var(--line); }
.jcard-foot { display:flex; flex-direction:column; gap: 12px; }
.jcard-foot-row { display:flex; align-items:center; justify-content:space-between; gap: var(--s4); }
.jcard-sal { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.jcard-loc { color: var(--ink-3); font-size: 13.5px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.savebtn {
  display:inline-flex; align-items:center; gap:7px; flex:none;
  font-family: var(--font-body); font-weight:600; font-size: 13px; color: var(--ink-2);
  background: var(--paper); border:1px solid var(--line-2); border-radius: var(--r-pill);
  padding: 8px 13px; transition: all .15s;
}
.savebtn:hover { border-color: var(--line-strong); color: var(--ink); }
.savebtn.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.savebtn .ic-on { display:none; }
.savebtn.on .ic-on { display:block; } .savebtn.on .ic-off { display:none; }

/* ===== Modern job ROW (latest, employer roles, related-compact) ===== */
.jobcard {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s5);
  align-items: center; padding: var(--s5) var(--s6);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .16s, box-shadow .16s, transform .16s; text-align: left; width: 100%;
}
.jobcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.jobcard .jc-body { min-width: 0; }
.jobcard .jc-co { color: var(--ink-3); font-size: 13px; font-weight: 600; }
.jobcard .jc-title { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing:-0.02em; color: var(--ink); margin-top: 2px; }
.jobcard:hover .jc-title { color: var(--accent-ink); }
.jobcard .jc-meta { display:flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jobcard .jc-right { display:flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.jc-salary { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing:-0.02em; color: var(--ink); white-space: nowrap; }
.jc-posted { color: var(--ink-4); font-size: 12.5px; }
.jc-meta .m { display:inline-flex; align-items:center; gap:7px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
@media (max-width: 640px){
  .jobcard { grid-template-columns: auto 1fr; }
  .jobcard .jc-right { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Inputs ---------- */
.field { display:flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); font-family: var(--font-body); letter-spacing: -0.01em; }
.input, .select, .textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink); font-weight: 500;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 13px 15px; transition: border-color .15s, box-shadow .15s; line-height: 1.3;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); font-weight: 500; }
.textarea { resize: vertical; min-height: 120px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2379808B' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position: right 15px center; padding-right: 40px; cursor:pointer; }
.input-icon { position: relative; }
.input-icon .ico { position:absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events:none; }
.input-icon .input { padding-left: 44px; }

/* ---------- Header ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.masthead .top-rule { height: 3px; background: var(--accent); }
.nav { display:flex; align-items:center; gap: var(--s5); height: 72px; }
.brand { display:flex; align-items:center; gap: 11px; flex: none; }
.brand .bm { width: 38px; height: 38px; font-size: 15px; border-radius: var(--r-md); }
.brand .bn { font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.brand .bn .dot { color: var(--accent); }
.nav-links { display:flex; align-items:center; gap: 4px; margin-left: var(--s4); }
.nav-links a { padding: 9px 14px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background .15s, color .15s; }
.nav-links a:hover { color: var(--ink); background: var(--paper); }
.nav-links a.active { color: var(--accent-ink); background: var(--accent-soft); }
.nav-right { margin-left: auto; display:flex; align-items:center; gap: var(--s3); }
.aud-switch { display:inline-flex; padding:3px; background:var(--paper-2); border-radius:var(--r-pill); }
.aud-switch .seg { font-size:13px; font-weight:600; padding:7px 13px; border-radius:var(--r-pill); color:var(--ink-3); transition: color .15s, background .15s; }
.aud-switch .seg.active { background:var(--surface); color:var(--ink); box-shadow:var(--shadow-sm); }
.aud-switch a.seg:hover { color:var(--ink); }
.aud-switch .seg.disabled { display:inline-flex; align-items:center; gap:6px; color:var(--ink-4); opacity:.6; cursor:not-allowed; position:relative; }
.aud-switch .seg.disabled .soon-pill { margin-left:2px; }
.aud-switch .seg.disabled:hover { color:var(--ink-4); background:transparent; }
.aud-tip { position:absolute; top:calc(100% + 11px); left:50%; transform:translateX(-50%) translateY(4px); background:var(--ink); color:#fff; font-size:12px; font-weight:600; letter-spacing:-0.004em; padding:8px 12px; border-radius:8px; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .15s ease, transform .15s ease; box-shadow:var(--shadow-md); z-index:60; }
.aud-tip::before { content:""; position:absolute; bottom:100%; left:50%; transform:translateX(-50%); border:5px solid transparent; border-bottom-color:var(--ink); }
.aud-switch .seg.disabled:hover .aud-tip, .aud-switch .seg.disabled:focus .aud-tip, .aud-switch .seg.disabled:focus-visible .aud-tip { opacity:1; transform:translateX(-50%) translateY(0); }
.nav-toggle { display:none; }
@media (max-width: 920px){ .nav-links, .nav-right .hide-sm { display:none; } .nav-toggle { display:inline-flex; } }
@media (max-width: 1080px){ .aud-switch { display:none; } }
.mobile-menu { border-top:1px solid var(--line); background: var(--surface); padding: var(--s3) var(--s4); display:flex; flex-direction:column; gap:3px; }
.mobile-menu a { padding: 12px 13px; border-radius: var(--r-sm); font-weight:600; color: var(--ink-2); }
.mobile-menu a.active { color: var(--accent-ink); background: var(--accent-soft); }

/* ---------- Trust bar ---------- */
.trustbar { border-bottom: 1px solid var(--line); background: var(--surface); }
.trustbar .tb-inner { display:flex; align-items:center; gap: var(--s6); flex-wrap: wrap; padding: var(--s4) 0; }
.tb-stat { display:flex; align-items:center; gap: 10px; }
.tb-stat .n { font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.tb-stat .l { color: var(--ink-3); font-size: 14px; font-weight: 500; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); position: relative; }
.pulse::after { content:""; position:absolute; inset:-4px; border-radius:50%; border:2px solid var(--success); opacity:.5; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0%{ transform: scale(.6); opacity:.6 } 100%{ transform: scale(1.7); opacity:0 } }
.tb-logos { display:flex; align-items:center; gap: var(--s5); margin-left: auto; }
.tb-logos .lg { color: var(--ink-4); font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.tb-divider { width:1px; height: 28px; background: var(--line-2); }
@media (max-width: 780px){ .tb-logos { display:none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content:""; position:absolute; top:-30%; right:-10%; width:60vw; height:120%; z-index:0;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 72%);
  opacity:.8; pointer-events:none;
}
.hero::after {
  content:""; position:absolute; top:-40%; right:-6%; width:520px; height:520px; border-radius:50%; z-index:0;
  border:1.5px solid var(--line-2); box-shadow: 0 0 0 60px rgba(0,0,0,0), inset 0 0 0 60px transparent;
  background:
    radial-gradient(closest-side, transparent 68%, var(--line) 69%, transparent 70%),
    radial-gradient(closest-side, transparent 82%, var(--line) 83%, transparent 84%);
  opacity:.5; pointer-events:none;
}
.hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: var(--s12); align-items: center; position: relative; z-index:1; }
.hero h1 { font-size: clamp(40px, 6vw, 74px); letter-spacing: -0.04em; line-height: 1.0; }
.hero h1 .ac { color: var(--accent); }
.hero .lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); margin-top: var(--s5); max-width: 46ch; line-height: 1.5; }
.hero-cta { display:flex; gap: var(--s3); margin-top: var(--s8); flex-wrap: wrap; }
.hero-sub { display:flex; gap: var(--s8); margin-top: var(--s8); flex-wrap: wrap; }
.hero-sub .hs { display:flex; flex-direction:column; gap: 3px; }
.hero-sub .hs .n { font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.hero-sub .hs .l { color: var(--ink-3); font-size: 13.5px; font-weight: 500; }
@media (max-width: 920px){ .hero-grid { grid-template-columns: 1fr; gap: var(--s8); } .hero::after{ display:none; } }

.hero-art { position: relative; }
.hero-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--shadow-md); }
.hero-card + .hero-card { margin-top: var(--s4); }
.hero-art .ha-float { position:absolute; right: 0; bottom: -20px; background: var(--surface); border:1px solid var(--line); border-radius: var(--r-md); padding: 13px 17px; box-shadow: var(--shadow-lg); display:flex; align-items:center; gap:11px; max-width: calc(100% - 16px); }
@media (max-width: 640px){ .hero-art .ha-float { display:none; } }

/* search hero (generic) */
.searchbar { display:flex; gap: 8px; background: var(--surface); border:1px solid var(--line); border-radius: var(--r-xl); padding: 10px; box-shadow: var(--shadow-md); }
.searchbar .seg { flex: 1; display:flex; align-items:center; gap: 12px; padding: 8px 14px; border-radius: var(--r-lg); transition: background .15s; }
.searchbar .seg:focus-within { background: var(--accent-soft-2); }
.searchbar .seg + .seg { border-left: 1px solid var(--line); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.searchbar .seg .ico { color: var(--ink-3); flex:none; }
.searchbar input { border:none; outline:none; font-family: var(--font-body); font-size: 16px; width: 100%; background: transparent; color: var(--ink); font-weight: 500; }
.searchbar input::placeholder { color: var(--ink-4); }
.searchbar .seg-label { font-size: 11px; font-weight: 700; color: var(--ink-4); text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 720px){
  .searchbar { flex-direction: column; }
  .searchbar .seg + .seg { border-left: none; border-top: 1px solid var(--line); border-radius: var(--r-lg); }
}

/* ---------- Category grid (generic) ---------- */
.cat-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
@media (max-width: 880px){ .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat {
  display:flex; flex-direction:column; gap: 14px; padding: var(--s6);
  background: var(--surface); border:1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm);
  transition: border-color .16s, box-shadow .16s, transform .16s; text-align:left;
}
.cat:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cat .ci { width: 46px; height: 46px; border-radius: var(--r-md); display:grid; place-items:center; background: var(--accent-soft); color: var(--accent-ink); }
.cat:hover .ci { background: var(--accent); color: #fff; }
.cat .cn { font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing:-0.02em; }
.cat .cc { color: var(--ink-3); font-size: 13.5px; font-weight:500; }

/* ---------- Grids ---------- */
.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.grid-2 { display:grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
@media (max-width: 980px){ .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 680px){ .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.col-list { display:flex; flex-direction: column; gap: var(--s3); }
.chip-row { display:flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Email capture band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-2xl); padding: var(--s12); position: relative; overflow:hidden; }
.cta-band .cta-inner { display:grid; grid-template-columns: 1.1fr .9fr; gap: var(--s8); align-items:center; position:relative; }
@media (max-width: 760px){
  .cta-band { padding: var(--s8); }
  .cta-band .cta-inner { grid-template-columns: 1fr !important; gap: var(--s5); }
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.03em; }
.cta-band .sub { color: rgba(255,255,255,.72); margin-top: 12px; max-width: 44ch; }
.cta-band .veil { position:absolute; inset:0; background: radial-gradient(80% 120% at 92% -10%, var(--accent), transparent 55%); opacity:.55; pointer-events:none; }
.cta-band .veil2 { position:absolute; right:-60px; bottom:-120px; width:340px; height:340px; border-radius:50%; border:1.5px solid rgba(255,255,255,.12); pointer-events:none; }
.alert-form { display:flex; gap: 10px; max-width: 460px; }
.alert-form .input { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.20); color:#fff; }
.alert-form .input::placeholder { color: rgba(255,255,255,.55); }
.alert-form .input:focus { border-color:#fff; box-shadow: 0 0 0 4px rgba(255,255,255,.14); }
.alert-form .btn { background:#fff; color: var(--ink); }
.alert-form .btn:hover { background: var(--accent); color:#fff; }
@media (max-width:560px){ .alert-form { flex-direction:column; } }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s8); padding: var(--s16) 0 var(--s10); }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.footer .fc-title { font-family: var(--font-body); font-weight:700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-4); margin-bottom: var(--s4); }
.footer .fc-links { display:flex; flex-direction:column; gap: 12px; }
.footer .fc-links a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.footer .fc-links a:hover { color: var(--accent-ink); }
.footer .f-about { color: var(--ink-3); font-size: 14.5px; margin-top: var(--s4); max-width: 34ch; line-height: 1.55; }
.footer-bottom { border-top:1px solid var(--line); padding: var(--s5) 0; display:flex; align-items:center; justify-content:space-between; gap: var(--s4); flex-wrap:wrap; color: var(--ink-3); font-size: 13.5px; }

/* ---------- Breadcrumb ---------- */
.crumbs { display:flex; align-items:center; gap: 9px; color: var(--ink-3); font-size: 13.5px; font-weight:500; padding: var(--s6) 0 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs .sep { color: var(--ink-4); }

/* ---------- Detail layout ---------- */
.detail-grid { display:grid; grid-template-columns: 1fr 360px; gap: var(--s10); align-items: start; }
@media (max-width: 940px){ .detail-grid { grid-template-columns: 1fr; } }
.salary-grid { display:grid; grid-template-columns: 380px 1fr; gap: var(--s8); align-items: start; }
@media (max-width: 900px){ .salary-grid { grid-template-columns: 1fr; } }
.prose { color: var(--ink-2); line-height: 1.72; font-size: 16.5px; }
.prose h3 { font-size: 21px; margin: var(--s8) 0 var(--s4); color: var(--ink); letter-spacing: -0.025em; }
.prose p { margin-bottom: var(--s4); }
.prose ul { margin: 0 0 var(--s4); padding-left: 0; list-style: none; display:flex; flex-direction:column; gap: 11px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content:""; position:absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 3px; background: var(--accent); }
.sticky-rail { position: sticky; top: 92px; display:flex; flex-direction:column; gap: var(--s4); }

/* ---------- Pricing ---------- */
.price-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); align-items: start; }
@media (max-width: 880px){ .price-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-2xl); padding: var(--s8); display:flex; flex-direction:column; gap: var(--s4); position:relative; box-shadow: var(--shadow-sm); }
.price-card.pop { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); background: linear-gradient(180deg, var(--accent-soft-2), var(--surface) 30%); }
.price-card .pc-badge { position:absolute; top: -14px; left: 50%; transform: translateX(-50%); }
.price-card .pc-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing:-0.02em; }
.price-card .pc-price { font-family: var(--font-head); font-weight:800; font-size: 46px; letter-spacing:-0.04em; }
.price-card .pc-price .per { font-size: 15px; font-weight:500; color: var(--ink-3); }
.price-feats { display:flex; flex-direction:column; gap: 12px; margin-top: var(--s2); }
.price-feats .pf { display:flex; gap: 11px; align-items:flex-start; font-size: 14.5px; color: var(--ink-2); font-weight:500; }
.price-feats .pf .ck { color: var(--accent); flex:none; margin-top: 1px; }
.price-feats .pf.off { color: var(--ink-4); }
.price-feats .pf.off .ck { color: var(--ink-4); }

/* ---------- Salary tool ---------- */
.salary-result { background: var(--ink); color:#fff; border-radius: var(--r-2xl); padding: var(--s10); text-align:center; position:relative; overflow:hidden; }
.salary-result .veil { position:absolute; inset:0; background: radial-gradient(80% 120% at 50% -20%, var(--accent), transparent 58%); opacity:.5; }
.salary-result .sr-amount { font-family: var(--font-head); font-weight:800; font-size: clamp(44px,6vw,68px); letter-spacing:-0.04em; }
.salary-result .sr-range { color: rgba(255,255,255,.78); margin-top: 8px; }
.salary-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.16); margin: var(--s5) auto 0; max-width: 460px; position: relative; }
.salary-bar .fill { position:absolute; top:-3px; height: 16px; width: 16px; border-radius: 50%; background:#fff; box-shadow: 0 0 0 5px rgba(255,255,255,.22); }

/* ---------- Empty state ---------- */
.empty { text-align:center; padding: var(--s16) var(--s6); background: var(--surface); border:1px dashed var(--line-2); border-radius: var(--r-2xl); }
.empty .ei { width: 60px; height: 60px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--accent-ink); display:grid; place-items:center; margin: 0 auto var(--s5); }
.empty h3 { font-size: 22px; letter-spacing: -0.025em; }
.empty p { color: var(--ink-2); margin-top: 10px; max-width: 42ch; margin-left:auto; margin-right:auto; }

/* ---------- "Soon" pill + Coming-soon placeholder ---------- */
.soon-pill { display:inline-flex; align-items:center; font-size:10px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:2px 7px; border-radius:var(--r-pill); background:var(--paper-2); color:var(--ink-3); margin-left:8px; line-height:1.4; vertical-align:middle; }
.coming-soon { max-width:560px; margin:0 auto; text-align:center; padding: var(--s12) 0; display:flex; flex-direction:column; align-items:center; }
.coming-soon .cs-icon { width:74px; height:74px; border-radius:50%; background:var(--accent-soft); color:var(--accent-ink); display:grid; place-items:center; margin-bottom: var(--s5); }
.coming-soon .cs-kicker { font-family:var(--font-body); font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--accent-ink); display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
.coming-soon h1 { font-size: clamp(28px,3.6vw,40px); letter-spacing:-0.03em; margin-top:14px; line-height:1.08; }
.coming-soon .cs-line { color:var(--ink-2); font-size:17px; margin-top:14px; line-height:1.6; max-width:46ch; }
.coming-soon .cs-form { display:flex; gap:10px; width:100%; max-width:420px; margin-top: var(--s8); }
@media (max-width:520px){ .coming-soon .cs-form { flex-direction:column; } }
.coming-soon .cs-ok { display:flex; align-items:center; gap:10px; color:var(--success); font-weight:600; margin-top: var(--s8); }
.coming-soon .cs-back { margin-top: var(--s6); }
.coming-soon .cs-meta { margin-top: var(--s5); color:var(--ink-4); font-size:13px; }
.pager { display:flex; align-items:center; justify-content:center; gap: 7px; margin-top: var(--s10); }
.pager button { min-width: 44px; height: 44px; border-radius: var(--r-md); border:1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-family: var(--font-head); font-weight:700; font-size: 14px; transition: all .15s; }
.pager button:hover:not([disabled]) { border-color: var(--line-strong); color: var(--ink); }
.pager button.active { background: var(--ink); border-color: var(--ink); color:#fff; }
.pager button[disabled]{ opacity:.4; pointer-events:none; }
.pager .nav-arrow { padding: 0 14px; }

/* ---------- Filter sidebar ---------- */
.results-grid { display:grid; grid-template-columns: 272px 1fr; gap: var(--s8); align-items:start; }
.filters-mobile { display:none; }
.filter-panel { display:flex; flex-direction:column; gap: var(--s6); background: var(--surface); border:1px solid var(--line); border-radius: var(--r-xl); padding: var(--s6); box-shadow: var(--shadow-sm); position: sticky; top: 92px; }
@media (max-width: 920px){
  .results-grid { grid-template-columns: 1fr; }
  .filter-panel { position:static; top:auto; display:none; }
  .filter-panel.open { display:flex; }
  .filters-mobile { display:flex; align-items:center; gap:10px; margin-bottom: var(--s4); }
}
.filter-panel .fp-group { display:flex; flex-direction:column; gap: var(--s2); }
.filter-panel .fp-title { font-family: var(--font-body); font-weight:700; font-size: 12.5px; text-transform:uppercase; letter-spacing:.08em; color: var(--ink-4); margin-bottom: 6px; }
.check { display:flex; align-items:center; gap: 11px; font-size: 14.5px; font-weight:500; color: var(--ink-2); cursor:pointer; padding: 5px 0; }
.check input { appearance:none; width:20px; height:20px; border:1.5px solid var(--line-strong); border-radius: 6px; flex:none; transition: all .15s; position:relative; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content:""; position:absolute; inset:0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5l2.5 2.5 4.5-5' stroke='white' stroke-width='1.9' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.check:hover { color: var(--ink); }
.check.is-zero { opacity:.42; pointer-events:none; }
.check.is-zero input { border-color: var(--line-2); background: var(--paper-2); }
.check .cc { margin-left:auto; color: var(--ink-4); font-size: 13px; font-weight:600; }

/* ---------- Prototype index launcher (light, minimal) ---------- */
.launcher { min-height: 100vh; background: var(--paper); }
.launcher-inner { position:relative; max-width: 1040px; margin: 0 auto; width: 100%; padding: clamp(52px,9vh,112px) 24px; }
.launcher .lx-eyebrow { display:inline-flex; align-items:center; gap:9px; font-family: var(--font-body); font-size: 12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: var(--ink-4); }
.launcher .lx-eyebrow .edot { width:6px; height:6px; border-radius:50%; background:var(--ink-4); }
.launcher h1 { font-size: clamp(38px, 5.6vw, 60px); margin-top: 18px; letter-spacing:-0.04em; line-height:1.03; color:var(--ink); }
.launcher .lx-sub { color: var(--ink-2); font-size: 18px; margin-top: 18px; max-width: 58ch; line-height: 1.55; }
.launcher-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: clamp(34px,5vh,54px); }
@media (max-width: 720px){ .launcher-grid { grid-template-columns: 1fr; } }
.site-card { display:flex; flex-direction:column; gap: 18px; padding: 26px; background: var(--surface); border:1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); transition: border-color .16s, box-shadow .16s, transform .16s; text-align:left; }
.site-card:hover { border-color:var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.site-card .sc-top { display:flex; align-items:center; gap: 14px; }
.site-card .sc-id { flex:1; min-width:0; }
.site-card .sc-name { font-family: var(--font-head); font-weight:800; font-size: 21px; letter-spacing:-0.03em; color:var(--ink); line-height:1.12; }
.site-card .sc-domain { color: var(--ink-3); font-size: 13px; font-weight:500; margin-top:4px; }
.site-card .sc-desc { color: var(--ink-2); font-size: 14.5px; line-height:1.55; }
.site-card .sc-prev { display:flex; gap:8px; flex-wrap:wrap; }
.site-card .sc-prev .pchip { font-size:12px; font-weight:600; color:var(--ink-2); background:var(--paper-2); border-radius:999px; padding:6px 12px; white-space:nowrap; }
.site-card .sc-foot { display:flex; align-items:center; justify-content:space-between; margin-top: auto; padding-top: 18px; border-top:1px solid var(--line); }
.site-card .sc-mode { font-size: 12px; font-weight:700; font-family: var(--font-body); padding: 6px 12px; border-radius: var(--r-pill); background:var(--paper-2); color:var(--ink-2); }
.site-card .sc-go { display:inline-flex; align-items:center; gap:7px; font-family: var(--font-body); font-weight:700; font-size: 14px; color:var(--ink); }
.launcher .lx-note { margin-top: 34px; color:var(--ink-3); font-size:13.5px; display:flex; gap:22px; flex-wrap:wrap; align-items:center; }
.launcher .lx-note code { background:var(--paper-2); color:var(--ink-2); padding:3px 9px; border-radius:7px; font-family:var(--font-body); }
.launcher .lx-note .ni { display:inline-flex; align-items:center; gap:8px; }
/* featured launcher card (JobSure live brand) */
.site-card-feat { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-top: clamp(28px,4vh,44px); padding:30px; border-color:var(--accent-soft); background:linear-gradient(120deg, var(--accent-soft-2), var(--surface) 56%); }
.site-card-feat:hover { border-color:var(--accent); }
.site-card-feat .scf-main { display:flex; flex-direction:column; gap:16px; }
.site-card-feat .scf-side { flex:none; }
.scf-badge { display:inline-flex; align-items:center; gap:7px; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-ink); margin-bottom:6px; white-space:nowrap; }
.launcher-sep { display:flex; align-items:center; gap:14px; margin:30px 0 4px; color:var(--ink-4); font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.launcher-sep::before, .launcher-sep::after { content:""; height:1px; background:var(--line-2); flex:1; }
@media (max-width:680px){ .site-card-feat { flex-direction:column; align-items:flex-start; gap:18px; } }

/* ---------- Misc ---------- */
.divider { height:1px; background: var(--line); border:0; margin: 0; }
.bg-surface { background: var(--surface); }
.bg-soft { background: var(--accent-soft-2); }
.center { text-align:center; }
.faq-item { border-bottom:1px solid var(--line); }
.faq-q { display:flex; align-items:center; justify-content:space-between; gap: var(--s4); padding: var(--s5) 0; cursor:pointer; font-family: var(--font-head); font-weight:700; font-size: 18px; letter-spacing:-0.02em; }
.faq-q .fi-ico { color: var(--ink-3); transition: transform .2s; flex:none; }
.faq-item.open .fi-ico { transform: rotate(45deg); color: var(--accent); }
.faq-a { color: var(--ink-2); line-height: 1.7; padding: 0 0 var(--s5); max-width: 70ch; font-size: 15.5px; }

.guide-card { display:flex; flex-direction:column; gap: 12px; padding: var(--s6); background: var(--surface); border:1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); transition: border-color .16s, box-shadow .16s, transform .16s; }
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.guide-card .gc-kicker { font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--accent-ink); font-family: var(--font-body); }
.guide-card .gc-title { font-family: var(--font-head); font-weight:700; font-size: 18px; letter-spacing:-0.02em; }
.guide-card .gc-desc { color: var(--ink-3); font-size: 14.5px; line-height:1.5; }

/* entrance — kept visible/static (no JS-class fighting, capture & print safe) */
.reveal { opacity: 1; transform: none; }

.scroll-x { display:flex; gap: var(--s3); overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.scroll-x::-webkit-scrollbar { height: 6px; }
.scroll-x::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }

.stat-row { display:flex; gap: var(--s10); flex-wrap: wrap; }
.stat-row .st .n { font-family: var(--font-head); font-weight:800; font-size: clamp(30px,4vw,44px); letter-spacing:-0.03em; }
.stat-row .st .l { color: var(--ink-3); font-size: 14px; margin-top: 6px; font-weight:500; }
