/* American Injury Partners, v5.1 visual system in code. Sentence case everywhere. One yellow. */
:root{
  --green:#006747; --green-dark:#004D35; --yellow:#FED141; --yellow-dark:#E9BC2A;
  --cream:#FAF7F0; --white:#FFFFFF; --ink:#1F2326; --slate:#5F6B66; --line:#E6E2D8;
  --asphalt:#121417; --tint:#E4EFE9; --mint:#BFE3D1; --pale:#EFEBE2; --err:#B3261E;
  --font-display:'Overpass',system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-body:'Source Sans 3',system-ui,-apple-system,"Segoe UI",sans-serif;
  --r-tile:12px; --r-card:16px; --r-btn:12px;
  --shadow:0 1px 2px rgba(31,35,38,.06),0 8px 24px rgba(31,35,38,.08);
  --col:520px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--font-body);font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--green)}a:hover{color:var(--green-dark)}
button{font:inherit;cursor:pointer}
h1,h2,h3{font-family:var(--font-display);font-weight:800;line-height:1.1;margin:0;letter-spacing:-.005em}
p{margin:0}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{max-width:var(--col);margin:0 auto;padding:0 18px}
.wrap-wide{max-width:920px;margin:0 auto;padding:0 18px}
.stack{display:flex;flex-direction:column}
.g6{gap:6px}.g10{gap:10px}.g14{gap:14px}.g16{gap:16px}.g18{gap:18px}
.muted{color:var(--slate)}
.small{font-size:15px;line-height:1.55}
.tiny{font-size:13px;line-height:1.5}

/* header */
.hdr{position:sticky;top:0;z-index:50;background:var(--cream);border-bottom:1px solid var(--line)}
.hdr .wrap{display:flex;align-items:center;justify-content:space-between;padding-top:11px;padding-bottom:11px}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink)}
.brand span{font-family:var(--font-display);font-weight:800;font-size:15px}
.call{display:inline-flex;align-items:center;gap:6px;background:var(--white);border:2px solid var(--green);border-radius:12px;padding:8px 13px;min-height:44px;font-weight:700;font-size:14px;color:var(--green);text-decoration:none}
.hidden{display:none!important}

/* sign */
.sign{background:var(--green);border:3px solid var(--white);border-radius:14px;padding:18px 20px 14px;box-shadow:0 0 0 2px var(--green),inset 0 0 0 3px rgba(255,255,255,.28);display:inline-flex;flex-direction:column;gap:2px;align-self:flex-start}
.sign .l{font-family:var(--font-display);font-weight:900;color:var(--white);font-size:40px;line-height:1;letter-spacing:-.01em}
.sign.sm .l{font-size:30px}
.sign.sm{padding:14px 16px 11px;border-radius:12px;box-shadow:inset 0 0 0 3px rgba(255,255,255,.28)}
.promise{font-size:18px;line-height:1.45}

/* hero */
.hero{padding:24px 0 26px}
.hero .wrap{display:flex;flex-direction:column;gap:16px}

