/* ==========================================================================
   ATLAS HEALTH & QUREIT HEALTHCARE DESIGN SYSTEM
   ========================================================================== */

@font-face {
  font-family: 'Kollektif';
  src: url('assets/fonts/Kollektif.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kollektif';
  src: url('assets/fonts/Kollektif-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Function Health Warm Cream Canvas */
  --bg-cream: #FAF7F2;
  --bg-cream-surface: #F3ECE1;
  --bg-cream-subtle: #EBE3D5;
  --bg-card: #FFFFFF;
  
  /* Hairline Borders */
  --border-cream: #E5DFD4;
  --border-cream-dark: #D4CBBB;
  --border-hairline: rgba(26, 28, 27, 0.08);

  /* Function Orange / Terracotta Accents */
  --function-orange: #E85A2D;
  --function-orange-hover: #D0481D;
  --function-orange-light: #FBF0EB;
  --function-orange-subtle: #F6E2D8;
  --terracotta: #C07858;
  
  /* Typography Colors */
  --text-dark: #1A1D1B;
  --text-body: #4A524D;
  --text-secondary: #6B7570;
  --text-muted: #8E9993;

  /* Clinical Status */
  --optimal-green: #1B7A4A;
  --optimal-green-bg: #EAF5EF;

  /* Deep Contrast Dark (Footer & Night Panels) */
  --bg-charcoal: #141715;
  --bg-charcoal-card: #1C201E;
  --border-charcoal: rgba(255, 255, 255, 0.08);
  --text-charcoal-light: #F4F6F4;
  --text-charcoal-muted: #9EABA3;

  /* Unified Decimal Geometric Typography + Kollektif for Qureit Logo */
  --font-sans: 'Decimal', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Decimal', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-qureit-logo: 'Kollektif', 'Decimal', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Radii & Restrained Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 1px 3px rgba(26, 28, 27, 0.04), 0 6px 16px rgba(26, 28, 27, 0.03);
  --shadow-card: 0 2px 8px rgba(26, 28, 27, 0.03), 0 12px 28px rgba(26, 28, 27, 0.05);
  --shadow-orange: 0 4px 14px rgba(232, 90, 45, 0.22);
  
  /* Transitions */
  --transition-fast: 0.16s ease;
  --transition-base: 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: clip;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
.font-serif,
.font-sans {
  font-family: var(--font-sans);
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(3rem, 6vw, 4.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.65rem;
  font-weight: 600;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.68;
  font-weight: 400;
}

.editorial-italic {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
}

/* Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--function-orange);
  color: #ffffff;
  border-color: var(--function-orange);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--function-orange-hover);
  border-color: var(--function-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232, 90, 45, 0.32);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-dark);
  border-color: var(--border-cream);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  background: var(--bg-cream-surface);
  border-color: var(--border-cream-dark);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-cream-dark);
}

.btn-outline-dark:hover {
  border-color: var(--text-dark);
  background: var(--text-dark);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.02rem;
}

/* Authentic Editorial Badges & Eyebrows */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--function-orange);
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--function-orange);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-cream);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(250, 247, 242, 0.98);
  box-shadow: 0 4px 20px rgba(26, 28, 27, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  letter-spacing: -0.035em;
  color: var(--text-dark);
  line-height: 1;
  font-weight: 700;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-dark);
}

.nav-links a.active {
  color: var(--function-orange);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-loc-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-cream);
}

.nav-loc-chip svg {
  color: var(--function-orange);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 150px;
  padding-bottom: 90px;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-cream);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: 22px;
}

.hero-title em,
.hiw-hero h1 em {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  color: var(--function-orange);
}

.hero-lead {
  font-size: clamp(1.06rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-body);
  max-width: 760px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Credibility Meta Row (3-column Decimal Pill Strip) */
.hero-stats-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  max-width: 100%;
  margin: 0 auto;
}

.stat-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 26px;
  border-right: 1px solid var(--border-cream);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-val {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ==========================================================================
   Atlas Landing Page: Dark Band One & Centered Header (.atlas-page)
   ========================================================================== */
.atlas-page .site-header {
  background: rgba(20, 20, 22, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.atlas-page .site-header.scrolled {
  background: rgba(250, 247, 242, 0.94);
  border-bottom-color: var(--border-cream);
  box-shadow: 0 4px 20px rgba(26, 28, 27, 0.05);
}

.atlas-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.atlas-nav-left {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  min-width: 0;
}

.atlas-brand-center {
  justify-self: center;
  align-items: center;
}

.atlas-page .atlas-brand-center .brand-name {
  color: #FAF7F2;
  font-size: 1.72rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  transition: color var(--transition-fast);
}

.atlas-page .site-header.scrolled .atlas-brand-center .brand-name {
  color: var(--text-dark);
}

.atlas-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(244, 246, 244, 0.84);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-full);
  padding: 6px 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.atlas-nav-pill:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.atlas-nav-parent {
  color: rgba(244, 246, 244, 0.62);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.atlas-nav-parent:hover {
  color: #FAF7F2;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.atlas-nav-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 4px;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.atlas-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  justify-self: end;
}

.atlas-page .mobile-nav-toggle {
  color: #FAF7F2;
  transition: color var(--transition-fast);
}

.atlas-page .site-header.scrolled .atlas-nav-pill {
  color: #3D3C38;
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(29, 29, 31, 0.1);
}

.atlas-page .site-header.scrolled .atlas-nav-pill:hover {
  color: #1D1D1F;
  background: #FFFFFF;
  border-color: rgba(29, 29, 31, 0.22);
}

.atlas-page .site-header.scrolled .atlas-nav-parent {
  color: #6B7570;
  background: rgba(29, 29, 31, 0.03);
  border-color: rgba(29, 29, 31, 0.09);
}

.atlas-page .site-header.scrolled .atlas-nav-parent:hover {
  color: #1D1D1F;
  background: rgba(29, 29, 31, 0.07);
  border-color: rgba(29, 29, 31, 0.18);
}

.atlas-page .site-header.scrolled .atlas-nav-divider {
  background: rgba(29, 29, 31, 0.14);
}

.atlas-page .site-header.scrolled .mobile-nav-toggle {
  color: var(--text-dark);
}

/* Band One Dark Hero Canvas (Option A) */
.atlas-page .hero-section {
  padding-top: 136px;
  padding-bottom: 96px;
  overflow: hidden;
  background:
    radial-gradient(760px circle at 50% -4%, rgba(232, 90, 45, 0.16), transparent 62%),
    radial-gradient(520px circle at 88% 80%, rgba(142, 191, 167, 0.06), transparent 60%),
    linear-gradient(180deg, #151413 0%, #171614 60%, #121213 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-waves {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: max(100%, 1440px);
  height: 220px;
  pointer-events: none;
  z-index: 0;
}

.atlas-page .hero-content {
  position: relative;
  z-index: 2;
}

.hero-loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.008em;
  color: rgba(250, 247, 242, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-loc-badge svg {
  color: var(--function-orange);
  flex-shrink: 0;
}

.atlas-page .hero-title {
  color: #FAF7F2;
}

.atlas-page .hero-title em {
  color: #FF6A3D;
}

.atlas-page .hero-lead {
  color: rgba(244, 246, 244, 0.78);
}

.atlas-page .hero-actions .btn-primary {
  box-shadow: 0 8px 26px rgba(232, 90, 45, 0.34);
}

.atlas-page .hero-actions .btn-primary:hover {
  box-shadow: 0 10px 30px rgba(232, 90, 45, 0.44);
}

.atlas-page .hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FAF7F2;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.atlas-page .hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.44);
  color: #FFFFFF;
}

.atlas-page .hero-stats-row {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px rgba(0, 0, 0, 0.28);
}

.atlas-page .stat-cell {
  border-right-color: rgba(255, 255, 255, 0.1);
}

.atlas-page .stat-val {
  color: #F4F6F4;
  font-weight: 500;
}

/* ==========================================================================
   Section: Stop Settling for Normal (Editorial Thesis)
   ========================================================================== */
.section-problem {
  background: var(--bg-cream-surface);
  padding: 120px 0;
  border-bottom: 1px solid var(--border-cream);
}

.problem-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 54px;
}

.problem-title {
  margin-bottom: 22px;
}

.problem-quote {
  font-family: var(--font-sans);
  font-size: 1.32rem;
  line-height: 1.5;
  font-style: normal;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 22px;
}

.problem-description {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.7;
}

.problem-punchline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--function-orange);
  margin-top: 18px;
}

/* Editorial Comparison Cards */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.comparison-card {
  padding: 38px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-cream);
}

.comparison-card.standard {
  background: #EBE4D6;
}

.comparison-card.atlas {
  background: #ffffff;
  border: 2px solid var(--function-orange);
  box-shadow: var(--shadow-card);
  position: relative;
}

.comparison-card.atlas::before {
  content: "ATLAS STANDARD";
  position: absolute;
  top: -11px;
  right: 28px;
  background: var(--function-orange);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.card-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.standard .card-eyebrow {
  color: var(--text-secondary);
}

.atlas .card-eyebrow {
  color: var(--function-orange);
}

.comparison-card h4 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.comparison-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.5;
}

.feature-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.standard li svg {
  color: #94A3B8;
}

.atlas li svg {
  color: var(--function-orange);
}

.problem-cta-wrap {
  text-align: center;
  margin-top: 44px;
}

.problem-cta-sub {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Section: How It Works
   ========================================================================== */
.section-steps {
  padding: 120px 0;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-cream);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-title {
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-subtle);
}

.step-card:hover {
  border-color: var(--border-cream-dark);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.step-number {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--function-orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.step-card h3 {
  font-family: var(--font-sans);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}

.step-card > p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.6;
}

.step-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--border-cream);
  padding-top: 16px;
}

.step-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.45;
}

.step-bullets li svg {
  flex-shrink: 0;
  color: var(--function-orange);
  margin-top: 2px;
}

/* ==========================================================================
   Section: What We Test (Clean Editorial Biomarker Directory)
   ========================================================================== */
.section-biomarkers {
  padding: 120px 0;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-cream);
}

.biomarker-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.biomarker-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-cream);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.biomarker-search-bar:focus-within {
  border-color: var(--function-orange);
}

.biomarker-search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-dark);
  font-size: 0.94rem;
  font-family: var(--font-sans);
  width: 100%;
}

.biomarker-search-bar input::placeholder {
  color: var(--text-muted);
}

.biomarker-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-cream);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--border-cream-dark);
  color: var(--text-dark);
}

