/* ==========================================================================
   CALCULATOR DESIGN SYSTEM & THEME
   Unified styles for legal damage & settlement calculators
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET & CSS VARIABLES / DESIGN TOKENS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--paper-50);
  line-height: 1.55;
  font-size: 16px;
}

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

button {
  font: inherit;
}

:root {
  /* Color Palette */
  --navy-900: #0B1B33;
  --navy-800: #12294B;
  --navy-700: #1C3A63;
  --navy-600: #28507F;
  --brass-600: #9A6E2C;
  --brass-500: #B8863B;
  --brass-100: #F3E7D2;
  --paper-50:  #FAF9F5;
  --paper-100: #F1EEE6;
  --ink-900:   #171B21;
  --ink-700:   #3A4250;
  --ink-500:   #6B7280;
  --line:        #DEDACD;
  --line-strong: #C7C2B0;
  --white:       #FFFFFF;
  --green-700:   #285E44;
  --green-100:   #E4EEE7;
  --red-700:     #8C3B24;
  --red-100:     #F5E6DF;

  /* Typography */
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-card: 0 1px 2px rgba(11, 27, 51, 0.06), 0 8px 24px -12px rgba(11, 27, 51, 0.18);
  --shadow-lift: 0 20px 45px -20px rgba(11, 27, 51, 0.35);

  /* Borders & Spacing */
  --radius-sm: 4px;
  --radius-md: 10px;
  --container: 1120px;
}

/* --------------------------------------------------------------------------
   2. TYPOGRAPHY & GENERAL ELEMENTS
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p {
  margin: 0 0 1em;
  color: var(--ink-700);
}

a {
  color: var(--navy-700);
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 56px 0;
}

.section-tight {
  padding: 40px 0;
}

.section-alt {
  background: var(--paper-100);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--brass-600);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.lede {
  font-size: 1.08rem;
  max-width: 66ch;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--brass-500);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brass-500);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--brass-600);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-800);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--paper-100);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   3. SITE HEADER
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 14px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brass-500);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex: none;
}

.header-cta {
  font-size: 0.92rem;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background .15s ease;
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-phone {
  display: none;
}

@media (min-width: 640px) {
  .header-phone {
    display: inline;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-right: 14px;
  }
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 62%, var(--navy-800) 100%);
  color: var(--white);
  padding: 52px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(184, 134, 59, 0.22), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero h1 {
  color: var(--white);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.82);
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brass-100);
  font-weight: 600;
  font-size: 0.98rem;
  margin: 18px 0 22px;
}

.trust-line svg {
  flex: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-subtext {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin: 12px 0 0;
}

.hero-card {
  background: var(--paper-50);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-lift);
  color: var(--ink-900);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-card-label {
  font-size: 0.78rem;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.hero-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy-900);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-strong);
}

.hero-ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
  padding: 6px 0;
  color: var(--ink-700);
  border-bottom: 1px dotted var(--line);
}

.hero-ledger-row:last-of-type {
  border-bottom: none;
}

.hero-ledger-row strong {
  color: var(--ink-900);
}

.hero-card-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px solid var(--navy-900);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.hero-card-total .amt {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy-900);
  font-weight: 600;
}

.hero-card-foot {
  font-size: 0.76rem;
  color: var(--ink-500);
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   5. CALCULATOR WIZARD SHELL & COMPONENTS
   -------------------------------------------------------------------------- */
.calc-section {
  background: var(--paper-50);
}

.calc-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.calc-head {
  padding: 22px 22px 0;
}

.calc-head h2 {
  margin-bottom: 4px;
}

.calc-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.88rem;
  color: var(--ink-500);
  margin: 14px 0 8px;
  font-weight: 600;
}

.calc-progress-label .step-name {
  color: var(--navy-800);
}

.progress-track {
  height: 6px;
  background: var(--paper-100);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-fill {
  height: 100%;
  background: var(--brass-500);
  border-radius: 99px;
  transition: width .3s ease;
  width: 25%;
}

.docket {
  display: flex;
  gap: 6px;
  padding: 0 22px 18px;
  flex-wrap: wrap;
}

.docket-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--ink-500);
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 99px;
  border: 1px solid var(--line);
  transition: opacity .2s ease;
}

