/* ============================================================
   DETRANSATTORNEY.COM — GLOBAL STYLESHEET
   ============================================================
   Structure
   ─────────
   1.  Design Tokens (CSS custom properties)
   2.  Font Faces
   3.  Base / Reset
   4.  Global Elements  (links, images)
   5.  Header           (shared across all pages)
   6.  Buttons & Badges (shared components)
   7.  FAQ Accordion    (shared — home + blog)
   8.  Site Footer      (shared across all pages)
   9.  Wizard / Modal   (shared — home + blog)
   10. HOME PAGE         (landing-page-only styles)
   11. BLOG / ARTICLE   (blog-page-only styles)
   12. Responsive       (media queries, ordered mobile-last)
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {

  /* — Forest greens — */
  --forest:       #0a1f12;
  --forest-mid:   #122b1a;
  --forest-soft:  #1a3d24;
  --forest-muted: #254d30;

  /* — Lime accents — */
  --lime:         #b8f54a;
  --lime-dark:    #94d435;
  --lime-glow:    rgba(184, 245, 74, 0.18);
  --lime-pale:    rgba(184, 245, 74, 0.07);

  /* — Cream text palette — */
  --cream:        #f2ead8;
  --cream-dim:    #b8ae98;
  --cream-faint:  rgba(242, 234, 216, 0.12);
  --cream-ghost:  rgba(242, 234, 216, 0.06);

  /* — Utility — */
  --white:        #ffffff;
  --red:          #ff5252;
  --amber:        #ffb547;

  /* — Typography — */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'Figtree', system-ui, sans-serif;

  /* — Easing curves — */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* — Layout — (blog only, harmless globally) */
  --content: 42rem;   /* prose column max-width  */
  --wide:    68rem;   /* wide breakout max-width  */
}


/* ============================================================
   2. FONT FACES
   Self-hosted — no render-blocking external requests.
   ============================================================ */

@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-v9-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-v9-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-v9-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-v9-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-v9-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-v5-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-v5-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}


/* ============================================================
   3. BASE / RESET
   ============================================================ */

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--forest);
  color: var(--cream-dim);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Accessibility: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .badge-pulse   { animation: none; }
  .preview-card  { transition: none; }
}


/* ============================================================
   4. GLOBAL ELEMENTS
   ============================================================ */

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


/* ============================================================
   5. HEADER
   Shared across home and blog. The home header is position:relative
   while the blog header is position:sticky — that override lives
   in the BLOG section below (section 11).
   ============================================================ */

.lp-header {
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cream-faint);
  position: relative;
  z-index: 10;
}

.logo {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.logo-dot { color: var(--lime); }

.lp-header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hdr-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream-dim);
  transition: color 0.2s;
  cursor: pointer;
}

.hdr-link:hover { color: var(--cream); }

.hdr-btn {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--lime);
  color: var(--forest);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hdr-btn:hover { background: var(--lime-dark); transform: scale(1.03); }


/* ============================================================
   6. BUTTONS & BADGES
   Shared interactive components used on both pages.
   ============================================================ */

/* — Primary CTA button — */
.btn-start {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--lime);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  letter-spacing: -0.01em;
}

.btn-start:hover {
  background: var(--lime-dark);
  transform: scale(1.04) translateY(-1px);
  box-shadow: 0 8px 32px rgba(184, 245, 74, 0.25);
}

.btn-start svg            { transition: transform 0.2s; }
.btn-start:hover svg      { transform: translateX(3px); }

/* — Animated pulse dot (used inside badges) — */
.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  animation: blink 1.8s ease-in-out infinite;
  will-change: opacity;
}

@keyframes blink {
  0%, 100% { opacity: 1;   }
  50%       { opacity: 0.4; }
}

/* — Proof / trust row items — */
.proof-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream-dim);
}

.proof-item svg { width: 13px; height: 13px; color: var(--lime); }