.tab-btn.active {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

.biomarker-count-status {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.biomarker-count-status strong {
  color: var(--text-dark);
}

/* Biomarker Category Group Grid */
.biomarker-groups-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}

.biomarker-category-card {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
}

.biomarker-category-card:hover {
  border-color: var(--border-cream-dark);
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-cream);
}

.category-header h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
}

.category-header-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.category-tag {
  font-size: 0.7rem;
  padding: 3px 8px;
  background: var(--function-orange-light);
  color: var(--function-orange);
  border-radius: var(--radius-full);
  font-weight: 700;
}

.cat-chevron {
  display: none;
}

.marker-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.marker-pill {
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.marker-pill:hover {
  background: var(--function-orange);
  border-color: var(--function-orange);
  color: #ffffff;
}

.category-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: auto;
  line-height: 1.5;
}

/* Callout Box for Rotation */
.biomarker-rotation-callout {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-subtle);
}

.callout-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--function-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--function-orange);
  flex-shrink: 0;
}

.biomarker-rotation-callout p {
  color: var(--text-dark);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ==========================================================================
   Section: We Rotate Your Panel (Clean Editorial)
   ========================================================================== */
.section-rotation {
  padding: 120px 0;
  background: var(--bg-cream-surface);
  border-bottom: 1px solid var(--border-cream);
}

.rotation-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.rotation-text-side h2 {
  margin-bottom: 20px;
}

.rotation-text-side p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.7;
}

.rotation-highlight-quote {
  padding: 20px 24px;
  background: #ffffff;
  border-left: 3px solid var(--function-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--text-dark);
  border-top: 1px solid var(--border-cream);
  border-right: 1px solid var(--border-cream);
  border-bottom: 1px solid var(--border-cream);
}

.pathway-widget {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pathway-selector-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.pathway-btn {
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pathway-btn .sub-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pathway-btn:hover {
  border-color: var(--border-cream-dark);
  color: var(--text-dark);
}

.pathway-btn.active {
  background: var(--function-orange);
  border-color: var(--function-orange);
  color: #ffffff;
}

.pathway-btn.active .sub-text {
  color: rgba(255, 255, 255, 0.85);
}

.pathway-diagram-box {
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-md);
  padding: 20px;
}

.diagram-block {
  margin-bottom: 14px;
}

.diagram-block:last-child {
  margin-bottom: 0;
}

.block-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 6px;
}

.label-constant {
  color: #0284C7;
}

.label-rotating {
  color: var(--function-orange);
}

.block-markers-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip-mini {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-dark);
}

.chip-highlight {
  background: var(--function-orange-light);
  border: 1px solid rgba(232, 90, 45, 0.3);
  color: var(--function-orange);
  font-weight: 600;
}

/* ==========================================================================
   Section: Membership & Pricing
   ========================================================================== */
.section-pricing {
  padding: 120px 0;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-cream);
}

.pricing-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.pricing-title {
  margin-bottom: 14px;
}

.pricing-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto 40px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-subtle);
}

.pricing-card:hover {
  box-shadow: var(--shadow-card);
}

.pricing-card.featured {
  border: 2px solid var(--function-orange);
  box-shadow: var(--shadow-card);
}

.featured-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--function-orange);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.tier-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-cream);
}

.tier-name {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.tier-best-for {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  min-height: 44px;
}

.tier-price-box {
  margin-bottom: 24px;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  vertical-align: top;
}

.price-val {
  font-family: var(--font-sans);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-dark);
}

.price-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.tier-features li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.feat-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-status-yes {
  color: var(--optimal-green);
  font-weight: 700;
}

.feat-status-no {
  color: #CBD5E1;
  font-size: 1.1rem;
}

.tier-footer {
  margin-top: auto;
}

.tier-footer .btn {
  width: 100%;
}

.pricing-extra-box {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 26px 34px;
  box-shadow: var(--shadow-subtle);
}

.pricing-extra-box h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.pricing-extra-box p {
  color: var(--text-body);
  font-size: 0.94rem;
}

.pricing-guidance-pill {
  display: inline-block;
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.pricing-guidance-pill strong {
  color: var(--function-orange);
}

/* Detailed Comparison Table & Mobile Switchers (Hidden on Desktop) */
.mobile-pricing-tabs,
.clinic-hybrid-tabs,
.table-toggle-chevron,
.faq-mobile-chevron {
  display: none;
}

.comparison-table-wrapper {
  max-width: 1040px;
  margin: 36px auto 0;
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.comparison-table-header {
  padding: 18px 24px;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.comparison-table-header h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.specs-table th, .specs-table td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border-cream);
}

.specs-table th {
  background: var(--bg-cream);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.92rem;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Section: FAQ (Editorial Two-Column Open List)
   ========================================================================== */
.section-faq {
  padding: 120px 0;
  background: var(--bg-cream-surface);
  border-bottom: 1px solid var(--border-cream);
}

.faq-editorial-list {
  max-width: 1060px;
  margin: 0 auto;
  border-top: 1px solid var(--border-cream-dark);
}

.faq-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-cream-dark);
  align-items: start;
}

.faq-question {
  font-family: var(--font-sans);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.faq-answer p {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ==========================================================================
   Section: CTA Banner
   ========================================================================== */
.section-cta {
  padding: 110px 0;
  background: var(--bg-cream);
  text-align: center;
  border-bottom: 1px solid var(--border-cream);
}

.cta-box {
  max-width: 760px;
  margin: 0 auto;
}

.cta-title {
  margin-bottom: 18px;
}

.cta-sub {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-charcoal);
  padding: 80px 0 40px;
  color: var(--text-charcoal-muted);
  font-size: 0.88rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-charcoal-light);
  margin-bottom: 4px;
}

.footer-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--function-orange);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

.footer-parent {
  color: #8C9993;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.footer-col h5 {
  font-size: 0.88rem;
  color: var(--text-charcoal-light);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-charcoal-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid var(--border-charcoal);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #7E8D86;
}

.footer-copyright-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: #6C7973;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 29, 27, 0.6);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
}

.modal-close:hover {
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-input, .form-select {
  width: 100%;
  background: var(--bg-cream);
  border: 1px solid var(--border-cream);
  color: var(--text-dark);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--function-orange);
  background: #ffffff;
}

/* ==========================================================================
   Mobile Nav Drawer
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-cream);
  z-index: 150;
  padding: 80px 28px 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-base);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer .nav-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}

.mobile-drawer .nav-links a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-dark);
}

/* ==========================================================================
   Standalone Page: How It Works | Scrolling Stacked Cards
   ========================================================================== */
.hiw-hero {
  padding: 138px 0 64px;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-cream);
  text-align: center;
}

.hiw-hero h1 {
  max-width: 820px;
  margin: 0 auto 20px;
}

.hiw-hero .hero-lead {
  margin-bottom: 32px;
}

.hiw-step-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hiw-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-cream);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-subtle);
}

.hiw-step-pill:hover {
  border-color: var(--function-orange);
  color: var(--function-orange);
  transform: translateY(-1px);
}

.hiw-step-pill .pill-num {
  color: var(--function-orange);
  font-weight: 700;
  font-size: 0.78rem;
}

.hiw-stack-section {
  padding: 72px 0 110px;
  background: var(--bg-cream-surface);
  border-bottom: 1px solid var(--border-cream);
}

.stack-cards-container {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 140px;
}

.stack-card {
  position: sticky;
  /* Incremental top offset based on card index (--card-index: 0..3).
     Starts cleanly below the 72px fixed header (5.5rem = 88px) and increments
     by 3.25rem so each previous card's top header strip remains visible. */
  top: calc(5.5rem + var(--card-index, 0) * 3.25rem);
  z-index: calc(10 + var(--card-index, 0));
  min-height: 552px;
  display: flex;
  flex-direction: column;
  transform-origin: top center;
  background: #ffffff;
  border: 1px solid var(--border-cream-dark);
  border-radius: var(--radius-xl);
  box-shadow: 0 -6px 24px rgba(26, 28, 27, 0.05), 0 18px 44px rgba(26, 28, 27, 0.08);
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
  will-change: transform;
}

/* Non-sticky spacer extends containing block runway without offsetting card 4 */
.stack-scroll-spacer {
  height: 120px;
  pointer-events: none;
}

.stack-card[data-step-index="0"] {
  background: #FFFFFF;
}

.stack-card[data-step-index="1"] {
  background: #FCF9F3;
}

.stack-card[data-step-index="2"] {
  background: #FFFFFF;
}

.stack-card[data-step-index="3"] {
  background: #FAF5EC;
  border-color: rgba(232, 90, 45, 0.45);
}

.stack-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.25rem;
  padding: 0 32px;
  border-bottom: 1px solid var(--border-cream);
  background: inherit;
}

.stack-card-top-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stack-step-badge {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--function-orange);
  background: var(--function-orange-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.stack-top-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
}

.stack-top-cadence {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.stack-card-body {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 44px;
  padding: 36px 38px 40px;
  align-items: center;
  flex: 1;
}

/* Right Fluted-Glass Video & Frosted Metric Visual */
.stack-card-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  min-height: 416px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 0;
  background: #2b1408;
  border: 1px solid rgba(25, 28, 27, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.stack-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.stack-media-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(22, 12, 6, 0.14) 0%,
    rgba(22, 12, 6, 0.22) 55%,
    rgba(16, 9, 5, 0.42) 100%
  );
}

/* Slightly deeper subtle tint on the brighter copper/silver video for crisp white contrast */
.stack-card-media--light .stack-media-scrim {
  background: linear-gradient(
    180deg,
    rgba(28, 16, 10, 0.22) 0%,
    rgba(24, 14, 9, 0.34) 55%,
    rgba(18, 10, 6, 0.52) 100%
  );
}

.stack-trajectory-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.stack-glass-stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
  padding-bottom: 58px;
}

