/* ── Travel Hack 2.0 — sample plan (document aesthetic) ──── */

/* Smooth anchor jumps for the section rail (motion-safe). */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ── Sample banner strip ─────────────────────────── */
.sample-banner {
  background: var(--featured-tint), var(--card);
  border: 1px solid var(--amber);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: clamp(28px, 5vh, 48px);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.5;
}
.sample-banner strong { color: var(--amber-text); font-weight: 600; }

/* ── Document layout ─────────────────────────────── */
.doc-main {
  max-width: 1180px;
  overflow-x: clip;
}
.doc-shell { display: block; }
@media (min-width: 1024px) {
  .doc-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
  }
}
.doc-body { min-width: 0; max-width: 820px; }

/* ── Hero banner cover (replaces flat .doc-cover) ──── */
.doc-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: clamp(32px, 5vh, 56px);
  min-height: clamp(240px, 38vw, 420px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.doc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
}
.doc-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(110deg, rgba(10, 15, 30, 0.86), rgba(31, 100, 128, 0.5) 58%, rgba(10, 15, 30, 0.32)),
    linear-gradient(rgba(10, 15, 30, 0) 38%, rgba(10, 15, 30, 0.78));
}
.doc-hero-inner {
  padding: clamp(22px, 4vw, 44px);
  color: var(--hero-text);
}
.doc-hero .doc-eyebrow {
  color: #9FD0E4;
  margin-bottom: 14px;
}
.doc-hero h1 {
  font-weight: 500;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--hero-text);
}
.doc-hero h1 em {
  color: var(--amber);
  font-family: var(--font-serif);
  font-style: italic;
}
.doc-hero .doc-meta { color: var(--hero-dim); }

.doc-eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.doc-meta {
  color: var(--text-dim);
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: 0.02em;
}

/* ── Section rail (desktop) + pill bar (mobile/tablet) ─ */
.doc-rail { display: none; }
@media (min-width: 1024px) {
  .doc-rail {
    display: block;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    align-self: start;
    max-height: calc(100svh - var(--nav-h) - 48px);
    overflow: auto;
    font-size: 14px;
  }
  .doc-rail-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 16px;
  }
  .doc-rail ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 1px solid var(--line);
  }
  .doc-rail a {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 9px 14px;
    margin-left: -1px;
    border-left: 2px solid transparent;
    color: var(--text-dim);
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .doc-rail a:hover { color: var(--text); }
  .doc-rail a .rail-num {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--teal);
    flex: none;
  }
  .doc-rail a.is-active {
    color: var(--text);
    border-left-color: var(--amber);
  }
  .doc-rail a.is-active .rail-num { color: var(--amber-text); }
  .doc-rail-progress {
    height: 2px;
    background: var(--line);
    border-radius: 2px;
    margin-top: 18px;
    overflow: hidden;
  }
  .doc-rail-progress > i {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--amber);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s linear;
  }
}
/* Mobile/tablet pill bar — breaks out to the doc gutter edges */
.doc-railbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 30;
  background: var(--nav-scrolled);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 0 calc(-1 * var(--gutter)) clamp(20px, 4vh, 32px);
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.doc-railbar ol {
  list-style: none;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.doc-railbar ol::-webkit-scrollbar { display: none; }
.doc-railbar a {
  white-space: nowrap;
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--line);
  color: var(--text-dim);
}
.doc-railbar a.is-active {
  color: #0A0F1E;
  background: var(--amber);
  border-color: var(--amber);
}
:root[data-theme="night"] .doc-railbar a.is-active { color: #0A0F1E; }
@media (min-width: 1024px) {
  .doc-railbar { display: none; }
}

/* ── Document sections ───────────────────────────── */
.doc-section {
  margin-bottom: clamp(44px, 7vh, 80px);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.doc-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(20px, 3vh, 32px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.doc-section-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--teal);
  line-height: 1;
  flex: none;
}
.doc-section-head h2 {
  font-weight: 500;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.01em;
}
.doc-section > p { color: var(--text-dim); margin-bottom: 14px; line-height: 1.7; }
.doc-section > p:last-child { margin-bottom: 0; }
.doc-lead { color: var(--text) !important; font-size: clamp(15px, 1.6vw, 18px); }

/* ── Book-immediately / generic doc list ─────────── */
.doc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 20px;
}
.doc-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  line-height: 1.6;
}
.doc-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--teal);
  font-size: 11px;
}
.doc-list li strong { color: var(--text); font-weight: 600; }

