/* MyJourney static site — MOBILE-FIRST.
   Base rules target small screens; min-width media queries progressively enhance for tablet/desktop.
   Design language (clinic-calm: teal/coral/gold on warm paper) preserved from the original. */

:root {
  --ink: #17211f;
  --muted: #5f6d69;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --line: #d9e2dc;
  --teal: #147d70;
  --teal-dark: #0f5f56;
  --coral: #d96c4c;
  --gold: #b3832e;
  --mint: #dff4ec;
  --blue: #dceafb;
  --shadow: 0 18px 55px rgba(23, 33, 31, 0.14);
  --radius: 10px;
  --wrap: min(1180px, calc(100% - 32px));
  --legal-wrap: min(880px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden; /* the desktop hero art floats off-canvas; never let it scroll the body sideways */
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─────────────────────────── Header / nav (mobile-first) ─────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(217, 226, 220, 0.9);
  background: rgba(247, 248, 244, 0.96);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--wrap);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

/* Hamburger — shown on mobile, hidden on desktop */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Collapsed by default on mobile; the toggle adds .open to reveal a stacked menu */
.nav-links {
  flex-basis: 100%;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  padding: 8px 0 12px;
  color: var(--muted);
  font-size: 1rem;
}
.nav-links.open { display: flex; }

.nav-links a {
  text-decoration: none;
  padding: 12px 6px;
  border-radius: 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(20, 125, 112, 0.07); }

.nav-links .nav-cta,
.nav-cta {
  margin-top: 6px;
  justify-content: center;
  border: 1px solid var(--ink);
  color: #ffffff !important;
  background: var(--ink) !important;
  font-weight: 700;
}
.nav-links .nav-cta:hover,
.nav-cta:hover {
  background: var(--teal-dark) !important;
  border-color: var(--teal-dark) !important;
  color: #ffffff !important;
}

/* ─────────────────────────── Buttons ─────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 760;
}
.button.primary { color: var(--surface); background: var(--ink); }
.button.primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.button.secondary { color: var(--ink); background: rgba(255, 255, 255, 0.82); }
.button.secondary:hover { background: var(--surface); }

/* ─────────────────────────── Hero (mobile-first: stacked) ─────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 82% 12%, rgba(20, 125, 112, 0.14), transparent 42%),
    linear-gradient(160deg, #edf6f2 0%, #dceafb 55%, #f8e8df 100%);
}
/* content-first on mobile; product-scene (which precedes it in the DOM) drops below the copy */
.product-scene { order: 2; }
.hero-content { order: 1; }

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0 32px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.6rem, 12vw, 7.8rem);
  line-height: 0.96;
}

