*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: #fff; color: #171717; }
a { color: inherit; text-decoration: none; }

.promo-bar { background: #fbbf24; color: #78350f; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px; }
.promo-bar code { background: #f59e0b; padding: 1px 6px; border-radius: 4px; font-family: monospace; }

nav { background: #1F3864; color: white; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
nav .brand { font-weight: 700; font-size: 20px; letter-spacing: -0.5px; flex-shrink: 0; }
nav .nav-links { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; }
nav .nav-links a { color: rgba(255,255,255,0.85); transition: color .15s; white-space: nowrap; }
nav .nav-links a:hover { color: white; }

/* Mobile bottom action bar */
.mobile-action-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: #1F3864;
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.mobile-action-bar a {
  display: flex; flex-direction: column; align-items: center;
  color: rgba(255,255,255,.8); text-decoration: none;
  font-size: 10px; font-weight: 700; letter-spacing: 0.3px;
  gap: 4px; padding: 4px 10px;
  text-transform: uppercase;
  flex: 1;
}
.mobile-action-bar a .mab-icon { font-size: 18px; line-height: 1; }
.mobile-action-bar a.mab-cta {
  background: #C9A961; color: #1F3864;
  border-radius: 8px; margin: 0 8px;
  padding: 8px 10px;
}
.mobile-action-bar a:hover { color: white; }

@media (max-width: 640px) {
  .mobile-action-bar { display: flex; }
  nav .nav-links { display: none; }
  body { padding-bottom: 68px; }
}

.hero { position: relative; min-height: max(580px, calc(100vh - 96px)); display: flex; align-items: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; width: 177.77vh; min-width: 100%; height: 56.25vw; min-height: 100%; transform: translate(-50%, -50%); }
.hero-overlay { position: absolute; inset: 0; background: rgba(31,56,100,0.78); z-index: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 60px 24px; }

.container { max-width: 800px; margin: 0 auto; }
.container-sm { max-width: 500px; margin: 0 auto; }

.hero h1 { color: white; font-size: clamp(28px, 5vw, 48px); font-weight: 800; line-height: 1.2; margin-bottom: 12px; text-align: center; }
.hero .sub { color: #bfdbfe; font-size: 17px; text-align: center; margin-bottom: 36px; }

.card { background: white; border-radius: 14px; box-shadow: 0 8px 40px rgba(0,0,0,0.14); overflow: hidden; }
.card-body { padding: 28px; }

.form-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #374151; margin-bottom: 6px; }
.form-input { width: 100%; border: 1.5px solid #d1d5db; border-radius: 8px; padding: 12px 16px; font-size: 15px; color: #111; outline: none; transition: border-color .15s; }
.form-input:focus { border-color: #1F3864; }
.form-error { color: #dc2626; font-size: 13px; margin-top: 6px; }
.form-hint { color: #9ca3af; font-size: 11px; text-align: center; margin-top: 8px; }

.btn { display: block; width: 100%; padding: 14px; border-radius: 8px; font-weight: 700; font-size: 15px; text-align: center; cursor: pointer; border: none; transition: background .15s, opacity .15s; }
.btn-primary { background: #1F3864; color: white; }
.btn-primary:hover { background: #162a4f; }
.btn-primary:disabled { opacity: .55; cursor: default; }
.btn-outline { background: white; color: #1F3864; border: 2px solid #1F3864; }
.btn-outline:hover { background: #f0f4fa; }
.btn-sm { width: auto; padding: 8px 18px; font-size: 13px; display: inline-block; }

.spinner { width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; vertical-align: middle; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

.property-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
@media(min-width:480px) { .property-grid { grid-template-columns: repeat(4, 1fr); } }
.property-stat { background: #f9fafb; border-radius: 8px; padding: 10px; text-align: center; }
.property-stat .label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; margin-bottom: 3px; }
.property-stat .value { font-weight: 700; font-size: 15px; }

.value-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.value-row + .value-row { border-top: 1px solid #f3f4f6; }
.value-row .label { color: #6b7280; }
.value-row .amount { font-weight: 700; }
.value-row.highlight { font-size: 15px; }
.value-row .redacted { filter: blur(6px); user-select: none; color: #1F3864; font-weight: 700; }
.value-row .green { color: #15803d; }

.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.tier-card { border: 2px solid #e5e7eb; border-radius: 10px; padding: 14px; cursor: pointer; transition: border-color .15s, background .15s; text-align: left; background: white; width: 100%; }
.tier-card:hover { border-color: #94a3b8; }
.tier-card.active { border-color: #1F3864; background: #eff6ff; }
.tier-card .tier-name { font-weight: 700; font-size: 14px; color: #111; }
.tier-card .tier-price { font-weight: 800; font-size: 20px; color: #1F3864; }
.tier-card .tier-note { font-size: 11px; color: #6b7280; margin-top: 2px; }

.section { padding: 56px 24px; }
.section-alt { background: #f9fafb; }
.section h2 { font-size: 24px; font-weight: 800; color: #1F3864; text-align: center; margin-bottom: 36px; }

.steps { display: grid; gap: 24px; }
@media(min-width:640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: white; border-radius: 12px; padding: 24px; border: 1px solid #e5e7eb; }
.step-num { width: 38px; height: 38px; border-radius: 50%; background: #1F3864; color: white; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.step p { font-size: 13px; color: #6b7280; line-height: 1.5; }

.features { display: grid; gap: 20px; }
@media(min-width:640px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { display: flex; gap: 14px; }
.feature .icon { font-size: 28px; flex-shrink: 0; }
.feature h3 { font-weight: 600; margin-bottom: 4px; font-size: 14px; }
.feature p { font-size: 13px; color: #6b7280; }

.progress-bar { height: 10px; background: #e5e7eb; border-radius: 99px; overflow: hidden; margin: 16px 0; }
.progress-fill { height: 100%; background: #1F3864; border-radius: 99px; transition: width .6s ease; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-gray { background: #f3f4f6; color: #374151; }

.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; padding: 10px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; border-bottom: 1px solid #e5e7eb; background: #f9fafb; }
.table td { padding: 12px 14px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.table tr:hover td { background: #fafafa; }

.download-btn { display: flex; align-items: center; gap: 12px; border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; transition: border-color .15s, background .15s; text-decoration: none; color: inherit; }
.download-btn:hover { border-color: #1F3864; background: #eff6ff; }
.download-btn .icon { font-size: 24px; }
.download-btn .info { flex: 1; }
.download-btn .info strong { display: block; font-size: 14px; color: #111; }
.download-btn .info span { font-size: 12px; color: #9ca3af; }
.download-btn .arrow { color: #1F3864; font-weight: 700; font-size: 13px; }

.filing-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.filing-steps li { display: flex; gap: 12px; font-size: 13px; color: #374151; line-height: 1.5; }
.filing-steps .num { width: 24px; height: 24px; border-radius: 50%; background: #1F3864; color: white; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.address-box { font-family: monospace; font-size: 12px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; padding: 8px 10px; margin-top: 4px; display: inline-block; }

.legal-disclaimer { background: #f0f4f8; border-top: 1px solid #d1dae5; padding: 18px 24px; font-size: 12px; color: #4b5563; line-height: 1.65; text-align: center; }
.legal-disclaimer strong { color: #1F3864; }
footer { background: #1F3864; color: #93c5fd; padding: 48px 24px 28px; font-size: 13px; }
footer p + p { margin-top: 4px; color: #60a5fa; font-size: 11px; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media(max-width:700px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media(max-width:420px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { color: white; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.footer-col a { display: block; color: #93c5fd; text-decoration: none; font-size: 13px; margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: white; }
.footer-col p { color: #60a5fa; font-size: 12px; line-height: 1.65; margin: 0; }
.footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: #60a5fa; font-size: 11px; margin: 0; }

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-sm { font-size: 13px; }
.text-muted { color: #6b7280; }
.gap-10 { gap: 10px; }
.mobile-action-bar a.mab-cta-green { background: #16A34A; color: white; }
