/*
 * The "Teaching a live class" guide (/blog/teach-your-bible-class-on-every-screen-at-once).
 *
 * This article keeps its own design (the Live Classroom guide artifact) instead of the
 * house article template, so it carries this stylesheet ON TOP of blog-article.css, which
 * it still links for the shared buttons and the end CTA. Every rule is scoped under
 * `.lcg` (or the `body.lcg-page` tokens), so the public nav, the footer and the shared
 * blog styles are untouched. blog-article.css zeroes margin and padding on everything and
 * strips link underlines; the rules below set what this page needs back explicitly.
 */
body.lcg-page {
  --bg: #f3f5f8; --surface: #ffffff; --sunk: #e8ecf2; --ink: #17202c; --ink-soft: #3b4655;
  --muted: #5f6b7b; --line: #d8dee7; --accent: #0a6cc2; --accent-ink: #ffffff; --accent-wash: #e3eefa;
  --live: #1f8a5b; --live-wash: #e2f3ea; --blank: #a8640a; --blank-wash: #fbefdc;
  --bezel: #10151c; --bezel-edge: #2a323e;
  --shadow: 0 1px 2px rgba(18, 28, 42, .06), 0 14px 32px -18px rgba(18, 28, 42, .35);
  --f-display: "Literata", Georgia, "Times New Roman", serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  background: var(--bg); color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  body.lcg-page {
    --bg: #0d1117; --surface: #151b24; --sunk: #1c2430; --ink: #e7ecf2; --ink-soft: #c3ccd8; --muted: #93a0b2;
    --line: #29323f; --accent: #5aa7f0; --accent-ink: #08121e; --accent-wash: #132a42; --live: #52c38c; --live-wash: #12301f;
    --blank: #e3a24a; --blank-wash: #33240e; --bezel: #05070a; --bezel-edge: #222a35;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 16px 36px -18px rgba(0,0,0,.8);
  }
}

.lcg { font-family: var(--f-body); font-size: 17px; line-height: 1.62; color: var(--ink);
  padding: 64px 16px 80px; -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { .lcg * { transition: none !important; } }
.lcg a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.lcg a:focus-visible, .lcg button:focus-visible, .lcg .zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.lcg h1, .lcg h2, .lcg h3 { font-family: var(--f-display); font-weight: 650; text-wrap: balance; margin: 0; line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); }
.lcg h1 { font-size: clamp(34px, 5.4vw, 54px); }
.lcg h2 { font-size: clamp(26px, 3.4vw, 34px); }
.lcg h3 { font-size: 20px; font-family: var(--f-body); font-weight: 700; letter-spacing: 0; }
.lcg p { margin: 0; }
.lcg ul, .lcg ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.lcg strong { font-weight: 700; color: var(--ink); }
.lcg code, .lcg kbd, .lcg .mono { font-family: var(--f-mono); font-size: .86em; }
.lcg kbd { display: inline-block; min-width: 1.7em; text-align: center; padding: 1px 6px; border: 1px solid var(--line);
  border-bottom-width: 2px; border-radius: 5px; background: var(--surface); color: var(--ink); font-weight: 600; white-space: nowrap; }
.lcg .ui { font-weight: 600; color: var(--ink); background: var(--sunk); border-radius: 4px; padding: 0 5px; white-space: nowrap; }
.lcg .code { font-family: var(--f-mono); font-weight: 600; letter-spacing: .12em; background: var(--surface); border: 1.5px dashed var(--line);
  border-radius: 6px; padding: 1px 8px; white-space: nowrap; }

