:root {
  --ink: #0F172A;
  --ink-soft: #475569;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --brand: #0B3B5C;
  --brand-deep: #072A44;
  --accent: #E0531C;
  --accent-soft: #FFF3EC;
  --ok: #15803D;
  --rule: #E2E8F0;
  --danger: #B91C1C;
  --max-width: 720px;
  --form-width: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
  font-size: 17px;
  padding-bottom: 80px;
}
@media (min-width: 768px) { body { padding-bottom: 0; padding-top: 64px; } }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-size: 32px; font-weight: 800; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
@media (min-width: 768px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  h3 { font-size: 20px; }
}

a { color: var(--brand); }
p { margin: 0 0 1em; }

.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}
@media (min-width: 768px) { .eyebrow { font-size: 13px; } }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section.soft { background: var(--bg-soft); }
@media (min-width: 768px) { .section { padding: 80px 0; } }

.btn {
  display: inline-block; padding: 16px 24px; min-height: 56px;
  font-size: 16px; font-weight: 700; line-height: 1.2;
  border-radius: 8px; border: 0; cursor: pointer; text-decoration: none;
  text-align: center;
}
@media (min-width: 768px) { .btn { font-size: 17px; } }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 0 var(--brand-deep); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-secondary { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-block { display: block; width: 100%; }

.error { color: var(--danger); font-size: 14px; margin-top: 8px; }

[hidden] { display: none !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: flex; height: 64px; z-index: 50;
  border-top: 1px solid var(--rule);
  background: #fff;
}
.sticky-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 16px;
  gap: 8px;
}
.sticky-call { background: var(--brand); }
.sticky-text { background: var(--accent); }
@media (min-width: 768px) { .sticky-bar { display: none; } }

.desk-header {
  display: none;
}
@media (min-width: 768px) {
  .desk-header {
    display: block; position: fixed; top: 0; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--rule);
    z-index: 50; height: 64px;
  }
  .desk-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
  }
  .brand { color: var(--ink); text-decoration: none; font-size: 18px; }
  .desk-header-cta { display: flex; align-items: center; gap: 16px; }
  .desk-phone { color: var(--ink); font-weight: 700; text-decoration: none; }
  .desk-cta { min-height: 40px; padding: 8px 18px; }
}

.hero {
  background: var(--brand);
  color: #fff;
  padding: 48px 0 56px;
}
@media (min-width: 768px) { .hero { padding: 96px 0 80px; } }
.hero .eyebrow { color: rgba(255,255,255,0.7); }
.hero-h1 { color: #fff; }
.hero-sub {
  color: rgba(255,255,255,0.92); font-size: 18px;
  max-width: 600px; margin-bottom: 28px;
}
@media (min-width: 768px) { .hero-sub { font-size: 20px; } }
.hero-cta { min-width: 240px; }
.hero-trust {
  margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.7);
}

.facts h2 { margin-bottom: 24px; }
.fact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.fact-card {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  padding: 20px; background: #fff;
  border: 1px solid var(--rule); border-radius: 10px;
}
.section.soft .fact-card { background: var(--bg); }
.fact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.fact-icon svg { width: 24px; height: 24px; }
.fact-card h3 { margin-bottom: 4px; }
.fact-card p { margin: 0; color: var(--ink-soft); }

.rep-grid { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 768px) {
  .rep-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.rep-col {
  padding: 24px; border-radius: 10px;
  background: #fff; border: 1px solid var(--rule);
}
.rep-label {
  font-weight: 600; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--ink-soft); margin: 0 0 8px;
}
.rep-amount {
  font-size: 36px; font-weight: 800; margin: 0 0 12px;
  color: var(--ink);
}
.rep-amount.accent { color: var(--accent); }
.rep-disclaimer {
  font-size: 13px; color: var(--ink-soft); margin-top: 16px;
}

