/* Import Steward — signup app stylesheet.
   Design language matches /docs/website_mockup_v3a.html
   (Source Serif 4 headlines, Inter body, navy + amber, JetBrains Mono accents). */

:root {
  --navy: #1B3A6B;
  --navy-deep: #0F2347;
  --dark: #050818;
  --amber: #FBBF24;
  --amber-deep: #D97706;
  --cyan: #0EA5E9;
  --red: #B91C1C;
  --cream: #F8F5EF;
  --gray-900: #0F172A;
  --gray-700: #334155;
  --gray-500: #64748B;
  --gray-300: #CBD5E1;
  --gray-100: #F1F5F9;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: 48px; margin: 0 0 16px; }
h2 { font-size: 32px; margin: 0 0 12px; }
h3 { font-size: 22px; margin: 0 0 8px; }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

code, .mono { font-family: "JetBrains Mono", monospace; font-size: 0.92em; background: var(--gray-100); padding: 1px 6px; border-radius: 4px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block; font-family: "Inter", sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--amber-deep); margin-bottom: 18px;
}

/* ───── Navigation ───── */
.topnav {
  background: var(--white); border-bottom: 1px solid var(--gray-100);
  padding: 18px 0; position: sticky; top: 0; z-index: 50;
}
.topnav .container { display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Source Serif 4", serif; font-size: 20px; font-weight: 600;
  color: var(--dark);
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--dark); color: var(--amber);
  font-family: "JetBrains Mono", monospace; font-size: 13px; font-weight: 700;
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.link { color: var(--gray-700); font-size: 14px; font-weight: 500; }
/* A submit button styled to look like a nav link — used for logout
   so the action is POST (not CSRF-able) while the visual is unchanged. */
.logout-form { display: inline; margin: 0; padding: 0; }
.link-button {
  background: none; border: none; padding: 0; margin: 0;
  font: inherit; cursor: pointer;
  color: var(--gray-700); font-size: 14px; font-weight: 500;
}
.link-button:hover { color: var(--dark); }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px;
  font-family: "Inter", sans-serif; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.05s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--amber); color: var(--dark); border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: var(--dark); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--gray-900); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--gray-700); }

/* ───── Hero / home ───── */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}
.hero .sub {
  font-size: 19px; color: var(--gray-700); max-width: 640px;
  margin: 12px 0 28px;
}
.dev-note {
  display: inline-block; margin-top: 32px;
  padding: 10px 16px; background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.30); border-radius: 8px;
  font-size: 13px; color: var(--gray-900);
}

/* ───── Auth pages (signup / login / forgot / check-email / callback) ───── */
.auth-section {
  min-height: calc(100vh - 200px);
  padding: 80px 24px 64px;
  display: flex; align-items: flex-start; justify-content: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}
.auth-container {
  max-width: 460px; width: 100%;
  background: var(--white); padding: 48px;
  border: 1px solid var(--gray-100); border-radius: 14px;
  box-shadow: 0 10px 30px -12px rgba(15, 35, 71, 0.08);
}
.auth-container--narrow { max-width: 480px; text-align: center; }
.auth-heading { font-size: 28px; margin-bottom: 12px; color: var(--dark); }
.auth-sub { font-size: 15px; color: var(--gray-700); margin-bottom: 28px; line-height: 1.55; }
.auth-sub--muted { color: var(--gray-500); font-size: 13px; margin-top: 24px; }
.auth-error {
  background: rgba(185, 28, 28, 0.06); border: 1px solid rgba(185, 28, 28, 0.20);
  color: var(--red); padding: 12px 16px; border-radius: 8px;
  font-size: 14px; margin-bottom: 24px;
}
.auth-form { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.auth-label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--gray-900);
}
.auth-label input {
  padding: 12px 14px; font-size: 15px;
  border: 1px solid var(--gray-300); border-radius: 8px;
  font-family: "Inter", sans-serif; background: var(--white);
  transition: border-color 120ms, box-shadow 120ms;
}
.auth-label input:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.10);
}
.auth-hint { font-size: 12px; font-weight: 400; color: var(--gray-500); }
.auth-submit { width: 100%; justify-content: center; padding: 13px 20px; font-size: 15px; }
.auth-alt {
  font-size: 14px; color: var(--gray-700); text-align: center;
  margin-top: 16px; margin-bottom: 0;
}
.auth-alt a { color: var(--navy); font-weight: 500; }