.doc-callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 18px 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}
.doc-callout strong { color: var(--text); }

/* ── Cards (flights / hotels) ────────────────────── */
.doc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 20px);
}
.doc-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 2.2vw, 28px);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .doc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(19, 35, 61, 0.16);
    border-color: color-mix(in srgb, var(--teal) 30%, var(--line));
  }
  :root[data-theme="night"] .doc-card:hover {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  }
  .doc-card--pick:hover { border-color: var(--amber); }
}
/* The recommended option: a clear 2px amber ring */
.doc-card--pick {
  border-color: var(--amber);
  background: var(--featured-tint), var(--card);
  box-shadow: 0 0 0 1px var(--amber), var(--card-shadow);
}
@media (hover: hover) and (pointer: fine) {
  .doc-card--pick:hover {
    box-shadow: 0 0 0 1px var(--amber), 0 18px 44px rgba(19, 35, 61, 0.16);
  }
  :root[data-theme="night"] .doc-card--pick:hover {
    box-shadow: 0 0 0 1px var(--amber), 0 18px 44px rgba(0, 0, 0, 0.5);
  }
}
.doc-card-badge {
  position: absolute;
  top: -11px;
  left: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--amber);
  color: #13233D;
  border-radius: 99px;
  padding: 4px 12px;
}
.doc-card-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.doc-card-title { font-size: 17px; font-weight: 600; color: var(--text); }
.doc-card-price {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--teal);
  line-height: 1.1;
  margin: 4px 0;
}
.doc-card-price small {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.doc-card-note { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }
.doc-source-note {
  font-size: 13px;
  font-style: italic;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ── Cost / math table — the savings "receipt" ───── */
.cost-table-wrap {
  position: relative;
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(18px, 2.4vw, 30px);
  box-shadow: var(--card-shadow);
  -webkit-overflow-scrolling: touch;
}
/* Dashed boarding-pass accent rule across the top of the receipt */
.cost-table-wrap::before {
  content: "";
  position: absolute;
  left: clamp(18px, 2.4vw, 30px);
  right: clamp(18px, 2.4vw, 30px);
  top: clamp(9px, 1.2vw, 15px);
  height: 0;
  border-top: 2px dashed var(--line);
  pointer-events: none;
}
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 480px;
}
.cost-table caption {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  padding-top: 6px;
}
.cost-table th,
.cost-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.cost-table thead th {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.cost-table td.col-num,
.cost-table th.col-num { text-align: right; font-variant-numeric: tabular-nums; }
.cost-table .col-item { color: var(--text); }
/* DIY column muted */
.cost-table .col-diy { color: var(--text-dim); }
/* Travel Hack column — subtle teal tint to set it apart as "the better way" */
.cost-table thead .col-th { color: var(--teal); }
.cost-table .col-th {
  color: var(--text);
  font-weight: 600;
  background: rgba(31, 100, 128, 0.07); /* fallback before color-mix */
  background: color-mix(in srgb, var(--teal) 8%, transparent);
}
:root[data-theme="night"] .cost-table .col-th {
  background: rgba(78, 145, 173, 0.12); /* fallback before color-mix */
  background: color-mix(in srgb, var(--teal) 14%, transparent);
}
.cost-table .row-total td {
  border-top: 2px solid var(--line);
  border-bottom: none;
  font-weight: 700;
  color: var(--text);
  padding-top: 15px;
}
.cost-table .row-total .col-diy { color: var(--text-dim); }
/* Saved row — the satisfying amber "stamp" at the bottom of the receipt.
   A transparent top border opens a gap so it reads as a distinct pill. */
.cost-table .row-saved td {
  background: var(--amber);
  color: #0A0F1E;
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: 0.01em;
  border: none;
  border-top: 12px solid transparent;
  background-clip: padding-box;
  padding-top: 14px;
  padding-bottom: 14px;
}
.cost-table .row-saved .col-item { letter-spacing: 0.04em; }
.cost-table .row-saved td:first-child {
  border-radius: 999px 0 0 999px;
  padding-left: 22px;
}
.cost-table .row-saved td:last-child {
  border-radius: 0 999px 999px 0;
  padding-right: 22px;
}
.cost-table .row-saved td { box-shadow: 0 6px 18px rgba(253, 172, 71, 0.26); }
.cost-fee-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-dim);
}
.cost-fee-note strong { color: var(--amber-text); }

