:root {
  --bc-help-bg: #f7f8fb;
  --bc-help-panel: #ffffff;
  --bc-help-ink: #172033;
  --bc-help-muted: #5d697a;
  --bc-help-line: #d8dee9;
  --bc-help-accent: #315f72;
  --bc-help-accent-strong: #244b5b;
  --bc-help-soft: #eef6f4;
  --bc-help-warn: #9a3412;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bc-help-bg);
  color: var(--bc-help-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--bc-help-accent-strong);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.help-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--bc-help-line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.help-brand {
  color: var(--bc-help-ink);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.help-brand span {
  color: var(--bc-help-accent);
}

.help-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
  font-size: 0.86rem;
  font-weight: 800;
}

.help-nav a {
  color: var(--bc-help-muted);
  text-decoration: none;
}

.help-nav a:hover,
.help-nav a[aria-current="page"] {
  color: var(--bc-help-ink);
}

.help-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.help-hero {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.help-kicker {
  color: var(--bc-help-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

p {
  margin: 0.45rem 0;
}

.lead {
  max-width: 780px;
  color: var(--bc-help-muted);
  font-size: 1rem;
}

.help-actions,
.help-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--bc-help-accent);
  border-radius: 6px;
  background: var(--bc-help-accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.help-button.secondary {
  background: #fff;
  color: var(--bc-help-accent-strong);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.help-panel {
  background: var(--bc-help-panel);
  border: 1px solid var(--bc-help-line);
  border-radius: 8px;
  padding: 1rem;
}

.help-panel + .help-panel,
.help-section + .help-section {
  margin-top: 1rem;
}

.help-section {
  background: var(--bc-help-panel);
  border: 1px solid var(--bc-help-line);
  border-radius: 8px;
  padding: 1.1rem;
}

.help-list {
  display: grid;
  gap: 0.42rem;
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
}

.help-list li {
  padding-left: 0.1rem;
}

.help-step-list {
  counter-reset: help-step;
  display: grid;
  gap: 0.6rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.help-step-list li {
  counter-increment: help-step;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.help-step-list li::before {
  content: counter(help-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--bc-help-soft);
  color: var(--bc-help-accent-strong);
  font-weight: 900;
}

.help-table-wrap {
  overflow-x: auto;
}

.help-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.help-table th,
.help-table td {
  padding: 0.7rem;
  border-bottom: 1px solid var(--bc-help-line);
  text-align: left;
  vertical-align: top;
}

.help-table th {
  color: var(--bc-help-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.help-note {
  border-left: 4px solid var(--bc-help-accent);
  background: var(--bc-help-soft);
  padding: 0.8rem 0.9rem;
  color: var(--bc-help-ink);
}

.help-warning {
  border-left-color: var(--bc-help-warn);
  background: #fff7ed;
}

.help-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--bc-help-line);
  color: var(--bc-help-muted);
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .help-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .help-nav {
    justify-content: flex-start;
    margin-left: 0;
  }
}