.urgency {
  background: var(--accent-soft);
  border-top: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
}
.urg-tag {
  display: inline-block; padding: 4px 10px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; border-radius: 4px;
  margin: 0 0 12px;
}
.impacts-list {
  margin: 16px 0 0; padding: 0; list-style: none;
  display: grid; gap: 12px;
}
.impacts-list li {
  background: #fff; padding: 14px 16px;
  border: 1px solid var(--rule); border-radius: 8px;
  font-weight: 600;
}
.section.soft .impacts-list li { background: var(--bg); }
.quote-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.quote-card {
  padding: 20px; background: var(--bg-soft);
  border-radius: 10px; border: 1px solid var(--rule);
}
.quote-stars { color: #F59E0B; font-size: 16px; margin-bottom: 8px; }
.quote-card blockquote { margin: 0 0 12px; font-size: 17px; line-height: 1.5; }
.quote-attr {
  margin: 0; display: flex; align-items: center; gap: 10px;
  color: var(--ink-soft); font-size: 14px;
}
.quote-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: 13px;
}
.attorney-band-inner { display: grid; gap: 20px; align-items: center; }
@media (min-width: 768px) {
  .attorney-band-inner { grid-template-columns: 140px 1fr; gap: 32px; }
}
.attorney-photo {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; display: block;
}
.attorney-name { margin-bottom: 8px; }

.form-section { background: var(--bg-soft); }
.form-wrap { max-width: var(--form-width); }
.form-h2 { margin-bottom: 8px; }
.form-sub { color: var(--ink-soft); margin-bottom: 24px; }

#lead-form {
  background: #fff; padding: 24px; border-radius: 12px;
  border: 1px solid var(--rule);
}
@media (min-width: 768px) { #lead-form { padding: 32px; } }

#lead-form fieldset { border: 0; margin: 0; padding: 0; }
#lead-form legend {
  font-size: 22px; font-weight: 700;
  margin-bottom: 20px; line-height: 1.25;
}
@media (min-width: 768px) { #lead-form legend { font-size: 26px; } }

.progress { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.progress-bar {
  flex: 1; height: 6px; background: var(--rule); border-radius: 3px;
  position: relative; overflow: hidden;
}
.progress-bar::before {
  content: ""; position: absolute; top: 0; left: 0; height: 100%;
  background: var(--ok); border-radius: 3px;
  width: 33%; transition: width 0.2s ease;
}
.progress[data-step="2"] .progress-bar::before { width: 66%; }
.progress[data-step="3"] .progress-bar::before { width: 100%; }
.progress-label { font-size: 13px; color: var(--ink-soft); }

.answer-grid { display: grid; gap: 12px; }
.answer-grid.two { grid-template-columns: 1fr 1fr; }
@media (min-width: 480px) {
  .answer-grid:not(.two) { grid-template-columns: 1fr 1fr; }
}

#lead-form label {
  display: block; font-weight: 600; font-size: 14px;
  margin-bottom: 14px;
}
#lead-form input, #lead-form textarea {
  display: block; width: 100%; font: inherit;
  padding: 12px 14px; margin-top: 6px;
  border: 1px solid var(--rule); border-radius: 8px;
  background: #fff; color: var(--ink);
}
#lead-form input:focus, #lead-form textarea:focus {
  outline: 2px solid var(--brand); outline-offset: 1px;
}
.consent { font-size: 12px; color: var(--ink-soft); margin-top: 12px; }
.thank-you, .off-ramp { padding: 8px 0; }
.ty-cta { display: grid; gap: 12px; margin: 16px 0 24px; }
@media (min-width: 480px) { .ty-cta { grid-template-columns: 1fr 1fr; } }

fieldset[data-step] { transition: opacity 0.2s ease; }

.footer {
  background: var(--ink); color: #cbd5e1;
  padding: 40px 0 96px;
  font-size: 14px;
}
@media (min-width: 768px) { .footer { padding: 48px 0; } }
.footer a { color: #93c5fd; }
.footer-grid { display: grid; gap: 24px; margin-bottom: 24px; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 2fr; gap: 48px; }
}
.footer-brand { color: #fff; margin-bottom: 12px; font-size: 16px; }
.footer-disclaimer { font-size: 12px; color: #94a3b8; }
.footer-copy { font-size: 12px; color: #64748b; margin: 0; border-top: 1px solid #1e293b; padding-top: 16px; }

.start-intro {
  background: var(--brand);
  color: #fff;
  padding: 40px 0 32px;
}
@media (min-width: 768px) { .start-intro { padding: 72px 0 48px; } }
.start-intro h1 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 8px;
}
@media (min-width: 768px) { .start-intro h1 { font-size: 36px; } }
.start-intro .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.start-sub {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin: 0;
}
.start-intro + .form-section { padding-top: 24px; }
