/*
 * lo2f.css — canonical LiveO2 embellishment framework styles.
 * Baseline: respiratory-recovery-experience-with-liveo2 (operator-approved 2026-06-07).
 * Embellished pages reference these lo2f-* classes; they no longer ship their own <style>.
 * Edit here — do NOT re-inline into post content.
 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.lo2f-wrap {
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #1e293b;
  background: #fff;
}

.lo2f-wrap * { box-sizing: border-box; }

/* Hero */
.lo2f-hero {
  background: linear-gradient(135deg, #0F2847 0%, #1A2332 100%);
  color: #fff;
  padding: 72px 24px 64px;
  text-align: center;
}
.lo2f-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.lo2f-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}
.lo2f-hero p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Video */
.lo2f-video-section {
  /* No dark background here: the section's h2/subtext inherit the dark section
     text color, so a navy bg renders dark-on-dark (unreadable — the 2026-06-15
     import regression). Transparent keeps the dark text on the light page,
     matching the live production render. Readability invariant: a dark section
     must carry light text; this section uses dark text, so it stays light. */
  padding: 0 24px 64px;
}
.lo2f-video-section-inner {
  max-width: 800px;
  margin: 0 auto;
}
.lo2f-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  cursor: pointer;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lo2f-video-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lo2f-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  transition: background 0.2s;
}
.lo2f-video-wrap:hover .lo2f-video-overlay {
  background: rgba(0,0,0,0.15);
}
.lo2f-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(220, 38, 38, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.lo2f-video-wrap:hover .lo2f-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(220, 38, 38, 1);
}