/* ============================================================
   7. FAQ ACCORDION
   Shared between home and blog. Slight structural differences
   exist (home uses .faq-inner; blog uses .faq-section-inner)
   but all interactive elements are identical.
   ============================================================ */

.faq-section {
  background: var(--forest-mid);
  border-top: 1px solid var(--cream-faint);
  /* Performance: defer off-screen render cost */
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}

/* Home uses .faq-inner, blog uses .faq-section-inner.
   Both get the same centering treatment. */
.faq-inner,
.faq-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.faq-h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 2.5rem;
}

.faq-h2 em { font-style: italic; color: var(--lime); }

.faq-sub {
  font-size: 1rem;
  color: var(--cream-dim);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--cream-faint);
  border-radius: 14px;
  overflow: hidden;
  background: var(--forest-mid);
}

.faq-item             { border-bottom: 1px solid var(--cream-faint); }
.faq-item:last-child  { border-bottom: none; }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.faq-q:hover { background: var(--cream-ghost); }

.faq-q-text {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.4;
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cream-ghost);
  border: 1px solid var(--cream-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-smooth), background 0.2s;
  color: var(--cream-dim);
}

.faq-chevron svg { width: 10px; height: 10px; transition: transform 0.3s var(--ease-smooth); }

.faq-item.open .faq-chevron {
  background: var(--lime-pale);
  border-color: rgba(184, 245, 74, 0.3);
  color: var(--lime);
}

.faq-item.open .faq-chevron svg { transform: rotate(180deg); }

.faq-a              { display: none; overflow: hidden; }
.faq-item.open .faq-a { display: block; }

.faq-a-inner {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.97rem;
  color: var(--cream-dim);
  line-height: 1.8;
}

.faq-a-inner p      { font-size: 0.97rem; margin: 0 0 0.6rem; }
.faq-a-inner strong { color: var(--cream); font-weight: 700; }

.faq-a-inner a {
  color: var(--lime);
  font-weight: 600;
  border-bottom: 1px solid rgba(184, 245, 74, 0.3);
  transition: color 0.2s, border-color 0.2s;
}

.faq-a-inner a:hover { color: var(--lime-dark); border-bottom-color: var(--lime-dark); }


/* ============================================================
   8. SITE FOOTER
   Shared across all pages.
   ============================================================ */

.site-footer {
  background: var(--forest-mid);
  border-top: 1px solid var(--cream-faint);
}

/* — Pre-footer CTA block — */
/* Home uses .footer-cta; blog uses .footer-cta-block.
   Both get the same treatment. */
.footer-cta,
.footer-cta-block {
  text-align: center;
  padding: 3.5rem 2.5rem;
  border-bottom: 1px solid var(--cream-faint);
  background: var(--forest-mid);
}

.footer-cta-h,
.footer-cta-block h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.footer-cta-h em,
.footer-cta-block h2 em { font-style: italic; color: var(--lime); }

.footer-cta-sub,
.footer-cta-block p {
  font-size: 0.95rem;
  color: var(--cream-dim);
  line-height: 1.7;
  max-width: 44ch;
  margin: 0 auto 1.75rem;
}

/* — Footer proof row (blog footer CTA) — */
.proof-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* — Footer bottom bar — */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.footer-logo span { color: var(--lime); }

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: #9e9585;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-link:hover { color: var(--cream); }

.footer-copy {
  font-size: 0.72rem;
  color: #9e9585;
}


/* ============================================================
   9. WIZARD / MODAL
   Full-screen case intake form. Shared across home and blog.
   ============================================================ */

/* — Overlay — */
#wizard {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--forest);
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  height: 100%;
  height: -webkit-fill-available;
}

#wizard.active { display: flex; }

/* — Progress bar — */
.wiz-progress {
  height: 3px;
  background: var(--cream-ghost);
  position: relative;
  flex-shrink: 0;
}

.wiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lime-dark), var(--lime));
  transition: width 0.5s var(--ease-smooth);
  position: relative;
}

/* Glowing dot at the leading edge of the progress bar */
.wiz-progress-fill::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}

