/* ─── Jobeezy Programmatic Page Styles (v4) ──────────────────────────────────
 * Styles for the 9,661 programmatic role×city / salary / state-hub /
 * company-ATS / interview-questions pages.
 *
 * Brand rules enforced:
 *   • Sharp edges only — `border-radius: 0` everywhere.
 *   • NO circles, NO gradient fills, NO stock icons.
 *   • Single accent (#D6FF3E / var(--accent)) for emphasis moments only.
 *   • Voltfield dot pattern + hard-edge shadows (4px 4px 0 var(--fg)).
 *   • Tick bullets, mono data chips, skewed accent highlights.
 *   • Mobile-first; everything tested at 360 / 390 / 414 / 768 / 1024.
 *   • Tap targets ≥ 48px. Focus rings visible. Respects reduced-motion.
 * ────────────────────────────────────────────────────────────────────────── */

/* ── Section utilities ───────────────────────────────────────────────── */
.section-alt {
  background:
    linear-gradient(to bottom, transparent 0, transparent 100%),
    radial-gradient(circle at 1px 1px, rgba(10,12,16,0.07) 1px, transparent 0) 0 0 / 8px 8px;
  background-color: #FAFAF6;
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
}
.container-narrow { max-width: 920px; margin-inline: auto; padding-inline: var(--s-6); }
@media (min-width: 900px) { .container-narrow { padding-inline: var(--s-10); } }

.section-lede {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: var(--s-3) 0 var(--s-8);
}

/* ── Mono chip / eyebrow used on hero + sections ─────────────────────── */
.mono-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: var(--fg);
  color: var(--accent);
  border: 1.5px solid var(--fg);
  border-radius: 0;
}

/* ── Data chips row (mono key / value) ───────────────────────────────── */
.data-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin: var(--s-4) 0 var(--s-6);
}
.data-chip {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  padding: 8px 12px;
  background: #fff;
  border: 1.5px solid var(--fg);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--fg);
  font-family: var(--font-mono);
}
.data-chip-k {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.data-chip-v {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  font-feature-settings: "tnum", "lnum";
}
.data-chip--hot {
  background: var(--accent);
  border-color: var(--fg);
}
.data-chip--hot .data-chip-k { color: var(--fg); }

/* ── Hero — job variant (split copy + role mark) ─────────────────────── */
.hero-job-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-job-inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-10); }
}
.hero-job-title {
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: var(--s-3) 0 var(--s-4);
}
.hero-job-lede {
  font-size: clamp(17px, 2vw, 21px);
  max-width: 620px;
  margin-bottom: var(--s-5);
}
.hero-job-mark {
  display: none;
}
@media (min-width: 900px) {
  .hero-job-mark { display: block; justify-self: end; }
  .hero-job-mark .role-mark { width: 120px; height: 180px; }
}
.hero-proof-ticks {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
}
.hero-proof-ticks li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.hero-proof-ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 14px; height: 14px;
  background: var(--fg);
  clip-path: polygon(20% 45%, 0 60%, 38% 100%, 100% 25%, 78% 10%, 38% 70%);
}

/* ── Job cards — sharp, hard-shadow, ATS-badge variant ───────────────── */
.job-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin: var(--s-5) 0 var(--s-6);
}
@media (min-width: 720px) { .job-cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .job-cards-grid { grid-template-columns: 1fr 1fr 1fr; } }