/* ───── Dashboard ───── */
.dash-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  min-height: calc(100vh - 200px);
}
.dash-section h1 { font-size: 36px; margin-bottom: 12px; }
.dash-sub { font-size: 16px; color: var(--gray-700); max-width: 700px; margin: 0 0 40px; line-height: 1.6; }
.dash-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-bottom: 48px;
}
.dash-card {
  background: var(--white); padding: 28px;
  border: 1px solid var(--gray-100); border-radius: 12px;
  box-shadow: 0 6px 20px -8px rgba(15, 35, 71, 0.06);
}
.dash-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--dark); }
.dash-card-sub { font-size: 14px; color: var(--gray-700); margin-bottom: 14px; line-height: 1.5; }
.dash-card-cta {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--amber-deep);
  font-family: "JetBrains Mono", monospace; letter-spacing: 0.04em;
}
.dash-logout { margin-top: 16px; }

/* Make a dashboard card a clickable link */
.dash-card--linked {
  display: block; text-decoration: none; color: inherit;
  transition: transform 100ms, box-shadow 150ms, border-color 100ms;
}
.dash-card--linked:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(15, 35, 71, 0.14);
  border-color: var(--gray-300);
  text-decoration: none;
}
.dash-card-cta--active { color: var(--navy); font-family: "Inter", sans-serif; font-weight: 600; }

/* ───── Page header with actions on the right ───── */
.page-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.page-header h1 { font-size: 32px; margin-bottom: 8px; }
.page-header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.limit-badge {
  font-size: 12px; font-weight: 600; color: var(--gray-700);
  font-family: "JetBrains Mono", monospace; letter-spacing: 0.02em;
  padding: 6px 12px; background: var(--gray-100); border-radius: 6px;
}
.limit-badge--full {
  background: rgba(217, 119, 6, 0.10); color: var(--amber-deep);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

/* ───── Narrow container for forms ───── */
.container--narrow { max-width: 720px; margin: 0 auto; }

/* ───── Flash messages (post-action confirmations) ───── */
.flash {
  margin: 0 0 24px; padding: 12px 18px; border-radius: 8px;
  font-size: 14px; line-height: 1.55;
}
.flash--success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.30);
  color: #047857;
}
.flash--error {
  background: rgba(185, 28, 28, 0.06);
  border: 1px solid rgba(185, 28, 28, 0.25);
  color: var(--red);
}

/* ───── Supplier table ───── */
.supplier-table-wrap {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px -6px rgba(15, 35, 71, 0.06);
  margin-bottom: 32px;
}
.supplier-table { width: 100%; border-collapse: collapse; }
.supplier-table thead {
  background: var(--gray-100); border-bottom: 1px solid var(--gray-300);
}
.supplier-table th {
  text-align: left; padding: 12px 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gray-700);
}
.supplier-table td {
  padding: 16px 18px; border-bottom: 1px solid var(--gray-100);
  font-size: 14px; color: var(--gray-900); vertical-align: top;
}
.supplier-table tbody tr:last-child td { border-bottom: 0; }
.supplier-table tbody tr:hover { background: rgba(248, 245, 239, 0.5); }
.supplier-table strong { font-weight: 600; color: var(--dark); }
.supplier-notes {
  font-size: 12px; color: var(--gray-500); margin-top: 4px; font-style: italic;
}
.muted { color: var(--gray-500); }

.country-pill {
  display: inline-block; padding: 3px 8px;
  background: var(--gray-100); border-radius: 4px;
  font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; color: var(--gray-900);
}

.row-actions { text-align: right; white-space: nowrap; }
.row-action {
  display: inline-block; padding: 4px 10px; margin-left: 4px;
  font-size: 13px; font-weight: 500;
  background: transparent; border: 1px solid transparent; border-radius: 6px;
  color: var(--navy); cursor: pointer; text-decoration: none;
}
.row-action:hover { background: var(--gray-100); text-decoration: none; }
.row-action--danger { color: var(--red); }
.row-action--danger:hover { background: rgba(185, 28, 28, 0.06); }
.inline-form { display: inline; }

