/* ============================================================
   calendar-print.css
   Self-contained, brand-matched stylesheet for the printable
   30-Day Survival Calendar (/calendar-print).

   Standalone on purpose — it re-declares the Sober Strong brand
   tokens/fonts so the print document is fully under our control
   and not fighting the full site's layout in style.css.

   Screen = a clean document preview. Print = a real PDF.
   ============================================================ */

:root {
  --ink:        #0a0a0a;
  --ink-soft:   rgba(10, 10, 10, 0.72);
  --ink-faint:  rgba(10, 10, 10, 0.5);
  --bg:         #ffffff;
  --bg-alt:     #f6f6f7;
  --border:     #e6e6e8;
  --border-mid: #d6d6da;

  --accent:     #ff3d6e;   /* hot pink — Stage 1 + primary accent */
  --accent-dk:  #d61f4f;
  --sage:       #6b8e7a;   /* Stage 2 */
  --sage-dk:    #4f6b5b;
  --purple:     #7a3ec4;   /* Stage 3 */
  --purple-dk:  #4f2786;
  --teal:       #00b3c0;   /* Stage 4 (slightly deepened for ink/contrast) */
  --teal-dk:    #008a93;

  --font-display: 'Archivo Black', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --doc-width: 800px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-alt);
  color: var(--ink);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── SCREEN TOOLBAR (hidden in print) ───────────────────── */
.p-toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(10, 10, 10, 0.94);
  color: #fff;
  backdrop-filter: saturate(140%) blur(6px);
}
.p-toolbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.p-back {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  white-space: nowrap;
}
.p-back:hover { opacity: 1; }
.p-toolbar-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(255, 61, 110, 0.4);
  transition: background 0.15s ease, transform 0.1s ease;
}
.p-print-btn:hover { background: var(--accent-dk); }
.p-print-btn:active { transform: translateY(1px); }
.p-print-btn svg { width: 16px; height: 16px; }

.p-hint {
  max-width: var(--doc-width);
  margin: 14px auto 0;
  padding: 0 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
  text-align: center;
}

/* ── DOCUMENT SHELL ─────────────────────────────────────── */
.doc {
  max-width: var(--doc-width);
  margin: 20px auto 60px;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border), 0 30px 80px rgba(10, 10, 10, 0.1);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 60ch;
}

/* ── COVER ──────────────────────────────────────────────── */
.cover {
  text-align: center;
  padding: 72px 56px 60px;
  border-top: 6px solid var(--ink);
}
.cover-brand {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink);
}
.cover-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 18px auto 40px;
}
.cover-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.cover h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 60px;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.cover h1 em {
  font-style: normal;
  color: var(--accent);
}
.cover-tagline {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 30ch;
  margin: 0 auto 28px;
}
.cover-byline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 44px;
}
.cover-byline strong { font-weight: 500; }

.cover-inside {
  text-align: left;
  max-width: 440px;
  margin: 0 auto 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 30px;
  background: var(--bg-alt);
}
.cover-inside-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.cover-inside ul { list-style: none; }
.cover-inside li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  padding: 7px 0;
}
.cover-inside li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1.5;
}
.cover-cta {
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 18px 28px;
  max-width: 460px;
  margin: 0 auto 36px;
}
.cover-cta strong { display: block; font-size: 15px; margin-bottom: 3px; }
.cover-cta span { font-size: 12px; color: rgba(255, 255, 255, 0.6); }

.cover-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 52ch;
  margin: 0 auto;
}
.cover-disclaimer strong { color: var(--ink-soft); }

/* ── SECTIONS ───────────────────────────────────────────── */
.section {
  padding: 52px 56px;
  border-top: 1px solid var(--border);
}
.section--alt { background: var(--bg-alt); }
.section--ink {
  background: var(--ink);
  color: #fff;
  border-top: none;
}
.section--ink .lede { color: rgba(255, 255, 255, 0.78); }
.section--ink .eyebrow { color: var(--accent); }