/* — Wizard header — */
.wiz-header {
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cream-faint);
  flex-shrink: 0;
}

.wiz-logo {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.03em;
}

.wiz-logo span { color: var(--lime); }

.wiz-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.wiz-step-count          { font-size: 0.85rem; font-weight: 600; color: var(--cream-dim); }
.wiz-step-count strong   { color: var(--lime); }

.wiz-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-ghost);
  border: 1px solid var(--cream-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  color: var(--cream-dim);
}

.wiz-close:hover          { background: var(--cream-faint); transform: rotate(90deg); }
.wiz-close svg            { width: 14px; height: 14px; }

/* — Slide container — */
.wiz-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 0;
}

.wiz-slide {
  position: absolute;
  inset: 0;
  display: flex;
  /* Default to top-aligned so content isn't hidden on short screens */
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 2.5rem 1.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(60px);
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.wiz-slide.active          { opacity: 1; pointer-events: all; transform: translateX(0); }
.wiz-slide.exit            { opacity: 0; transform: translateX(-60px); }
.wiz-slide.enter-from-left { transform: translateX(-60px); }

.slide-inner {
  width: 100%;
  max-width: 640px;
}

/* — Question typography — */
.q-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.q-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--lime-pale);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--lime);
}

.q-heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.q-heading em { font-style: italic; color: var(--lime); }

.q-sub {
  font-size: 1rem;
  color: var(--cream-dim);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* — Choice cards (single & multi-select) — */
.choice-grid             { display: grid; gap: 0.65rem; }
.choice-grid.cols-2      { grid-template-columns: 1fr 1fr; }
.choice-grid.cols-3      { grid-template-columns: repeat(3, 1fr); }

.choice-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--forest-mid);
  border: 1.5px solid var(--cream-faint);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  user-select: none;
}

.choice-card:hover {
  border-color: rgba(184, 245, 74, 0.35);
  background: var(--forest-soft);
  transform: translateY(-1px);
}

.choice-card.selected                   { border-color: var(--lime); background: rgba(184, 245, 74, 0.08); }
.choice-card.selected .choice-key       { background: var(--lime); color: var(--forest); }

.choice-key {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--cream-ghost);
  border: 1px solid var(--cream-faint);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--cream-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
  font-family: var(--sans);
}

.choice-label { font-size: 1rem; font-weight: 600; color: var(--cream); line-height: 1.3; }
.choice-sub   { font-size: 0.83rem; color: var(--cream-dim); margin-top: 0.15rem; }

/* — Multi-select chip pills — */
.chip-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: var(--forest-mid);
  border: 1.5px solid var(--cream-faint);
  border-radius: 100px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--cream-dim);
  cursor: pointer;
  transition: all 0.15s var(--ease-smooth);
  user-select: none;
}

.chip:hover              { border-color: rgba(184, 245, 74, 0.3); color: var(--cream); }
.chip.selected           { background: rgba(184, 245, 74, 0.1); border-color: var(--lime); color: var(--lime); }
.chip.selected .chip-check { opacity: 1; }
.chip.selected .chip-check::after { content: '✓'; }

.chip-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.55rem;
  opacity: 0;
  transition: opacity 0.15s;
}

/* — Text inputs — */
.wiz-input-wrap { position: relative; }

.wiz-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--cream-faint);
  padding: 0.75rem 0;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s;
  caret-color: var(--lime);
}

.wiz-input::placeholder    { color: rgba(242, 234, 216, 0.2); }
.wiz-input:focus           { border-bottom-color: var(--lime); }

.wiz-input-hint {
  font-size: 0.75rem;
  color: var(--cream-dim);
  margin-top: 0.5rem;
}

/* Side-by-side input pair */
.wiz-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* — Textarea — */
.wiz-textarea {
  width: 100%;
  background: var(--forest-mid);
  border: 1.5px solid var(--cream-faint);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--cream);
  outline: none;
  resize: none;
  min-height: 120px;
  transition: border-color 0.2s, box-shadow 0.2s;
  caret-color: var(--lime);
  line-height: 1.6;
}