.docket-item.is-active {
  color: var(--navy-900);
  border-color: var(--navy-900);
  background: var(--paper-100);
}

.docket-item.is-done {
  color: var(--green-700);
  border-color: var(--green-100);
  background: var(--green-100);
}

.docket-num {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--line);
  color: var(--white);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.docket-item.is-active .docket-num {
  background: var(--navy-900);
}

.docket-item.is-done .docket-num {
  background: var(--green-700);
}

.calc-body {
  padding: 6px 22px 26px;
}

.calc-step {
  display: none;
}

.calc-step.is-visible {
  display: block;
  animation: fadeIn .25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Form Controls */
.field-group {
  margin-bottom: 22px;
}

.field-group legend,
.field-label {
  display: block;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 10px;
  font-size: 1rem;
}

.field-hint {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin: -4px 0 10px;
}

.field-error {
  font-size: 0.85rem;
  color: var(--red-700);
  margin-top: 6px;
  display: none;
}

.field-group.has-error .field-error {
  display: block;
}

.field-group.has-error input,
.field-group.has-error select {
  border-color: var(--red-700);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 560px) {
  .option-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.option-card {
  position: relative;
}

.option-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.option-card label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease, color .12s ease;
}

.option-card input:checked + label {
  border-color: var(--navy-800);
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
}

.option-card input:focus-visible + label {
  outline: 3px solid var(--brass-500);
  outline-offset: 2px;
}

/* Inputs & Currency */
.input-currency {
  position: relative;
}

.input-currency .cur-sign {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-500);
  font-weight: 600;
  pointer-events: none;
}

input[type=text].money,
input[type=number],
input[type=email],
input[type=tel],
select {
  width: 100%;
  padding: 13px 14px;
  font-size: 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-900);
  font-family: var(--font-sans);
  transition: border-color .15s ease, box-shadow .15s ease;
}

input[type=text].money {
  padding-left: 28px;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(28, 58, 99, 0.14);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A4250' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 38px;
}

/* Subtotal Bar */
.subtotal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--navy-900);
  color: var(--white);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
}

.subtotal-bar .label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.subtotal-bar .amt {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}

/* Range Slider */
.fault-slider-wrap {
  padding: 6px 4px 0;
}

input[type=range] {
  width: 100%;
  accent-color: var(--navy-800);
  height: 28px;
}

.fault-readout {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.fault-readout .value {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy-900);
  font-weight: 600;
}

.note-box {
  background: var(--paper-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--ink-700);
  margin-top: 8px;
}

.note-box.warn {
  background: var(--brass-100);
  border-color: #E4CFA0;
  color: var(--ink-900);
}

.note-box strong {
  color: var(--navy-900);
}

.conditional-field {
  display: none;
  margin-top: 12px;
}

.conditional-field.is-visible {
  display: block;
}

/* Navigation footer */
.calc-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.calc-nav .spacer {
  flex: 1;
}

/* --------------------------------------------------------------------------
   6. RESULT SECTION & LEDGER
   -------------------------------------------------------------------------- */
.result-wrap {
  display: none;
}

.result-wrap.is-visible {
  display: block;
}

.result-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% -10%, rgba(184, 134, 59, 0.28), transparent 55%);
}

.result-card > * {
  position: relative;
}