/* Sections */
.lo2f-section {
  padding: 64px 24px;
}
.lo2f-section--light { background: #F8FAFC; }
.lo2f-section--white { background: #fff; }
.lo2f-section--dark { background: #0F2847; color: #e2e8f0; }
/* Dark-section text colors are defined AFTER the base `.lo2f-section p/h2`
   rules below (see "dark-section text" block) so they win on the #0F2847
   background by source order, at equal single-class specificity. Keeping equal
   specificity (rather than bumping it) lets nested light-bg components like
   `.lo2f-quote` — defined later still — re-assert their own dark-on-white text.
   Contrast minimums per the readable-text directive in CLAUDE.md. */

.lo2f-section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.lo2f-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #0F2847;
  margin-bottom: 20px;
  line-height: 1.25;
}

.lo2f-accent {
  /* teal-700 (not brand #14B8A6) — clears 4.5:1 as text on light bg per the
     readable-text directive (CLAUDE.md). Brand teal stays on decorative fills. */
  color: #0F766E;
}

.lo2f-section p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #374151;
  max-width: 720px;
}
.lo2f-section p:last-child { margin-bottom: 0; }

/* dark-section text — MUST stay after the base `.lo2f-section p/h2` rules above.
   Same single-class specificity, later source order → wins on the #0F2847 dark
   background. Nested light-bg components (`.lo2f-quote`, defined later in this
   file) keep their own dark-on-white text because they come later still. Do NOT
   bump these to a higher specificity (e.g. `.lo2f-section.lo2f-section--dark p`)
   — that would override the quote's white-box text and recreate the dark-on-dark
   / light-on-light contrast bug. See CLAUDE.md → "Readable text — minimum contrast". */
.lo2f-section--dark h2 { color: #fff; }
.lo2f-section--dark p  { color: #e2e8f0; }
.lo2f-section--dark li { color: #e2e8f0; }

/* ── Content-band progression shades (2026-06-13) ─────────────────────
   Light backgrounds — base .lo2f-section h2/p dark text already clears AA.
   No text-color overrides needed for shade2/3.                           */
.lo2f-section--shade2 { background: #EEF2F7; }
.lo2f-section--shade3 { background: #E8EEF4; }

/* Conclusion bookend — teal, white text.
   Doubled-class selectors per CLAUDE.md contrast invariant: source-order
   alone is fragile when later rules can match at equal specificity.       */
.lo2f-section--conclusion { background: #0F766E; }
.lo2f-section.lo2f-section--conclusion h2 { color: #D1FAF2; }
.lo2f-section.lo2f-section--conclusion p  { color: #FFFFFF; }
.lo2f-section.lo2f-section--conclusion li { color: #FFFFFF; }
.lo2f-section.lo2f-section--conclusion a  { color: #FFFFFF; }

.lo2f-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Stat cards */
.lo2f-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 0;
}
.lo2f-stat-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}
.lo2f-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #0F766E;
  line-height: 1;
  margin-bottom: 8px;
}
.lo2f-stat-label {
  font-size: 0.88rem;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.4;
}

/* List style */
.lo2f-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lo2f-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid #E5E7EB;
  color: #374151;
  font-size: 1rem;
}
.lo2f-list li:last-child { border-bottom: none; }
.lo2f-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 12px;
  height: 12px;
  background: #14B8A6;
  border-radius: 50%;
}
.lo2f-section--dark .lo2f-list li {
  border-bottom-color: rgba(255,255,255,0.1);
}

/* Quote */
.lo2f-quote {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-left: 4px solid #14B8A6;
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 32px 0 0;
}
.lo2f-quote p {
  font-size: 1.05rem;
  font-style: italic;
  color: #1e293b;
  margin-bottom: 8px;
}
.lo2f-quote cite {
  font-size: 0.85rem;
  color: #6b7280;
  font-style: normal;
}

/* FAQ */
.lo2f-faq-section {
  background: #F8FAFC;
  padding: 64px 24px;
}
.lo2f-faq-inner {
  max-width: 800px;
  margin: 0 auto;
}
.lo2f-faq-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #0F2847;
  margin-bottom: 32px;
  text-align: center;
}
.lo2f-faq-item {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.lo2f-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0F2847;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.15s;
}
.lo2f-faq-q:hover { background: #F8FAFC; }
.lo2f-faq-q.active { color: #0F766E; }
.lo2f-faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.25s;
  color: #94a3b8;
}
.lo2f-faq-q.active .lo2f-faq-chevron {
  transform: rotate(180deg);
  color: #0F766E;
}
.lo2f-faq-a {
  display: none;
  padding: 0 24px 20px;
}
.lo2f-faq-a.open { display: block; }
.lo2f-faq-a p {
  font-size: 0.97rem;
  color: #374151;
  line-height: 1.7;
  margin: 0;
}

/* Explore More */
.lo2f-explore {
  background: #fff;
  padding: 64px 24px;
}
.lo2f-explore-inner {
  max-width: 960px;
  margin: 0 auto;
}
.lo2f-explore h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0F2847;
  margin-bottom: 28px;
  text-align: center;
}
.lo2f-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lo2f-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: block;
}
.lo2f-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  border-color: #14B8A6;
  text-decoration: none;
}
.lo2f-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.lo2f-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: #0F2847;
  margin-bottom: 8px;
  line-height: 1.3;
}
.lo2f-card p {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* Quiet CTA */
.lo2f-cta {
  background: #F8FAFC;
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid #E5E7EB;
}
.lo2f-cta p {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
}
.lo2f-cta a {
  color: #0F766E;
  text-decoration: none;
  font-weight: 600;
}
.lo2f-cta a:hover { text-decoration: underline; }

/* Who-Benefits grid */
.lo2f-who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.lo2f-who-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.lo2f-who-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #EEF2F7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F2847;
}
.lo2f-who-icon svg {
  width: 22px;
  height: 22px;
}
.lo2f-who-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0F2847;
  margin-bottom: 6px;
}
.lo2f-who-text p {
  font-size: 0.9rem;
  color: #374151;
  margin: 0;
}

/* ── Video Presentation Header: Topics accordion (single source of truth) ── */
.lo2f-chapters {
  margin: 0 0 20px;
  background: #FAFAFA;
  border: 1px solid #1a2744;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.lo2f-chapters-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #1a2744;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  user-select: none;
  -webkit-user-select: none;
}
.lo2f-chapters-label {
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
/* Collapsed topic-range line (theme-derived in lo2f.js). Light-on-dark, AA. */
.lo2f-chapters-range {
  flex: 1;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #E2E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lo2f-chapters-hint {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #E2E8F0;
}
.lo2f-chapters-hint svg { transition: transform 0.2s; }
.lo2f-chapters-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  border-top: 0 solid #E2E2E2;
  transition: max-height 0.35s ease, border-top-width 0.1s;
}
.lo2f-chapters:hover .lo2f-chapters-body,
.lo2f-chapters.lo2f-ch-open .lo2f-chapters-body { max-height: 600px; border-top-width: 1px; }
.lo2f-chapters:hover .lo2f-chapters-hint svg,
.lo2f-chapters.lo2f-ch-open .lo2f-chapters-hint svg { transform: rotate(180deg); }
.lo2f-chapter {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  padding: 10px 20px;
  border: none;
  border-bottom: 1px solid rgba(226,226,226,0.6);
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
  transition: background 0.15s;
}
.lo2f-chapter:nth-child(odd) { border-right: 1px solid rgba(226,226,226,0.6); }
/* Hover-activation: every row reads as a tappable seek target. */
.lo2f-chapter:hover { background: #EEF4F8; }
.lo2f-chapter:hover .lo2f-chapter-ts { color: #004d73; }
.lo2f-chapter:hover .lo2f-chapter-label { color: #1a2744; }
.lo2f-chapter-ts {
  flex-shrink: 0;
  min-width: 44px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #006699;
  font-variant-numeric: tabular-nums;
  transition: color 0.15s;
}
.lo2f-chapter-label { color: #444; }
@media (max-width: 640px) {
  .lo2f-chapters-body { grid-template-columns: 1fr; }
  .lo2f-chapter:nth-child(odd) { border-right: none; }
}

/* Section variants used in page/usage-guide templates */
.lo2f-section-white { background: #fff; padding: 48px 24px; }
.lo2f-section-light { background: #F8FAFC; padding: 48px 24px; }
.lo2f-section-dark  { background: #0F2847; color: #e2e8f0; padding: 48px 24px; }
.lo2f-container,
.lo2f-inner {
  max-width: 960px;
  margin: 0 auto;
}
.lo2f-video-label {
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .lo2f-section { padding: 40px 20px; }
  .lo2f-hero { padding: 48px 20px 40px; }
  .lo2f-video-section { padding: 0 20px 40px; }
  .lo2f-two-col { grid-template-columns: 1fr; gap: 24px; }
  .lo2f-stat-row { grid-template-columns: 1fr; gap: 12px; }
  .lo2f-cards { grid-template-columns: 1fr; }
  .lo2f-faq-section { padding: 40px 20px; }
  .lo2f-explore { padding: 40px 20px; }
}

/* Guest claim disclaimer annotation — inserted by the guest-claim-annotate transform.
   Muted callout; text #374151 on #F0F4F8 = 9.33:1 contrast (WCAG AA, >=4.5:1). */
.lo2-claim-disclaimer {
  margin: 16px 0 24px;
  padding: 16px 20px;
  background: #F0F4F8;
  border-left: 3px solid #CBD5E1;
  border-radius: 4px;
}
.lo2-claim-disclaimer p {
  margin: 0 0 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #374151;
}
.lo2-claim-disclaimer p:last-child { margin-bottom: 0; }
.lo2-claim-disclaimer__intent { font-style: italic; }