.glass-metric-card {
  min-width: 230px;
  padding: 28px 40px 26px;
  border-radius: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.stack-card-media--light .glass-metric-card {
  background: rgba(20, 14, 10, 0.24);
  border-color: rgba(255, 255, 255, 0.52);
}

.glass-metric-value {
  font-family: var(--font-sans);
  font-size: clamp(3.1rem, 4.1vw, 4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.glass-metric-label {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.glass-caret {
  width: 0;
  height: 0;
  margin-top: 22px;
  margin-bottom: 10px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(255, 255, 255, 0.95);
}

.glass-timeline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.stack-card-media--light .glass-timeline-pill {
  background: rgba(20, 14, 10, 0.28);
}

/* Bottom vertical tick-ruler graduation bar matching Function Health reference */
.glass-ruler {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.glass-ruler-center {
  position: relative;
  width: 2.5px;
  height: 50px;
  background: #ffffff;
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
}

.glass-ruler-ticks {
  position: absolute;
  left: 50%;
  right: 16px;
  bottom: 0;
  height: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-left: 18px;
}

.glass-ruler-ticks span {
  display: block;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.4);
}

.glass-ruler-ticks span.tall {
  height: 40px;
  background: rgba(255, 255, 255, 0.68);
}

@media (prefers-reduced-motion: reduce) {
  .stack-card-video {
    display: none;
  }
}

.stack-card-copy h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.stack-card-copy > p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 24px;
}

.stack-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-cream);
  padding-top: 20px;
}

.stack-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.5;
}

.stack-bullets li svg {
  flex-shrink: 0;
  color: var(--function-orange);
  margin-top: 3px;
}

.hiw-assurance-section {
  padding: 96px 0;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-cream);
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.assurance-card {
  background: #ffffff;
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
}

.assurance-card h4 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.assurance-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.hiw-cta-section {
  background: var(--bg-cream-surface);
}

/* ==========================================================================
   Qureit Healthcare Main Landing Page (Apple-Style Minimalism)
   ========================================================================== */
.brand-qureit {
  font-family: var(--font-qureit-logo);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.q-page {
  background: var(--bg-cream);
  color: #1d1d1f;
}

.q-page .site-header {
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(26, 28, 27, 0.06);
}

.q-page .site-header.scrolled {
  background: rgba(250, 247, 242, 0.94);
  box-shadow: none;
}

.q-page .nav-inner {
  height: 56px;
}

.q-page .brand-name.brand-qureit {
  font-size: 1.5rem;
  color: var(--function-orange);
  line-height: 1;
}

.q-page .nav-links {
  gap: 32px;
}

.q-page .nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: #6e6e73;
  letter-spacing: -0.01em;
}

.q-page .nav-links a:hover,
.q-page .nav-links a.active {
  color: #1d1d1f;
  font-weight: 500;
}

.q-nav-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: #1d1d1f;
  color: #ffffff;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.q-nav-cta:hover {
  background: #333336;
  transform: translateY(-1px);
}

/* Apple Hero (Cream Canvas) */
.q-hero {
  padding: 156px 0 120px;
  background: var(--bg-cream);
  text-align: center;
}

.q-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.85rem, 5.4vw, 4.55rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--function-orange);
  max-width: 960px;
  margin: 0 auto 18px;
}

.q-hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  max-width: 760px;
  margin: 0 auto 40px;
}

.q-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-apple-dark {
  background: #1d1d1f;
  color: #ffffff;
  border: none;
  box-shadow: none;
}

.btn-apple-dark:hover {
  background: #323236;
  transform: translateY(-1px);
}

.q-apple-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 1.02rem;
  font-weight: 500;
  color: #1d1d1f;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.q-apple-link:hover {
  color: var(--function-orange);
}

.q-apple-link .q-chevron {
  transition: transform var(--transition-fast);
}

.q-apple-link:hover .q-chevron {
  transform: translateX(3px);
}

.q-apple-link-lg {
  font-size: 1.08rem;
}

.q-hero-link {
  color: var(--function-orange);
}

.q-hero-link:hover {
  color: var(--function-orange-hover);
}

/* Centered Editorial Manifesto (Deep Charcoal Contrast) */
.q-manifesto-band {
  padding: 132px 0;
  background: #171614;
}

.q-manifesto-inner {
  max-width: 700px;
  margin: 0 auto;
}

.q-manifesto-heading {
  font-size: clamp(2rem, 3.8vw, 2.95rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #faf7f2;
  margin-bottom: 34px;
}

.q-manifesto-inner p {
  font-size: clamp(1.12rem, 1.5vw, 1.28rem);
  line-height: 1.65;
  color: #b5aea4;
  letter-spacing: -0.012em;
  margin-bottom: 24px;
}

.q-ink {
  color: #ffffff;
  font-weight: 500;
}

.q-manifesto-close {
  margin-top: 40px !important;
  margin-bottom: 0 !important;
  font-size: clamp(1.3rem, 2vw, 1.62rem) !important;
  font-weight: 600 !important;
  color: var(--function-orange) !important;
  letter-spacing: -0.025em !important;
  line-height: 1.38 !important;
}

/* Bento Showcase (Atlas Primary + Quiet Clinic on Warm Sand) */
.q-expression-band {
  padding: 128px 0;
  background: var(--bg-cream-surface);
}

.q-bento-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.q-bento-atlas {
  background: var(--bg-cream);
  border: 1px solid #dfd5c5;
  border-radius: 28px;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
}

.q-bento-atlas h2 {
  font-size: clamp(2.2rem, 3.6vw, 2.95rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #1d1d1f;
  margin-bottom: 10px;
}

.q-bento-sub {
  font-size: 1.32rem;
  font-weight: 500;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.q-bento-atlas .q-bento-body {
  font-size: 1.04rem;
  line-height: 1.68;
  color: #4a524d;
  max-width: 540px;
}

.q-bento-actions {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.q-bento-clinic {
  background: #ebe2d3;
  border: 1px solid #dcd1bf;
  border-radius: 28px;
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.q-bento-clinic h2 {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  margin-bottom: 10px;
}

.q-bento-clinic .q-bento-sub {
  font-size: 1.12rem;
  color: #52504c;
  margin-bottom: 16px;
}

.q-bento-clinic .q-bento-body {
  font-size: 0.98rem;
  line-height: 1.68;
  color: #52504c;
}

/* Dark Interpretability Band (Apple Security / Privacy Style) */
.q-oversight-band {
  padding: 136px 0;
  background: #141416;
  color: #f5f5f7;
}

.q-oversight-inner {
  max-width: 700px;
  margin: 0 auto;
}

.q-oversight-inner h2 {
  font-size: clamp(2.15rem, 3.8vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 14px;
}

.q-oversight-lead {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  color: #a1a1a6;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.q-oversight-body {
  font-size: clamp(1.12rem, 1.5vw, 1.24rem);
  line-height: 1.7;
  color: #a1a1a6;
  margin-bottom: 36px;
}

.q-oversight-body em,
.q-ink-light {
  color: #ffffff;
  font-weight: 500;
}

.q-oversight-close {
  font-size: clamp(1.22rem, 1.9vw, 1.48rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

/* Bold Function Orange Closing CTA */
.q-closing-band {
  padding: 120px 0 112px;
  background: linear-gradient(135deg, #e85a2d 0%, #d44b20 100%);
  text-align: center;
  color: #ffffff;
}

.q-closing-title {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 32px;
}

.q-closing-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.q-closing-band .btn-primary {
  background: #141416;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.q-closing-band .btn-primary:hover {
  background: #252529;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.q-closing-band .q-apple-link {
  color: #ffffff;
}

.q-closing-band .q-apple-link:hover {
  color: #faf7f2;
  opacity: 0.85;
}

.q-closing-whisper {
  margin-top: 48px;
  font-size: 0.94rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.84);
}

/* Dark Minimal Footer */
.q-footer {
  background: #141416;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 0 40px;
  color: #9eaba3;
  font-size: 0.78rem;
}

.q-footer-disclaimer {
  font-size: 0.76rem;
  line-height: 1.6;
  color: #8e9993;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.q-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.q-footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.q-footer-left .brand-qureit {
  font-size: 1rem;
  color: var(--function-orange);
}

.q-footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
}

.q-footer-nav a {
  color: #9eaba3;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.q-footer-nav a:hover {
  color: #ffffff;
}

/* Qureit Clinic Page (Maven-Inspired Photographic Care Showcase) */
.clinic-photo-hero {
  position: relative;
  min-height: 640px;
  padding: 158px 0 120px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #1c1917;
}

.clinic-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  z-index: 0;
}

.clinic-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(96deg, rgba(18, 16, 14, 0.84) 0%, rgba(18, 16, 14, 0.56) 44%, rgba(18, 16, 14, 0.18) 74%, rgba(18, 16, 14, 0.06) 100%);
  pointer-events: none;
}

.clinic-hero-waves {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(680px, 75vw);
  height: 120px;
  pointer-events: none;
  opacity: 0.72;
  z-index: 2;
}

.clinic-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.clinic-photo-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.65rem, 4.9vw, 4.15rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.038em;
  color: #ffffff;
  margin-bottom: 20px;
}

.clinic-hero-italic {
  font-style: italic;
  font-weight: 500;
  color: #faf7f2;
}

.clinic-photo-hero-sub {
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 34px;
  max-width: 520px;
}

.clinic-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-1px);
}

/* 4-Card Portrait Showcase Grid (Dark Ground Matching Hero & Maven Ref) */
.clinic-specialties-band {
  padding: 112px 0;
  background: #171614;
}

.clinic-section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.clinic-section-head h2 {
  font-size: clamp(2rem, 3.7vw, 2.95rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #1d1d1f;
  margin-bottom: 14px;
}

.clinic-section-head p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #52504c;
}

.clinic-specialties-band .clinic-section-head h2 {
  color: #faf7f2;
}

.clinic-specialties-band .clinic-section-head p {
  color: #b5aea4;
}

.clinic-portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.clinic-portrait-card {
  position: relative;
  aspect-ratio: 3 / 4.25;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  cursor: pointer;
  text-align: left;
  background: #1c1917;
  font-family: var(--font-sans);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.clinic-portrait-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.44);
}

.clinic-portrait-card.active {
  border-color: transparent;
  box-shadow: 0 0 0 3px #171614, 0 0 0 5.5px var(--function-orange), 0 18px 36px rgba(0, 0, 0, 0.48);
}

.clinic-portrait-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.clinic-portrait-card:hover img {
  transform: scale(1.06);
}

.clinic-portrait-card[data-track="metabolic"] img {
  object-position: center 15%;
}

.clinic-portrait-card[data-track="reproductive"] img {
  object-position: 46% 22%;
}

.clinic-portrait-card[data-track="hormonal"] img {
  object-position: center 18%;
}

.clinic-portrait-card[data-track="longevity"] img {
  object-position: 62% 20%;
}

.clinic-portrait-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 15, 14, 0.88) 0%, rgba(16, 15, 14, 0.42) 44%, rgba(16, 15, 14, 0.0) 74%);
  pointer-events: none;
}

.clinic-portrait-dot-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.clinic-portrait-dot-inner {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.clinic-portrait-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
}

.clinic-portrait-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 6px;
}