/* ───── Empty state ───── */
.empty-state {
  background: var(--white); border: 1px dashed var(--gray-300); border-radius: 12px;
  padding: 56px 32px; text-align: center; margin-bottom: 32px;
}
.empty-state h3 { font-size: 22px; margin-bottom: 8px; color: var(--dark); }
.empty-state p { color: var(--gray-700); margin-bottom: 24px; }

/* ───── Form actions row ───── */
.form-actions {
  display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px;
}
.form-actions .btn { flex: 0 0 auto; }

/* ───── Disabled button (e.g., at-limit Add Supplier) ───── */
.btn-disabled {
  opacity: 0.4; cursor: not-allowed; pointer-events: none;
}

/* ───── Back link ───── */
.back-link { margin-top: 16px; }
.back-link a { color: var(--gray-700); font-size: 14px; }
.back-link a:hover { color: var(--navy); }

/* ───── CSV upload form helpers ───── */
.upload-format-help {
  background: var(--gray-100); padding: 20px 24px;
  border-radius: 10px; margin: 8px 0 16px;
  font-size: 14px; color: var(--gray-700); line-height: 1.55;
}
.upload-format-help p { margin: 0 0 8px; }
.upload-format-help p:last-child { margin-bottom: 0; }
.upload-format-help ul { margin: 8px 0 16px 20px; }
.upload-format-help li { margin-bottom: 4px; }
.upload-format-help code {
  background: var(--white); padding: 1px 6px; border-radius: 4px;
  font-family: "JetBrains Mono", monospace; font-size: 12px;
}
.upload-example {
  background: var(--dark); color: var(--gray-300);
  padding: 12px 16px; border-radius: 8px;
  font-family: "JetBrains Mono", monospace; font-size: 12px;
  overflow-x: auto; margin: 0;
}

/* ───── Upload result summary ───── */
.upload-summary {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px; margin: 24px 0;
}
.upload-stat {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 10px; padding: 18px 16px;
  text-align: center;
}
.upload-stat--success { border-color: rgba(16, 185, 129, 0.40); background: rgba(16, 185, 129, 0.04); }
.upload-stat--warn { border-color: rgba(217, 119, 6, 0.40); background: rgba(217, 119, 6, 0.04); }
.upload-stat-num {
  font-family: "Source Serif 4", serif; font-size: 32px; font-weight: 600;
  color: var(--dark); line-height: 1;
}
.upload-stat--success .upload-stat-num { color: #047857; }
.upload-stat--warn .upload-stat-num { color: var(--amber-deep); }
.upload-stat-label {
  font-size: 12px; color: var(--gray-700); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
}

/* ───── Collapsible details (mapping + row errors) ───── */
.upload-details {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 10px; padding: 16px 20px; margin-bottom: 16px;
  font-size: 14px;
}
.upload-details summary {
  font-weight: 600; color: var(--gray-900); cursor: pointer;
  padding: 4px 0;
}
.upload-details summary:hover { color: var(--navy); }
.upload-details ul { margin: 12px 0 0 20px; color: var(--gray-700); }
.upload-details li { margin-bottom: 4px; line-height: 1.5; }
.row-error-list { font-family: "Inter", sans-serif; max-height: 280px; overflow-y: auto; }
.row-error-list code {
  font-family: "JetBrains Mono", monospace; font-size: 12px;
  background: var(--gray-100); padding: 1px 6px; border-radius: 4px;
}

/* ───── Alerts page — clear banner (no alerts found) ───── */
.alerts-clear-banner {
  display: flex; align-items: flex-start; gap: 24px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.30);
  border-radius: 14px; padding: 28px 32px;
  margin-bottom: 32px;
}
.alerts-clear-icon {
  flex-shrink: 0; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%; color: #047857;
  font-size: 28px; font-weight: 700;
}
.alerts-clear-banner h3 {
  font-size: 22px; margin-bottom: 8px; color: var(--dark);
}
.alerts-clear-banner p {
  color: var(--gray-700); margin: 0 0 8px; line-height: 1.55; font-size: 15px;
}

