/* styles.css — mobile-first, trust-based, high-conversion.
   No external fonts or assets (fast load). System font stack. */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1d6fb8;
  --blue-d: #155a96;
  --green: #18926a;
  --green-d: #137a58;
  --amber: #f4a52b;
  --ink: #1a2433;
  --muted: #5b6678;
  --line: #e2e8f0;
  --bg: #f6f8fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(11, 37, 69, .12);
  --maxw: 1120px;
}
* { 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.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }

/* Compliance bar */
.compliance-bar {
  background: var(--navy);
  color: #cde0f2;
  font-size: 12.5px;
  text-align: center;
  padding: 7px 14px;
}
.compliance-bar strong { color: #fff; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 18px; background: var(--white);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
}
.brand { font-weight: 800; font-size: 19px; color: var(--navy); letter-spacing: -.3px; }
.brand span { color: var(--blue); }
.brand.small { font-size: 16px; color: #fff; }
.site-header nav { display: flex; align-items: center; gap: 14px; }
.site-header nav a { color: var(--ink); font-size: 14px; font-weight: 600; }
.lang-btn {
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--navy);
}
.lang-btn:hover { background: #eef3f9; }

/* Hero */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 26px 18px 8px;
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
.pill {
  display: inline-block; background: #e8f1fb; color: var(--blue-d);
  font-weight: 700; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.hero h1 { font-size: clamp(28px, 6vw, 44px); color: var(--navy); }
.lede { font-size: 17px; color: var(--muted); max-width: 38ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 17px; padding: 15px 22px; border-radius: 12px;
  border: 0; cursor: pointer; text-align: center; transition: transform .05s ease, box-shadow .2s;
}
.btn:hover { text-decoration: none; box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-call { background: var(--green); color: #fff; }
.btn-call:hover { background: var(--green-d); color: #fff; }
.btn-block { width: 100%; }
.ico { font-size: 18px; }
.trust { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* Hero trust/feature cards (fill the left column on desktop) */
.hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.feat {
  display: flex; align-items: flex-start; gap: 12px; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px;
}
.feat svg { width: 26px; height: 26px; color: var(--blue); flex: 0 0 auto; }
.feat strong { display: block; color: var(--navy); font-size: 14.5px; font-weight: 800; }
.feat span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.hero-areas {
  margin: 16px 0 0; font-size: 13.5px; font-weight: 700; color: var(--blue-d);
  background: #e8f1fb; border-radius: 999px; padding: 9px 16px; display: inline-block;
}
@media (max-width: 460px) { .hero-features { grid-template-columns: 1fr; } }

/* Hero dark band — premium, trust-building look */
.hero-band { background: linear-gradient(135deg, #0a2342 0%, #123257 52%, #1a5793 125%); color: #fff; }
.hero-band h1 { color: #fff; }
.hero-band .lede { color: #d3e3f5; }
.hero-band .trust { color: #b9d0e8; }
.hero-band .pill { background: rgba(255, 255, 255, .14); color: #eaf3fc; }
.hero-band .btn { box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }

/* Secure line under the form */
.form-secure { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 12.5px; font-weight: 700; color: var(--green-d); }
.form-secure svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* Why our network */
.why { max-width: var(--maxw); margin: 0 auto; padding: 42px 18px; }
.why h2 { color: var(--navy); font-size: 24px; text-align: center; margin-bottom: 24px; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 4px 16px rgba(11, 37, 69, .05); }
.why-card svg { width: 30px; height: 30px; color: var(--blue); margin-bottom: 10px; }
.why-card h3 { color: var(--navy); font-size: 16.5px; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.5; }

/* FAQ accordion (transparency builds trust) */
.faq { max-width: 820px; margin: 0 auto; padding: 18px 18px 46px; }
.faq h2 { color: var(--navy); font-size: 24px; text-align: center; margin-bottom: 22px; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 30px 17px 0; font-weight: 800; color: var(--navy); font-size: 15.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 17px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* Form card */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px;
}
.form-card h2 { color: var(--navy); font-size: 22px; }
#leadForm label { display: block; margin: 12px 0; font-weight: 700; font-size: 14px; color: var(--ink); }
#leadForm input, #leadForm select, #leadForm textarea {
  width: 100%; margin-top: 6px; padding: 12px 12px; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfe; font-family: inherit;
}
#leadForm input:focus, #leadForm select:focus, #leadForm textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 12.5px; color: var(--muted); }
.consent input { width: auto !important; margin-top: 3px; flex: 0 0 auto; }
.err { display: block; color: #c0392b; font-size: 12px; font-weight: 700; min-height: 0; }
.err:not(:empty) { margin-top: 4px; }
input.invalid, select.invalid { border-color: #c0392b !important; }
.form-disclosures { font-size: 11.5px; color: var(--muted); margin-top: 12px; line-height: 1.45; }
.form-success { text-align: center; padding: 20px 8px; }
.form-success .check {
  width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff;
  font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.form-success h3 { color: var(--navy); }

/* Contingency / no-fee band (slate background, dark headline box + text) */
.fee-band { background: #6b7c8f; color: #fff; }
.fee-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 40px 18px;
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
}
.fee-box {
  background: #2c3a4d; border: 2px solid rgba(255, 255, 255, .25);
  border-radius: 4px; padding: 26px 28px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.fee-box span {
  display: block; font-weight: 800; font-size: clamp(22px, 4.2vw, 32px);
  line-height: 1.15; letter-spacing: .3px; color: #fff; text-transform: uppercase;
}
.fee-text { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.6; margin: 0; color: #f3f6fa; }
@media (min-width: 760px) {
  .fee-inner { grid-template-columns: 1fr 1.1fr; gap: 48px; padding: 56px 18px; }
}

/* How it works */
.how, .cases, .disclosures-band { max-width: var(--maxw); margin: 0 auto; padding: 34px 18px; }
.how h2, .cases h2, .disclosures-band h2 { color: var(--navy); font-size: 24px; text-align: center; margin-bottom: 20px; }
.how-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.how-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.how-num { width: 36px; height: 36px; border-radius: 50%; background: #e8f1fb; color: var(--blue-d); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.how-card h3 { font-size: 17px; color: var(--navy); }
.how-card p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* Case chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; color: var(--navy); }

/* Disclosures band */
.disclosures-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.disclosure-list { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; }
.disclosure-list li { padding: 8px 0 8px 26px; position: relative; color: var(--ink); font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.disclosure-list li::before { content: "§"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.disclosure-list.small li { font-size: 12.5px; color: #c7d6e6; border-color: rgba(255,255,255,.1); }
.disclosure-list.small li::before { color: var(--amber); }
.state-note { max-width: 760px; margin: 14px auto 0; font-size: 13px; color: var(--muted); background: var(--bg); border-left: 3px solid var(--blue); padding: 10px 14px; border-radius: 6px; }

/* Footer */
.site-footer { background: var(--navy); color: #c7d6e6; margin-top: 20px; }
.foot-grid { max-width: var(--maxw); margin: 0 auto; padding: 32px 18px; display: grid; grid-template-columns: 1fr; gap: 22px; }
.site-footer h4 { color: #fff; font-size: 15px; }
.site-footer a { color: #9ec6ec; font-size: 14px; }
.site-footer .muted { color: #9fb3c8; font-size: 13px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 18px 10px; max-width: 980px; margin: 0 auto; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-bottom: 16px; }
.footer-links a { color: #cdddee; font-size: 13px; font-weight: 600; text-decoration: underline; }
.footer-links a:hover { color: #fff; }
.ad-disclaimer { font-size: 12px; line-height: 1.7; color: #8fa6bd; margin: 0; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,.1); padding: 16px; margin: 16px 0 0; font-size: 12.5px; color: #8aa3bd; }

/* Tablet / desktop */
@media (min-width: 760px) {
  .hero { grid-template-columns: 1.05fr .95fr; gap: 34px; padding-top: 40px; align-items: start; }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 2fr 1.3fr 1fr; }
}

/* ===== Auth + Dashboard ===== */
.auth-wrap { max-width: 380px; margin: 60px auto; padding: 0 18px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.auth-card h1 { font-size: 22px; color: var(--navy); }
.auth-card label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0; }
.auth-card input { width: 100%; margin-top: 6px; padding: 12px; font-size: 16px; border: 1.5px solid var(--line); border-radius: 10px; }
.auth-hint { font-size: 12.5px; color: var(--muted); margin-top: 14px; background: var(--bg); padding: 10px; border-radius: 8px; }
.auth-err { color: #c0392b; font-weight: 700; font-size: 13px; min-height: 18px; }

.dash-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; background: var(--navy); color: #fff; flex-wrap: wrap; gap: 10px; }
.dash-header .brand { color: #fff; }
.dash-header .brand span { color: var(--amber); }
.dash-header .who { font-size: 13px; color: #c7d6e6; }
.dash-header button { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.dash-wrap { max-width: 1200px; margin: 0 auto; padding: 22px 18px 60px; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.kpi .num { font-size: 26px; font-weight: 800; color: var(--navy); }
.kpi .lbl { font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 18px; overflow-x: auto; }
.panel h2 { font-size: 17px; color: var(--navy); margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .3px; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
.tag.new { background: #e8f1fb; color: var(--blue-d); }
.tag.routed { background: #fff3df; color: #9a6a12; }
.tag.contacted { background: #e3f6ee; color: var(--green-d); }
.tag.unmatched { background: #fde8e6; color: #c0392b; }
.score { font-weight: 800; }
.btn-sm { background: var(--green); color: #fff; border: 0; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.btn-sm:disabled { background: var(--line); color: var(--muted); cursor: default; }
.dash-disclaimer { font-size: 12px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }

@media (min-width: 760px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