/* card and quiz */
.card{background:var(--white);border-radius:var(--r-card);padding:18px 16px 16px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:14px}
.qhead{display:flex;flex-direction:column;gap:8px}
.qmeta{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--slate)}
.qmeta b{font-weight:700}
.bar{height:8px;background:var(--pale);border-radius:4px;overflow:hidden}
.bar>div{height:100%;background:var(--yellow);border-radius:4px;transition:width .35s ease}
.q{font-family:var(--font-display);font-weight:800;font-size:23px;line-height:1.12}
.why{font-size:14px;color:var(--slate);margin-top:4px}
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.tile,.opt{width:100%;text-align:left;background:var(--white);border:2px solid var(--line);border-radius:var(--r-tile);padding:12px;min-height:60px;display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700;color:var(--ink);transition:border-color .12s,background .12s}
.opt{min-height:52px;font-weight:600;font-size:16px;justify-content:space-between}
.tile:hover,.opt:hover{border-color:var(--green)}
.tile.sel,.opt.sel{border-color:var(--green);background:var(--tint)}
.tile svg{flex-shrink:0}
.opts{display:flex;flex-direction:column;gap:8px}
select.sel-state{width:100%;min-height:54px;border:2px solid var(--line);border-radius:12px;padding:12px 14px;font:inherit;font-size:17px;background:var(--white);color:var(--ink);appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23006747' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.counter{background:var(--green);border-radius:12px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.counter .t{font-size:13px;font-weight:700;color:var(--white)}
.counter .s{font-size:13px;color:var(--mint)}
.counter .n{font-family:var(--font-display);font-weight:800;font-size:34px;color:var(--yellow);line-height:1}
.counter .u{font-size:12px;font-weight:700;color:var(--mint);text-align:right}
.back{background:none;border:0;padding:6px 0;color:var(--slate);font-size:14px;text-decoration:underline;align-self:flex-start}
.chips{display:flex;justify-content:space-between;gap:6px;padding:0 4px;flex-wrap:wrap}
.chip{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:700}
.chips.four{justify-content:flex-start;gap:10px 14px}

/* buttons */
.btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;padding:17px;border:0;border-radius:var(--r-btn);background:var(--yellow);color:var(--ink);font-weight:700;font-size:18px;text-decoration:none;text-align:center;transition:background .12s}
.btn:hover{background:var(--yellow-dark)}
.btn:disabled{opacity:.6;cursor:wait}
.btn-white{background:var(--white);color:var(--green)}
.btn-white:hover{background:#F3F3EF}
.under{font-size:14px;text-align:center;color:var(--slate)}

/* blocks */
.honest{margin:0 0 26px;background:var(--white);border:2px solid var(--green);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:6px}
.honest h3{font-size:17px;color:var(--green)}
.honest p{font-size:16px;line-height:1.5}
.proof{display:flex;justify-content:space-between;gap:10px;padding-bottom:26px}
.proof div{display:flex;flex-direction:column;gap:1px}
.proof b{font-family:var(--font-display);font-weight:800;font-size:22px;color:var(--green)}
.proof span{font-size:12px;color:var(--slate)}
.proof.empty{display:none}
.sec{padding:32px 0}
.sec.white{background:var(--white)}
.sec h2{font-size:26px}
.sec .wrap{display:flex;flex-direction:column;gap:16px}
.checks{display:flex;flex-direction:column;gap:16px}
.checks li{list-style:none;display:flex;gap:12px;align-items:flex-start}
.checks ul,ul.checks{margin:0;padding:0}
.checks b{font-size:18px;font-weight:700;display:block}
.checks span{font-size:16px;line-height:1.5;color:var(--slate)}
.enemy{background:var(--green);padding:30px 0}
.enemy .wrap{display:flex;flex-direction:column;gap:12px}
.enemy .eyebrow{font-size:13px;font-weight:700;color:var(--yellow)}
.enemy h2{font-size:27px;color:var(--white);line-height:1.08}
.enemy p{font-size:17px;line-height:1.5;color:#E4EFE9}
.enemy .rule{display:flex;align-items:center;gap:10px;border-top:1px solid rgba(255,255,255,.28);padding-top:12px;color:var(--white);font-weight:700;font-size:16px}
.enemy .rule i{width:10px;height:10px;border-radius:5px;background:var(--yellow);flex-shrink:0}
.owed{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.owed li{display:flex;gap:14px;align-items:center;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:10px 12px 10px 10px}
.owed img{width:60px;height:60px;border-radius:10px;object-fit:cover;flex-shrink:0}
.owed b{font-weight:700}.owed span{color:var(--slate)}
.steps{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.steps li{display:flex;gap:14px;align-items:center;font-size:17px;font-weight:600}
.steps i{width:34px;height:34px;border-radius:17px;background:var(--green);color:var(--white);font-family:var(--font-display);font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-style:normal}
.side{display:flex;gap:14px;align-items:center}
.side img{width:88px;height:88px;border-radius:16px;object-fit:cover;flex-shrink:0}
.side h2{font-size:24px}
.firm{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;gap:14px;align-items:center}
.firm i{width:56px;height:56px;border-radius:28px;background:var(--tint);flex-shrink:0}
.firm b{font-size:17px;font-weight:700;display:block}.firm span{font-size:14px;color:var(--slate)}
.review{border:2px dashed #D9D3C6;border-radius:14px;padding:18px;font-size:15px;color:var(--slate);line-height:1.5}
.closing{background:var(--green);padding:34px 0}
.closing .wrap{display:flex;flex-direction:column;gap:16px}
.closing p{font-size:17px;line-height:1.5;color:#E4EFE9}
.closing .under{color:var(--mint)}
.disclosure{padding:22px 0;font-size:15px;line-height:1.6;color:var(--slate)}
.disclosure a{color:var(--slate)}
.ftr{background:var(--asphalt);padding:20px 0 28px}
.ftr .wrap{display:flex;flex-direction:column;gap:8px}
.ftr nav{display:flex;gap:16px;flex-wrap:wrap}
.ftr a{font-size:14px;color:#B9C6BE;text-decoration:none}
.ftr small{font-size:13px;color:#6D7F75;line-height:1.5}
.hero-img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:0}

/* reveal and form */
.reveal-top{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.reveal-top h2{font-size:32px;line-height:1}
.est{background:var(--green);border-radius:14px;padding:18px 16px;display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center}
.est .t{font-size:13px;font-weight:700;color:var(--mint)}
.est .n{font-family:var(--font-display);font-weight:800;font-size:50px;color:var(--yellow);line-height:1}
.est .r{font-size:13px;color:var(--mint)}
.stat{background:var(--cream);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.stat p{font-size:16px;line-height:1.5}
.stat small{font-size:12px;color:var(--slate)}
.next{display:flex;gap:12px;align-items:center}
.next img{width:64px;height:64px;border-radius:14px;object-fit:cover;flex-shrink:0}
.next h3{font-size:19px}
.next p{font-size:15px;line-height:1.45;color:var(--slate)}
.fields{display:flex;flex-direction:column;gap:10px}
.field input{width:100%;min-height:54px;border:2px solid #D9D3C6;border-radius:12px;padding:14px 16px;font:inherit;font-size:17px;color:var(--ink);background:var(--white)}
.field input:focus{outline:none;border-color:var(--green)}
.field.bad input{border-color:var(--err)}
.field .e{display:none;color:var(--err);font-size:13px;margin-top:4px}
.field.bad .e{display:block}
.consent{font-size:13px;line-height:1.5;color:var(--slate)}
.consent a{color:var(--slate)}
.formerr{display:none;background:#FCEBEA;color:var(--err);border-radius:10px;padding:10px 12px;font-size:14px}
.formerr.show{display:block}
.exit h2{font-size:26px}
.exit p{font-size:16px;line-height:1.5;color:var(--slate)}

/* story */
.story .wrap{max-width:640px}
.sponsored{font-size:13px;font-weight:700;color:var(--slate);padding:14px 0 0}
.story h1{font-size:30px;line-height:1.12;margin:10px 0 6px}
.story .sub{font-size:18px;color:var(--slate);line-height:1.45}
.example{margin:14px 0 0;background:#FFF7DA;border:1px solid #F0DC94;border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.5}
.story article{padding:8px 0 0}
.story article p{font-size:18px;line-height:1.6;margin:0 0 16px}
.story article h2{font-size:22px;margin:26px 0 10px}
.story article strong{font-weight:700}
.story .cta{margin:22px 0}
.story .cta p{margin-top:8px}
.story .box{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:16px;margin:18px 0}
.story .box h3{font-size:19px;margin-bottom:8px}
.story .box p{font-size:16px;line-height:1.55;margin:0 0 10px}
.story .box p:last-child{margin:0}
.story .disc{font-size:15px;line-height:1.6;color:var(--slate);padding:18px 0 30px;border-top:1px solid var(--line);margin-top:20px}
.story-img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px;margin:16px 0 0}

/* legal pages */
.legal .wrap{max-width:680px;padding-top:28px;padding-bottom:40px;display:flex;flex-direction:column;gap:14px}
.legal h1{font-size:30px}
.legal h2{font-size:20px;margin-top:10px}
.legal p,.legal li{font-size:16px;line-height:1.6}
.legal ul{padding-left:20px;margin:0}
.note{background:#FFF7DA;border:1px solid #F0DC94;border-radius:12px;padding:10px 12px;font-size:14px}

/* law firms */
.plaque{background:var(--green);border:3px solid var(--white);border-radius:14px;box-shadow:0 0 0 2px var(--green),inset 0 0 0 3px rgba(255,255,255,.28);padding:18px 20px;color:var(--white);display:flex;flex-direction:column;gap:6px}
.plaque .n{font-family:var(--font-display);font-weight:900;font-size:26px;line-height:1.05}
.plaque .m{font-size:14px;color:var(--mint)}
.plaque .y{font-size:13px;font-weight:700;color:var(--yellow)}

/* thanks */
.thanks .wrap{padding-top:28px;padding-bottom:40px;gap:16px}
.pulse{width:64px;height:64px;border-radius:32px;background:var(--green);display:flex;align-items:center;justify-content:center}

@media (min-width:720px){
  .hero{padding:40px 0 34px}
  .sign .l{font-size:46px}
  .sec h2{font-size:28px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto}}