.clinic-portrait-sub {
  font-size: 0.84rem;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.84);
}

/* Active Track Detail Strip (Elevated Charcoal) */
.clinic-detail-strip {
  margin-top: 26px;
  background: #221f1d;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 44px;
  align-items: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.clinic-detail-strip h3 {
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  color: #faf7f2;
  margin-bottom: 10px;
}

.clinic-detail-desc {
  font-size: 1rem;
  line-height: 1.68;
  color: #c8c1b8;
  margin-bottom: 20px;
}

.clinic-meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #8f8981;
  margin-bottom: 8px;
}

.clinic-focus-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clinic-focus-chip {
  font-size: 0.83rem;
  font-weight: 500;
  color: #faf7f2;
  background: #2d2926;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 13px;
  border-radius: var(--radius-full);
}

.clinic-detail-cta-col {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.clinic-team-line {
  font-size: 0.94rem;
  font-weight: 500;
  color: #faf7f2;
  line-height: 1.55;
}

/* Care Delivery 3-Step Band (Warm Cream) */
.clinic-delivery-band {
  padding: 112px 0;
  background: var(--bg-cream);
  border-bottom: 1px solid #ebe3d5;
}

.clinic-delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.clinic-delivery-step h3 {
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  margin-bottom: 10px;
}

.clinic-step-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--function-orange);
  margin-bottom: 10px;
}

.clinic-delivery-step p {
  font-size: 0.98rem;
  line-height: 1.68;
  color: #52504c;
}

/* Image-Backed Hybrid Access Cards (Warm Clay/Sand Canvas) */
.clinic-hybrid-band {
  padding: 104px 0;
  background: var(--bg-cream-surface);
}

.clinic-hybrid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.clinic-mode-card {
  background: var(--bg-cream);
  border: 1px solid #dfd5c5;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
}

.clinic-mode-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1c1917;
}

.clinic-mode-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clinic-mode-media.is-virtual img {
  object-position: 50% 42%;
}

.clinic-mode-body {
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.clinic-mode-body h3 {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  margin-bottom: 10px;
}

.clinic-mode-body p {
  font-size: 0.98rem;
  line-height: 1.68;
  color: #4a524d;
  margin-bottom: 24px;
}

/* Bold Function Orange Closing Banner */
.clinic-closing-band {
  padding: 112px 0;
  background: linear-gradient(135deg, #e85a2d 0%, #d44b20 100%);
  text-align: center;
  color: #ffffff;
}

.clinic-closing-band .q-closing-title {
  color: #ffffff;
  margin-bottom: 32px;
}

.btn-clinic-dark {
  background: #141416;
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.btn-clinic-dark:hover {
  background: #252529;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.clinic-closing-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 1.08rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity var(--transition-fast);
}

.clinic-closing-link:hover {
  opacity: 0.82;
}

.clinic-closing-link .q-chevron {
  transition: transform var(--transition-fast);
}

.clinic-closing-link:hover .q-chevron {
  transform: translateX(3px);
}

.clinic-closing-band .q-closing-whisper {
  margin-top: 44px;
  color: rgba(255, 255, 255, 0.84);
}

/* Matte Dark Footer for Clinic */
.clinic-footer {
  background: #141416;
  padding: 40px 0 42px;
  color: #9eaba3;
  font-size: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.clinic-footer .q-footer-disclaimer {
  color: #8e9993;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.clinic-footer .q-footer-left .brand-qureit {
  color: var(--function-orange);
}

.clinic-footer .q-footer-nav a {
  color: #9eaba3;
}

.clinic-footer .q-footer-nav a:hover {
  color: #ffffff;
}

/* ==========================================================================
   QUREIT HOMEPAGE (.q-home | Anthropic Layout × Apple Typography)
   ========================================================================== */
.q-home {
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "DM Sans", sans-serif;
  font-family: var(--font-apple);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  background: var(--bg-cream);
  color: #1d1d1f;
}

.q-home h1,
.q-home h2,
.q-home h3,
.q-home h4,
.q-home p,
.q-home a,
.q-home button,
.q-home span {
  font-family: var(--font-apple);
}

.q-home .brand-qureit,
.q-home .brand-name.brand-qureit {
  font-family: var(--font-qureit-logo);
}

/* Band 0: Centered-Brand Frosted Header */
.q-home .qh-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 60px;
}

.qh-nav-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qh-nav-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: #3d3c38;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  background: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.qh-nav-pill:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(29, 29, 31, 0.22);
  color: #1d1d1f;
}

.qh-nav-pill.is-active {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #ffffff;
}

.qh-brand-center {
  justify-self: center;
}

.qh-nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.qh-nav-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  background: #1d1d1f;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.qh-nav-cta:hover {
  background: #333336;
  transform: translateY(-1px);
}

.q-home .mobile-nav-toggle {
  display: none;
}

/* Band 1: Left-Aligned Editorial Mission Statement */
.qh-mission-band {
  padding: 100px 0 34px;
}

.qh-mission-statement {
  width: 100%;
  max-width: none;
  font-size: clamp(1.6rem, 2.35vw, 2.15rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.032em;
}

.qh-ink-strong {
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.035em;
}

.qh-ink-muted {
  font-weight: 400;
  color: #52504c;
}

/* Band 2: Scroll-Expanding Horizon Video Showcase (Atlas Only) */
.qh-video-band {
  padding: 0 0 40px;
  overflow-x: clip;
}

.qh-video-stage {
  position: relative;
  width: min(1156px, calc(100% - 64px));
  max-width: 100%;
  margin: 0 auto;
  will-change: width;
}

.qh-video-primary {
  position: relative;
  width: 100%;
  border-radius: var(--qh-video-radius, 16px);
  overflow: hidden;
  height: clamp(500px, calc(100vh - 104px), 780px);
  background: #1a2126;
  box-shadow: 0 6px 26px rgba(26, 28, 27, 0.08);
}

.qh-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qh-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 20, 22, 0.16) 0%,
    rgba(18, 20, 22, 0.42) 52%,
    rgba(18, 20, 22, 0.58) 100%
  );
  pointer-events: none;
}

.qh-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 28px;
}

.qh-video-title {
  font-size: clamp(2.2rem, 4.35vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.06;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.qh-video-sub {
  font-size: clamp(0.98rem, 1.32vw, 1.16rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  margin: 0 auto 24px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
}

.qh-video-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.qh-pill-light,
.qh-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: transform var(--transition-fast), background var(--transition-fast), opacity var(--transition-fast);
}

.qh-pill-light {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.qh-pill-light:hover {
  background: #faf7f2;
  transform: translateY(-1px);
}

.qh-pill-dark {
  background: rgba(24, 24, 27, 0.84);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.qh-pill-dark:hover {
  background: rgba(24, 24, 27, 0.96);
  transform: translateY(-1px);
}

.qh-video-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(20, 20, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.qh-video-toggle:hover {
  background: rgba(20, 20, 22, 0.92);
  transform: scale(1.04);
}

.qh-video-toggle .qh-icon-play {
  display: none;
}

.qh-video-stage.is-paused .qh-video-toggle .qh-icon-pause {
  display: none;
}

.qh-video-stage.is-paused .qh-video-toggle .qh-icon-play {
  display: block;
}

/* Band 3: 3-Column Atlas & Diagnostic Intelligence Cards */
.qh-cards-band {
  padding: 20px 0 28px;
}

.qh-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.qh-release-card {
  background: #f2ede3;
  border: 1px solid #e6dfd1;
  border-radius: 16px;
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 392px;
}

.qh-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.qh-eyebrow-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #faf7f2;
  border: 1px solid rgba(29, 29, 31, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #52504c;
  flex-shrink: 0;
}

.qh-eyebrow-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #52504c;
  letter-spacing: -0.008em;
}

.qh-card-title {
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: #1d1d1f;
  margin-bottom: 10px;
}

.qh-card-desc {
  font-size: 0.92rem;
  line-height: 1.56;
  color: #52504c;
  letter-spacing: -0.008em;
}

.qh-card-bottom {
  margin-top: 28px;
}

.qh-spec-list {
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  margin-bottom: 14px;
}

.qh-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  font-size: 0.82rem;
}

.qh-spec-key {
  color: #52504c;
  font-weight: 500;
  white-space: nowrap;
}

.qh-spec-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.qh-spec-links a {
  color: #1d1d1f;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.qh-spec-links a:hover {
  color: var(--function-orange);
}

.qh-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  background: #e8e1d5;
  border: 1px solid rgba(29, 29, 31, 0.06);
  color: #1d1d1f;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.qh-card-cta:hover {
  background: #dfd6c7;
}

/* Band 3.5: Elevated Dark Qureit Clinic Banner */
.qh-clinic-band {
  padding: 0 0 60px;
}

.qh-clinic-strip {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(540px circle at 94% 12%, rgba(232, 90, 45, 0.14), transparent 62%),
    linear-gradient(135deg, #1b1a17 0%, #141416 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 36px;
  color: #f5f5f7;
  box-shadow: 0 18px 40px rgba(20, 20, 22, 0.12);
}

.qh-clinic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.92);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
}

.qh-clinic-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--function-orange);
  box-shadow: 0 0 0 3px rgba(232, 90, 45, 0.22);
}

.qh-clinic-statement {
  font-size: 0.96rem;
  line-height: 1.56;
  letter-spacing: -0.014em;
  margin: 0;
}

.qh-clinic-strip .qh-ink-strong {
  display: block;
  font-size: clamp(1.2rem, 1.8vw, 1.44rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.24;
  color: #ffffff;
  margin-bottom: 6px;
}

.qh-clinic-strip .qh-ink-muted {
  display: block;
  font-size: 0.94rem;
  line-height: 1.56;
  color: rgba(245, 245, 247, 0.74);
  max-width: 580px;
}

.qh-clinic-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  text-align: right;
}

.qh-clinic-pillars {
  font-size: 0.8rem;
  color: rgba(245, 245, 247, 0.58);
  letter-spacing: -0.005em;
}

.qh-clinic-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.qh-apple-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1d1d1f;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.qh-apple-link:hover {
  color: var(--function-orange);
}

.qh-clinic-strip .qh-apple-link {
  color: #ffffff;
  font-weight: 500;
}

.qh-clinic-strip .qh-apple-link:hover {
  color: #ff8259;
}

.qh-apple-link .q-chevron {
  transition: transform var(--transition-fast);
}

.qh-apple-link:hover .q-chevron {
  transform: translateX(3px);
}

