/* Help Center — hub + guide pages. Scoped add-on to style.css; reuses the
   site's design tokens (--accent, --bg-*, --text-*, --radius-*). */

/* ---- Help hub ---------------------------------------------------------- */
.help-page { max-width: 960px; margin: 0 auto; padding: 64px 24px 96px; }
.help-page .help-eyebrow {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-text); font-weight: 600; margin-bottom: 12px;
}
.help-page h1 { font-size: 34px; font-weight: 700; color: var(--text-primary); margin: 0 0 12px; }
.help-page .help-lede { font-size: 16px; line-height: 1.6; color: var(--text-secondary); max-width: 640px; margin: 0 0 48px; }

.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.help-card {
  display: block; text-decoration: none; padding: 28px;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius-card); transition: border-color var(--transition), transform var(--transition);
}
.help-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.help-card .help-card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; margin-bottom: 16px;
  background: rgba(var(--accent-rgb), 0.15); color: var(--accent-text);
  font-weight: 700; font-size: 16px;
}
.help-card h2 { font-size: 19px; font-weight: 600; color: var(--text-primary); margin: 0 0 8px; }
.help-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.help-card .help-card-go { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent-text); }

.help-support-note {
  margin-top: 48px; padding: 20px 24px; border-radius: var(--radius-card);
  background: var(--bg-raised); border: 1px solid var(--border);
  font-size: 14px; color: var(--text-secondary);
}
.help-support-note a { color: var(--accent-text); text-decoration: none; font-weight: 600; }

/* ---- Guide pages ------------------------------------------------------- */
.guide-page { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.guide-back { display: inline-block; font-size: 13px; color: var(--text-muted); text-decoration: none; margin-bottom: 24px; }
.guide-back:hover { color: var(--text-secondary); }
.guide-page .guide-eyebrow {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-text); font-weight: 600; margin-bottom: 10px;
}
.guide-page h1 { font-size: 30px; font-weight: 700; color: var(--text-primary); margin: 0 0 12px; }
.guide-page .guide-lede { font-size: 16px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 12px; }
.guide-meta { font-size: 13px; color: var(--text-muted); margin: 0 0 44px; }
.guide-meta strong { color: var(--text-secondary); font-weight: 600; }

/* Numbered steps with a connecting rail down the left. */
.guide-steps { list-style: none; margin: 0; padding: 0; }
.guide-step { position: relative; padding: 0 0 40px 64px; }
.guide-step:not(:last-child)::before {
  content: ""; position: absolute; left: 19px; top: 44px; bottom: 0;
  width: 2px; background: var(--border);
}
.guide-step .step-num {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 17px;
}
.guide-step h2 { font-size: 19px; font-weight: 600; color: var(--text-primary); margin: 6px 0 10px; }
.guide-step p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin: 0 0 12px; }
.guide-step ul { margin: 0 0 12px; padding-left: 20px; }
.guide-step li { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 4px; }
.guide-step code, .guide-page code {
  background: var(--bg-stripe); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 2px 7px; font-size: 13px;
  color: var(--accent-on-tint); font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.guide-step a { color: var(--accent-text); text-decoration: none; font-weight: 600; }
.guide-step a:hover { text-decoration: underline; }

/* Screenshot frame. */
.guide-shot {
  margin: 18px 0 4px; border: 1px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden;
  background: var(--bg-base); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.guide-shot img { display: block; width: 100%; height: auto; }
.guide-shot-caption { font-size: 12px; color: var(--text-muted); margin: 8px 2px 0; }

/* External-site screenshot — a slim browser bar frames a third-party page so it
   reads as "this is the outside site", not as broken Loungr UI. */
.guide-shot--external .guide-shot-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 14px; background: var(--bg-stripe);
  border-bottom: 1px solid var(--border);
}
.guide-shot--external .guide-shot-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border); flex: none;
}
.guide-shot--external .guide-shot-url {
  margin-left: 8px; font-size: 12px; color: var(--text-muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

/* Placeholder for a screenshot not yet captured. */
.guide-shot.pending {
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; box-shadow: none; border-style: dashed;
  color: var(--text-muted); font-size: 13px; text-align: center; padding: 24px;
}

/* Callout / tip box. */
.guide-callout {
  display: flex; gap: 12px; margin: 16px 0; padding: 16px 18px;
  border-radius: var(--radius-card); background: var(--bg-focused);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}
.guide-callout .callout-icon { color: var(--accent-text); font-weight: 700; flex: none; }
.guide-callout p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

.guide-cta-row { margin-top: 8px; }

@media (max-width: 560px) {
  .guide-step { padding-left: 52px; }
  .guide-step .step-num { width: 34px; height: 34px; font-size: 15px; }
  .guide-step:not(:last-child)::before { left: 16px; }
}