/* ───── Alert cards (one per alerted supplier) ───── */
.alert-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-left: 4px solid var(--red); border-radius: 10px;
  padding: 24px 28px; margin-bottom: 16px;
  box-shadow: 0 4px 14px -6px rgba(15, 35, 71, 0.06);
}
.alert-card-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 16px; flex-wrap: wrap;
}
.alert-firm-name {
  font-size: 20px; margin-bottom: 6px; color: var(--dark);
}
.alert-firm-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
}

/* Status badges */
.alert-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.alert-badge {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  font-family: "Inter", sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.alert-badge--red    { background: rgba(185, 28, 28, 0.10); color: var(--red); border: 1px solid rgba(185, 28, 28, 0.30); }
.alert-badge--amber  { background: rgba(217, 119, 6, 0.10); color: var(--amber-deep); border: 1px solid rgba(217, 119, 6, 0.30); }
.alert-badge--purple { background: rgba(124, 58, 237, 0.08); color: #6D28D9; border: 1px solid rgba(124, 58, 237, 0.25); }

/* Per-alert-type detail blocks */
.alert-detail-section {
  border-top: 1px solid var(--gray-100); padding-top: 14px; margin-top: 14px;
}
.alert-detail-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gray-700);
  margin: 0 0 10px; font-family: "Inter", sans-serif;
}
.alert-detail-list {
  list-style: none; padding: 0; margin: 0;
}
.alert-detail-list li {
  padding: 7px 0; font-size: 14px; color: var(--gray-900); line-height: 1.5;
  border-bottom: 1px dashed var(--gray-100);
}
.alert-detail-list li:last-child { border-bottom: 0; }
.alert-detail-date {
  display: inline-block; min-width: 92px;
  font-family: "JetBrains Mono", monospace; font-size: 12px;
  color: var(--gray-500); margin-right: 10px;
}
.alert-source-link {
  font-size: 12px; margin-left: 8px;
  font-family: "Inter", sans-serif; font-weight: 500; color: var(--navy);
}

/* Clear-suppliers collapse list */
.clear-supplier-list {
  list-style: none; padding: 0; margin: 12px 0 0;
}
.clear-supplier-list li {
  padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 14px;
}
.clear-supplier-list li:last-child { border-bottom: 0; }

/* ───── Account settings — grouped sections ───── */
.account-section {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 12px; padding: 28px 32px; margin-bottom: 20px;
  box-shadow: 0 4px 14px -6px rgba(15, 35, 71, 0.06);
}
.account-section h3 {
  font-size: 20px; margin-bottom: 8px; color: var(--dark);
  font-family: "Source Serif 4", serif; font-weight: 600;
}
.account-section-sub {
  font-size: 14px; color: var(--gray-700); margin-bottom: 24px; line-height: 1.55;
}
.account-section-sub code {
  background: var(--gray-100); padding: 1px 6px; border-radius: 4px;
  font-family: "JetBrains Mono", monospace; font-size: 12px;
}
.account-form { display: flex; flex-direction: column; gap: 16px; }
.account-form .form-actions { justify-content: flex-start; margin-top: 4px; }