.qh-clinic-pill {
  font-size: 0.84rem;
  font-weight: 600;
  color: #141416;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: var(--radius-full);
  padding: 9px 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.qh-clinic-pill:hover {
  background: #faf7f2;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.qh-clinic-strip a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* Band 4: "Learnings" | Editorial Journal & Essay Reader */
.qh-learnings-band {
  padding: 0 0 92px;
  scroll-margin-top: 84px;
}

.qh-learnings-head {
  border-top: 1px solid rgba(29, 29, 31, 0.12);
  padding-top: 22px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.qh-learnings-head-copy {
  max-width: 640px;
}

.qh-learnings-head h2 {
  font-size: clamp(1.5rem, 2.35vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin-bottom: 6px;
}

.qh-learnings-sub {
  font-size: 0.94rem;
  line-height: 1.52;
  color: #52504c;
  letter-spacing: -0.008em;
}

.qh-learnings-all-link {
  flex-shrink: 0;
  padding-bottom: 2px;
}

.qh-learnings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.qh-learning-card {
  background: #ffffff;
  border: 1px solid #e5dfd4;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
}

.qh-learning-card:hover {
  transform: translateY(-3px);
  border-color: #cfc5b4;
  box-shadow: 0 14px 32px rgba(26, 28, 27, 0.06);
}

.qh-learning-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.qh-learning-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(29, 29, 31, 0.06);
  background: #f2ede3;
}

.qh-learning-thumb svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qh-learning-body {
  padding: 22px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.qh-learning-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.qh-learning-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #52504c;
  background: #f3ece1;
  border: 1px solid #e5dfd4;
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.qh-learning-time {
  font-size: 0.74rem;
  font-weight: 500;
  color: #8e9993;
  white-space: nowrap;
}

.qh-learning-series {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--function-orange);
  letter-spacing: -0.005em;
  margin-bottom: 5px;
}

.qh-learning-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.24;
  color: #1d1d1f;
  margin-bottom: 10px;
}

.qh-learning-desc {
  font-size: 0.88rem;
  line-height: 1.56;
  color: #52504c;
  letter-spacing: -0.006em;
  margin-bottom: 20px;
  flex: 1;
}

.qh-learning-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  font-size: 0.84rem;
  font-weight: 600;
  color: #1d1d1f;
  transition: color var(--transition-fast);
}

.qh-learning-card:hover .qh-learning-cta {
  color: var(--function-orange);
}

/* Learnings Reader Modal Overlay */
.qh-reader-overlay {
  position: fixed;
  inset: 0;
  z-index: 260;
  background: rgba(20, 20, 22, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.qh-reader-overlay.active {
  display: flex;
}

.qh-reader-sheet {
  width: 100%;
  min-width: 0;
  max-width: min(840px, 100%);
  max-height: 90vh;
  background: #faf7f2;
  border: 1px solid #e5dfd4;
  border-radius: 22px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.qh-reader-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(250, 247, 242, 0.94);
  border-bottom: 1px solid rgba(29, 29, 31, 0.09);
  flex-shrink: 0;
}

.qh-reader-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1d1d1f;
}

.qh-reader-sep {
  color: #8e9993;
}

.qh-reader-counter {
  color: #52504c;
  font-weight: 500;
}

.qh-reader-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qh-reader-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #52504c;
  text-decoration: none;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(29, 29, 31, 0.12);
  background: #ffffff;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.qh-reader-ext-link:hover {
  color: #1d1d1f;
  border-color: rgba(29, 29, 31, 0.28);
}

.qh-reader-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(29, 29, 31, 0.1);
  background: #ffffff;
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.qh-reader-close:hover {
  background: #f2ede3;
}

.qh-reader-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: var(--function-orange);
  transition: width 0.1s linear;
}

.qh-reader-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.qh-reader-body {
  padding: 40px 56px 32px;
  width: 100%;
  min-width: 0;
  max-width: 740px;
  margin: 0 auto;
}

.qh-reader-footer {
  width: 100%;
  min-width: 0;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 56px 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.qh-reader-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 18px;
  background: #ffffff;
  border: 1px solid #e5dfd4;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.qh-reader-nav-btn.is-next {
  text-align: right;
  align-items: flex-end;
}

.qh-reader-nav-btn:hover {
  border-color: #c9beac;
  background: #fbf8f2;
}

.qh-reader-nav-dir {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--function-orange);
}

.qh-reader-nav-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.014em;
  line-height: 1.3;
}

/* Shared Editorial Essay Prose & Clinical Diagrams */
.qh-essay-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.1);
}

.qh-essay-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.qh-essay-series-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--function-orange);
  background: var(--function-orange-light);
  border: 1px solid var(--function-orange-subtle);
  border-radius: var(--radius-full);
  padding: 4px 11px;
}

.qh-essay-meta-pill {
  font-size: 0.74rem;
  font-weight: 500;
  color: #52504c;
  background: #f2ede3;
  border: 1px solid #e5dfd4;
  border-radius: var(--radius-full);
  padding: 4px 11px;
}

.qh-essay-title {
  font-size: clamp(1.7rem, 3.1vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.14;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.qh-essay-subtitle {
  font-size: 1.08rem;
  line-height: 1.5;
  color: #52504c;
  letter-spacing: -0.012em;
  margin-bottom: 16px;
}

.qh-essay-byline {
  font-size: 0.8rem;
  color: #6b7570;
  font-weight: 500;
}

.qh-essay-prose h3 {
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: #1d1d1f;
  margin: 30px 0 12px;
  line-height: 1.25;
}

.qh-essay-prose p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #363835;
  letter-spacing: -0.006em;
  margin-bottom: 16px;
}

.qh-essay-prose ul {
  margin: 14px 0 20px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qh-essay-prose li {
  font-size: 0.96rem;
  line-height: 1.66;
  color: #363835;
}

.qh-essay-prose strong {
  color: #1d1d1f;
  font-weight: 600;
}

.qh-essay-callout {
  background: #f2ede3;
  border-left: 3px solid var(--function-orange);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 0.95rem;
  line-height: 1.62;
  color: #1d1d1f;
  font-weight: 500;
}

.qh-essay-closing {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.014em;
  margin-top: 22px;
}

/* Essay Diagram Cards */
.qh-diagram-card {
  background: #ffffff;
  border: 1px solid #e5dfd4;
  border-radius: 16px;
  padding: 22px 24px;
  margin: 26px 0;
}

.qh-diagram-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7570;
  margin-bottom: 16px;
}

.qh-diagram-pipeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qh-pipe-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #faf7f2;
  border: 1px solid #e5dfd4;
  flex-wrap: wrap;
}

.qh-pipe-step.is-accent {
  background: #1c1d1b;
  border-color: #1c1d1b;
  color: #ffffff;
}

.qh-pipe-step.is-output {
  background: #eaf5ef;
  border-color: #b7dec7;
}

.qh-pipe-node {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1d1d1f;
}

.qh-pipe-step.is-accent .qh-pipe-node {
  color: #ffffff;
}

.qh-pipe-note {
  font-size: 0.78rem;
  color: #52504c;
  font-weight: 500;
}

.qh-pipe-step.is-accent .qh-pipe-note {
  color: #d6dcd8;
}

.qh-pipe-step.is-output .qh-pipe-note {
  color: #1b7a4a;
  font-weight: 600;
}

.qh-pipe-arrow {
  text-align: center;
  font-size: 0.84rem;
  color: #8e9993;
  line-height: 1;
}

.qh-show-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 22px;
}

.qh-show-work-card {
  background: #ffffff;
  border: 1px solid #e5dfd4;
  border-radius: 12px;
  padding: 16px;
}

.qh-show-work-card h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 6px;
}

.qh-show-work-card p {
  font-size: 0.82rem;
  line-height: 1.54;
  color: #52504c;
  margin: 0;
}

/* Two-Clock Convergence Diagram */
.qh-clocks-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.qh-clock-box {
  border-radius: 12px;
  padding: 16px;
  background: #faf7f2;
  border: 1px solid #e5dfd4;
}

.qh-clock-box.is-fast {
  border-top: 3px solid var(--function-orange);
}

.qh-clock-box.is-slow {
  border-top: 3px solid #1b7a4a;
}

.qh-clock-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d1d1f;
  margin-bottom: 2px;
}

.qh-clock-sub {
  font-size: 0.78rem;
  color: #6b7570;
  margin-bottom: 10px;
}

.qh-clock-box ul {
  margin: 0;
  padding-left: 16px;
  gap: 4px;
}

.qh-clock-box li {
  font-size: 0.82rem;
  line-height: 1.48;
  color: #363835;
}

.qh-clocks-merge {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Clinical Table in Essay 3 */
.qh-clinical-table-wrap {
  margin: 24px 0;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border: 1px solid #e5dfd4;
  border-radius: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.qh-clinical-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  text-align: left;
}

.qh-clinical-table th {
  background: #f3ece1;
  color: #1d1d1f;
  font-weight: 600;
  padding: 12px 14px;
  border-bottom: 1px solid #e5dfd4;
  white-space: nowrap;
}

.qh-clinical-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
  color: #363835;
  vertical-align: top;
  line-height: 1.48;
}

.qh-clinical-table tbody tr:last-child td {
  border-bottom: none;
}

.qh-optimal-pill {
  display: inline-block;
  font-weight: 600;
  color: #1b7a4a;
  background: #eaf5ef;
  border: 1px solid #c3e4d1;
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}

.qh-continuum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 22px;
}

.qh-continuum-step {
  background: #ffffff;
  border: 1px solid #e5dfd4;
  border-radius: 12px;
  padding: 16px;
}

.qh-continuum-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--function-orange);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.qh-continuum-step h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 6px;
}

.qh-continuum-step p {
  font-size: 0.82rem;
  line-height: 1.52;
  color: #52504c;
  margin: 0;
}

/* Essay Bottom Qureit Bridge Box */
.qh-essay-bridge {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #f2ede3;
  border: 1px solid #e5dfd4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.qh-essay-bridge-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--function-orange);
  margin-bottom: 4px;
}

.qh-essay-bridge p {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #1d1d1f;
  margin: 0;
  max-width: 420px;
}

.qh-essay-bridge-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   STANDALONE LEARNINGS PAGE (learnings.html)
   ========================================================================== */
.ql-hero-band {
  padding: 102px 0 42px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.09);
}

.ql-back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #52504c;
  text-decoration: none;
  margin-bottom: 18px;
  transition: color var(--transition-fast);
}

.ql-back-link:hover {
  color: #1d1d1f;
}

