/* ============== HIREFEED · SHARED STYLES ============== */
:root, [data-theme="dark"] {
  --bg: #0A0908;
  --bg-elev-1: #131110;
  --bg-elev-2: #1C1916;
  --bg-elev-3: #26221E;
  --bone: #FAF7F0;
  --cream: #FAF7F0;
  --bone-dim: #C9C2B5;
  --cream-dim: #C9C2B5;
  --gray: #88827A;
  --gray-2: #5A554E;
  --line: rgba(250, 247, 240, 0.07);
  --line-2: rgba(250, 247, 240, 0.14);
  --line-3: rgba(250, 247, 240, 0.22);
  --sodium: #FF6A00;
  --sodium-dim: #C75300;
  --plasma: #00E5FF;
  --green: #2ECC71;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
}
[data-theme="light"] {
  --bg: #FBFBFC;
  --bg-elev-1: #F4F4F6;
  --bg-elev-2: #EBEBEE;
  --bg-elev-3: #DEDEE2;
  --bone: #0A0908;
  --cream: #0A0908;
  --bone-dim: #3A3A3F;
  --cream-dim: #3A3A3F;
  --gray: #6E6E76;
  --gray-2: #9C9CA3;
  --line: rgba(15, 16, 22, 0.08);
  --line-2: rgba(15, 16, 22, 0.14);
  --line-3: rgba(15, 16, 22, 0.22);
  --sodium: #E55E00;
  --plasma: #00A8C2;
}
html { background: var(--bg); transition: background 0.3s ease; }
body, .nav, .footer { transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
[data-theme="light"] .nav { background: rgba(251, 251, 252, 0.84) !important; border-bottom-color: var(--line); }
[data-theme="light"] .footer-quikhire img { filter: brightness(0) !important; opacity: 0.92; }
[data-theme="light"] .footer-quikhire:hover img { opacity: 1; }
/* HireFeed logo: invert H-bars + frame so the mark stays visible on light theme */
[data-theme="light"] .nav-logo svg rect[fill="#FAF7F0"],
[data-theme="light"] .footer-logo svg rect[fill="#FAF7F0"] { fill: #0A0908 !important; }
[data-theme="light"] .nav-logo svg rect[fill="#0A0908"],
[data-theme="light"] .footer-logo svg rect[fill="#0A0908"] { fill: transparent !important; }
[data-theme="light"] .nav-cta:hover { color: var(--bg) !important; }
[data-theme="light"] .data-table tr:hover td { background: rgba(255,106,0,0.05); }
[data-theme="light"] .card,
[data-theme="light"] .stat-block,
[data-theme="light"] .data-table-wrap,
[data-theme="light"] .roles-toc a,
[data-theme="light"] .related-card,
[data-theme="light"] .rm-item,
[data-theme="light"] .press-card,
[data-theme="light"] .color-swatch,
[data-theme="light"] .role-meta {
  background: rgba(15, 16, 22, 0.022);
}
[data-theme="light"] .data-table thead { background: rgba(15, 16, 22, 0.03); }
[data-theme="light"] .calc-select, [data-theme="light"] .pulse-input, [data-theme="light"] .calc-radio:not(.active) {
  background: rgba(15, 16, 22, 0.04); color: var(--bone);
}
[data-theme="light"] .calc-slider { background: rgba(15, 16, 22, 0.08); }
[data-theme="light"] .quiz-option { background: rgba(15, 16, 22, 0.02); }
[data-theme="light"] .pay-filter-chip:not(.active) { color: var(--bone-dim); }
[data-theme="light"] ::selection { background: var(--sodium); color: var(--bg); }

/* ============== THEME TOGGLE ============== */
.theme-toggle-wrap { display: flex; justify-content: center; padding: 0 28px 28px; margin-top: -8px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; background: rgba(250, 247, 240, 0.04); border: 1px solid var(--line-2); border-radius: 999px; }
[data-theme="light"] .theme-toggle { background: rgba(15, 16, 22, 0.04); }
.theme-toggle button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: transparent; border: none; color: var(--gray); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; border-radius: 999px; transition: all 0.22s ease; }
.theme-toggle button:hover { color: var(--bone); }
.theme-toggle button.active { background: var(--sodium); color: var(--bg); font-weight: 600; }
.theme-toggle svg { width: 14px; height: 14px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Bricolage Grotesque', sans-serif;
  background: var(--bg);
  color: var(--bone);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--sodium); color: var(--bg); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.skip-link { position: absolute; left: -9999px; top: -9999px; }
.skip-link:focus { left: 12px; top: 12px; padding: 10px 16px; background: var(--sodium); color: var(--bg); border-radius: 8px; z-index: 10000; }
:focus-visible { outline: 2px solid var(--sodium); outline-offset: 3px; border-radius: 4px; }

/* ============== SCROLL PROGRESS ============== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--sodium), #FFB76B); z-index: 1000; transition: width 0.05s linear; pointer-events: none; }

/* ============== NAV ============== */
.nav { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; max-width: 1280px; margin: 0 auto; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(10, 9, 8, 0.78); border-bottom: 1px solid var(--line); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--bone); }
.nav-logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--bone-dim); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--bone); }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; background: var(--sodium); color: var(--bg) !important; border-radius: 999px; font-weight: 600; font-size: 13.5px; transition: transform 0.22s var(--easing), box-shadow 0.22s ease; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255, 106, 0, 0.34); color: var(--bg) !important; }
.nav-cta .arrow { transition: transform 0.22s ease; }
.nav-cta:hover .arrow { transform: translateX(3px); }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; color: var(--bone); }
em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--sodium); }
.eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--sodium); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--sodium); }
.page-hero { padding: 96px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 540px; height: 320px; background: radial-gradient(closest-side, rgba(255,106,0,0.10), transparent 72%); filter: blur(20px); pointer-events: none; }
.page-hero-inner { position: relative; max-width: 880px; }
.page-title { font-size: clamp(36px, 5.5vw, 64px); margin-bottom: 18px; }
.page-sub { font-size: clamp(15px, 1.6vw, 18px); color: var(--bone-dim); max-width: 660px; line-height: 1.55; }
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: none; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.022em; margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--bone-dim); max-width: 660px; line-height: 1.55; }