.section-head { margin-bottom: 32px; }
.section-head .eyebrow { margin-bottom: 10px; }
.section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section h2 em { font-style: normal; color: var(--accent); }
.subhead {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.section--ink .subhead { color: rgba(255, 255, 255, 0.55); }

/* ── PULLQUOTE ──────────────────────────────────────────── */
.pullquote {
  border-left: 4px solid var(--accent);
  padding: 6px 0 6px 24px;
  margin: 28px 0;
}
.pullquote p { font-size: 18px; font-weight: 600; line-height: 1.5; }
.pullquote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-top: 10px;
}

/* ── 4 PILLARS ──────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.pillar {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  background: var(--bg);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  margin: 6px 0 8px;
}
.pillar p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; }

.close-line {
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 20px;
  font-size: 14px;
}

/* ── WARNING / DISCLAIMER ASIDE ─────────────────────────── */
.warning {
  border: 1px solid var(--accent);
  background: rgba(255, 61, 110, 0.05);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 28px;
}
.warning-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 10px;
}
.warning p { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.warning p:last-child { margin-bottom: 0; }
.warning a { color: var(--accent-dk); }

/* ── 90-DAY MAP ─────────────────────────────────────────── */
.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.map-item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 16px 18px;
}
.map-item .map-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.map-item strong { display: block; font-size: 16px; margin: 4px 0 4px; }
.map-item span { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.map-trans {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin: 8px 0 28px;
  max-width: 60ch;
}

.stages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stage-mini {
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
}
.stage-mini.s2 { border-left-color: var(--sage); }
.stage-mini.s3 { border-left-color: var(--purple); }
.stage-mini.s4 { border-left-color: var(--teal); }
.stage-mini .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.stage-mini.s2 .tag { color: #9bbfa9; }
.stage-mini.s3 .tag { color: #b893e8; }
.stage-mini.s4 .tag { color: #5fd6df; }
.stage-mini h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  margin: 6px 0 8px;
}
.stage-mini p { font-size: 13px; color: rgba(255, 255, 255, 0.74); line-height: 1.6; }

/* ── BUILD THE CAGE ─────────────────────────────────────── */
.cage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0;
}
.cage-col {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
}
.cage-col.out { background: rgba(255, 61, 110, 0.04); border-color: rgba(255, 61, 110, 0.25); }
.cage-col.in { background: rgba(107, 142, 122, 0.07); border-color: rgba(107, 142, 122, 0.3); }
.cage-col h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cage-col.out h3 .ic { color: var(--accent); }
.cage-col.in h3 .ic { color: var(--sage-dk); }
.cage-col ul { list-style: none; }
.cage-col li {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 5px 0 5px 16px;
  position: relative;
  line-height: 1.55;
}
.cage-col li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border-mid);
}

/* ── 5PM TIMELINE ───────────────────────────────────────── */
.timeline { list-style: none; margin: 24px 0; }
.timeline li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.timeline li:last-child { border-bottom: none; }
.timeline .time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}
.timeline div { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.timeline strong { color: var(--ink); font-weight: 700; }

/* ── STAGE BANNERS ──────────────────────────────────────── */
.stage-banner {
  padding: 40px 56px;
  color: #fff;
  border-top: none;
}
.stage-banner.s1 { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dk) 100%); }
.stage-banner.s2 { background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dk) 100%); }
.stage-banner.s3 { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dk) 100%); }
.stage-banner.s4 { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dk) 100%); }
.stage-banner .eye {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.stage-banner .sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.62);
  margin: 4px 0 12px;
}
.stage-banner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 14px;
}
.stage-banner .blurb {
  font-size: 14px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  max-width: 62ch;
  margin-bottom: 18px;
  line-height: 1.6;
}
.stage-banner .pillars-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}
.stage-banner ul { list-style: none; }
.stage-banner ul li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  padding: 3px 0 3px 18px;
  position: relative;
}
.stage-banner ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* ── DAY CARDS ──────────────────────────────────────────── */
.days { padding: 36px 56px; }
.day {
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: 0 14px 14px 0;
  padding: 26px 28px;
  margin-bottom: 22px;
}
.day.s2 { border-left-color: var(--sage); }
.day.s3 { border-left-color: var(--purple); }
.day.s4 { border-left-color: var(--teal); }