.hero-copy {
  max-width: 60ch;
  margin: 20px 0 0;
  color: #31403d;
  font-size: clamp(1.05rem, 3.6vw, 1.38rem);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-actions .button,
.actions .button { flex: 1 1 auto; min-width: 44%; }

/* The CSS "product-scene" mockup: on mobile it becomes a normal, in-flow preview UNDER the copy
   (so phones actually see the product), scaled to fit. Desktop re-floats it (see min-width block). */
.product-scene {
  position: relative;
  width: var(--wrap);
  margin: 0 auto;
  padding-bottom: 36px;
}

.dashboard-frame {
  width: 100%;
  max-width: 480px;   /* mobile: a centered, self-contained card under the copy (never floating/overlapping) */
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(23, 33, 31, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px 14px;
}
.dashboard-search { width: 48%; height: 22px; border-radius: 999px; background: #e9efec; }
.dashboard-tabs { display: flex; gap: 8px; }
.dashboard-tabs span { width: 40px; height: 10px; border-radius: 999px; background: #c7d7d1; }
.dashboard-tabs span:nth-child(2) { background: var(--teal); }

.dashboard-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.panel {
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 14px;
}
.panel.large { min-height: 220px; }
.panel h3, .mini-card h3 { margin: 0 0 12px; font-size: 0.92rem; }

.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.metric { min-height: 74px; border-radius: 8px; background: #f4f6f3; padding: 10px; }
.metric strong { display: block; font-size: clamp(1.1rem, 5vw, 1.45rem); }
.metric span { display: block; color: var(--muted); font-size: 0.72rem; }

.chart-lines {
  position: relative;
  height: 120px;
  border-radius: 8px;
  background: linear-gradient(#eef3f0 1px, transparent 1px), linear-gradient(90deg, #eef3f0 1px, transparent 1px);
  background-size: 100% 30px, 56px 100%;
  overflow: hidden;
}
.chart-lines::before, .chart-lines::after {
  content: ""; position: absolute; left: -2%; right: -2%; height: 4px; border-radius: 999px; transform-origin: left center;
}
.chart-lines::before { top: 64px; background: linear-gradient(90deg, var(--teal), #63b39e, var(--coral)); transform: rotate(-8deg); }
.chart-lines::after { top: 86px; background: linear-gradient(90deg, #b8c7c2, #7c9d94); transform: rotate(-3deg); opacity: 0.7; }

.patient-list { display: grid; gap: 9px; }
.patient-row {
  display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px;
  min-height: 48px; padding: 8px; border-radius: 8px; background: #f6f8f5;
}
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--mint); }
.patient-row:nth-child(2) .avatar { background: #f8e2d7; }
.patient-row:nth-child(3) .avatar { background: var(--blue); }
.row-copy span { display: block; width: 80%; height: 9px; border-radius: 999px; background: #cbd8d3; }
.row-copy span + span { width: 56%; margin-top: 7px; background: #e1e8e5; }
.status-pill { width: 52px; height: 20px; border-radius: 999px; background: #dff4ec; }

.mini-grid { display: grid; gap: 12px; margin-top: 12px; }
.mini-card { min-height: 104px; border: 1px solid rgba(23, 33, 31, 0.1); border-radius: 8px; background: rgba(255, 255, 255, 0.86); padding: 14px; }
.progress-stack { display: grid; gap: 8px; }
.progress-stack span { display: block; height: 12px; border-radius: 999px; background: #e3ebe7; overflow: hidden; }
.progress-stack span::before { content: ""; display: block; width: var(--w, 64%); height: 100%; background: var(--teal); }
.progress-stack span:nth-child(2)::before { width: 78%; background: var(--coral); }
.progress-stack span:nth-child(3)::before { width: 42%; background: var(--gold); }

/* Phone mock: hidden on mobile (the page IS a phone), floated on desktop */
.phone-preview {
  display: none;
  width: 168px;
  min-height: 300px;
  padding: 12px;
  border: 1px solid rgba(23, 33, 31, 0.14);
  border-radius: 28px;
  background: #17211f;
  box-shadow: 0 18px 36px rgba(23, 33, 31, 0.24);
}
.phone-screen { min-height: 276px; border-radius: 20px; background: #fbfcf8; padding: 18px 12px; }
.phone-icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px; }
.phone-line { display: block; height: 10px; border-radius: 999px; background: #d4ddd9; margin: 8px 0; }
.phone-line.short { width: 60%; }
.phone-card { margin-top: 18px; padding: 12px; border-radius: 8px; background: #edf6f2; }
.phone-card strong { display: block; font-size: 1.6rem; }

/* ─────────────────────────── Sections ─────────────────────────── */
.section { padding: 56px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.wrap { width: var(--wrap); margin: 0 auto; }

.section-header { max-width: 62ch; margin-bottom: 28px; }
.section-header h2, .legal h2 {
  margin: 0;
  font-size: clamp(1.9rem, 7vw, 3.6rem);
  line-height: 1.02;
}
.section-header p, .legal p { color: var(--muted); font-size: clamp(1rem, 3.4vw, 1.08rem); }

.grid-3, .grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }

.feature, .step, .quote, .legal-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.feature h3, .step h3, .quote h3, .legal-box h3 { margin: 0 0 10px; font-size: 1.08rem; }
.feature p, .step p, .quote p, .legal-box p, .feature li, .legal li { color: var(--muted); }

.feature-marker { width: 38px; height: 38px; margin-bottom: 20px; border-radius: 8px; background: var(--mint); border: 1px solid #bddfd3; }
.feature:nth-child(2) .feature-marker, .step:nth-child(2) .feature-marker { background: #f9e4da; border-color: #e9c1af; }
.feature:nth-child(3) .feature-marker, .step:nth-child(3) .feature-marker { background: var(--blue); border-color: #c4d8f1; }

.split { display: grid; grid-template-columns: 1fr; gap: 28px; }

.workflow-list { display: grid; gap: 12px; }
.workflow-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.workflow-item strong { display: block; margin-bottom: 4px; }
.workflow-item span { color: var(--muted); }
.number { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: var(--surface); background: var(--teal); font-weight: 780; }

/* for-clients screen rows */
.screen-stack { display: grid; gap: 12px; }
.screen-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.screen-visual { width: 56px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, var(--mint), #ffffff); border: 1px solid #c6e4d8; }
.screen-row:nth-child(2) .screen-visual { background: linear-gradient(135deg, #f9e4da, #ffffff); border-color: #ebc5b4; }
.screen-row:nth-child(3) .screen-visual { background: linear-gradient(135deg, var(--blue), #ffffff); border-color: #c4d8f1; }
.screen-row span { color: var(--muted); }
.badge {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px;
  color: var(--teal-dark); background: var(--mint); font-size: 0.78rem; font-weight: 780; white-space: nowrap;
  grid-column: 2; width: fit-content;
}

/* ─────────────────────────── CTA band + footer ─────────────────────────── */
.cta-band { padding: 44px 0; color: var(--surface); background: var(--ink); }
.cta-band .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta-band h2 { margin: 0; font-size: clamp(1.7rem, 6vw, 3rem); line-height: 1.05; }
.cta-band p { max-width: 60ch; color: rgba(255, 255, 255, 0.74); }
.cta-band .button.secondary { background: var(--surface); }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner {
  width: var(--wrap); margin: 0 auto; padding: 28px 0;
  display: flex; flex-direction: column; gap: 16px; color: var(--muted); font-size: 0.92rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { text-decoration: none; padding: 4px 0; }

/* ─────────────────────────── Legal pages ─────────────────────────── */
.legal { width: var(--legal-wrap); margin: 0 auto; padding: 48px 0; }
.legal h1 { margin: 16px 0 10px; font-size: clamp(2.1rem, 9vw, 5.2rem); line-height: 1.02; }
.legal h2 { margin-top: 38px; font-size: clamp(1.4rem, 5vw, 2.3rem); }
.legal ul { padding-left: 20px; }
.notice { padding: 16px 18px; border: 1px solid #e7c58d; border-radius: var(--radius); background: #fff7e7; color: #694a14; font-weight: 700; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #edf3f0; font-size: 0.84rem; }
tr:last-child td { border-bottom: 0; }

/* ══════════════════════════ TABLET (≥ 680px) ══════════════════════════ */
@media (min-width: 680px) {
  .hero-actions .button, .actions .button { flex: 0 0 auto; min-width: 0; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .metric span { font-size: 0.76rem; }
  .screen-row { grid-template-columns: 72px 1fr auto; }
  .screen-visual { width: 72px; height: 48px; }
  .badge { grid-column: auto; }
  .cta-band .wrap { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .section { padding: 72px 0; }
}

/* ══════════════════════════ DESKTOP (≥ 960px) ══════════════════════════ */
@media (min-width: 960px) {
  /* Horizontal nav; hide the hamburger + always show links */
  .nav { flex-wrap: nowrap; min-height: 72px; }
  .nav-toggle { display: none; }
  .nav-links {
    flex-basis: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 0;
    font-size: 0.94rem;
  }
  .nav-links a:not(.nav-cta) { padding: 6px 2px; min-height: 0; background: none; }
  .nav-links a:not(.nav-cta):hover, .nav-links a[aria-current="page"]:not(.nav-cta) { background: none; color: var(--ink); }
.nav-links a.nav-cta,
a.nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--ink) !important;
  border-radius: var(--radius) !important;
  background-color: #17211f !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  opacity: 1 !important;
}
.nav-links a.nav-cta:hover,
a.nav-cta:hover {
  background-color: var(--teal-dark) !important;
  border-color: var(--teal-dark) !important;
  color: #ffffff !important;
}

  .grid-3 { grid-template-columns: repeat(3, 1fr); }

  /* Full-bleed hero with the mockup floated to the right, copy centered vertically. */
  .hero { min-height: calc(100vh - 72px); }
  .hero-short { min-height: 520px; }
  .hero-content {
    min-height: calc(100vh - 72px);
    justify-content: center;
    padding: 76px 0 104px;
    width: 44vw;
    max-width: 520px;
    margin-left: max(4vw, calc((100% - 1180px) / 2));
    margin-right: auto;
  }
  .hero-short .hero-content { min-height: 460px; }
  .hero-content h1, h1 {
    font-size: clamp(2.4rem, 3.8vw, 4.4rem);
    max-width: 100%;
  }

  .product-scene {
    position: absolute;
    inset: 0;
    width: auto;
    margin: 0;
    padding: 0;
    pointer-events: none;
    background:
      linear-gradient(110deg, rgba(247, 248, 244, 0.98) 0%, rgba(247, 248, 244, 0.9) 34%, rgba(247, 248, 244, 0.4) 58%, rgba(247, 248, 244, 0.06) 100%);
  }
  .dashboard-frame {
    position: absolute;
    right: max(4vw, 24px);
    top: 50%;
    transform: translateY(-48%) rotate(-2deg);
    width: min(680px, 52vw);
    max-width: none;   /* undo the mobile card cap */
    margin: 0;
    padding: 18px;
  }
  .dashboard-grid { grid-template-columns: 1.1fr 0.9fr; }
  .panel.large { min-height: 280px; }
  .phone-preview {
    display: block;
    position: absolute;
    right: max(12vw, 150px);
    bottom: 46px;
  }

  .split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 40px;
    align-items: center;
  }
  .section { padding: 88px 0; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ─────────────────────────── B2B Pricing Calculator ─────────────────────────── */
.calculator-box {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(23, 33, 31, 0.06);
}

.calc-slider-wrap {
  margin: 24px 0 32px;
  padding: 20px;
  border-radius: var(--radius);
  background: #f2f6f4;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-weight: 700;
}

.calc-badge {
  font-size: 1.4rem;
  color: var(--teal-dark);
  background: var(--mint);
  padding: 4px 14px;
  border-radius: 999px;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #d0ded8;
  outline: none;
  accent-color: var(--teal);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.calc-stat-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.calc-stat-card.highlight {
  border-color: var(--teal);
  background: #edf8f4;
}

.calc-stat-card label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.calc-stat-card strong {
  display: block;
  font-size: 1.6rem;
  color: var(--ink);
}

.calc-stat-card.highlight strong {
  color: var(--teal-dark);
}

.calc-note {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ─────────────────────────── Interactive Showcase Tabs ─────────────────────────── */
.showcase-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-tab-btn:hover {
  color: var(--ink);
  background: #eef5f2;
}

.showcase-tab-btn.active {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

[data-showcase-screen] {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-showcase-screen].active {
  display: block;
  opacity: 1;
}

.interactive-phone-frame {
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #17211f;
  padding: 14px;
  box-shadow: var(--shadow);
}

.phone-screen-body {
  min-height: 380px;
  border-radius: 22px;
  background: #ffffff;
  padding: 20px 16px;
}

.screen-card-mock {
  padding: 14px;
  border-radius: 12px;
  background: #f4f7f5;
  margin-bottom: 12px;
  border: 1px solid #e1ebe6;
}

.screen-card-mock h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ─────────────────────────── Legal Print & Header Polish ─────────────────────────── */
.legal-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.last-updated-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--mint);
}

.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-print:hover {
  background: #eef4f1;
}

.legal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.btn-download:hover {
  background: #cceee2;
}

@page {
  size: letter;
  margin: 1in;
}

@media print {
  .site-header, .site-footer, .cta-band, .legal-header-meta, .notice, .nav-toggle, .btn-print, .btn-download {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: "Times New Roman", Times, Georgia, serif !important;
    font-size: 11pt !important;
    line-height: 1.4 !important;
  }
  .legal {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .legal h1 {
    font-size: 20pt !important;
    text-align: center !important;
    margin-bottom: 20pt !important;
    font-family: "Times New Roman", Times, Georgia, serif !important;
    color: #000000 !important;
    border: none !important;
  }
  .legal h2 {
    font-size: 13pt !important;
    margin-top: 16pt !important;
    border-bottom: 1pt solid #000000 !important;
    padding-bottom: 3pt !important;
    page-break-after: avoid !important;
    color: #000000 !important;
    font-family: "Times New Roman", Times, Georgia, serif !important;
  }
  .legal p, .legal ul, .legal li {
    font-size: 11pt !important;
    color: #000000 !important;
    font-family: "Times New Roman", Times, Georgia, serif !important;
  }
  table {
    min-width: 0 !important;
    width: 100% !important;
    border: 1pt solid #000000 !important;
  }
  th, td {
    border: 1pt solid #000000 !important;
    font-size: 10pt !important;
    color: #000000 !important;
    font-family: "Times New Roman", Times, Georgia, serif !important;
  }
  a { text-decoration: none !important; color: #000000 !important; }
}

/* ─────────────────────────── Micro-animations ─────────────────────────── */
.progress-stack span::before {
  animation: shimmer-pulse 3s infinite ease-in-out;
}

@keyframes shimmer-pulse {
  0%, 100% { opacity: 0.92; }
  50% { opacity: 1; filter: brightness(1.1); }
}