.ql-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #1d1d1f;
  background: #f2ede3;
  border: 1px solid #e5dfd4;
  border-radius: var(--radius-full);
  padding: 5px 12px;
  margin-bottom: 16px;
}

.ql-hero-title {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.1;
  color: #1d1d1f;
  max-width: 780px;
  margin-bottom: 14px;
}

.ql-hero-lead {
  font-size: 1.05rem;
  line-height: 1.58;
  color: #52504c;
  max-width: 680px;
  margin-bottom: 26px;
}

.ql-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ql-filter-pill {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(29, 29, 31, 0.12);
  background: rgba(255, 255, 255, 0.65);
  color: #3d3c38;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ql-filter-pill:hover {
  background: #ffffff;
  border-color: rgba(29, 29, 31, 0.25);
}

.ql-filter-pill.is-active {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #ffffff;
}

.ql-main-band {
  padding: 48px 0 88px;
}

.ql-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.ql-sidebar-sticky {
  position: sticky;
  top: 86px;
}

.ql-sidebar-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7570;
  margin-bottom: 12px;
}

.ql-toc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 26px;
}

.ql-toc-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #52504c;
  font-size: 0.84rem;
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.ql-toc-item:hover {
  background: #f2ede3;
  color: #1d1d1f;
}

.ql-toc-item.is-active {
  background: #f2ede3;
  color: #1d1d1f;
  font-weight: 600;
}

.ql-toc-num {
  font-size: 0.72rem;
  color: var(--function-orange);
  font-weight: 700;
}

.ql-sidebar-cta {
  background: #f2ede3;
  border: 1px solid #e5dfd4;
  border-radius: 14px;
  padding: 18px;
}

.ql-sidebar-cta-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 6px;
}

.ql-sidebar-cta p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #52504c;
  margin-bottom: 14px;
}

.ql-feed {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.ql-essay-card {
  background: #ffffff;
  border: 1px solid #e5dfd4;
  border-radius: 20px;
  padding: 40px 44px;
  box-shadow: 0 2px 10px rgba(26, 28, 27, 0.03);
  min-width: 0;
  max-width: 100%;
  scroll-margin-top: 84px;
}

.ql-essay-card.is-hidden {
  display: none;
}

/* ==========================================================================
   ABOUT US PAGE (about.html | Warm Personal Founders Letter & Bio Modal)
   ========================================================================== */
.qa-wrap {
  max-width: 740px;
  margin: 0 auto;
}

.qa-hero-band {
  padding: 108px 0 36px;
}

.qa-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #52504c;
  margin-bottom: 18px;
}

.qa-hero-title {
  font-size: clamp(1.95rem, 3.3vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.032em;
  font-weight: 500;
  margin: 0;
}

.qa-hero-title .qh-ink-strong {
  display: block;
  margin-bottom: 8px;
}

.qa-letter-band {
  padding: 12px 0 88px;
}

.qa-letter-sheet {
  background: #fffdf9;
  border: 1px solid #e7dfd2;
  border-radius: 22px;
  padding: 50px 54px 44px;
  box-shadow: 0 4px 24px rgba(26, 28, 27, 0.035);
}

.qa-letter-salutation {
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: #1d1d1f;
  margin-bottom: 22px;
}

.qa-letter-prose p {
  font-size: 1.03rem;
  line-height: 1.76;
  color: #363835;
  margin-bottom: 20px;
}

.qa-letter-prose strong {
  color: #1d1d1f;
  font-weight: 600;
}

.qa-letter-prose h3 {
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.024em;
  color: #1d1d1f;
  margin: 34px 0 12px;
}

.qa-letter-quote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--function-orange);
  background: #faf5ec;
  border-radius: 0 12px 12px 0;
  font-size: 1.03rem;
  line-height: 1.66;
  color: #1d1d1f;
  font-weight: 500;
}

.qa-letter-signoff {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #ebe3d6;
}

.qa-signoff-warm {
  font-size: 1rem;
  color: #52504c;
  margin-bottom: 14px;
}

.qa-signoff-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.qa-founder-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  background: #faf7f2;
  border: 1px solid #e5dfd4;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-align: left;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.qa-founder-chip:hover,
.qa-founder-chip:focus-visible {
  background: #ffffff;
  border-color: rgba(232, 90, 45, 0.55);
  box-shadow: 0 8px 20px rgba(26, 28, 27, 0.06);
  transform: translateY(-1px);
  outline: none;
}

.qa-chip-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #e5dfd4;
  background: #f2ede3;
  flex-shrink: 0;
}

.qa-chip-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qa-chip-avatar img.is-circle-crop {
  transform: scale(1.14);
  object-position: center center;
}

.qa-chip-avatar img.is-portrait-top {
  object-position: center 12%;
  transform: scale(1.1);
}

.qa-chip-meta {
  display: flex;
  flex-direction: column;
}

.qa-chip-name {
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #1d1d1f;
  line-height: 1.2;
}

.qa-chip-role {
  font-size: 0.74rem;
  color: var(--function-orange);
  font-weight: 500;
  margin-top: 2px;
}

.qa-signoff-hint {
  font-size: 0.8rem;
  color: #6b7570;
  margin: 0;
}

/* Where We Are Based & Quiet Links */
.qa-details-band {
  margin-top: 44px;
}

.qa-details-header {
  margin-bottom: 18px;
}

.qa-details-header h2 {
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.024em;
  color: #1d1d1f;
  margin-bottom: 4px;
}

.qa-details-header p {
  font-size: 0.9rem;
  color: #52504c;
  margin: 0;
}

/* Locations & Address Grid */
.qa-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.qa-location-box {
  background: #fffdf9;
  border: 1px solid #e7dfd2;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.qa-location-type {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7570;
  margin-bottom: 4px;
}

.qa-location-box h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  margin-bottom: 10px;
}

.qa-address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.62;
  color: #363835;
  margin-bottom: 16px;
  flex: 1;
}

.qa-location-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qa-contact-meta {
  font-size: 0.8rem;
  color: #52504c;
  margin-top: 2px;
}

.qa-contact-meta a {
  color: #1d1d1f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qa-contact-meta a:hover {
  color: var(--function-orange);
}

.qa-quiet-bridge {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.qa-quiet-bridge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1d1d1f;
  text-decoration: none;
  background: #f2ede3;
  border: 1px solid #e5dfd4;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.qa-quiet-bridge-link:hover {
  background: #ffffff;
  border-color: rgba(232, 90, 45, 0.45);
  color: var(--function-orange);
}

/* Founder Pop-Up Modal */
.qa-founder-modal {
  max-width: 500px;
  background: #faf7f2;
  padding: 32px;
}

.qa-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-right: 28px;
}

.qa-modal-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e5dfd4;
  background: #f2ede3;
  flex-shrink: 0;
}

.qa-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qa-modal-avatar img.is-circle-crop {
  transform: scale(1.14);
  object-position: center center;
}

.qa-modal-avatar img.is-portrait-top {
  object-position: center 12%;
  transform: scale(1.1);
}

.qa-modal-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--function-orange);
  margin-bottom: 3px;
}

.qa-modal-name {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  color: #1d1d1f;
  margin-bottom: 2px;
}

.qa-modal-loc {
  font-size: 0.82rem;
  color: #6b7570;
  margin: 0;
}

.qa-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.qa-modal-tags span {
  font-size: 0.74rem;
  font-weight: 500;
  color: #3d3c38;
  background: #ffffff;
  border: 1px solid #e5dfd4;
  border-radius: var(--radius-full);
  padding: 4px 11px;
}

.qa-modal-bio {
  font-size: 0.94rem;
  line-height: 1.66;
  color: #363835;
  margin-bottom: 22px;
}

.qa-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #e5dfd4;
}

.qa-modal-btn-linkedin,
.qa-modal-btn-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 15px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.qa-modal-btn-linkedin {
  background: #1d1d1f;
  color: #ffffff;
}

.qa-modal-btn-linkedin:hover {
  background: #333336;
  transform: translateY(-1px);
}

.qa-modal-btn-email {
  background: #ffffff;
  color: #1d1d1f;
  border: 1px solid #d4cbbb;
}

.qa-modal-btn-email:hover {
  border-color: var(--function-orange);
  color: var(--function-orange);
}

/* Footer Address Block */
.qh-footer-address {
  font-size: 0.76rem;
  line-height: 1.58;
  color: #a1a1a6;
  margin-bottom: 10px;
}

.qh-footer-address strong {
  color: #d6dcd8;
  font-weight: 600;
}

.qh-footer-address a {
  color: #d6dcd8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.qh-footer-address a:hover {
  color: #ffffff;
}

/* Band 5: Compact Dark Editorial Oversight Statement */
.qh-oversight-band {
  background: #141416;
  padding: 96px 0 76px;
  color: #f5f5f7;
}

.qh-oversight-inner {
  max-width: 720px;
}

.qh-oversight-inner h2 {
  font-size: clamp(1.95rem, 3.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 10px;
}

.qh-oversight-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
  font-weight: 500;
  color: #a1a1a6;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.qh-oversight-body {
  font-size: 1.04rem;
  line-height: 1.68;
  color: #a1a1a6;
  margin-bottom: 24px;
}

.qh-oversight-body em,
.qh-ink-white {
  color: #ffffff;
  font-style: normal;
  font-weight: 500;
}

.qh-oversight-close {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Band 6: Deep Charcoal Anthropic-Style Directory Footer */
.qh-footer {
  background: #141416;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 64px 0 56px;
  color: #a1a1a6;
}

.qh-footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding-bottom: 52px;
}

.qh-footer-logo {
  text-decoration: none;
  display: inline-block;
}

.qh-footer-logo .brand-qureit {
  font-size: 1.65rem;
  color: #faf7f2;
  letter-spacing: -0.03em;
}

.qh-footer-tagline {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #8e9993;
}

.qh-acc-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qh-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  background: transparent;
  border: none;
  color: #f5f5f7;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.qh-acc-trigger:hover {
  color: #ffffff;
}

.qh-acc-chevron {
  color: #8e9993;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.qh-acc-item.is-open .qh-acc-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.qh-acc-panel {
  display: none;
  padding-bottom: 16px;
}

.qh-acc-item.is-open .qh-acc-panel {
  display: block;
}

.qh-acc-panel ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.qh-acc-panel a {
  font-size: 0.84rem;
  color: #a1a1a6;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.qh-acc-panel a:hover {
  color: #ffffff;
}

.qh-footer-mid {
  display: grid;
  grid-template-columns: 280px 1fr 220px;
  gap: 48px;
  padding-top: 28px;
}