/* ── Day-by-day itinerary table ──────────────────── */
.itin-table-wrap { overflow-x: auto; }
.itin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 560px;
}
.itin-table th,
.itin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.itin-table thead th {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.itin-table .itin-day {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--teal);
  font-size: 18px;
  white-space: nowrap;
}
.itin-table .itin-theme { color: var(--text); font-weight: 600; white-space: nowrap; }
.itin-table .itin-anchor { color: var(--text-dim); }
.itin-table tbody tr:last-child td { border-bottom: none; }

/* ── Expanded-day timeline ───────────────────────── */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  border-left: 2px solid var(--teal);
}
.timeline li {
  position: relative;
  padding: 0 0 22px 26px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--bg);
}
.timeline-time {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--teal);
  font-size: 18px;
  display: block;
  margin-bottom: 2px;
}
.timeline-body { color: var(--text-dim); line-height: 1.6; }
.timeline-body strong { color: var(--text); font-weight: 600; }

.doc-subhead {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 14px;
}
.doc-subhead:first-child { margin-top: 0; }

/* ── Two-column strategy block ───────────────────── */
.doc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.doc-col h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* ── CTA panel ───────────────────────────────────── */
.doc-cta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--card-shadow);
  text-align: center;
}
.doc-cta h2 {
  font-weight: 500;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.doc-cta h2 em { color: var(--amber-text); }
.doc-cta p { color: var(--text-dim); margin-bottom: 28px; }
.doc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.doc-cta .whatsapp-line { margin-top: 24px; justify-content: center; }

/* ════════════════════════════════════════════════════
   CYCLE 1 — tease-don't-reveal components
   (token-based, both themes, reused by Cycle 2)
   ════════════════════════════════════════════════════ */

/* ── Lock chip — "in your plan" marker ───────────── */
.lock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in srgb, var(--amber) 14%, transparent);
  border: 1px solid var(--amber);
  color: var(--amber-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: normal;
  max-width: 100%;
  vertical-align: middle;
  line-height: 1.4;
}
.lock-chip::before {
  content: '🔒';
  font-size: 10px;
  line-height: 1;
}
/* In constrained blocks (cards / callouts) let the chip wrap instead of
   forcing the container wider than its grid cell. */
.doc-card .lock-chip,
.doc-loss .lock-chip,
.doc-callout .lock-chip {
  align-self: flex-start;
  max-width: 100%;
  white-space: normal;
  margin-top: 6px;
}
/* In cards (flex columns), bottom-anchor the chip so a row of cards aligns */
.doc-card .lock-chip { margin-top: auto; padding-top: clamp(10px, 1.4vw, 16px); }

/* ── Locked line — masked decoy text ─────────────── */
.locked-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.locked-line .masked {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  color: var(--text-dim);
}

/* ── Narrative intro — emotive serif lead ────────── */
.doc-narrative {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  color: var(--text);
  border-left: 3px solid var(--amber);
  padding-left: 20px;
  margin: 0 0 26px;
}

/* ── Testimonial pull-quote ──────────────────────── */
.doc-quote {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(26px, 3vw, 40px) clamp(24px, 3vw, 36px) clamp(22px, 2.4vw, 28px);
  margin: 22px 0;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
/* Oversized serif opening quotation mark, low-opacity amber */
.doc-quote::before {
  content: "\201C";
  position: absolute;
  top: clamp(-6px, 0.5vw, 6px);
  left: clamp(14px, 1.6vw, 22px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(80px, 9vw, 120px);
  line-height: 1;
  color: var(--amber);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.doc-quote blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 18px;
}
.doc-quote-attr {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-dim);
}
.doc-quote-stars {
  color: var(--amber);
  letter-spacing: 0.1em;
  font-size: 14px;
}
.doc-quote-attr a { color: var(--teal); text-decoration: none; font-weight: 600; }
.doc-quote-attr a:hover { text-decoration: underline; }

/* ── Mid-document CTA band ───────────────────────── */
.doc-cta-mid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  background: var(--featured-tint), var(--card);
  border: 1px solid var(--amber);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 22px 0;
}
.doc-cta-mid p {
  flex: 1 1 240px;
  margin: 0 !important;
  color: var(--text) !important;
  font-weight: 600;
}
.doc-cta-mid .btn { flex: none; }