.wiz-textarea::placeholder { color: rgba(242, 234, 216, 0.25); }
.wiz-textarea:focus        { border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-glow); }

/* — Select dropdown — */
.wiz-select {
  width: 100%;
  background: var(--forest-mid);
  border: 1.5px solid var(--cream-faint);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--cream-dim);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  transition: border-color 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23b8ae98' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
}

.wiz-select:focus  { border-color: var(--lime); color: var(--cream); }
.wiz-select.filled { color: var(--cream); }

/* — Range slider — */
.wiz-range-wrap { padding: 0.5rem 0; }

.wiz-range {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--cream-ghost);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.wiz-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--forest);
  box-shadow: 0 0 0 2px var(--lime), 0 4px 12px rgba(184, 245, 74, 0.3);
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring);
}

.wiz-range::-webkit-slider-thumb:hover { transform: scale(1.2); }

.wiz-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--forest);
  box-shadow: 0 0 0 2px var(--lime);
  cursor: pointer;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: var(--cream-dim);
}

.range-value {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--lime);
  margin-top: 1rem;
  min-height: 2.5rem;
}

/* — Minor status pill (age range step) — */
.minor-status-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  border: 1px solid;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-smooth);
  pointer-events: none;
  user-select: none;
}

.minor-status-label.is-minor {
  background: rgba(184, 245, 74, 0.08);
  border-color: rgba(184, 245, 74, 0.35);
  color: var(--lime);
}

.minor-status-label.is-adult {
  background: rgba(242, 234, 216, 0.06);
  border-color: var(--cream-faint);
  color: var(--cream-dim);
}

.minor-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* — Navigation footer — */
.wiz-footer {
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--cream-faint);
  flex-shrink: 0;
  background: var(--forest);
  gap: 1rem;
}

.wiz-footer-hint {
  font-size: 0.82rem;
  color: var(--cream-dim);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.wiz-back {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cream-dim);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s;
  font-family: var(--sans);
}

.wiz-back:hover                    { color: var(--cream); }
.wiz-back:disabled                 { opacity: 0.3; cursor: default; }
.wiz-back svg                      { transition: transform 0.2s; }
.wiz-back:not(:disabled):hover svg { transform: translateX(-3px); }

.wiz-next {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.55rem;
  background: var(--lime);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.wiz-next:hover                    { background: var(--lime-dark); transform: scale(1.04); box-shadow: 0 6px 24px rgba(184, 245, 74, 0.25); }
.wiz-next:disabled                 { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.wiz-next svg                      { transition: transform 0.2s; }
.wiz-next:not(:disabled):hover svg { transform: translateX(3px); }

/* — Disclaimer — */
.wiz-disclaimer { padding: 0.75rem 2.5rem; border-top: 1px solid var(--cream-faint); background: var(--forest); }

.wiz-disclaimer p {
  font-size: 0.67rem;
  color: #908878;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* — Field validation errors — */
.field-error                   { font-size: 0.75rem; color: var(--red); margin-top: 0.4rem; display: none; }
.has-error .wiz-input          { border-bottom-color: var(--red); }
.has-error .field-error        { display: block; }

/* — Success screen — */
.wiz-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  height: 100%;
}

.wiz-success.show { display: flex; }

.success-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--lime-pale);
  border: 2px solid rgba(184, 245, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  animation: ringPop 0.5s var(--ease-spring) both;
}

@keyframes ringPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.success-ring svg { width: 36px; height: 36px; color: var(--lime); }

.success-h {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.success-p {
  font-size: 0.95rem;
  color: var(--cream-dim);
  line-height: 1.75;
  max-width: 44ch;
  margin: 0 auto 2rem;
}

.success-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.success-card {
  background: var(--forest-mid);
  border: 1px solid var(--cream-faint);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: left;
  min-width: 180px;
}

.sc-num   { font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--lime); line-height: 1; margin-bottom: 0.25rem; }
.sc-label { font-size: 0.78rem; color: var(--cream-dim); font-weight: 500; }


/* ============================================================
   10. HOME PAGE
   Styles exclusive to the landing page (home-index.html).
   ============================================================ */

/* — Page shell — */
#landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Subtle radial gradient background texture */
#landing::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(184, 245, 74, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(184, 245, 74, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* — Hero two-column grid — */
.lp-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  width: 100%;
  align-items: center;
}