/* ============== BUTTONS ============== */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; background: var(--sodium); color: var(--bg); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 15px; border-radius: 999px; box-shadow: 0 6px 22px rgba(255,106,0,0.32); transition: transform 0.25s var(--easing), box-shadow 0.25s ease; cursor: pointer; border: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,106,0,0.46); }
.btn-primary .arrow { transition: transform 0.22s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; background: transparent; color: var(--bone-dim); border: 1px solid var(--line-2); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500; font-size: 14.5px; border-radius: 999px; transition: color 0.22s ease, border-color 0.22s ease, transform 0.22s ease; cursor: pointer; }
.btn-ghost:hover { color: var(--bone); border-color: rgba(250, 247, 240, 0.3); transform: translateY(-1px); }

/* ============== TABLE ============== */
.data-table-wrap { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: rgba(250,247,240,0.012); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table thead { background: rgba(250,247,240,0.03); }
.data-table th { text-align: left; padding: 14px 18px; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; color: var(--gray); letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); }
.data-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--bone-dim); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,106,0,0.025); color: var(--bone); }
.data-table .pay { color: var(--sodium); font-weight: 600; font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; white-space: nowrap; }
.data-table .role-name { color: var(--bone); font-weight: 500; }
.data-table .platform { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }
@media (max-width: 720px) {
  .data-table-wrap { overflow-x: auto; }
  .data-table { min-width: 640px; }
}

