/* SkipTheHire Help Center Styles */
/* Warm paper background, orange accent, Space Grotesk + DM Sans */

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

:root {
  --ink: #0a0a0a;
  --paper: #f6f4f0;
  --accent: #e85d26;
  --accent-light: #fff1eb;
  --muted: #6b6560;
  --border: #ddd8d2;
  --card: #ffffff;
  --sidebar-w: 240px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

/* LAYOUT */
.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 32px 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--paper);
}

.main {
  flex: 1;
  padding: 60px 64px 80px;
  max-width: 860px;
}

/* SIDEBAR */
.sidebar-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}

.sidebar-logo span { color: var(--accent); }

.sidebar-section-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 24px;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.sidebar-links a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.sidebar-links a.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}

/* MAIN CONTENT */
.help-header {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 100px;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.intro {
  font-size: 1.05rem;
  color: #2d2926;
  line-height: 1.75;
  max-width: 640px;
}

.intro strong {
  color: var(--ink);
  font-weight: 700;
}

/* RULES */
.rule {
  background: var(--accent-light);
  border: 1px solid rgba(232,93,38,0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.92rem;
  color: #5a3520;
  line-height: 1.6;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rule strong { color: #3d2010; }

.rule-icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }

/* SECTIONS */
.section {
  margin-bottom: 56px;
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--ink);
}

.section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.section p {
  font-size: 0.97rem;
  color: #2d2926;
  line-height: 1.75;
  margin-bottom: 14px;
}

.section ul, .section ol {
  margin: 12px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section li {
  font-size: 0.95rem;
  color: #2d2926;
  line-height: 1.65;
}

/* TABLES */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th {
  text-align: left;
  padding: 10px 16px;
  background: var(--paper);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: #2d2926;
  vertical-align: top;
}

tr:last-child td { border-bottom: none; }

td:first-child { font-weight: 600; color: var(--ink); }

/* PROMPT BOX */
.prompt-box {
  background: var(--ink);
  color: white;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 24px 0;
}

.prompt-box-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.prompt-box pre {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #e5e7eb;
  white-space: pre-wrap;
  word-break: break-word;
}

/* CTA BLOCK */
.cta-block {
  background: var(--ink);
  color: white;
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}

.cta-block-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-block h3 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 12px;
}

.cta-block p {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: #d44e1a;
  transform: translateY(-1px);
}

.cta-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #6b7280;
}

/* SUBTABLES / INFO GRIDS */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  font-size: 0.88rem;
}

.info-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.info-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* INLINE NAV TOGGLES */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.back-link:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .layout { flex-direction: column; }
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
  }
  .main { padding: 40px 24px 60px; }
  .sidebar-links { flex-direction: row; flex-wrap: wrap; gap: 4px; }
}

@media (max-width: 480px) {
  .table-wrap { font-size: 0.82rem; }
  .info-grid { grid-template-columns: 1fr; }
}