/* Mobile-first finishing layer for the public Cigara site. */
.not-a-lecture {
  margin: 0 0 22px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.not-a-lecture em { font: inherit; color: inherit; }

.lecture-line {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 800;
}

.pause-eyebrow { color: var(--ink); }

/* The original stylesheet used invalid width maths here, which can cause
   document pages to overflow on mobile browsers. */
.wrap { width: min(calc(100% - 48px), 1120px); }
.document { width: min(calc(100% - 48px), 760px); }
.hero-art { min-height: 520px; overflow: visible; }

@media (max-width: 720px) {
  html { -webkit-text-size-adjust: 100%; }
  body { min-width: 320px; padding-bottom: env(safe-area-inset-bottom); }
  .site-header, .doc-header-inner { min-height: 68px; }
  .doc-header-inner { gap: 12px; }
  .text-link, .back-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }
  .hero { padding-top: 34px; padding-bottom: 60px; }
  .hero-copy .eyebrow { font-size: .68rem; letter-spacing: .13em; }
  .hero h1 { margin-bottom: 14px; }
  .not-a-lecture { margin-bottom: 21px; font-size: clamp(1.72rem, 8.4vw, 2.15rem); }
  .intro { padding-inline: 4px; }
  .hero-art { margin-top: 16px; min-height: 322px; }
  .promise, .support { padding-block: 64px; }
  .promise > p:last-child, .privacy-content > p:last-of-type, .support > p:not(.eyebrow) { font-size: 1rem; line-height: 1.6; }
  .features { padding-bottom: 64px; }
  .features article { border-radius: 16px; }
  .features p { margin-bottom: 0; line-height: 1.58; }
  .privacy-band { padding-block: 64px; }
  .support-links a { min-height: 58px; display: flex; align-items: center; justify-content: space-between; }
  .support-links span { float: none; font-size: 1.2rem; line-height: 1; }
  .document { width: calc(100% - 40px); padding-top: 40px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .document h1 { margin-bottom: 21px; font-size: clamp(2.55rem, 13vw, 3.55rem); line-height: .96; overflow-wrap: anywhere; }
  .document h2 { font-size: 1.42rem; line-height: 1.15; }
  .document p { line-height: 1.65; }
  .notice { padding: 18px; border-radius: 14px; }
  .document a:not(.wordmark):not(.back-link) { overflow-wrap: anywhere; }
}

/* Some mobile browsers report a desktop viewport. Coarse pointer reliably
   identifies a phone/touch device and keeps documents readable there too. */
@media (pointer: coarse) {
  .hero { grid-template-columns: 1fr; gap: 0; min-height: 0; padding-top: 34px; padding-bottom: 60px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { margin-bottom: 18px; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(3rem, 15vw, 4rem); }
  .intro { max-width: 430px; margin-inline: auto; padding-inline: 4px; font-size: 1.03rem; line-height: 1.52; }
  .store-note { justify-content: center; margin-top: 20px; font-size: .82rem; }
  .hero-art { width: calc(100% - 32px); min-height: 300px; margin: 16px auto 0; overflow: visible; }
  .orb-one { width: 260px; height: 260px; transform: translate(8px, -4px); }
  .orb-two { width: 185px; height: 185px; transform: translate(-76px, 70px); }
  .phone { transform: scale(.65) rotate(4deg); transform-origin: center; }
  .doc-header-inner { padding-block: 16px; gap: 12px; }
  .back-link { min-height: 42px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; white-space: nowrap; }
  .document { width: calc(100% - 40px); padding-top: 40px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .document h1 { font-size: clamp(2.55rem, 13vw, 3.55rem); line-height: .96; overflow-wrap: anywhere; }
  .document h2 { font-size: 1.42rem; line-height: 1.15; }
  .document p { font-size: 1rem; line-height: 1.65; }
  .notice { padding: 18px; border-radius: 14px; }
}

@media (max-width: 430px) {
  .wrap, .document { width: calc(100% - 32px); }
  .site-header { padding-block: 14px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4rem); }
  .hero-art { min-height: 305px; }
  .phone { transform: scale(.64) rotate(4deg); }
  .promise h2, .privacy-content h2 { font-size: clamp(2.12rem, 10.8vw, 2.8rem); }
  .footer-inner { padding-bottom: calc(25px + env(safe-area-inset-bottom)); }
}