/* ── "What's included" check grid ────────────────── */
.doc-included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.doc-included li {
  position: relative;
  list-style: none;
  padding-left: 28px;
  color: var(--text-dim);
  line-height: 1.55;
}
.doc-included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}
.doc-included li strong { color: var(--text); font-weight: 600; }

/* ── Next-steps numbered strip ───────────────────── */
.doc-next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.doc-next-steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--card-shadow);
}
.doc-next-steps .step-num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3vw, 38px);
  color: var(--teal);
  line-height: 1;
  margin-bottom: 10px;
}
.doc-next-steps .step-body { color: var(--text-dim); line-height: 1.5; }
.doc-next-steps .step-body strong { color: var(--text); font-weight: 600; display: block; margin-bottom: 2px; }

/* ── Cross-link between sample pages ─────────────── */
.doc-crosslink {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 18px;
}
.doc-crosslink a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Loss-aversion callout ───────────────────────── */
.doc-loss {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 18px 0;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}
.doc-loss strong { color: var(--text); }
.doc-loss .lock-chip { margin-top: 10px; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 760px) {
  .doc-cards { grid-template-columns: 1fr; }
  .doc-cols { grid-template-columns: 1fr; gap: 28px; }
  .doc-card-badge { left: 16px; }
  .doc-next-steps { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .doc-included { grid-template-columns: 1fr; }
}

/* Lock chips & included rows print cleanly */
@media print {
  .lock-chip {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    background: #fbf3e6;
  }
  .doc-cta-mid,
  .doc-next-steps { display: none !important; }
}

/* ════════════════════════════════════════════════════
   PRINT — clean document, hide chrome
   ════════════════════════════════════════════════════ */
@media print {
  .subpage-nav-simple,
  .footer,
  .doc-cta,
  .sample-banner,
  .doc-rail,
  .doc-railbar,
  .theme-toggle { display: none !important; }

  /* Hero flattens to a clean ink-on-white title block for print */
  .doc-shell { display: block; }
  .doc-body { max-width: none; }
  .doc-hero {
    min-height: 0;
    border-radius: 0;
    border-bottom: 1px solid #cccccc;
    margin-bottom: 24px;
  }
  .doc-hero::before,
  .doc-hero::after { display: none; }
  .doc-hero-inner { padding: 0 0 16px; color: #13233D; }
  .doc-hero .doc-eyebrow { color: #1F6480; }
  .doc-hero h1 { color: #13233D; }
  .doc-hero h1 em { color: #A35706; }
  .doc-hero .doc-meta { color: #444b57; }

  :root, :root[data-theme="night"] {
    --bg: #ffffff;
    --bg-2: #ffffff;
    --text: #13233D;
    --text-dim: #444b57;
    --line: #cccccc;
    --teal: #1F6480;
    --amber-text: #A35706;
    --card: #ffffff;
    --card-shadow: none;
    --featured-tint: #fbf3e6;
  }
  body { background: #fff; color: #13233D; }
  .doc-main { padding-top: 12px; max-width: none; }
  .doc-card,
  .doc-callout,
  .doc-section { break-inside: avoid; box-shadow: none; }
  /* Receipt: flatten to a clean bordered block; keep the amber stamp colored */
  .cost-table-wrap { box-shadow: none; border: 1px solid #cccccc; border-radius: 12px; }
  .cost-table-wrap::before { border-top-color: #cccccc; }
  .cost-table .col-th {
    background: #f4f8fa !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .cost-table .row-saved td {
    background: var(--amber) !important;
    color: #0A0F1E !important;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