/* frame: a sticky contents rail beside one reading column */
.lcg .shell { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; }
@media (max-width: 1080px) { .lcg .shell { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.lcg .toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); align-self: start; padding-top: 40px; display: grid; gap: 4px; font-size: 14.5px; }
.lcg .toc .label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.lcg .toc a { color: var(--ink-soft); text-decoration: none; padding: 5px 10px; border-left: 2px solid var(--line); }
.lcg .toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.lcg .toc a.on { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }
@media (max-width: 1080px) { .lcg .toc { display: none; } }
.lcg main { min-width: 0; display: grid; gap: 88px; padding-top: 40px; }
.lcg section { display: grid; gap: 22px; min-width: 0; scroll-margin-top: 88px; }
.lcg .prose { max-width: 68ch; display: grid; gap: 14px; color: var(--ink-soft); }
/* A step's text is a single <p class="prose">. As a grid, every inline label in it (▶ Present,
   a <strong>) became its own full-width row, so a <p> stays a normal block of text. */
.lcg p.prose { display: block; }
.lcg .eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lcg .lede { font-size: 20px; line-height: 1.55; color: var(--ink-soft); max-width: 62ch; }
.lcg .crumbs { font-size: 14px; color: var(--muted); }
.lcg .crumbs a { color: var(--muted); }

/* hero */
.lcg .hero { display: grid; gap: 22px; padding-bottom: 8px; }
.lcg .hero .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.lcg .hero-video { max-width: 980px; }
.lcg .hero-video video { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--sunk); }
.lcg .triptych { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.05fr) 150px; gap: 18px; align-items: end; }
@media (max-width: 760px) { .lcg .triptych { grid-template-columns: minmax(0, 1fr) 150px; } .lcg .triptych .t-pv { display: none; } }
.lcg .legend3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .lcg .legend3 { grid-template-columns: minmax(0, 1fr); } }
.lcg .legend3 > div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 4px; }
.lcg .legend3 b { font-size: 15.5px; }
.lcg .legend3 span { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* device frames */
.lcg figure { margin: 0; display: grid; gap: 8px; min-width: 0; }
.lcg figcaption { font-size: 14px; color: var(--muted); line-height: 1.45; }
.lcg figcaption b { color: var(--ink-soft); }
.lcg .zoom { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.lcg .zoom img { display: block; width: 100%; height: auto; max-width: 100%; }
.lcg .screen { background: var(--bezel); border-radius: 10px; padding: 8px 8px 16px; box-shadow: var(--shadow); position: relative; border: 1px solid var(--bezel-edge); }
.lcg .screen::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 44px; height: 4px; border-radius: 2px; background: var(--bezel-edge); transform: translateX(-50%); }
.lcg .screen img { border-radius: 3px; }
.lcg .laptop { background: var(--bezel); border-radius: 10px 10px 4px 4px; padding: 8px; box-shadow: var(--shadow); border: 1px solid var(--bezel-edge); }
.lcg .laptop img { border-radius: 3px; }
.lcg .window { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.lcg .window .bar { height: 22px; background: var(--sunk); border-bottom: 1px solid var(--line); display: flex; gap: 6px; align-items: center; padding-left: 10px; }
.lcg .window .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.lcg .phone { background: var(--bezel); border-radius: 30px; padding: 7px; box-shadow: var(--shadow); border: 1px solid var(--bezel-edge); width: 100%; max-width: 250px; justify-self: center; }
.lcg .phone img { border-radius: 23px; }
.lcg .phone-fig { justify-items: center; text-align: center; }
.lcg .strip { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); max-width: 720px; }

/* scenes and grids */
.lcg .scene { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 22px; align-items: center; }
.lcg .scene.three { grid-template-columns: minmax(0, 1fr) 190px 190px; }
.lcg .scene.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .lcg .scene, .lcg .scene.three, .lcg .scene.pair { grid-template-columns: minmax(0, 1fr); } }
.lcg .phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; align-items: start; }
.lcg .phones.narrow { max-width: 560px; }
.lcg .wide { max-width: 980px; }
.lcg .start { justify-self: start; }