.job-card {
  background: #fff;
  border: 1.5px solid var(--fg);
  border-radius: 0;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
  min-height: 240px;
}
.job-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--fg);
}
.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
}
.job-card-heading { min-width: 0; }
.job-card-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  color: var(--fg);
}
.job-card-company {
  font-size: 14px;
  color: var(--fg-secondary);
  font-weight: 600;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.job-card-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 7px;
  background: var(--fg);
  color: var(--accent);
  border-radius: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.job-card-badge[data-ats="greenhouse"] { background: #2B6A3C; color: #fff; }
.job-card-badge[data-ats="lever"] { background: #5852F2; color: #fff; }
.job-card-badge[data-ats="workday"] { background: #0072CE; color: #fff; }
.job-card-badge[data-ats="ashby"] { background: #2F2A28; color: var(--accent); } /* was #111 — unified to canonical ink (seo-design-consistency) */
.job-card-badge[data-ats="icims"] { background: #B83F13; color: #fff; }

/* Meta list — CSS pseudo-icons instead of repeated inline SVG */
.job-card-meta {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
}
.job-card-meta > div {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  position: relative;
  padding-left: 22px;
}
.job-card-meta dt {
  display: none;
}
.job-card-meta dd {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-mono);
  font-feature-settings: "tnum", "lnum";
}
.job-meta-item--pin::before,
.job-meta-item--wage::before,
.job-meta-item--time::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 14px; height: 14px;
  background: var(--fg);
}
.job-meta-item--pin::before {
  clip-path: polygon(50% 0, 100% 40%, 75% 100%, 25% 100%, 0 40%);
}
.job-meta-item--wage::before {
  clip-path: polygon(20% 0, 80% 0, 80% 30%, 100% 30%, 100% 100%, 0 100%, 0 30%, 20% 30%);
}
.job-meta-item--time::before {
  clip-path: polygon(
    50% 0, 100% 15%, 100% 85%, 50% 100%, 0 85%, 0 15%,
    50% 0, 48% 48%, 75% 55%, 50% 50%, 50% 20%
  );
  background: none;
  border: 1.5px solid var(--fg);
  width: 12px; height: 12px;
  clip-path: none;
  border-radius: 0;
}
.job-meta-item--time::after {
  content: "";
  position: absolute;
  left: 5px; top: 3px;
  width: 2px; height: 4px;
  background: var(--fg);
}

.job-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
}
.job-card-footer .btn-sharp-sm {
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── btn-sharp-sm (size was missing) ─────────────────────────────────── */
.btn-sharp-sm {
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
  min-height: 44px;
}

/* ── Salary band visualization ───────────────────────────────────────── */
.salary-band-viz {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: var(--s-4) 0 var(--s-2);
  border: 1.5px solid var(--fg);
  background: #FBFBF7;
}
.opening-volume-viz {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: var(--s-4) 0;
  border-bottom: 1.5px solid var(--fg);
}

/* ── Role mark ───────────────────────────────────────────────────────── */
.role-mark {
  display: inline-block;
  filter: drop-shadow(4px 4px 0 rgba(10,12,16,0.15));
}

/* ── Career ladder ───────────────────────────────────────────────────── */
.ladder {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 var(--s-5);
  counter-reset: ladder;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ladder-step {
  counter-increment: ladder;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: #fff;
  border: 1.5px solid var(--fg);
  border-bottom: none;
  position: relative;
}
.ladder-step:last-child { border-bottom: 1.5px solid var(--fg); }
.ladder-step::before {
  content: counter(ladder, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
}
.ladder-step-label {
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.ladder-step-yrs {
  display: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (min-width: 720px) {
  .ladder-step { grid-template-columns: 48px 1fr 120px auto; }
  .ladder-step-yrs { display: inline; }
}
.ladder-step-pay {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  padding: 4px 10px;
  background: var(--accent);
  border: 1.5px solid var(--fg);
  font-feature-settings: "tnum", "lnum";
}

/* ── Topic (interview) cards ─────────────────────────────────────────── */
.topic-list {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 var(--s-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 720px) { .topic-list { grid-template-columns: 1fr 1fr; } }
.topic-card {
  background: #fff;
  border: 1.5px solid var(--fg);
  border-left-width: 6px;
  padding: var(--s-5);
}
.topic-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--fg);
  color: var(--accent);
  margin-bottom: var(--s-3);
}
.topic-q {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--fg);
  margin: 0 0 var(--s-3);
  letter-spacing: -0.01em;
}
.topic-g {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0;
}

/* ── FAQ list ────────────────────────────────────────────────────────── */
.faq-list {
  margin: var(--s-4) 0 0;
  padding: 0;
  border-top: 1.5px solid var(--fg);
}
.faq-list dt {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  padding: var(--s-4) 0 var(--s-2);
  position: relative;
  padding-left: 24px;
}
.faq-list dt::before {
  content: "Q";
  position: absolute;
  left: 0; top: var(--s-4);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-muted);
}
.faq-list dd {
  margin: 0;
  padding: 0 0 var(--s-4) 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.faq-list dd::before {
  content: "A";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 1px 5px;
}

/* ── Company list (chips of recurring employers) ─────────────────────── */
.company-list {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
}
.company-chip, .company-list li {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid var(--fg);
  border-radius: 0;
  color: var(--fg);
  position: relative;
}
.company-chip::before, .company-list li::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border: 1.5px solid var(--fg);
  margin-right: 8px;
  vertical-align: 1px;
}

/* ── ATS links ───────────────────────────────────────────────────────── */
.ats-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
  font-family: var(--font-mono);
  font-size: 13px;
  margin: var(--s-4) 0 var(--s-2);
}
.ats-links a {
  padding: 6px 10px;
  border: 1.5px solid var(--fg);
  color: var(--fg);
  background: #fff;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.ats-links a:hover { background: var(--accent); text-decoration: none; }

/* ── Related links (same-state cross-links) ──────────────────────────── */
.related-links {
  font-size: 15px;
  line-height: 1.7;
  margin: var(--s-4) 0;
  color: var(--fg-secondary);
}
.related-links strong { color: var(--fg); font-weight: 700; }
.related-links a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}
.related-links a:hover { background: var(--accent); text-decoration-color: var(--fg); }

/* ── Data source footnote ────────────────────────────────────────────── */
.data-source {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  margin: var(--s-3) 0 0;
  line-height: 1.55;
  padding-left: var(--s-3);
  border-left: 3px solid var(--accent);
}
.data-source a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* ── Section footer note ─────────────────────────────────────────────── */
.section-footer-note { margin-top: var(--s-5); }

/* ── Mobile polish ───────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .hero-job-title { font-size: clamp(32px, 9vw, 48px); }
  .hero-job-lede { font-size: 16px; }
  .hero-int-ctas { flex-wrap: wrap; gap: var(--s-3); }
  .hero-int-ctas .btn-sharp-lg {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
    min-height: 52px;
  }
  .hero-proof-ticks { gap: var(--s-3); }
  .data-chips { gap: var(--s-2); }
  .data-chip { flex: 1 1 calc(50% - var(--s-2)); }
  .job-card { padding: var(--s-4); min-height: 200px; }
  .job-card-title { font-size: 17px; }
  .ladder-step { grid-template-columns: 32px 1fr; padding: var(--s-3) var(--s-4); }
  .ladder-step-pay { grid-column: 2; justify-self: start; margin-top: 4px; }
  .topic-card { padding: var(--s-4); }
  .ats-links a { flex: 1 1 calc(50% - var(--s-2)); justify-content: center; }
  .container { padding-inline: var(--s-4); }
}
@media (max-width: 380px) {
  .hero-job-title { font-size: 32px; line-height: 1.05; }
  .data-chip-v { font-size: 13px; }
}

/* ── Reduced motion ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .job-card { transition: none; }
  .job-card:hover { transform: none; }
}

/* ── Print ──────────────────────────────────────────────────────────── */
@media print {
  .hero-int-ctas, .section-footer-note, .app-cta { display: none; }
  .job-card { break-inside: avoid; box-shadow: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   Interview-question cards (0.12.7 — light-mode typography overhaul)
   Upgrades the SEO interview-questions/* pages from unstyled defaults
   to proper card + type hierarchy. Answers the "less basic" request.
   ══════════════════════════════════════════════════════════════════════ */

.interview-q {
  position: relative;
  padding: 24px 24px 22px;
  margin: 0 0 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--accent-ink);
  box-shadow: 4px 4px 0 var(--accent-ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.interview-q:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--accent-ink);
}

.interview-q-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.interview-q-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 5px 9px;
  border: 1.5px solid var(--accent-ink);
  line-height: 1;
}

.interview-q-type {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1.5px solid var(--accent-ink);
  background: transparent;
  color: var(--accent-ink);
  line-height: 1;
}
.interview-q-type-technical   { background: #E6F2FF; }
.interview-q-type-behavioral  { background: #FAF6EE; }
.interview-q-type-situational { background: #FFF0E8; }

.interview-q-text {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.1vw, 23px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
  margin: 0 0 14px;
}

.interview-q-guidance {
  position: relative;
  padding: 14px 16px 14px 18px;
  background: #FAF8F2;
  border-left: 3px solid var(--accent);
  font-family: var(--font-sans, Inter, system-ui, sans-serif);
}

.interview-q-guidance strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 6px;
  opacity: 0.78;
}

.interview-q-guidance p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--accent-ink);
  margin: 0;
  opacity: 0.90;
}

/* Tighten on mobile */
@media (max-width: 480px) {
  .interview-q { padding: 20px 18px; box-shadow: 3px 3px 0 var(--accent-ink); }
  .interview-q-header { flex-wrap: wrap; gap: 8px; }
  .interview-q-text { font-size: 18px; }
  .interview-q-guidance { padding: 12px 14px 12px 15px; }
  .interview-q-guidance p { font-size: 15px; }
}

/* Section headings on SEO pages (e.g. "Technical (5)", "Behavioral (5)") */
.interview-section-heading,
.qa-section-heading {
  font-family: var(--font-display, var(--font-serif));
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-ink);
  margin: 36px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.interview-section-heading::before,
.qa-section-heading::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--accent);
  border: 1.5px solid var(--accent-ink);
  transform: rotate(45deg);
  flex: 0 0 10px;
  align-self: center;
}