.qh-footer-col-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f5f5f7;
  margin-bottom: 8px;
}

.qh-footer-copy {
  font-size: 0.78rem;
  color: #f5f5f7;
  margin-bottom: 8px;
}

.qh-footer-disclaimer,
.qh-footer-mission p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #8e9993;
}

.qh-footer-start ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qh-footer-start a {
  font-size: 0.82rem;
  color: #a1a1a6;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.qh-footer-start a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links {
    gap: 18px;
  }
}

@media (max-width: 1140px) {
  .atlas-hide-tablet {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 0.82rem;
  }
  .atlas-nav-pill {
    padding: 5px 10px;
    font-size: 0.74rem;
  }
  .atlas-nav-left {
    gap: 5px;
  }
  .atlas-nav-divider {
    margin: 0 2px;
  }
  .hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 16px 12px;
  }
  .stat-cell {
    padding: 8px 14px;
  }
  .stat-val {
    white-space: normal;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .biomarker-groups-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .rotation-container {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stack-card {
    min-height: auto;
  }
  .stack-card-body {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 28px 36px;
  }
  .stack-card-media {
    min-height: 320px;
  }
  .assurance-grid, .q-bento-grid, .clinic-detail-strip, .clinic-hybrid-grid {
    grid-template-columns: 1fr;
  }
  .clinic-detail-cta-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
  }
  .clinic-portrait-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clinic-delivery-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Qureit Homepage (.q-home) Tablet */
  .qh-hide-tablet {
    display: none;
  }
  .qh-nav-pill {
    padding: 5px 10px;
    font-size: 0.74rem;
  }
  .qh-video-primary {
    height: clamp(420px, 60vh, 560px);
  }
  .qh-video-overlay {
    padding: 28px 24px;
  }
  .qh-video-toggle {
    right: 14px;
    bottom: 14px;
  }
  .qh-learnings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ql-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .ql-sidebar {
    display: none;
  }
  .ql-essay-card {
    padding: 32px 28px;
  }
}