.lp-left {
  position: relative;
  z-index: 1;
  padding-right: 4rem;
}

/* — Hero badge — */
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lime-pale);
  border: 1px solid rgba(184, 245, 74, 0.2);
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

/* — Hero copy — */
.lp-h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.lp-h1 em { font-style: italic; color: var(--lime); }

.lp-sub {
  font-size: 1.1rem;
  color: var(--cream-dim);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 44ch;
}

.lp-cta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.time-note {
  font-size: 0.8rem;
  color: var(--cream-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.time-note svg { opacity: 0.5; }

/* — Proof strip (below CTA) — */
.proof-strip {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Uses .proof-item from section 6 — no override needed */

/* — Right visual panel (preview cards grid) — */
.lp-right {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.preview-card {
  background: var(--forest-mid);
  border: 1px solid var(--cream-faint);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.preview-card:hover {
  border-color: rgba(184, 245, 74, 0.25);
  transform: translateX(-4px);
}

.pc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.pc-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.pc-icon {
  width: 28px;
  height: 28px;
  background: var(--lime-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-icon svg { width: 14px; height: 14px; color: var(--lime); }

.pc-title { font-size: 1rem; font-weight: 700; color: var(--cream); margin-bottom: 0.25rem; }
.pc-body  { font-size: 0.88rem; color: var(--cream-dim); line-height: 1.5; }

/* — Home FAQ wrapper overrides —
   Home FAQ sits inside a wider max-width than blog's narrow prose column */
#faq .faq-inner {
  max-width: 1200px;
}


/* ============================================================
   11. BLOG / ARTICLE PAGE
   Styles exclusive to blog post pages (blog-index.html).
   ============================================================ */

/* — Reading progress bar (fixed to top of viewport) — */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--lime-dark), var(--lime));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* — Blog header is sticky (home header is relative) — */
.blog-page .lp-header {
  position: sticky;
  top: 0;
  background: var(--forest);
  z-index: 200;
}

/* — Article meta bar (date / read-time / breadcrumb strip) — */
.article-meta-bar {
  background: var(--forest-mid);
  border-bottom: 1px solid var(--cream-faint);
  padding: 0.7rem 0;
}

.article-meta-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}

.meta-chip svg { width: 12px; height: 12px; color: var(--lime); flex-shrink: 0; }
.meta-sep      { width: 1px; height: 0.85rem; background: var(--cream-faint); }

.breadcrumb {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--cream-dim);
}

.breadcrumb a        { color: var(--lime); font-weight: 600; transition: color 0.2s; }
.breadcrumb a:hover  { color: var(--lime-dark); }
.breadcrumb span     { opacity: 0.35; }

/* — Blog hero — */
.blog-hero {
  padding: 6rem 0 5rem;
  position: relative;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184, 245, 74, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lime-pale);
  border: 1px solid rgba(184, 245, 74, 0.2);
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.blog-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.blog-hero h1 em { font-style: italic; color: var(--lime); }

.blog-hero-rule {
  width: 2.5rem;
  height: 2px;
  background: rgba(184, 245, 74, 0.35);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.blog-hero-lede {
  font-size: 1.1rem;
  color: var(--cream-dim);
  line-height: 1.8;
  max-width: 38ch;
  margin-bottom: 2.5rem;
}

/* — Article body — */
.article-wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6rem;
}

/* — Prose typography — */
.prose p        { font-size: 1.05rem; line-height: 1.85; color: var(--cream-dim); margin-bottom: 1.5rem; }
.prose strong   { color: var(--cream); font-weight: 700; }

.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 3.5rem 0 1.1rem;
}

.prose h2 em { font-style: italic; color: var(--lime); }

.prose h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.01em;
  margin: 2.25rem 0 0.65rem;
}

