:root {
  --navy: #0f2342;
  --navy-dark: #09172d;
  --navy-soft: #1a355e;
  --gold: #a88438;
  --gold-light: #f6efe0;
  --bg: #f8fafc;
  --white: #ffffff;
  --ink: #1e293b;
  --muted: #475569;
  --border: #d8e0ea;
  --success-bg: #ecfdf5;
  --success-ink: #065f46;
  --warn-bg: #fffbeb;
  --warn-ink: #92400e;
  --error-bg: #fef2f2;
  --error-ink: #991b1b;
  --radius: 10px;
  --shadow: 0 10px 28px rgba(15, 35, 66, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; }
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); line-height: 1.22; margin-top: 0; }
a { color: var(--navy-soft); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; flex-direction: column; text-decoration: none; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.brand-sub { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 600; color: var(--navy); text-decoration: none; font-size: 0.95rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 7px; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background 0.15s ease, transform 0.1s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #8f6f2d; }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: #eef3f9; }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover { background: #f1f5f9; color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.hero { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1c3a66 100%); color: var(--white); padding: 68px 0 56px; }
.hero-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ebd39b; background: rgba(255, 255, 255, 0.08); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); max-width: 820px; margin-bottom: 18px; }
.hero-sub { font-size: 1.12rem; color: #dbe6f4; max-width: 720px; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero .btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.trust-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 22px; }
.trust-item { font-size: 0.9rem; color: #e2ecf8; }
.trust-item strong { display: block; color: var(--white); font-size: 0.96rem; }
.section { padding: 64px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { max-width: 720px; margin-bottom: 36px; }
.section-header h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 10px; }
.section-header p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.compare-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table th { background: #f1f5f9; color: var(--navy); font-size: 0.92rem; }
.compare-table td.highlight { background: #f7f9fd; }
.compare-table th.highlight { background: var(--navy); color: var(--white); }
.compare-table tr:last-child td { border-bottom: none; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(295px, 1fr)); gap: 24px; align-items: stretch; }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--navy); }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; background: var(--gold-light); color: #7c5f1e; margin-bottom: 12px; align-self: flex-start; }
.price-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.price-breakdown { background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; padding: 14px; margin: 16px 0 18px; }
.price-row { display: flex; justify-content: space-between; font-size: 0.92rem; margin-bottom: 6px; color: var(--muted); }
.price-row.total { border-top: 1px solid var(--border); padding-top: 8px; margin-top: 8px; margin-bottom: 0; color: var(--navy); font-weight: 700; font-size: 1.05rem; }
.feature-list { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.feature-list li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 0.93rem; }
.feature-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.pricing-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.92rem; margin-bottom: 12px; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.intake-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 920px) { .intake-layout { grid-template-columns: 1fr; } .summary-card { order: -1; position: static !important; } }
.form-shell { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.step-progress { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); background: #f1f5f9; }
.step-tab { padding: 14px 10px; text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; background: transparent; border-top: none; border-left: none; border-right: none; }
.step-tab.active { color: var(--navy); background: var(--white); border-bottom-color: var(--gold); }
.step-tab.completed { color: var(--success-ink); }
.form-body { padding: 28px; }
.form-step { display: none; }
.form-step.active { display: block; }
.fieldset-title { font-size: 1.18rem; margin: 24px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.fieldset-title:first-child { margin-top: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.field-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
@media (max-width: 640px) { .field-grid, .field-grid-3 { grid-template-columns: 1fr; } .header-phone { display: none; } .form-body { padding: 20px; } }
.field { margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 5px; color: var(--navy); }
.req { color: #b91c1c; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 0.95rem; font-family: inherit; color: var(--ink); background: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 35, 66, 0.12); }
.helper { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.radio-group { display: grid; gap: 10px; }
.radio-option, .check-option { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 7px; background: #fafcff; cursor: pointer; font-weight: 500; font-size: 0.92rem; color: var(--ink); }
.radio-option input, .check-option input { margin-top: 3px; flex-shrink: 0; }
.conditional { display: none; }
.conditional.visible { display: block; }
.notice-box { padding: 13px 15px; border-radius: 7px; font-size: 0.88rem; margin: 14px 0; }
.notice-info { background: #eef4fb; border: 1px solid #c6d8ee; color: var(--navy); }
.notice-warn { background: var(--warn-bg); border: 1px solid #fcd34d; color: var(--warn-ink); }
.notice-error { background: var(--error-bg); border: 1px solid #fecaca; color: var(--error-ink); }
.notice-success { background: var(--success-bg); border: 1px solid #a7f3d0; color: var(--success-ink); }
.repeater-card { border: 1px solid var(--border); border-radius: 8px; padding: 16px; margin-bottom: 14px; background: #fcfdff; }
.repeater-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.repeater-head strong { color: var(--navy); }
.ownership-meter { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 7px; font-weight: 600; font-size: 0.92rem; margin: 12px 0 18px; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); }
.summary-card { position: sticky; top: 84px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.summary-card h3 { font-size: 1.15rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; margin-bottom: 9px; color: var(--muted); }
.summary-line strong { color: var(--ink); }
.summary-total { display: flex; justify-content: space-between; padding-top: 12px; margin-top: 12px; border-top: 2px solid var(--navy); font-weight: 700; font-size: 1.06rem; color: var(--navy); }
.summary-footnote { font-size: 0.8rem; color: var(--muted); margin-top: 12px; line-height: 1.45; }
.bio-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 18px 20px; }
.faq-item summary { font-weight: 700; color: var(--navy); cursor: pointer; font-size: 1.02rem; }
.faq-item p { margin: 12px 0 0; color: var(--muted); font-size: 0.95rem; }
.thank-you { display: none; padding: 32px; }
.thank-you.visible { display: block; }
.payload-preview { background: #0f172a; color: #e2e8f0; padding: 14px; border-radius: 8px; font-size: 0.78rem; overflow-x: auto; max-height: 260px; margin-top: 14px; }
.site-footer { background: var(--navy-dark); color: #cbd5e1; padding: 44px 0 36px; font-size: 0.88rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); margin-bottom: 22px; }
.footer-brand { color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.attorney-ad { display: inline-block; font-weight: 700; color: #ebd39b; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 10px; }
.site-footer p { margin: 0 0 10px; line-height: 1.55; }
.bio-phone, .bio-phone:visited { color: var(--navy); font-weight: 600; text-decoration: none; }
.bio-phone:hover { text-decoration: underline; }
.footer-phones { margin-top: 6px; color: #e2e8f0; }
.site-footer a, .site-footer a:visited, .footer-phone, .footer-phone:visited { color: #ffffff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(235, 211, 155, 0.7); white-space: nowrap; }
.site-footer a:hover, .footer-phone:hover { color: #ebd39b; text-decoration-color: #ebd39b; }