.day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.day-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 5px 12px;
}
.day.s2 .day-pill { background: var(--sage); }
.day.s3 .day-pill { background: var(--purple); }
.day.s4 .day-pill { background: var(--teal); }
.day-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
}
.day-num em { font-style: normal; color: var(--ink-faint); font-size: 15px; }

.day-quote {
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 18px;
}

.day-block { margin-bottom: 16px; }
.day-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.day-label em { font-style: normal; color: var(--accent); text-transform: none; letter-spacing: 0; }
.day-block p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 8px; }
.day-block p:last-child { margin-bottom: 0; }

.day-tool {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}
.day.s2 .day-tool .day-label em { color: var(--sage-dk); }
.day.s3 .day-tool .day-label em { color: var(--purple); }
.day.s4 .day-tool .day-label em { color: var(--teal-dk); }

.day-prompt {
  border-left: 3px solid var(--border-mid);
  padding-left: 16px;
  margin: 16px 0;
}
.day-prompt .day-label { color: var(--ink-faint); }
.day-prompt p { font-size: 13.5px; font-style: italic; color: var(--ink-soft); line-height: 1.65; }

.day-emergency {
  background: rgba(255, 61, 110, 0.05);
  border: 1px solid rgba(255, 61, 110, 0.22);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 16px;
}
.day-emergency .day-label { color: var(--accent-dk); }
.day-emergency p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 8px; }
.day-emergency .em-script {
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0;
}

/* ── SCRIPTS ────────────────────────────────────────────── */
.script-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.script {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  background: var(--bg);
}
.script-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 10px;
}
.script-scene { font-size: 12.5px; font-style: italic; color: var(--ink-faint); margin-bottom: 10px; line-height: 1.55; }
.script-say {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.65;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}
.subhead-gap { margin-top: 44px; }

/* ── TOOLKIT (on ink) ───────────────────────────────────── */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.toolcard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px 22px;
}
.toolcard-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.toolcard h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  margin: 6px 0 8px;
  color: #fff;
}
.toolcard p { font-size: 13px; color: rgba(255, 255, 255, 0.78); line-height: 1.6; margin-bottom: 8px; }
.toolcard-list { list-style: none; margin-top: 8px; }
.toolcard-list li { font-size: 12.5px; color: rgba(255, 255, 255, 0.82); padding: 3px 0; }
.toolcard-list strong { color: var(--accent); }
.toolcard-close { font-style: italic; color: rgba(255, 255, 255, 0.65); margin-bottom: 0; }

/* ── SUPPLEMENTS ────────────────────────────────────────── */
.supp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.supp {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--bg);
}
.supp.wide { grid-column: 1 / -1; }
.supp h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 8px;
}
.supp p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.supp strong { color: var(--ink); }

/* ── TRACKER GRID ───────────────────────────────────────── */
.tracker-section { padding: 52px 56px; border-top: 1px solid var(--border); }
.tracker-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 24px 0;
}
.tracker-cell {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 10px 9px;
  min-height: 104px;
}
.tracker-cell.s1 { background: rgba(255, 61, 110, 0.05); }
.tracker-cell.s2 { background: rgba(107, 142, 122, 0.08); }
.tracker-cell.s3 { background: rgba(122, 62, 196, 0.06); }
.tracker-cell.s4 { background: rgba(0, 179, 192, 0.07); }
.tracker-day {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
}
.tracker-cell.s2 .tracker-day { color: var(--sage-dk); }
.tracker-cell.s3 .tracker-day { color: var(--purple); }
.tracker-cell.s4 .tracker-day { color: var(--teal-dk); }
.tracker-phase {
  display: block;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 2px 0 7px;
  min-height: 9px;
}
.tracker-check {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
}
.tracker-box {
  width: 11px; height: 11px;
  border: 1.5px solid var(--border-mid);
  border-radius: 3px;
  background: #fff;
  flex-shrink: 0;
}
.tracker-lbl { font-size: 8px; color: var(--ink-soft); letter-spacing: 0.01em; }

