
:root {
  --bg: #f7fafc;
  --card: #ffffff;
  --text: #182230;
  --muted: #5b6878;
  --line: #d8e1ea;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --soft: #e8f5f3;
  --accent: #2563eb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { font-weight: 850; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -.03em; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
main { width: min(1120px, calc(100% - 28px)); margin: 0 auto; padding: 34px 0 56px; }
.hero {
  padding: clamp(34px, 6vw, 72px);
  background: radial-gradient(circle at top left, #dff7ef 0, transparent 35%), linear-gradient(135deg, #ffffff, #eef8f7);
  border: 1px solid var(--line);
  border-radius: 30px;
}
.compact-hero { padding: clamp(28px, 5vw, 54px); }
.eyebrow { margin: 0 0 10px; color: var(--brand-dark); font-weight: 750; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
h1 { margin: 0 0 18px; font-size: clamp(34px, 7vw, 64px); line-height: 1.02; letter-spacing: -.055em; }
h2 { margin: 0 0 14px; font-size: clamp(24px, 4vw, 34px); letter-spacing: -.035em; line-height: 1.12; }
h3 { margin: 0 0 8px; line-height: 1.2; }
.lead { max-width: 760px; font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px;
  color: #fff; background: var(--brand); text-decoration: none; font-weight: 750;
  margin: 8px 8px 0 0;
}
.button.ghost { color: var(--brand-dark); background: #fff; border: 1px solid var(--line); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.metric, .content-card, .article, .job-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, .05);
}
.metric { padding: 18px; }
.metric span, .metric small { display:block; color: var(--muted); }
.metric strong { display:block; font-size: 34px; letter-spacing: -.04em; }
.content-card, .article { padding: clamp(22px, 4vw, 38px); margin: 18px 0; }
.article { max-width: 900px; margin-left: auto; margin-right: auto; }
.browser-heading {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.filters {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  padding: 16px; margin: 18px 0 22px;
  background: #f8fbfd; border: 1px solid var(--line); border-radius: 20px;
}
.filters label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 750; }
.filters input, .filters select {
  width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 13px;
  padding: 9px 11px; background: #fff; color: var(--text); font: inherit;
}
.clear-filters { border: 0; cursor: pointer; align-self: end; min-height: 42px; }
.link-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 22px; }
.pillar-links {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin: 16px 0 20px;
}
.pillar-links a {
  display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fbfd); color: var(--text); text-decoration: none; font-weight: 800;
}
.pillar-grid, .related-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px;
}
.guide-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.guide-grid > div {
  padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
}
.pillar-card, .related-card {
  display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; color: var(--text); text-decoration: none;
}
.pillar-card span, .pillar-card small, .related-card span { color: var(--muted); }
.pillar-card strong, .related-card strong { font-size: 18px; line-height: 1.2; }
.chip-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--text); text-decoration: none; font-weight: 750;
}
.chip-link span { color: var(--brand-dark); background: var(--soft); padding: 1px 7px; border-radius: 999px; }
.job-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.job-grid.expanded { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.job-card { padding: 18px; display: flex; flex-direction: column; }
.job-card[hidden] { display: none; }
.muted { color: var(--muted); margin-top: 0; }
.tags { display:flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.tags span {
  display:inline-flex; padding: 5px 9px; border-radius: 999px;
  background: var(--soft); color: var(--brand-dark); font-size: 12px; font-weight: 750;
}
.tags .tag-offered, .tags .tag-considered { background: #ecfdf5; color: #047857; }
.tags .tag-unavailable { background: #fff1f2; color: #be123c; }
.tags .tag-unclear { background: #fffbeb; color: #92400e; }
.tags .tag-not_mentioned { background: #f1f5f9; color: #475569; }
.tags .tag-nqn { background: #eef2ff; color: #4338ca; }
.tags .tag-closing { background: #fff7ed; color: #c2410c; }
.candidate-note { color: var(--muted); font-size: 14px; margin: 2px 0 10px; }
.tag-guide strong { color: var(--brand-dark); }
dl { display:grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
dt { color: var(--muted); font-size: 12px; }
dd { margin: 0; font-weight: 750; }
.source-link { font-weight: 800; }
.no-results { padding: 20px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); background: #fff; }
.ad-wrap {
  margin: 24px 0;
  min-height: 96px;
  border: 1px dashed #c7d2de;
  background: #fbfdff;
  border-radius: 18px;
  padding: 10px;
}
.ad-wrap > span { display:block; color: var(--muted); font-size: 11px; text-align:center; margin-bottom: 4px; }
.faq details { padding: 14px 0; border-top: 1px solid var(--line); }
.faq summary { cursor:pointer; font-weight: 800; }
.site-footer {
  padding: 32px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}
@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .metrics, .job-grid, .job-grid.expanded, .filters, .pillar-links, .pillar-grid, .related-grid, .guide-grid { grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
}
