:root {
  --bg: #f5f5f1;
  --panel: #fff;
  --text: #111;
  --muted: #64645f;
  --line: #deded7;
  --yellow: #ffed00;
  --shadow: 0 18px 45px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(255,237,0,.24), transparent 34rem), var(--bg);
  color: var(--text);
}

.help-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px max(22px, calc((100vw - 1180px) / 2));
  background: rgba(245,245,241,.94);
  border-bottom: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
}

.back-button,
.help-nav a {
  color: inherit;
  text-decoration: none;
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 13px;
  background: #111;
  color: #fff;
  font-weight: 800;
}

.help-session {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 800;
}

.help-session.signed-in { background: #111; color: #fff; border-color: #111; }

.help-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto 64px;
}

.help-hero {
  padding: 44px;
  border-radius: 30px;
  background: #111;
  color: #fff;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  color: #d3d3cb;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: .88;
  letter-spacing: -.055em;
}

.lead {
  max-width: 760px;
  margin: 26px 0 20px;
  color: #deded8;
  font-size: 1.22rem;
  line-height: 1.5;
}

.version-chip {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-weight: 900;
}

.help-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.help-nav a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.help-section {
  display: grid;
  grid-template-columns: 72px minmax(0, .8fr) minmax(420px, 1.2fr);
  gap: 26px;
  align-items: start;
  margin-top: 22px;
  padding: 30px;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  scroll-margin-top: 92px;
}

.section-number {
  color: #c7b900;
  font-size: 2rem;
  font-weight: 900;
}

.section-copy h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  letter-spacing: -.035em;
}

.section-copy p,
.section-copy li {
  color: #3e3e39;
  font-size: 1rem;
  line-height: 1.58;
}

.section-copy ul,
.section-copy ol { padding-left: 1.25rem; }

.section-copy li + li { margin-top: 8px; }

.help-figure {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f7f7f4;
}

.help-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
  border: 1px solid #e4e4de;
}

.help-figure figcaption {
  padding: 10px 4px 2px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.4;
}

.help-note {
  margin-top: 18px;
  padding: 16px;
  border-left: 5px solid var(--yellow);
  border-radius: 12px;
  background: #fffbe0;
  line-height: 1.5;
}

.help-section:not(:has(.help-figure)) { grid-template-columns: 72px 1fr; }

.help-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .help-section,
  .help-section:not(:has(.help-figure)) { grid-template-columns: 56px 1fr; }
  .help-figure { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .help-topbar,
  .help-footer { align-items: flex-start; flex-direction: column; }
  .help-hero { padding: 30px 24px; }
  .help-section,
  .help-section:not(:has(.help-figure)) { grid-template-columns: 1fr; padding: 22px; }
  .section-number { font-size: 1.35rem; }
}