/* steps */
.lcg .steps { display: grid; gap: 52px; counter-reset: step; }
.lcg .step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 18px; }
@media (max-width: 600px) { .lcg .step { grid-template-columns: minmax(0, 1fr); } }
.lcg .step > .n { counter-increment: step; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 700; font-family: var(--f-mono); font-size: 15px; }
.lcg .step > .n::before { content: counter(step); }
.lcg .step-body { display: grid; gap: 14px; min-width: 0; }
.lcg .step-body h3 { padding-top: 5px; }

/* callouts and tables */
.lcg .note { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; padding: 14px 18px; display: grid; gap: 6px; max-width: 72ch; }
.lcg .note.tip { border-left-color: var(--live); }
.lcg .note.warn { border-left-color: var(--blank); }
.lcg .note .k { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.lcg .note.tip .k { color: var(--live); }
.lcg .note.warn .k { color: var(--blank); }
.lcg .note p { color: var(--ink-soft); }
.lcg .tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); max-width: 920px; }
.lcg table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15.5px; }
.lcg th, .lcg td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.lcg th { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--sunk); font-weight: 700; }
.lcg tr:last-child td { border-bottom: 0; }
.lcg td:first-child { font-weight: 600; color: var(--ink); }
.lcg .yes { color: var(--live); font-weight: 700; }
.lcg .no { color: var(--muted); }
.lcg .options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
@media (max-width: 700px) { .lcg .options { grid-template-columns: minmax(0, 1fr); } }
.lcg .opt { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 3px; }
.lcg .opt b { font-size: 15.5px; }
.lcg .opt span { font-size: 15px; color: var(--muted); line-height: 1.45; }
.lcg .opt em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* annotated clicker */
.lcg .anno { position: relative; }
.lcg .anno img { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 3px; }
.lcg .anno .laptop { position: relative; }
.lcg .pin { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: #f5b400; color: #111;
  font: 700 13px/26px var(--f-mono); text-align: center; box-shadow: 0 0 0 3px rgba(0,0,0,.45); pointer-events: none; }
@media (max-width: 600px) { .lcg .pin { width: 20px; height: 20px; font-size: 11px; line-height: 20px; box-shadow: 0 0 0 2px rgba(0,0,0,.45); } }
.lcg .keylist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; max-width: 920px; }
@media (max-width: 760px) { .lcg .keylist { grid-template-columns: minmax(0, 1fr); } }
.lcg .keylist > div { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; }
.lcg .keylist .pinref { width: 26px; height: 26px; border-radius: 50%; background: #f5b400; color: #111; font: 700 13px/26px var(--f-mono); text-align: center; }
.lcg .keylist p { color: var(--ink-soft); font-size: 15.5px; }
.lcg .chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 1px 10px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.lcg .chip.live { background: var(--live-wash); color: var(--live); }
.lcg .chip.blank { background: var(--blank-wash); color: var(--blank); }
.lcg .chip.idle { background: var(--sunk); color: var(--ink-soft); }
.lcg .chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: block; }

/* faq */
.lcg details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; max-width: 860px; }
.lcg details + details { margin-top: 10px; }
.lcg summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--ink); list-style-position: outside; }
.lcg details p, .lcg details ul { padding-bottom: 16px; color: var(--ink-soft); }
.lcg details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }

.lcg .lcg-cta { max-width: 1240px; margin: 72px auto 0; }
.lcg .lcg-footer { max-width: 1240px; margin: 40px auto 0; border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }

/* lightbox */
.lcg dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1500px); max-height: 94vh; }
.lcg dialog.lb::backdrop { background: rgba(6, 10, 16, .88); }
.lcg dialog.lb img { display: block; max-width: min(96vw, 1500px); max-height: 86vh; width: auto; height: auto; border-radius: 6px; }
.lcg dialog.lb p { color: #e7ecf2; font-size: 15px; padding: 10px 4px 0; max-width: 90ch; }
.lcg dialog.lb button { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 16px; background: #fff; color: #111; border: 0; border-radius: 999px;
  font: 600 15px var(--f-body); padding: 8px 14px; cursor: pointer; }
