/* Shared styles for /help/hr and /help/candidate */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand-600: #4f46e5; --brand-700: #4338ca; --brand-50: #eef2ff;
  --fuchsia: #a855f7; --pink: #ec4899;
  --emerald: #10b981; --amber: #f59e0b; --rose: #ef4444; --cyan: #06b6d4;
  --ink-900: #0f172a; --ink-700: #334155; --ink-600: #475569;
  --ink-500: #64748b; --ink-400: #94a3b8; --ink-200: #e2e8f0;
  --ink-100: #f1f5f9; --ink-50: #f8fafc;
}
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink-700); line-height: 1.7;
  background: var(--ink-50);
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }

.breadcrumb {
  background: white; border-bottom: 1px solid var(--ink-200);
  padding: 12px 0;
}
.breadcrumb a {
  color: var(--brand-600); text-decoration: none; font-size: 13px; font-weight: 500;
}
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb-sep { color: var(--ink-400); margin: 0 8px; }
.breadcrumb-here { color: var(--ink-600); font-size: 13px; }

.hero {
  position: relative;
  color: white;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero.hr {
  background: linear-gradient(135deg, #4f46e5 0%, #a855f7 50%, #ec4899 100%);
}
.hero.candidate {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 50%, #06b6d4 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 60%);
}
.hero-content { position: relative; text-align: center; }
.hero-logo {
  width: 76px; height: 76px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.1; margin-bottom: 14px;
}
.hero p {
  font-size: 17px; opacity: 0.95;
  max-width: 580px; margin: 0 auto 24px;
}
.hero-pills {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.hero-pill {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}

main { padding: 48px 0 80px; }

.toc {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.toc-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--brand-700); text-transform: uppercase;
  margin-bottom: 12px;
}
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; padding: 4px 0; font-size: 14px; }
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  display: inline-block; width: 30px;
  color: var(--ink-400); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.toc a { color: var(--ink-700); text-decoration: none; }
.toc a:hover { color: var(--brand-600); }

section.step {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 24px;
}
.step-num {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--brand-600); text-transform: uppercase;
  background: var(--brand-50);
  padding: 3px 9px; border-radius: 5px;
  margin-bottom: 14px;
}
section.step h2 {
  font-size: 24px; font-weight: 700;
  color: var(--ink-900); letter-spacing: -0.02em;
  margin-bottom: 10px;
}
section.step .lead {
  font-size: 16px; color: var(--ink-600);
  margin-bottom: 22px;
}
section.step h3 {
  font-size: 16px; font-weight: 700;
  color: var(--ink-900); margin: 20px 0 8px;
}
section.step p { margin-bottom: 12px; font-size: 14px; }
section.step ul, section.step ol {
  margin: 10px 0 16px 20px; font-size: 14px;
}
section.step li { margin-bottom: 6px; }
section.step strong { color: var(--ink-900); font-weight: 600; }
section.step code {
  background: var(--ink-100);
  padding: 1px 6px; border-radius: 4px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
}

.callout {
  border-left: 3px solid var(--brand-600);
  background: var(--brand-50);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  font-size: 13px;
}
.callout.tip { border-color: var(--emerald); background: #ecfdf5; }
.callout.warn { border-color: var(--amber); background: #fffbeb; }
.callout strong {
  display: block; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 4px;
  color: var(--brand-700);
}
.callout.tip strong { color: var(--emerald); }
.callout.warn strong { color: var(--amber); }

table.data {
  width: 100%; border-collapse: collapse;
  margin: 14px 0; font-size: 13px;
}
table.data th {
  background: var(--ink-50);
  padding: 8px 12px;
  font-weight: 700; text-align: left;
  border-bottom: 1px solid var(--ink-200);
}
table.data td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--ink-100);
}
table.data td:first-child { font-weight: 600; color: var(--ink-900); white-space: nowrap; }

.contact {
  background: linear-gradient(135deg, var(--ink-900), #1e293b);
  color: white;
  border-radius: 18px;
  padding: 36px;
  text-align: center;
  margin-top: 40px;
}
.contact h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.contact p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 16px;
}
.contact-card .label {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 700; margin-bottom: 4px;
}
.contact-card a { color: #c4b5fd; text-decoration: none; font-weight: 600; font-size: 14px; }
.contact-card a:hover { color: #ddd6fe; }

.faq-item {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq-q { font-weight: 600; color: var(--ink-900); margin-bottom: 4px; font-size: 14px; }
.faq-a { font-size: 13px; color: var(--ink-600); }

@media (max-width: 640px) {
  section.step { padding: 22px 18px; }
  .contact { padding: 24px 18px; }
  .hero { padding: 48px 0 64px; }
}