/* ============== CARDS ============== */
.card { padding: 26px 26px 24px; border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(180deg, rgba(250,247,240,0.018), rgba(250,247,240,0.005)); transition: border-color 0.28s ease, transform 0.28s var(--easing), background 0.28s ease; }
.card:hover { border-color: rgba(255,106,0,0.32); transform: translateY(-2px); background: linear-gradient(180deg, rgba(255,106,0,0.03), rgba(255,106,0,0.008)); }
.card h3 { font-size: 19px; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.012em; }
.card p { color: var(--bone-dim); font-size: 14px; line-height: 1.55; }

/* ============== STAT BLOCKS ============== */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-block { padding: 28px 24px; border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(180deg, rgba(250,247,240,0.018), rgba(250,247,240,0.005)); }
.stat-block .stat-num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500; font-size: 38px; letter-spacing: -0.025em; color: var(--bone); margin-bottom: 6px; }
.stat-block .stat-num em { color: var(--sodium); }
.stat-block .stat-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gray); letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 720px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ============== STICKY MOBILE CTA ============== */
.mobile-sticky-cta { display: none; position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(120%); z-index: 100; padding: 14px 26px; background: var(--sodium); color: var(--bg); font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 999px; box-shadow: 0 10px 32px rgba(255,106,0,0.40), 0 2px 8px rgba(0,0,0,0.4); white-space: nowrap; transition: transform 0.42s var(--easing); align-items: center; gap: 8px; }
.mobile-sticky-cta.is-visible { transform: translateX(-50%) translateY(0); }
.mobile-sticky-cta:active { transform: translateX(-50%) translateY(0) scale(0.97); }
@media (max-width: 768px) { .mobile-sticky-cta { display: inline-flex; } body { padding-bottom: 72px; } }

/* ============== FOOTER ============== */
.footer { background: var(--bg-elev-1); border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 64px; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--bone); }
.footer-logo svg { width: 26px; height: 26px; }
.footer-brand p { color: var(--gray); font-size: 13.5px; line-height: 1.55; max-width: 320px; }
.footer-col-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--gray); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--bone-dim); font-size: 14px; transition: color 0.2s ease; display: inline-flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: var(--bone); }
.footer-col .ext { color: var(--gray); font-size: 11px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 30px 28px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--gray); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-bottom strong { color: var(--bone); font-weight: 500; }
.footer-bottom-left { display: flex; flex-direction: column; gap: 14px; }
.footer-attrib { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; line-height: 1.5; font-size: 14px; }
.footer-quikhire { display: inline-flex; align-items: center; transition: opacity 0.2s ease; }
.footer-quikhire img { height: 30px; width: auto; vertical-align: middle; opacity: 0.92; filter: brightness(0) invert(1); transition: opacity 0.2s ease; }
.footer-quikhire:hover img { opacity: 1; }
.footer-joblet { font-size: 14px; }
.footer-link { color: var(--gray); text-decoration: none; border-bottom: 1px dotted var(--line-2); transition: color 0.2s ease, border-color 0.2s ease; }
.footer-link:hover { color: var(--bone); border-bottom-color: rgba(250,247,240,0.4); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-bottom { flex-direction: column; gap: 16px; text-align: center; } .footer-bottom-left { align-items: center; } .footer-attrib { justify-content: center; } }

/* ============== PROSE (for blog posts / report) ============== */
.prose { max-width: 720px; font-size: 17px; line-height: 1.7; color: var(--bone-dim); }
.prose h2 { font-size: 28px; color: var(--bone); margin: 56px 0 18px; letter-spacing: -0.02em; }
.prose h3 { font-size: 21px; color: var(--bone); margin: 36px 0 12px; letter-spacing: -0.012em; }
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--bone); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { padding: 18px 22px; border-left: 3px solid var(--sodium); background: rgba(255,106,0,0.04); margin: 24px 0; font-style: italic; color: var(--bone); }
.prose code { font-family: 'JetBrains Mono', monospace; font-size: 0.92em; padding: 2px 6px; background: rgba(250,247,240,0.06); border-radius: 4px; color: var(--bone); }
.prose a { color: var(--sodium); border-bottom: 1px dotted rgba(255,106,0,0.4); }
.prose a:hover { border-bottom-color: var(--sodium); }
