:root {
  --brand: #d62828;
  --brand-dark: #b91c1c;
  --surface: #ffffff;
  --surface-soft: #fff6f6;
  --bg: #f8fafc;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Prompt", Arial, sans-serif;
  background: linear-gradient(180deg, #fff5f5 0, var(--bg) 180px);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
}

.help-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.24);
}

.help-brand {
  font-size: 1.15rem;
  font-weight: 700;
}

.help-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.help-nav-links a {
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.help-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

.help-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0 1.25rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.help-hero,
.help-card,
.help-section {
  background: var(--surface);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.help-hero {
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.help-hero h1 {
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.help-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.help-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.help-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.help-grid {
  display: grid;
  gap: 1rem;
}

.help-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.help-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-card,
.help-section {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.help-section h2,
.help-card h2 {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 1.3rem;
}

.help-section h3 {
  margin: 1.25rem 0 0.6rem;
  color: var(--text);
  font-size: 1.05rem;
}

.help-card p,
.help-section p,
.help-section li,
.help-card li {
  color: var(--text);
}

.help-muted {
  color: var(--muted);
}

.help-list,
.help-steps {
  margin: 0;
  padding-left: 1.2rem;
}

.help-list li,
.help-steps li {
  margin-bottom: 0.45rem;
}

.help-note,
.help-warning,
.help-success {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid;
}

.help-note {
  background: #eff6ff;
  border-color: #2563eb;
}

.help-warning {
  background: #fff7ed;
  border-color: #ea580c;
}

.help-success {
  background: #ecfdf5;
  border-color: #16a34a;
}

.help-table-wrap {
  overflow-x: auto;
}

table.help-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.help-table th,
.help-table td {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.help-table th {
  background: var(--surface-soft);
  color: var(--brand-dark);
}

.help-kpi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.help-kpi-item {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: #fafafa;
  border: 1px solid var(--border);
}

.help-kpi-item strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--brand-dark);
}

.help-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 1rem 0 2rem;
}

@media (max-width: 900px) {
  .help-grid.cols-2,
  .help-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .help-nav {
    padding: 0.9rem 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .help-page {
    padding: 1rem;
  }

  .help-hero,
  .help-card,
  .help-section {
    padding: 1.15rem;
    border-radius: 16px;
  }
}
