/* ============================================================
   Inbox Setup Guide — page-local styles only
   Shared guide primitives (.guide-content, .guide-card, .guide-step*,
   .guide-callout*, .guide-checklist, .guide-divider, .guide-ext-link,
   .guide-cta) live in css/guide-shared.css and are imported in the
   HTML head BEFORE this file so rules here can override if needed.
   All UI-mock classes (.mock-*) and this page's layout primitives
   (.guide-hero*, .guide-toc*, .guide-benefit*, .guide-feature*,
   .guide-plan-table, .guide-paired, .guide-section*) stay here.
   ============================================================ */

/* ── Section shell (page-local: sits outside .guide-content) ── */
.guide-section {
  padding: var(--space-8) 0;
}
.guide-section + .guide-section {
  border-top: 1px solid var(--glass-border);
}

/* Section kicker uses site-wide `.badge.green` (css/components.css).
   Tiny bottom margin so the badge doesn't sit flush against the H2. */
.guide-section .badge { margin-bottom: var(--space-4); }

/* In-page H2 — intentionally smaller than site `.section-title`
   (marketing hero) for the dense guide content flow. */
.guide-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.guide-section__lead {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 680px;
}

/* ── Benefits grid ─────────────────────────────────────────── */
.guide-benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.guide-benefit {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: border-color 0.2s, transform 0.2s;
}
.guide-benefit:hover {
  border-color: rgba(37,211,102,0.3);
  transform: translateY(-2px);
}
.guide-benefit__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  margin-bottom: var(--space-3);
}
.guide-benefit__icon i { width: 22px; height: 22px; }
.guide-benefit__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}
.guide-benefit__text {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ── Plans-vs-seats table ──────────────────────────────────── */
.guide-plan-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-5) 0;
  font-size: 0.92rem;
}
.guide-plan-table th,
.guide-plan-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}
.guide-plan-table th {
  background: rgba(255,255,255,0.02);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}
.guide-plan-table tr:last-child td { border-bottom: none; }
.guide-plan-table td:first-child { font-weight: 600; color: var(--text-primary); }
.guide-plan-table td.guide-plan-table__seat { color: var(--accent-green); font-weight: 600; }

/* ── Paired row (text + mock) ──────────────────────────────── */
.guide-paired {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-8);
  align-items: center;
  margin: var(--space-6) 0;
}
@media (max-width: 820px) {
  .guide-paired { grid-template-columns: 1fr; }
}
.guide-paired--reverse { direction: rtl; }
.guide-paired--reverse > * { direction: ltr; }

/* ── Feature tour grid ─────────────────────────────────────── */
.guide-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}
.guide-feature {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color 0.2s, transform 0.2s;
}
.guide-feature:hover {
  border-color: rgba(37,211,102,0.25);
  transform: translateY(-2px);
}
.guide-feature__body { flex: 1; }
.guide-feature__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.guide-feature__title i {
  width: 18px;
  height: 18px;
  color: var(--accent-green);
}
.guide-feature__desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ── Virtual UI mocks ──────────────────────────────────────── */
/* `.mock-*` styles extracted to css/mocks.css (shared with
   campaign.html). This page imports mocks.css in the <head>
   BEFORE this file. Nothing to see here — look in mocks.css. */


/* ── Section CTA ───────────────────────────────────────────── */
/* .guide-cta now lives in css/guide-shared.css (shared with migrate.html). */

/* FAQ styles are inherited from sections.css (.faq-section / .faq-item
   / .faq-question / .faq-answer) — no overrides here. The Inbox Guide
   FAQ intentionally uses the exact same tokens and markup as the
   homepage Frequently Asked Questions block. */

/* ── Hero-specific additions ───────────────────────────────── */
/* .page-hero already provides padding-top: 140px (for fixed navbar).
   We only tune bottom spacing here — never override the top. */
.guide-hero {
  padding-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
}
.guide-hero__lead {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (max-width: 820px) {
  .guide-hero__lead { grid-template-columns: 1fr; text-align: center; }
  .guide-hero__lead .mock-phone { order: -1; }
}
.guide-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}
.guide-hero__sub {
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  max-width: 560px;
}
@media (max-width: 820px) {
  .guide-hero__sub { margin-left: auto; margin-right: auto; }
}
.guide-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
@media (max-width: 820px) {
  .guide-hero__badges { justify-content: center; }
}
.guide-hero__badge {
  background: rgba(37,211,102,0.1);
  color: var(--accent-green);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.guide-hero__badge i { width: 12px; height: 12px; }
.guide-hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
@media (max-width: 820px) {
  .guide-hero__actions { justify-content: center; }
}

/* ── TOC / anchor nav ──────────────────────────────────────── */
.guide-toc {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-6) auto;
  max-width: 820px;
}
.guide-toc__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}
.guide-toc__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-2);
}
.guide-toc__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.guide-toc__list a:hover { color: var(--accent-green); background: rgba(37,211,102,0.05); }
.guide-toc__list a i { width: 14px; height: 14px; color: var(--accent-green); }