.tracker-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 8px;
}
.legend-item { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.legend-dot.s1 { background: var(--accent); }
.legend-dot.s2 { background: var(--sage); }
.legend-dot.s3 { background: var(--purple); }
.legend-dot.s4 { background: var(--teal); }
.legend-name { font-size: 12px; font-weight: 700; }
.legend-days { font-family: var(--font-mono); font-size: 10px; color: var(--ink-faint); margin-left: 2px; }

/* ── CLOSING ────────────────────────────────────────────── */
.closing {
  text-align: center;
  padding: 64px 56px 56px;
  border-top: 6px solid var(--accent);
  background: var(--ink);
  color: #fff;
}
.closing .eyebrow { color: var(--accent); margin-bottom: 14px; }
.closing h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.08;
  margin-bottom: 18px;
}
.closing-lede {
  font-size: 15px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin: 0 auto 18px;
  line-height: 1.7;
}
.closing-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
  margin: 0 auto 14px;
  line-height: 1.7;
}
.closing-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0 20px;
}
.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 26px;
}
.closing-cta.primary { background: var(--accent); color: #fff; }
.closing-cta.ghost { border: 1.5px solid rgba(255, 255, 255, 0.4); color: #fff; }
.closing-sign {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-top: 8px;
}
.closing-url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ── FOOTER DISCLAIMER ──────────────────────────────────── */
.doc-footer {
  padding: 22px 56px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.doc-footer p {
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}
.doc-footer strong { color: var(--ink-soft); }
.doc-footer .foot-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

/* ── RESPONSIVE (screen) ────────────────────────────────── */
@media (max-width: 720px) {
  .cover { padding: 52px 28px 44px; }
  .cover h1 { font-size: 42px; }
  .section, .stage-banner, .days, .tracker-section, .closing, .doc-footer { padding-left: 24px; padding-right: 24px; }
  .pillars, .map-grid, .stages, .cage-grid, .script-grid, .toolkit-grid, .supp-grid { grid-template-columns: 1fr; }
  .tracker-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline li { grid-template-columns: 76px 1fr; gap: 12px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  @page { size: letter; margin: 0.55in; }

  html, body { background: #fff; }
  body { font-size: 11pt; line-height: 1.5; }

  /* Make sure brand colors / tinted blocks actually print */
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }

  .p-toolbar, .p-hint, .p-back, .p-print-btn { display: none !important; }

  .doc {
    max-width: none;
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .section, .days, .tracker-section, .stage-banner, .closing, .doc-footer {
    padding-left: 0;
    padding-right: 0;
  }
  .cover { padding: 0.4in 0.3in; }

  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }

  /* Page architecture */
  .cover { page-break-after: always; }
  .tracker-section { page-break-before: always; }
  .closing { page-break-before: auto; }

  /* Keep units intact across page breaks */
  .day, .pillar, .script, .toolcard, .supp, .stage-mini, .map-item,
  .tracker-cell, .pullquote, .warning, .cage-col, .day-tool, .day-emergency {
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .stage-banner { page-break-inside: avoid; page-break-after: avoid; }

  /* Dark sections: keep colored but soften huge ink fills are fine on color printers */
  .section--ink, .stage-banner, .closing { color: #fff; }

  /* Tracker fits one page */
  .tracker-grid { gap: 6px; }
  .tracker-cell { min-height: 1.1in; }

  a { color: inherit; text-decoration: none; }
}