/* Danger zone */
.account-section--danger {
  border-color: rgba(185, 28, 28, 0.25);
  background: rgba(185, 28, 28, 0.02);
}
.account-section--danger h3 { color: var(--red); }
.btn-danger {
  background: var(--red); color: var(--white); border: 1px solid var(--red);
}
.btn-danger:hover { background: #991B1B; border-color: #991B1B; color: var(--white); }

/* ───── Onboarding checklist (shown on empty-roster dashboard) ───── */
.onboarding-checklist {
  list-style: none; padding: 0; margin: 32px 0;
  display: flex; flex-direction: column; gap: 16px;
}
.onb-step {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 14px; padding: 24px 28px;
  display: flex; align-items: flex-start; gap: 20px;
  box-shadow: 0 4px 16px -8px rgba(15, 35, 71, 0.06);
  transition: border-color 200ms, opacity 200ms;
}
.onb-step--complete {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.30);
}
.onb-step--active {
  border-color: var(--amber); border-width: 2px;
  padding: 23px 27px;  /* compensate for thicker border so layout doesn't shift */
  box-shadow: 0 8px 24px -10px rgba(251, 191, 36, 0.30);
}
.onb-step--locked {
  opacity: 0.55;
}
.onb-step-num {
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gray-100); color: var(--gray-700);
  font-family: "Source Serif 4", serif; font-size: 18px; font-weight: 600;
}
.onb-step--complete .onb-step-num {
  background: #047857; color: var(--white);
}
.onb-step--complete .onb-step-num::after {
  content: "✓"; display: inline-block;
}
.onb-step--complete .onb-step-num {
  font-size: 0;  /* hide the number, show the checkmark above */
}
.onb-step--complete .onb-step-num::after {
  font-size: 20px; font-weight: 700;
}
.onb-step--active .onb-step-num {
  background: var(--amber); color: var(--dark);
}
.onb-step-body { flex: 1; }
.onb-step-body h3 {
  font-size: 19px; margin-bottom: 8px; color: var(--dark);
  font-family: "Source Serif 4", serif; font-weight: 600;
}
.onb-step-body p {
  font-size: 14px; color: var(--gray-700); line-height: 1.55;
  margin: 0 0 16px;
}
.onb-step-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.onb-step-status {
  display: inline-block; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gray-700);
}
.onb-step--complete .onb-step-status { color: #047857; }
.onb-step--locked .onb-step-status { color: var(--gray-500); }

/* ───── Help page ───── */
.help-section {
  padding: 56px 0 32px;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream, #FAF8F3) 100%);
  min-height: 80vh;
}
.help-container { max-width: 760px; }
.help-header {
  margin-bottom: 40px; padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-100);
}
.help-header h1 {
  font-family: "Source Serif 4", serif; font-weight: 600;
  font-size: 38px; line-height: 1.15;
  color: var(--dark); margin: 8px 0 14px;
}
.help-sub {
  font-size: 17px; color: var(--gray-700);
  line-height: 1.55; max-width: 640px;
}
.help-toc {
  background: var(--gray-100); border: 1px solid var(--gray-300);
  border-radius: 12px; padding: 22px 28px 18px; margin-bottom: 56px;
}
.help-toc h2 {
  font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-700); margin: 0 0 12px;
}
.help-toc ol {
  margin: 0; padding-left: 22px;
  columns: 2; column-gap: 32px;
}
.help-toc li { font-size: 14px; line-height: 1.9; break-inside: avoid; }
.help-toc a { color: var(--navy); font-weight: 500; }
.help-toc a:hover { color: var(--amber-deep); }
.help-block { margin-bottom: 56px; scroll-margin-top: 80px; }
.help-block h2 {
  font-family: "Source Serif 4", serif; font-weight: 600;
  font-size: 28px; color: var(--dark);
  margin: 0 0 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--amber); display: inline-block;
}
.help-block h3 {
  font-family: "Source Serif 4", serif; font-weight: 600;
  font-size: 19px; color: var(--dark); margin: 28px 0 10px;
}
.help-block p, .help-block li {
  font-size: 15.5px; line-height: 1.65; color: var(--gray-700);
}
.help-block p { margin: 0 0 14px; }
.help-block ol, .help-block ul { margin: 0 0 16px; padding-left: 22px; }
.help-block li { margin-bottom: 6px; }
.help-block code { font-size: 0.9em; }
.help-block strong { color: var(--dark); font-weight: 600; }
.help-block a {
  color: var(--navy); text-decoration: underline;
  text-decoration-color: var(--gray-300); text-underline-offset: 3px;
}
.help-block a:hover {
  color: var(--amber-deep); text-decoration-color: var(--amber-deep);
}
@media (max-width: 600px) {
  .help-toc ol { columns: 1; }
  .help-header h1 { font-size: 30px; }
  .help-block h2 { font-size: 24px; }
}

/* ───── Footer ───── */
footer {
  border-top: 1px solid var(--gray-100); margin-top: 80px;
  padding: 32px 0; color: var(--gray-500); font-size: 13px;
}
