/* /sample worked examples — page-specific rules.
   Tokens, type and the role-family band component live in
   /assets/evident-shared.css, which every page links FIRST. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

/* NAV */
.topnav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.nav-cta:hover { background: var(--accent-deep); }

/* BANNER */
.banner {
  background: var(--warn-soft);
  border-bottom: 1.5px solid rgba(180,83,9,.2);
  padding: 13px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--warn);
  line-height: 1.5;
}
.banner-bottom {
  border-top: 1.5px solid rgba(180,83,9,.2);
  border-bottom: none;
  margin-top: 0;
}

/* PAGE LAYOUT */
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-head {
  padding: 44px 0 28px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--mint);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.page-head h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 10px;
}
.page-head p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

/* CV CARD */
.cv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  padding: 40px 44px;
  margin-bottom: 32px;
}
@media(max-width:600px) {
  .cv-card { padding: 28px 20px; }
}

.cv-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.cv-title {
  font-size: 15px;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 10px;
}
.cv-contact {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cv-divider {
  border: none;
  border-top: 1.5px solid var(--accent);
  margin: 18px 0;
  opacity: .3;
}

.cv-section { margin-bottom: 22px; }
.cv-section:last-child { margin-bottom: 0; }
.cv-sec-head {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}

.job { margin-bottom: 18px; }
.job:last-child { margin-bottom: 0; }
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.job-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.job-date {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.job-company {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 7px;
}
.job ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.job li {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding: 3px 0 3px 16px;
  position: relative;
}
.job li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.job li.tailored {
  color: var(--ink);
  font-weight: 500;
}
.job li.tailored::before { color: var(--accent-deep); }

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.skill-tag {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 10px;
}

.edu { font-size: 13.5px; color: var(--ink-soft); }
.edu strong { color: var(--ink); }

/* ENGINE PANEL */
.engine-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  padding: 32px 36px;
  margin-bottom: 32px;
}
@media(max-width:600px) {
  .engine-panel { padding: 22px 18px; }
}
.engine-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.engine-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.engine-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-soft);
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}
.engine-icon svg { width: 18px; height: 18px; color: var(--accent-deep); }

/* VERDICT */
.verdict-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: var(--verdict-bg);
  border: 1px solid var(--verdict-border);
  border-radius: 10px;
}
.verdict-chip {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--verdict-ink);
  background: var(--verdict-bg);
  border: 1.5px solid var(--verdict-border);
  border-radius: 999px;
  padding: 4px 12px;
  flex: none;
}
.verdict-score {
  font-size: 20px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  flex: none;
}
.verdict-score .arrow { color: var(--accent-deep); }
.verdict-note {
  font-size: 13px;
  color: var(--ink-soft);
}

/* BEFORE/AFTER */
.ba-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.ba-row {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
}
.ba-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}
.ba-before {
  padding: 11px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
}
.ba-before .ba-label { color: var(--muted); }
.ba-before span.text { text-decoration: line-through; text-decoration-color: var(--muted); }
.ba-after {
  padding: 11px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid rgba(13,148,136,.12);
}
.ba-after .ba-label { color: var(--accent-deeper); }
.ba-after .hl { color: var(--accent-deeper); font-weight: 700; }
.ba-why {
  padding: 7px 14px 9px;
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--surface);
}

/* REFUSED LINE */
.refused-box {
  border: 1.5px solid rgba(185,28,28,.22);
  border-radius: 10px;
  overflow: hidden;
}
.refused-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--error-soft);
  border-bottom: 1px solid rgba(185,28,28,.12);
}
.gate-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--error);
}
.refused-line {
  padding: 11px 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.refused-line s { color: var(--error); text-decoration-color: var(--error); }
.refused-note {
  padding: 7px 14px 10px;
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid rgba(185,28,28,.08);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 44px 24px 48px;
  border-top: 1px solid var(--line-soft);
}
footer p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
}
.cta:hover { background: var(--accent-deep); }
.cta-micro {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.back-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 600;
}
.back-link:hover { text-decoration: underline; }

/* ── Components added for the four-page set (phase 2) ───────────────────────
   Sibling navigation, the role-family list, the decision block and the
   standing-question cards. Same tokens as everything above; no new colours.
   Band chips deliberately share one size and weight — a Stretch is a real
   answer, not a weaker one, and is never dimmed. Teal stays exclusively
   positive, so only STRONG wears it.                                        */

.siblings{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px}
.siblings a{font-size:13.5px;font-weight:600;color:var(--ink-soft);text-decoration:none;
  padding:7px 13px;border:1px solid var(--line);border-radius:999px;background:var(--surface)}
.siblings a:hover{border-color:var(--accent-deep);color:var(--accent-deep)}
.siblings a[aria-current="page"]{background:var(--accent-soft);border-color:var(--accent-soft);color:var(--accent-deeper)}

.fam-list{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:6px 18px 16px}

.req-row{display:flex;align-items:baseline;gap:12px;padding:11px 0;border-top:1px solid var(--line-soft)}
.req-row:first-of-type{border-top:none}
.req-label{flex:1;font-size:14.5px;color:var(--ink)}
.req-freq{font-size:13px;color:var(--muted);white-space:nowrap}
.req-verdict{font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;min-width:74px;text-align:right}
.req-verdict.met{color:var(--accent-deeper)}
.req-verdict.gap{color:var(--warn)}

.decision{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--accent-deep);
  border-radius:10px;padding:20px 22px;margin-bottom:22px}
.decision .d-verdict{font-size:20px;font-weight:800;color:var(--ink);margin-bottom:8px}
.decision .d-why{font-size:15px;color:var(--ink-soft);line-height:1.6;margin:0}
.decision .d-inputs{margin-top:14px;font-size:13.5px;color:var(--muted)}

.qcard{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:20px 22px;margin-bottom:16px}
.qcard h3{font-size:16px;font-weight:800;margin:0 0 4px;color:var(--ink)}
.qcard .q-sub{font-size:13px;color:var(--muted);margin:0 0 14px}
.qcard .q-answer{font-size:14.5px;color:var(--ink-soft);line-height:1.6;margin:0}
.qcard .q-item{padding:10px 0;border-top:1px solid var(--line-soft);font-size:14.5px;color:var(--ink)}
.qcard .q-item span{color:var(--muted);font-size:13px}

.idx-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:8px}
@media(max-width:820px){.idx-cards{grid-template-columns:1fr}}
.idx-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:20px}
.idx-card h3{font-size:16px;font-weight:800;margin:0 0 8px}
.idx-card p{font-size:14px;color:var(--ink-soft);line-height:1.6;margin:0 0 14px}
.idx-card a{font-size:14px;font-weight:700;color:var(--accent-deep);text-decoration:none}
