/* =============================================================================
   Tapped guides — thin layer over /site.css (July 2026 overhaul).
   Load order matters: pages link /site.css first, then this file.
   Only guide-specific structure lives here; all tokens come from site.css.
   ============================================================================= */

/* ── Page shell ─────────────────────────────────────────────────────────── */
.guide-main { max-width: 860px; margin: 0 auto; padding: 0 24px 24px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.guide-hero { padding: 56px 0 44px; }
.guide-hero h1 {
  font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.15; color: var(--navy-950); margin: 0 0 14px;
}
.guide-hero .sub { font-size: 17px; color: var(--gray-600); max-width: 660px; margin: 0 0 18px; }
.guide-hero .guide-meta { color: var(--gray-500); font-size: 14px; font-weight: 500; }

/* ── Table of contents ──────────────────────────────────────────────────── */
.toc { margin-bottom: 56px; }
.toc h2 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--gray-500); margin: 0 0 12px;
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a {
  display: flex; align-items: baseline; gap: 12px; padding: 7px 10px;
  border-radius: var(--radius-sm); color: var(--gray-700); font-size: 15px; font-weight: 500;
}
.toc a:hover { background: var(--navy-50); color: var(--navy-900); text-decoration: none; }
.toc .toc-num { min-width: 20px; color: var(--navy-600); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.guide-section { margin: 0 0 72px; }
.guide-section > h2 {
  font-size: clamp(24px, 3.5vw, 30px); font-weight: 800; letter-spacing: -0.015em;
  color: var(--navy-950); margin: 0 0 8px;
}
.section-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-600); margin-bottom: 8px;
}
.guide-section > .lead { color: var(--gray-600); font-size: 16px; max-width: 660px; margin: 0 0 24px; }

/* ── Numbered step cards ────────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 18px; margin: 24px 0; }
.step-card { position: relative; counter-increment: step; padding: 24px 28px 24px 88px; }
.step-card::before {
  content: counter(step); position: absolute; left: 26px; top: 24px;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--navy-100); color: var(--navy-800);
  font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 { margin: 6px 0 8px; font-size: 17px; font-weight: 700; color: var(--navy-950); }
.step-card p { margin: 0 0 10px; color: var(--gray-600); font-size: 15px; }
.step-card p:last-child { margin-bottom: 0; }
.step-card ul, .step-card ol { margin: 10px 0 0; padding-left: 20px; color: var(--gray-600); font-size: 15px; }
.step-card li { margin-bottom: 6px; }
.step-card li:last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .step-card { padding: 20px 20px 20px 20px; }
  .step-card::before { position: static; margin-bottom: 12px; }
}

/* ── Prose inside plain cards ───────────────────────────────────────────── */
.guide-section .card ul, .guide-section .card ol { margin: 12px 0 0; padding-left: 20px; color: var(--gray-600); font-size: 15px; }
.guide-section .card li { margin-bottom: 8px; }
.guide-section .card li:last-child { margin-bottom: 0; }
.guide-section .card h4 { margin: 20px 0 8px; font-size: 15px; font-weight: 700; color: var(--navy-950); }
.guide-section .card p + p { margin-top: 10px; }

/* ── Callouts ───────────────────────────────────────────────────────────── */
.callout {
  border-radius: var(--radius-sm); padding: 16px 20px; margin: 24px 0;
  font-size: 15px; line-height: 1.55;
}
.callout strong { display: block; margin-bottom: 4px; }
.callout-tip { background: var(--navy-50); border: 1px solid var(--navy-100); color: var(--navy-800); }
.callout-warn { background: var(--amber-100); border: 1px solid #fde68a; color: var(--amber-800); }

/* ── Option tables (modes, tracking) ────────────────────────────────────── */
.opt-table {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0;
  font-size: 15px; background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); overflow: hidden;
}
.opt-table th {
  text-align: left; padding: 12px 16px; background: var(--gray-100);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--gray-500); border-bottom: 1px solid var(--gray-200);
}
.opt-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); vertical-align: top; color: var(--gray-600); }
.opt-table tr:last-child td { border-bottom: none; }
.opt-table td strong { color: var(--navy-950); }

/* ── Screenshots ────────────────────────────────────────────────────────── */
.guide-section .shot { margin: 28px 0 0; }
.guide-section .shot-caption { margin-bottom: 0; }

/* ── Guide cross-links ──────────────────────────────────────────────────── */
.guide-next { margin-bottom: 24px; }
.guide-next .grid { margin-top: 24px; }
.guide-next .card a { font-weight: 600; }