/* Unordered list with lime bullet dots */
.prose ul          { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.prose ul li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--cream-dim);
  margin-bottom: 0.55rem;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

/* Ordered list with italic serif counters */
.prose ol          { counter-reset: prose-ol; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.prose ol li {
  counter-increment: prose-ol;
  position: relative;
  padding-left: 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--cream-dim);
  margin-bottom: 0.7rem;
}
.prose ol li::before {
  content: counter(prose-ol);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--lime);
  font-weight: 400;
  line-height: 1.6;
}

.prose a {
  color: var(--lime);
  font-weight: 600;
  border-bottom: 1px solid rgba(184, 245, 74, 0.3);
  transition: color 0.2s, border-color 0.2s;
}
.prose a:hover { color: var(--lime-dark); border-bottom-color: var(--lime-dark); }

/* — Callout cards (inline article highlights) — */
.callout-card {
  background: var(--forest-mid);
  border: 1px solid var(--cream-faint);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin: 2.25rem 0;
  transition: border-color 0.3s;
}

.callout-card:hover     { border-color: rgba(184, 245, 74, 0.25); }
.callout-card p         { font-size: 0.97rem; color: var(--cream-dim); line-height: 1.7; margin: 0; }
.callout-card strong    { color: var(--cream); }

.callout-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

/* — Checklist block — */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.75rem 0 2.25rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--forest-mid);
  border: 1.5px solid var(--cream-faint);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: border-color 0.2s;
}

.check-item:hover { border-color: rgba(184, 245, 74, 0.3); }

.check-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--lime-pale);
  border: 1px solid rgba(184, 245, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05em;
}

.check-box svg  { width: 11px; height: 11px; color: var(--lime); }
.check-body     { flex: 1; }
.check-label    { font-size: 0.97rem; font-weight: 700; color: var(--cream); line-height: 1.3; margin-bottom: 0.2rem; }
.check-sub      { font-size: 0.85rem; color: var(--cream-dim); line-height: 1.55; }

/* — Inline CTA (mid-article conversion prompt) — */
.inline-cta {
  background: var(--forest-soft);
  border: 1px solid rgba(184, 245, 74, 0.2);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.inline-cta-text p      { font-size: 0.95rem; color: var(--cream-dim); line-height: 1.6; margin: 0; }
.inline-cta-text strong { color: var(--cream); }

/* — Stat strip (3-column data highlights) — */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 2.5rem 0;
}

.stat-card {
  background: var(--forest-mid);
  border: 1px solid var(--cream-faint);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  text-align: center;
}

.stat-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--cream-dim);
  font-weight: 500;
  line-height: 1.4;
}

/* — Urgent strip (full-width lime CTA band) — */
.urgent-strip {
  background: var(--lime);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.urgent-strip p       { font-size: 1rem; font-weight: 700; color: var(--forest); margin: 0; line-height: 1.4; }
.urgent-strip strong  { font-weight: 900; }

.urgent-strip .strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--forest);
  color: var(--lime);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s var(--ease-spring);
}

.urgent-strip .strip-btn:hover { background: var(--forest-mid); transform: scale(1.04); }

/* — Related articles grid — */
.related-section {
  background: var(--forest-mid);
  border-top: 1px solid var(--cream-faint);
  padding: 4rem 2.5rem;
}

.related-inner   { max-width: var(--wide); margin: 0 auto; }

.related-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.related-heading {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
}

.related-heading em { font-style: italic; color: var(--lime); }

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