@media (max-width: 920px) {
  .qh-cards-grid,
  .qh-learnings-grid,
  .qh-show-work-grid,
  .qh-continuum-grid,
  .qh-clocks-split,
  .qa-locations-grid {
    grid-template-columns: 1fr;
  }
  .qh-reader-body {
    padding: 30px 28px 24px;
  }
  .qh-reader-footer {
    padding: 0 28px 30px;
    grid-template-columns: 1fr;
  }
  .qh-reader-nav-btn.is-next {
    text-align: left;
    align-items: flex-start;
  }
  .qh-release-card {
    min-height: auto;
  }
  .qh-clinic-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .qh-clinic-side {
    align-items: flex-start;
    text-align: left;
  }
  .qh-clinic-actions {
    justify-content: flex-start;
  }
  .qh-footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }
  .qh-footer-mid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .mobile-hide {
    display: none !important;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-header .nav-links, .nav-loc-chip {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .mobile-drawer {
    padding: 24px 20px 32px;
  }
  .mobile-drawer .nav-links {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
  }
  .mobile-drawer .nav-links a {
    font-size: 1.32rem;
    font-weight: 500;
  }
  .nav-inner, .q-page .nav-inner, .atlas-page .atlas-nav-inner {
    height: 60px;
  }
  .atlas-page .atlas-nav-inner {
    display: flex;
    justify-content: space-between;
  }
  .atlas-nav-left,
  .atlas-nav-right .atlas-nav-pill {
    display: none;
  }
  .brand-name, .q-page .brand-name.brand-qureit, .atlas-page .atlas-brand-center .brand-name {
    font-size: 1.42rem;
  }
  .nav-actions, .atlas-nav-right {
    gap: 10px;
  }
  .q-nav-cta, .site-header .btn-sm {
    padding: 7px 13px;
    font-size: 0.78rem;
  }

  /* Responsive Typography */
  h1 {
    font-size: clamp(2.15rem, 8.5vw, 2.75rem);
    line-height: 1.08;
  }
  h2 {
    font-size: clamp(1.7rem, 6.8vw, 2.2rem);
    line-height: 1.14;
  }
  .section-head {
    margin-bottom: 30px;
  }
  .section-sub, .pricing-sub {
    font-size: 0.96rem;
  }

  /* Atlas Main Page */
  .hero-section, .atlas-page .hero-section {
    padding-top: 96px;
    padding-bottom: 52px;
  }
  .hero-loc-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
    margin-bottom: 16px;
  }
  .hero-waves {
    height: 150px;
    opacity: 0.85;
  }
  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.58;
    margin-bottom: 24px;
  }
  .hero-actions {
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-actions .btn-lg,
  .problem-cta-wrap .btn-lg,
  .cta-box .btn-lg {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.94rem;
  }
  .hero-stats-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 4px 16px;
    margin-bottom: 0;
  }
  .stat-cell {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-cream);
    padding: 10px 4px;
  }
  .atlas-page .stat-cell {
    border-right: none;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  .stat-cell:last-child {
    border-bottom: none;
  }
  .stat-val {
    font-size: 0.86rem;
    white-space: normal;
  }
  .section-problem, .section-biomarkers, .section-rotation, .section-pricing, .section-faq, .section-cta {
    padding: 56px 0;
  }
  .problem-header {
    margin-bottom: 28px;
  }
  .problem-quote {
    font-size: 1.08rem;
    margin-bottom: 14px;
  }
  .problem-description {
    font-size: 0.94rem;
    line-height: 1.58;
  }
  .problem-punchline {
    font-size: 1.06rem;
    margin-top: 12px;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .comparison-card {
    padding: 26px 20px;
  }
  .comparison-card h4 {
    font-size: 1.45rem;
    margin-bottom: 10px;
  }
  .feature-list {
    gap: 10px;
  }
  .feature-list li {
    font-size: 0.88rem;
  }
  .problem-cta-wrap {
    margin-top: 26px;
  }
  .problem-cta-sub {
    display: none;
  }

  /* Atlas Biomarker Directory */
  .biomarker-controls {
    gap: 12px;
    margin-bottom: 18px;
  }
  .biomarker-search-bar {
    padding: 10px 14px;
  }
  .biomarker-search-bar input {
    font-size: 0.88rem;
  }
  .biomarker-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 6px;
  }
  .biomarker-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex-shrink: 0;
    padding: 6px 13px;
    font-size: 0.78rem;
  }
  .biomarker-count-status {
    font-size: 0.8rem;
    margin-bottom: 16px;
  }
  .biomarker-groups-container {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }
  .biomarker-category-card {
    padding: 15px 16px;
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .biomarker-category-card.is-expanded {
    border-color: rgba(255, 90, 31, 0.28);
  }
  .category-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    cursor: pointer;
    user-select: none;
    min-height: 28px;
  }
  .biomarker-category-card.is-expanded .category-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-cream);
  }
  .category-header h4 {
    font-size: 1.02rem;
  }
  .cat-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: transform 0.22s ease, color 0.2s ease;
  }
  .biomarker-category-card.is-expanded .cat-chevron {
    transform: rotate(180deg);
    color: var(--function-orange);
  }
  .biomarker-category-card:not(.is-expanded) .marker-pill-list {
    display: none;
  }
  .marker-pill-list {
    margin-bottom: 0;
    gap: 5px;
  }
  .marker-pill {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
  .category-note {
    display: none;
  }
  .biomarker-rotation-callout {
    padding: 16px;
    gap: 12px;
  }
  .biomarker-rotation-callout p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  /* Atlas Rotation Simulator & Pricing */
  .rotation-container {
    gap: 28px;
  }
  .rotation-text-side p {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  .pathway-widget {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .pathway-selector-buttons {
    gap: 6px;
  }
  .pathway-btn {
    padding: 10px;
    font-size: 0.8rem;
  }
  .pathway-diagram-box {
    padding: 14px;
  }
  .pricing-head {
    margin-bottom: 22px;
  }
  .mobile-pricing-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 5px;
    background: var(--bg-cream);
    border: 1px solid var(--border-cream);
    border-radius: 14px;
    margin-bottom: 24px;
  }
  .mobile-seg-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 6px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    text-align: center;
  }
  .mobile-seg-btn .seg-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
  }
  .mobile-seg-btn .seg-price {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.2;
  }
  .mobile-seg-btn.active {
    background: #ffffff;
    border-color: rgba(255, 90, 31, 0.28);
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.06);
  }
  .mobile-seg-btn.active .seg-title {
    color: var(--function-orange);
  }
  .mobile-seg-btn.active .seg-price {
    color: var(--text-dark);
  }
  .pricing-grid {
    gap: 16px;
    margin-bottom: 22px;
  }
  .pricing-grid .pricing-card {
    display: none;
  }
  .pricing-grid .pricing-card.is-mobile-active {
    display: flex;
  }
  .pricing-card {
    padding: 26px 20px;
    border-radius: 18px;
  }
  .tier-name {
    font-size: 1.65rem;
  }
  .tier-best-for {
    min-height: auto;
    font-size: 0.84rem;
  }
  .price-val {
    font-size: 2.35rem;
  }
  .tier-features {
    gap: 9px;
    margin-bottom: 20px;
  }
  .tier-features li {
    font-size: 0.84rem;
  }
  .pricing-extra-box {
    padding: 20px 18px;
    margin-bottom: 22px;
  }
  .comparison-table-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 16px;
    cursor: pointer;
    user-select: none;
    border-bottom: none;
  }
  .comparison-table-wrapper.is-expanded .comparison-table-header {
    border-bottom: 1px solid var(--border-cream);
  }
  .table-toggle-chevron {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--function-orange);
    flex-shrink: 0;
  }
  .table-toggle-chevron svg {
    transition: transform 0.22s ease;
  }
  .comparison-table-wrapper.is-expanded .table-toggle-chevron svg {
    transform: rotate(180deg);
  }
  .comparison-table-wrapper:not(.is-expanded) .comparison-table-scroll {
    display: none;
  }
  .specs-table {
    font-size: 0.7rem;
    table-layout: fixed;
    width: 100%;
  }
  .specs-table th:first-child {
    width: 31% !important;
  }
  .specs-table th:not(:first-child) {
    width: 23% !important;
  }
  .specs-table th, .specs-table td {
    padding: 9px 5px;
    overflow-wrap: break-word;
  }
  .specs-table tbody tr:last-child td {
    font-size: 0.9rem !important;
  }

  /* Atlas FAQ & Footer */
  .faq-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }
  .faq-question {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    font-size: 0.96rem;
    cursor: pointer;
    user-select: none;
  }
  .faq-mobile-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--text-secondary);
    transition: transform 0.22s ease, color 0.2s ease;
  }
  .faq-row.is-expanded .faq-mobile-chevron {
    transform: rotate(180deg);
    color: var(--function-orange);
  }
  .faq-row:not(.is-expanded) .faq-answer {
    display: none;
  }
  .faq-answer p {
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .site-footer {
    padding: 48px 0 28px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Qureit Home (index.html) */
  .q-hero {
    padding: 96px 0 56px;
  }
  .q-hero-title {
    font-size: clamp(2.15rem, 8.8vw, 2.75rem);
    margin-bottom: 12px;
  }
  .q-hero-subtitle {
    font-size: 1.08rem;
    margin-bottom: 26px;
  }
  .q-hero-actions {
    gap: 14px;
    flex-direction: column;
  }
  .q-hero-actions .btn-lg {
    width: 100%;
    max-width: 320px;
  }
  .q-manifesto-band, .q-expression-band, .q-oversight-band, .q-closing-band {
    padding: 58px 0;
  }
  .q-manifesto-heading, .q-oversight-inner h2, .q-closing-title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    margin-bottom: 20px;
  }
  .q-manifesto-inner p, .q-oversight-body {
    font-size: 0.98rem;
    line-height: 1.62;
    margin-bottom: 16px;
  }
  .q-manifesto-close {
    margin-top: 24px !important;
    font-size: 1.14rem !important;
  }
  .q-bento-atlas, .q-bento-clinic {
    padding: 28px 22px;
    min-height: auto;
    border-radius: 22px;
  }
  .q-bento-atlas h2 {
    font-size: 1.9rem;
  }
  .q-bento-actions {
    margin-top: 24px;
  }
  .q-bento-actions .btn-lg {
    width: 100%;
  }
  .q-closing-actions {
    gap: 14px;
    flex-direction: column;
  }
  .q-closing-actions .btn-lg {
    width: 100%;
    max-width: 320px;
  }
  .q-closing-whisper {
    margin-top: 32px;
  }
  .q-footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .q-footer-nav {
    gap: 12px 18px;
  }

  /* Qureit Clinic (clinic.html) */
  .clinic-photo-hero {
    min-height: 490px;
    padding: 96px 0 56px;
  }
  .clinic-hero-bg-img {
    object-position: 68% 24%;
  }
  .clinic-hero-scrim {
    background: linear-gradient(180deg, rgba(18, 16, 14, 0.44) 0%, rgba(18, 16, 14, 0.78) 100%);
  }
  .clinic-photo-hero-title {
    font-size: clamp(2.1rem, 8.4vw, 2.65rem);
    margin-bottom: 14px;
  }
  .clinic-photo-hero-sub {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }
  .clinic-hero-actions {
    gap: 10px;
  }
  .clinic-hero-actions .btn-lg {
    width: 100%;
  }
  .clinic-specialties-band, .clinic-delivery-band, .clinic-hybrid-band, .clinic-closing-band {
    padding: 56px 0;
  }
  .clinic-section-head {
    margin-bottom: 24px;
  }
  .clinic-section-head p {
    font-size: 0.96rem;
  }
  .clinic-portrait-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .clinic-portrait-card {
    aspect-ratio: 3 / 3.9;
    border-radius: 14px;
  }
  .clinic-portrait-card.active {
    box-shadow: 0 0 0 2px #171614, 0 0 0 4px var(--function-orange);
  }
  .clinic-portrait-dot-badge {
    width: 20px;
    height: 20px;
    top: 10px;
    left: 10px;
  }
  .clinic-portrait-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .clinic-portrait-title {
    font-size: 0.94rem;
    margin-bottom: 0;
  }
  .clinic-portrait-sub {
    display: none;
  }
  .clinic-detail-strip {
    margin-top: 16px;
    padding: 24px 20px;
    gap: 20px;
    border-radius: 18px;
  }
  .clinic-detail-cta-col .btn-lg {
    width: 100%;
  }
  .clinic-delivery-grid {
    gap: 20px;
  }
  .clinic-hybrid-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 14px;
    margin-bottom: 18px;
  }
  .clinic-hybrid-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .clinic-hybrid-grid .clinic-mode-card {
    display: none;
  }
  .clinic-hybrid-grid .clinic-mode-card.is-mobile-active {
    display: flex;
  }
  .clinic-mode-media {
    aspect-ratio: 16 / 9;
  }
  .clinic-mode-body {
    padding: 22px 20px;
    min-height: auto;
  }
  .clinic-mode-body p {
    font-size: 0.92rem;
    margin-bottom: 16px;
  }

  /* How It Works (how-it-works.html) */
  .hiw-hero {
    padding: 92px 0 38px;
  }
  .hiw-hero .hero-lead {
    margin-bottom: 20px;
  }
  .hiw-step-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .hiw-step-pill {
    padding: 8px 10px;
    font-size: 0.76rem;
    justify-content: flex-start;
  }
  .hiw-stack-section {
    padding: 36px 0 56px;
  }
  .stack-cards-container {
    gap: 28px;
  }
  .stack-card {
    top: calc(4.1rem + var(--card-index, 0) * 2.15rem);
    min-height: auto;
    border-radius: 18px;
  }
  .stack-scroll-spacer {
    height: 16px;
  }
  .stack-card-top-bar {
    height: 2.15rem;
    padding: 0 14px;
  }
  .stack-top-title {
    font-size: 0.82rem;
  }
  .stack-step-badge {
    font-size: 0.68rem;
    padding: 3px 8px;
  }
  .stack-top-cadence {
    display: none;
  }
  .stack-card-body {
    padding: 16px 14px 18px;
    gap: 14px;
  }
  .stack-card-copy h2 {
    font-size: 1.38rem;
    margin-bottom: 8px;
  }
  .stack-card-copy > p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .stack-bullets {
    gap: 7px;
    padding-top: 12px;
  }
  .stack-bullets li {
    font-size: 0.84rem;
  }
  .stack-card-media {
    min-height: 195px;
    padding: 14px 12px 0;
    border-radius: 14px;
  }
  .stack-glass-stage {
    padding-bottom: 34px;
  }
  .glass-metric-card {
    min-width: 150px;
    padding: 14px 20px;
  }
  .glass-metric-value {
    font-size: 2.15rem;
  }
  .glass-metric-label {
    font-size: 0.84rem;
    margin-top: 4px;
  }
  .glass-caret {
    margin-top: 10px;
    margin-bottom: 6px;
  }
  .glass-timeline-pill {
    padding: 4px 12px;
    font-size: 0.74rem;
  }
  .glass-ruler {
    height: 34px;
  }
  .glass-ruler-center {
    height: 30px;
  }
  .glass-ruler-ticks {
    height: 26px;
  }
  .glass-ruler-ticks span {
    height: 12px;
  }
  .glass-ruler-ticks span.tall {
    height: 24px;
  }
  .hiw-assurance-section {
    padding: 52px 0;
  }
  .assurance-card {
    padding: 20px;
  }
  .modal-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  /* Qureit Homepage (.q-home) Mobile */
  .q-home .qh-nav-inner {
    display: flex;
    justify-content: space-between;
    height: 56px;
  }
  .qh-nav-left,
  .qh-nav-right .qh-nav-pill,
  .qh-nav-right .qh-nav-cta {
    display: none;
  }
  .q-home .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .qh-mission-band {
    padding: 86px 0 24px;
  }
  .qh-mission-statement {
    font-size: clamp(1.36rem, 6vw, 1.85rem);
    line-height: 1.24;
  }
  .qh-video-band {
    padding: 0 0 24px;
  }
  .qh-video-stage {
    width: calc(100% - 40px);
  }
  .qh-video-primary {
    height: auto;
    aspect-ratio: 4 / 4.2;
    min-height: 360px;
    border-radius: var(--qh-video-radius, 14px);
  }
  .qh-video-overlay {
    padding: 24px 18px;
  }
  .qh-video-title {
    font-size: clamp(1.75rem, 8vw, 2.3rem);
    margin-bottom: 10px;
  }
  .qh-video-sub {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }
  .qh-pill-light,
  .qh-pill-dark {
    padding: 9px 16px;
    font-size: 0.82rem;
  }
  .qh-video-toggle {
    right: 12px;
    bottom: 12px;
    width: 32px;
    height: 32px;
  }
  .qh-cards-band {
    padding: 12px 0 20px;
  }
  .qh-release-card {
    padding: 22px 20px;
  }
  .qh-clinic-band {
    padding: 0 0 44px;
  }
  .qh-clinic-strip {
    padding: 26px 22px;
    gap: 20px;
  }
  .qh-learnings-band {
    padding: 0 0 60px;
  }
  .qh-learnings-head {
    margin-bottom: 22px;
  }
  .qh-learning-body {
    padding: 18px 18px 18px;
  }
  .qh-reader-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .qh-reader-sheet {
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
  }
  .qh-reader-topbar {
    padding: 12px 16px;
  }
  .qh-reader-ext-link {
    font-size: 0.72rem;
    padding: 4px 9px;
  }
  .qh-reader-body {
    padding: 24px 20px 20px;
  }
  .qh-reader-footer {
    padding: 0 20px 28px;
  }
  .qh-essay-bridge {
    padding: 18px;
  }
  .ql-hero-band {
    padding: 88px 0 32px;
  }
  .ql-main-band {
    padding: 32px 0 60px;
  }
  .ql-essay-card {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .qa-hero-band {
    padding: 86px 0 24px;
  }
  .qa-hero-title {
    font-size: clamp(1.5rem, 6.4vw, 1.95rem);
    line-height: 1.24;
  }
  .qa-letter-band {
    padding: 8px 0 56px;
  }
  .qa-letter-sheet {
    padding: 28px 22px 26px;
    border-radius: 18px;
  }
  .qa-letter-prose p,
  .qa-letter-quote {
    font-size: 0.96rem;
    line-height: 1.7;
  }
  .qa-signoff-chips {
    flex-direction: column;
    align-items: flex-start;
  }
  .qa-founder-chip {
    width: 100%;
  }
  .qa-founder-modal {
    padding: 24px 20px;
  }
  .qa-modal-header {
    gap: 12px;
  }
  .qa-modal-avatar {
    width: 68px;
    height: 68px;
  }
  .qa-modal-actions a {
    flex: 1;
    justify-content: center;
  }
  .qh-oversight-band {
    padding: 58px 0 48px;
  }
  .qh-footer {
    padding: 48px 0 40px;
  }
  .qh-footer-mid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
