/* ============================================================
   Claim Maximizer — portfolio.css
   Shared design tokens + universal reset.
   Per-page body/a rules remain inline (they drift intentionally:
   line-height, font-size, default underline).
   ============================================================ */

:root {
  /* Surfaces — light mode (flipped 2026-04-24 from dark theme) */
  --bg: #F8FAFC;        /* off-white slate (page bg) */
  --surface: #FFFFFF;   /* white (raised cards) */
  --surface2: #F1F5F9;  /* slate-100 (inset within cards) */
  --border: #E2E8F0;    /* slate-200 (subtle dividers) */

  /* Text */
  --text: #0F172A;      /* slate-900 (near-black) */
  --muted: #64748B;     /* slate-500 (mid gray) */

  /* Brand — unchanged */
  --accent: #3B82F6;
  --accent-glow: rgba(59,130,246,0.10);

  /* Status — slightly softer alpha for light bg */
  --success: #10B981;
  --success-glow: rgba(16,185,129,0.10);
  --danger: #EF4444;
  --danger-glow: rgba(239,68,68,0.08);
  --gold: #D4A843;
  --gold-glow: rgba(212,168,67,0.10);

  /* Warning — canonical is --warning; aliases preserve historical names */
  --warning: #F59E0B;
  --warn: var(--warning);
  --warn-bg: rgba(239,68,68,0.08);
}

/* Universal reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Breadcrumb <nav> elements must NOT inherit sticky behavior from page-level
   `nav { position: sticky }` rules. On pages with both a header nav and a
   breadcrumb nav (auto/medical/deposit/property-tax tool pages), the second
   sticky nav was overlaying the first on scroll, hiding the main nav links. */
nav[aria-label="Breadcrumb"] { position: static; }

/* Links — color only. Per-page rules may add text-decoration overrides. */
a { color: var(--accent); }

/* ============================================================
   TRUST GUARANTEE TAG — small pill above the trust-guarantee
   section heading on each product landing page. Rule was
   duplicated verbatim across 4 pages — consolidated here.
   ============================================================ */

.trust-guarantee-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(59,130,246,0.25);
  margin-bottom: 18px;
}

/* ============================================================
   MODAL UNLOCK TITLE — 'Unlock your PDF' h3 inside the paywall
   modal on deposit, medical, and WA property-tax pages.
   ============================================================ */

.modal-unlock-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}

/* ============================================================
   CROSS-SELL SECTION — "Another fight worth fighting?" band at the
   bottom of every product landing page. Extracted from repeated
   inline-styled markup across /auto/, /deposit-recovery/,
   /medical-bill-tool/, /property-tax-wa/.
   ============================================================ */

.cross-sell-eyebrow {
  color: var(--accent);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 10px;
}
.cross-sell-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700; line-height: 1.25;
  margin-bottom: 10px;
  color: var(--text);
}

/* ============================================================
   SAMPLE OUTPUT SECTION — shared "What you actually get" block
   Used on homepage + each product page. Paper-card preview of
   the actual demand letter + two small companion cards
   (checklist + escalation) + chip row. Dark-on-cream letter
   styling is intentional — mimics printed correspondence.
   ============================================================ */

.sample {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.sample-heading { text-align: center; margin-bottom: 40px; }
.sample-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.sample-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800; margin-bottom: 10px;
  color: var(--text);
}
.sample-sub {
  font-size: 15px; color: var(--muted);
  max-width: 560px; margin: 0 auto;
}
.sample-stage {
  max-width: 680px; margin: 0 auto;
  position: relative;
  padding: 0 24px;
}
.sample-secondary {
  max-width: 680px; margin: 22px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .sample-secondary { grid-template-columns: 1fr; }
}
.sample-paper-sm {
  position: relative;
  background: #F7F4EC;
  color: #1A1F2A;
  border-radius: 6px;
  padding: 24px 26px 30px;
  box-shadow: 0 16px 40px rgba(15,23,42,0.10), 0 2px 4px rgba(15,23,42,0.06);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12.5px;
  line-height: 1.6;
  overflow: hidden;
  min-height: 260px;
}
.sample-paper-sm::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 60px;
  background: linear-gradient(180deg, rgba(247,244,236,0) 0%, #F7F4EC 80%);
  pointer-events: none;
}
.sample-kicker {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px;
}
.sample-paper-sm h4 {
  font-family: Georgia, serif;
  font-size: 15px; font-weight: 700;
  color: #0C1930;
  margin-bottom: 14px;
  line-height: 1.3;
}
.sample-paper-sm ul { list-style: none; padding: 0; margin: 0; }
.sample-paper-sm li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 5px 0;
  color: #1A1F2A;
}
.sample-paper-sm .box {
  flex-shrink: 0;
  width: 14px; height: 14px;
  border: 1.5px solid #6B7280;
  border-radius: 2px;
  margin-top: 3px;
}
.sample-paper-sm .step {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; padding: 2px 8px;
  border-radius: 999px;
  background: rgba(59,130,246,0.12);
  color: #1E4BBC;
  font-family: 'DM Mono', monospace;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  margin-top: 2px;
}
.sample-paper {
  position: relative;
  background: #F7F4EC;
  color: #1A1F2A;
  border-radius: 6px;
  padding: 44px 52px 64px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.12), 0 2px 4px rgba(15,23,42,0.06);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  line-height: 1.7;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}
.sample-paper-sm {
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}
.sample-paper::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 140px;
  background: linear-gradient(180deg, rgba(247,244,236,0) 0%, #F7F4EC 80%);
  pointer-events: none;
}
.sample-ribbon {
  position: absolute; top: 14px; right: -8px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}
.sample-ribbon::after {
  content: ''; position: absolute;
  top: 100%; right: 0;
  border: 4px solid transparent;
  border-top-color: #1E4BBC;
  border-right-color: #1E4BBC;
}
.sample-meta {
  font-family: Georgia, serif;
  color: #4A5265;
  font-size: 12px;
  margin-bottom: 18px;
  line-height: 1.6;
}
.sample-reline {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 14px;
}
.sample-paper p { margin-bottom: 14px; }
.sample-paper strong {
  color: #0C1930; font-weight: 700;
  border-bottom: 1px dotted #3B82F6;
}
.sample-salute { margin-bottom: 14px; }
.sample-disclaimer {
  text-align: center;
  font-size: 11px; color: var(--muted);
  margin-top: 14px; font-style: italic;
  padding: 0 24px;
}
.sample-chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0 24px;
}
.sample-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px; color: var(--text);
}
.sample-chip svg {
  width: 14px; height: 14px;
  stroke: #10B981; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .sample-paper { padding: 32px 28px 56px; font-size: 13px; }
  .sample-ribbon { font-size: 9px; padding: 5px 10px; top: 10px; }
}