.result-eyebrow {
  color: var(--brass-100);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.result-range {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  margin: 10px 0 6px;
  line-height: 1.05;
}

.result-caption {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  max-width: 52ch;
  margin: 0 auto;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.ledger {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 22px 8px;
  margin-top: 22px;
  box-shadow: var(--shadow-card);
}

.ledger h3 {
  margin-bottom: 14px;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dotted var(--line-strong);
  font-size: 0.98rem;
}

.ledger-row .l {
  color: var(--ink-700);
}

.ledger-row .v {
  font-weight: 600;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}

.ledger-row.negative .v {
  color: var(--red-700);
}

.ledger-row.total {
  border-bottom: none;
  border-top: 2px solid var(--navy-900);
  margin-top: 4px;
  padding-top: 14px;
}

.ledger-row.total .l {
  font-weight: 600;
  color: var(--navy-900);
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.ledger-row.total .v {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy-900);
}

.ledger-note {
  font-size: 0.84rem;
  color: var(--ink-500);
  padding: 12px 0 16px;
}

/* Factors Grid */
.factor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 700px) {
  .factor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.factor-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.factor-card h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.factor-card p {
  font-size: 0.9rem;
  margin: 0;
}

.influence-list {
  columns: 2;
  column-gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 560px) {
  .influence-list {
    columns: 1;
  }
}

.influence-list li {
  font-size: 0.92rem;
  color: var(--ink-700);
  padding: 6px 0 6px 20px;
  position: relative;
  break-inside: avoid;
}

.influence-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 1.5px;
  background: var(--brass-500);
}

/* Steps List (How it works) */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.steps-list li:last-child {
  border-bottom: none;
}

.steps-list .num {
  counter-increment: step;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--brass-600);
  font-weight: 700;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--brass-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.steps-list .num::before {
  content: counter(step);
}

.callout {
  border-left: 4px solid var(--navy-800);
  background: var(--white);
  border: 1px solid var(--line);
  border-left-width: 4px;
  padding: 18px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* --------------------------------------------------------------------------
   7. ACCORDION FAQ
   -------------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 1rem;
}

.faq-q .icon {
  flex: none;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-q .icon::before,
.faq-q .icon::after {
  content: "";
  position: absolute;
  background: var(--navy-800);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-q .icon::before {
  width: 14px;
  height: 2px;
}

.faq-q .icon::after {
  width: 2px;
  height: 14px;
  transition: transform .15s ease;
}

.faq-q[aria-expanded="true"] .icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.faq-a-inner {
  padding: 0 4px 18px;
}

.faq-a-inner p {
  font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   8. LEAD FORM & CASE EVALUATION CTA
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--navy-900);
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band .lede {
  color: rgba(255, 255, 255, 0.8);
}

.lead-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--ink-900);
  box-shadow: var(--shadow-lift);
  margin-top: 26px;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .lead-grid.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.lead-grid label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.lead-grid textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  min-height: 90px;
  resize: vertical;
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 4px;
}

.consent-row input {
  margin-top: 4px;
}

.consent-row label {
  font-size: 0.85rem;
  color: var(--ink-700);
  font-weight: 400;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.form-msg {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-top: 14px;
}

.form-msg.success {
  display: block;
  background: var(--green-100);
  color: var(--green-700);
}

.form-msg.error {
  display: block;
  background: var(--red-100);
  color: var(--red-700);
}

/* --------------------------------------------------------------------------
   9. DISCLAIMER & FOOTER
   -------------------------------------------------------------------------- */
.disclaimer-box {
  background: var(--paper-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-size: 0.86rem;
  color: var(--ink-500);
}

.disclaimer-box strong {
  color: var(--ink-700);
}

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.65);
  padding: 36px 0 26px;
  font-size: 0.86rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}

@media (min-width: 700px) {
  .footer-cols {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-cols h5 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-cols li {
  margin-bottom: 8px;
}

/* Utilities */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
.sr-note { font-size: 0.82rem; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   10. PRINT MEDIA STYLES
   Optimized layout when user clicks "Print / save this estimate"
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }
  .site-header,
  .hero,
  .calc-section,
  .cta-band,
  .site-footer,
  .result-actions,
  #faqList {
    display: none !important;
  }
  .result-wrap {
    display: block !important;
  }
  .result-card {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    box-shadow: none !important;
    padding: 16px !important;
  }
  .result-range {
    color: #000 !important;
    font-size: 28pt !important;
  }
  .result-eyebrow,
  .result-caption {
    color: #333 !important;
  }
  .ledger {
    border: 1px solid #999 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  .ledger-row {
    border-bottom: 1px solid #ccc !important;
  }
  .disclaimer-box {
    border: 1px solid #999 !important;
    margin-top: 20px !important;
    page-break-inside: avoid;
  }
}