.related-card {
  display: flex;
  flex-direction: column;
  background: var(--forest);
  border: 1px solid var(--cream-faint);
  border-radius: 14px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
  border-color: rgba(184, 245, 74, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.related-card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.65rem;
}

.related-card-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.related-card-excerpt {
  font-size: 0.85rem;
  color: var(--cream-dim);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.related-card-cta                        { font-size: 0.8rem; font-weight: 700; color: var(--lime); margin-top: auto; transition: color 0.2s; }
.related-card:hover .related-card-cta    { color: var(--lime-dark); }

/* — Blog FAQ wrapper overrides —
   Blog FAQ is constrained to the narrow prose column */
.blog-page .faq-section .faq-section-inner {
  max-width: var(--content);
  padding: 4.5rem 1.5rem;
}

/* Blog FAQ also has a bottom border the home FAQ doesn't */
.blog-page .faq-section {
  border-bottom: 1px solid var(--cream-faint);
}


/* ============================================================
   12. RESPONSIVE
   Consolidated breakpoints. Mobile-last approach.
   ============================================================ */

/* — Tablet / narrow desktop — */
@media (max-width: 900px) {
  /* Home hero collapses to single column */
  .lp-hero  { grid-template-columns: 1fr; padding-top: 3rem; gap: 2.5rem; }
  .lp-left  { padding-right: 0; }
  .lp-h1    { font-size: 2.6rem; }
}

/* — Mobile — */
@media (max-width: 700px) {
  /* Blog related articles */
  .related-section { padding: 3rem 1.25rem; }
  .related-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {

  /* Header */
  .lp-header              { padding: 1rem 1.25rem; }
  .lp-header-right .hdr-link { display: none; }

  /* Home hero */
  .lp-hero                { padding: 2rem 1.25rem; }
  .lp-right               { grid-template-columns: 1fr 1fr; }
  .lp-right .preview-card:nth-child(3),
  .lp-right .preview-card:nth-child(4) { display: flex; }

  /* Blog */
  .article-meta-bar       { padding: 0.7rem 1.25rem; }
  .breadcrumb             { display: none; }
  .blog-hero              { padding: 4rem 0 3.5rem; }
  .article-wrap           { padding: 3rem 1.25rem 4rem; }
  .stat-strip             { grid-template-columns: 1fr 1fr; }
  .urgent-strip           { padding: 1.5rem 1.25rem; }
  .inline-cta             { flex-direction: column; }

  /* FAQ */
  .faq-inner,
  .faq-section-inner      { padding: 3rem 1.25rem; }
  .faq-q                  { padding: 1.2rem 1.25rem; }
  .faq-a-inner            { padding: 0 1.25rem 1.25rem; }

  /* Footer */
  .footer-bottom          { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .footer-cta,
  .footer-cta-block       { padding: 2.5rem 1.25rem; }

  /* Wizard */
  .wiz-header             { padding: 0.75rem 1.25rem; }
  .wiz-slide              { padding: 1.25rem 1.25rem 1rem; }
  .wiz-footer             { padding: 0.75rem 1.25rem; gap: 0.75rem; }
  .wiz-footer-hint        { display: none; }
  .wiz-disclaimer         { padding: 0.6rem 1.25rem; }
  .wiz-next               { flex: 1; justify-content: center; font-size: 0.95rem; padding: 0.8rem 1rem; }
  .wiz-back               { flex-shrink: 0; white-space: nowrap; }
  .wiz-input              { font-size: 1.4rem; }
  .range-value            { font-size: 1.6rem; }

  /* Wizard choices */
  .choice-grid.cols-2,
  .choice-grid.cols-3     { grid-template-columns: 1fr; }
  .wiz-input-row          { grid-template-columns: 1fr; gap: 1.25rem; }
  .q-heading              { font-size: 1.5rem; margin-bottom: 0.4rem; }
  .q-sub                  { font-size: 0.88rem; margin-bottom: 1.25rem; }
  .q-num                  { margin-bottom: 0.35rem; }
  .choice-card            { padding: 0.85rem 1rem; }
  .chip                   { padding: 0.45rem 0.85rem; font-size: 0.85rem; }
  .success-cards          { flex-direction: column; align-items: center; }
}

/* Vertical centering for wizard slides on taller screens */
@media (min-height: 700px) {
  .wiz-slide { align-items: center; }
}
