/* Injury Manual - styles.v3.css (2026-11-18 redesign preview, loanswoop design language in IM navy/red).
   Mobile-first. One self-hosted family (Poppins 700/800, headings + buttons) + system UI body. No third-party assets. */
@font-face{font-family:"Poppins";src:url(/fonts/poppins-800.woff2) format("woff2");font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:"Poppins";src:url(/fonts/poppins-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
/* Metric-matched fallback so the swap to Poppins doesn't move text */
@font-face{font-family:"Poppins Fallback";src:local("Arial"),local("ArialMT"),local("Liberation Sans"),local("Arimo"),local("Helvetica");ascent-override:92.97%;descent-override:30.99%;line-gap-override:8.85%;size-adjust:112.81%}
:root{--navy:#12306b;--navy-d:#0b1f47;--red:#c8102e;--red-d:#a30d25;--red-x:#7d0a1d;--text:#1f2937;--muted:#4b5563;--line:#dfe3ea;--soft:#f1f4fa;--alt:#f6f8fb;--r:18px;--wrap:72.5rem;--read:48rem;
 --head:"Poppins","Poppins Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--body:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;height:100%}
body{margin:0;font:400 1.125rem/1.65 var(--body);color:var(--text);background:#fff;overflow-wrap:break-word;min-height:100vh;display:flex;flex-direction:column}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{color:var(--red-d)}
:focus-visible{outline:3px solid var(--red);outline-offset:2px;border-radius:4px}
main{flex:1 0 auto;display:block}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-9999px;top:0;background:var(--navy-d);color:#fff;padding:12px 16px;z-index:10}
.skip:focus{left:8px;top:8px}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Header (LS pattern: logo + pill CTA, nav row underneath on phones, inline + sticky on desktop) */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:5}
.head-row{display:flex;align-items:center;justify-content:space-between;gap:0 12px;min-height:60px;flex-wrap:wrap}
.brand{display:flex;align-items:center;min-height:48px;line-height:0}
.brand img{width:150px;height:auto;aspect-ratio:3/1}
.main-nav{order:3;width:100%;border-top:1px solid var(--line);padding:2px 0}
.main-nav ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 4px;list-style:none;margin:0;padding:0}
.main-nav li{margin:0}
.main-nav a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 4px;white-space:nowrap;color:var(--navy-d);text-decoration:none;font:700 1rem/1.2 var(--head)}
.main-nav a:hover,.main-nav a[aria-current=page]{color:var(--red-d);box-shadow:inset 0 -3px 0 var(--red)}

/* Buttons: chunky pills */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-height:60px;padding:.75em 1.7em;border:0;border-radius:999px;background:var(--red);color:#fff;font:700 1.125rem/1.25 var(--head);text-decoration:none;cursor:pointer;box-shadow:0 3px 0 var(--red-x);text-align:center;-webkit-tap-highlight-color:transparent}
.btn:hover{background:var(--red-d);color:#fff}
.btn:active{transform:translateY(2px);box-shadow:0 1px 0 var(--red-x)}
.btn:disabled{opacity:.6;cursor:not-allowed}
.btn-xl{min-height:64px;font-size:1.1875rem}
.btn-head{min-height:48px;padding:.5em 1.15em;font-size:1rem;box-shadow:0 2px 0 var(--red-x)}
.btn-sec{display:inline-flex;align-items:center;justify-content:center;min-height:60px;padding:.7em 1.4em;border:2px solid var(--navy-d);border-radius:999px;background:#fff;color:var(--navy-d);font:700 1.0625rem/1.2 var(--head);cursor:pointer;text-decoration:none}
.btn-sec:hover{background:var(--soft)}

/* Type */
h1,h2,h3{font-family:var(--head);color:var(--navy-d);letter-spacing:-.01em}
h1{font-weight:800;font-size:clamp(1.75rem,6.4vw,2.75rem);line-height:1.15;margin:.25em 0 .5em}
h2{font-weight:800;font-size:clamp(1.45rem,4.6vw,2rem);line-height:1.2;margin:1.9em 0 .55em}
h3{font-weight:700;font-size:1.25rem;line-height:1.3;margin:1.5em 0 .4em}
p,ul,ol{margin:0 0 1em}
ul,ol{padding-left:1.3em}
li{margin:0 0 .45em}
strong{font-weight:700}
sup{line-height:0;font-size:.75em;vertical-align:super}
sup a{text-decoration:none;font-weight:700;padding:0 .1rem}

/* Bands: crumbs + hero (soft navy, LS hero) */
.band{background:var(--soft)}
.crumb-band .wrap{padding-top:4px}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;font-size:1rem;color:var(--muted)}
.crumbs li{display:flex;align-items:center;margin:0}
.crumbs li+li::before{content:"\203A";margin:0 .45rem;color:var(--muted)}
.crumbs a{display:inline-flex;align-items:center;min-height:48px;min-width:48px}
.crumbs span{display:inline;line-height:1.4;color:var(--muted)}
.crumbs li:last-child{min-height:28px}
.crumbs a{color:var(--navy)}
.hero{padding:4px 0 26px;border-bottom:1px solid var(--line)}
.crumb-band+.hero,.crumb-band+article>.hero{padding-top:0}
.hero h1{margin-top:.15em}
/* Phone fold: CTA sits right under the answer box; byline (review date) follows it. Visual order only, DOM order unchanged. */
.hero>.wrap{display:flex;flex-direction:column}
.hero .cta-row{order:2;margin:.2em 0 1em}
.hero .byline{order:3;margin:0}
.hero-home .cta-row{margin:.4em 0 0}
.answer{background:#fff;border:1px solid var(--line);border-left:6px solid var(--red);border-radius:14px;padding:14px 16px;margin:0 0 1em;font-size:1.125rem;line-height:1.55;color:var(--text);box-shadow:0 10px 30px rgba(11,31,71,.07)}
.answer p:last-child{margin:0}
.byline{font-size:.9375rem;line-height:1.5;color:var(--muted);margin:0 0 1em}
.review-note{font-style:italic}
.cta-row{margin:1.1em 0 0}
.hero .cta-row .btn,.cta-row .btn{width:100%}
/* Home hero: white with soft radial, bigger type (LS) */
.hero-home{background:radial-gradient(1000px 420px at 90% -10%,#e3eaf7,transparent 70%),#fff;padding:30px 0 40px;border-bottom:0}
.hero-home h1{font-size:clamp(2.125rem,8vw,3.5rem);line-height:1.1;margin:0 0 .45em}
.hero-home .hl{color:var(--red)}
.hero-home .answer{max-width:42rem}

/* Reading column */
.body{padding-top:8px;padding-bottom:24px}
.body-page{max-width:var(--read)}
.body>p:first-child{margin-top:1.4em}
.body>.table-wrap:first-child,.body>h2:first-child{margin-top:1.4em}
.formula{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--soft);padding:.85rem 1rem;border-radius:12px;font-size:1rem}
.note{background:#fff8e1;border:1px solid #f0d58a;border-radius:14px;padding:.9rem 1rem;margin:0 0 1em}
.note p:last-child{margin:0}
.table-wrap{overflow-x:auto;margin:0 0 1.2em;border:1px solid var(--line);border-radius:14px}
table{border-collapse:collapse;width:100%;font-size:1rem}
caption{text-align:left;font:700 1.0625rem/1.3 var(--head);color:var(--navy-d);padding:.85rem .75rem .6rem}
th,td{border-top:1px solid var(--line);padding:.7rem .75rem;text-align:left;vertical-align:top}
thead th{background:var(--soft);color:var(--navy-d)}
.table-wrap tbody th a{display:inline-flex;align-items:center;min-height:48px}
.sources{font-size:1rem;padding-left:1.4em}
.sources li{margin-bottom:.7rem}
.related{background:var(--soft);border-radius:var(--r);padding:18px 20px;margin:2.2rem 0 1rem}
.related-h{font:800 1.25rem/1.3 var(--head);color:var(--navy-d);margin:0 0 .4rem}
.related ul{list-style:none;margin:0;padding:0}
.related li{margin:0;border-top:1px solid var(--line)}
.related li:first-child{border-top:0}
.related a{display:flex;align-items:center;min-height:52px;padding:6px 28px 6px 0;font-weight:700;text-decoration:none;color:var(--navy-d);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3l5 5-5 5' fill='none' stroke='%23c8102e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 4px center/16px no-repeat}
.related a:hover{color:var(--red-d)}
.disclosure{font-size:1rem;line-height:1.55;color:var(--muted);border-top:1px solid var(--line);padding-top:.9rem;margin-top:1.6rem}

/* Home sections (LS alternating bands, tiles, dark trust band) */
.sec{padding:40px 0}
.sec-alt{background:var(--alt)}
.sec h2:first-child{margin-top:0}
.sec .wrap>p,.sec .wrap>ul:not(.tiles):not(.link-cards){max-width:46rem}
.tiles,.link-cards{list-style:none;padding:0;margin:0 0 1.2em;display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.tiles li,.link-cards li{margin:0}
.tiles a{display:block;height:100%;min-height:48px;padding:20px 52px 20px 20px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23c8102e'/%3E%3Cpath d='M13 10l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center/28px no-repeat;border:1px solid var(--line);border-radius:var(--r);text-decoration:none;color:var(--text);box-shadow:0 6px 20px rgba(11,31,71,.06)}
.tiles a:hover{border-color:var(--navy);box-shadow:0 10px 28px rgba(11,31,71,.12)}
.tiles strong{display:block;font:700 1.1875rem/1.3 var(--head);color:var(--navy-d);margin-bottom:4px}
.tiles span{display:block;color:var(--muted);font-size:1.0625rem;line-height:1.5}
.link-cards a{display:flex;align-items:center;height:100%;min-height:64px;padding:12px 52px 12px 18px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3l5 5-5 5' fill='none' stroke='%23c8102e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 18px center/18px no-repeat;border:1px solid var(--line);border-left:6px solid var(--navy);border-radius:14px;font:700 1.0625rem/1.35 var(--head);color:var(--navy-d);text-decoration:none}
.link-cards a:hover{border-left-color:var(--red);color:var(--red-d)}
.sec-trust{background:var(--navy);color:#eef1f8}
.sec-trust h2{color:#fff}
.sec-trust a{color:#fff}
.sec-trust a:hover{color:#ffd5db}
.sec-trust :focus-visible{outline-color:#fff}

/* Calculator (LS module card) */
.tool{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 18px 50px rgba(11,31,71,.10);padding:22px 18px;margin:1.4em 0 1.6em;min-width:0;max-width:100%}
.field{margin:0 0 1.1rem}
label,legend{display:block;font:700 1.0625rem/1.35 var(--head);color:var(--navy-d);margin:0 0 .4rem}
.hint{display:block;color:var(--muted);font-size:1rem;line-height:1.45;margin:-.1rem 0 .45rem}
input[type=text],input[type=number],input[type=email],input[type=tel],input:not([type]),select{width:100%;min-height:56px;padding:.55rem .9rem;border:2px solid #8a94a3;border-radius:12px;font:400 1.125rem/1.3 var(--body);color:var(--text);background:#fff}
input:focus-visible,select:focus-visible{outline:3px solid var(--red);outline-offset:1px;border-color:var(--navy-d)}
select{-webkit-appearance:none;appearance:none;padding-right:2.75rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230b1f47' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center;background-size:1.1rem 1.1rem}
.money{display:flex;align-items:center;border:2px solid #8a94a3;border-radius:12px;background:#fff}
.money span{padding:0 .2rem 0 .9rem;color:var(--muted);font-weight:700;font-size:1.125rem}
.money input{border:0;padding-left:.25rem;min-height:52px}
.money:focus-within{outline:3px solid var(--red);outline-offset:1px;border-color:var(--navy-d)}
.money input:focus-visible{outline:none}
fieldset{border:0;padding:0;margin:0 0 1.1rem;min-width:0}
legend{font-size:1.1875rem;padding:0}
.group{padding-top:0}
.group>legend{width:100%;border-top:1px solid var(--line);padding-top:1rem;margin-bottom:.6rem}
.cards{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.card{display:flex;flex-direction:column;justify-content:center;min-height:60px;margin:0;padding:.75rem .9rem .75rem 3rem;border:2px solid var(--line);border-radius:14px;cursor:pointer;position:relative;font:400 1rem/1.4 var(--body);color:var(--text);background:#fff}
.card:hover{border-color:#9aa6bd}
.card input{position:absolute;left:1rem;top:50%;transform:translateY(-50%);width:1.35rem;height:1.35rem;margin:0;accent-color:var(--red)}
.card strong{display:block;font:700 1.0625rem/1.3 var(--head);color:var(--navy-d)}
.card small{display:block;font-size:1rem;color:var(--muted);line-height:1.4}
.card:has(input:checked){border-color:var(--navy-d);background:var(--soft);box-shadow:inset 0 0 0 1px var(--navy-d)}
.tool .btn,#qform .btn,#q-start{width:100%}
.err{color:#b00020;font-weight:700;font-size:1rem;margin:.4rem 0 0}
.result{border:3px solid var(--navy-d);border-radius:22px;padding:20px 18px;margin:0 0 1.6em;background:#fff}
.result h2{margin-top:0}
.range{font:800 clamp(1.75rem,7vw,2.4rem)/1.2 var(--head);color:var(--navy-d);margin:0}
.range-label{font-weight:700;color:var(--muted);margin:0 0 1rem}
.breakdown{margin:0 0 1rem}
.breakdown th{width:55%;font-weight:700}
.breakdown th,.breakdown td{padding:.6rem .4rem}
.review{border-top:1px solid var(--line);margin-top:1.25rem;padding-top:.5rem}
.progress{font-size:1rem;color:var(--muted);font-weight:700;margin:0 0 .75rem}
.q-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:1rem}
.q-nav .btn,.q-nav .btn-sec{flex:1 1 8rem}
.consent{border:1px solid var(--line);border-radius:14px;padding:.9rem;margin:0 0 1rem;font-size:1rem;background:var(--alt)}
.check{display:flex;gap:.7rem;align-items:flex-start;font:400 1rem/1.5 var(--body);color:var(--text)}
.check input{width:1.4rem;height:1.4rem;flex:none;margin:.15rem 0 0;accent-color:var(--red)}

/* Footer (dark, LS) */
.site-footer{background:var(--navy-d);color:#e5e7eb;padding:40px 0 28px}
.foot-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 18px}
.foot-h{font:700 1.0625rem/1.3 var(--head);color:#fff;margin:0 0 .35rem}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:0}
.site-footer a{color:#fff;display:inline-flex;align-items:center;min-height:48px;padding:.8rem 0;line-height:1.3;font-size:1rem}
.site-footer a:hover{color:#ffd5db}
.site-footer :focus-visible{outline-color:#fff}
.fineprint{font-size:.9375rem;line-height:1.6;color:#d6dbe5;border-top:1px solid #2e4677;padding-top:1.1rem;margin:1.4rem 0 0}
.fineprint a{display:inline;min-height:0;padding:0;color:#fff;font-size:inherit}
.copy{border-top:0;padding-top:0;margin-top:.8rem}

/* Small phones: logo + header CTA stay on one row */
@media (max-width:29.99rem){
 .wrap{padding:0 16px}
 .brand img{width:126px}
 .btn-head{font-size:.9375rem;padding:.5em .9em}
}
/* Bigger phones / small tablets */
@media (min-width:40rem){
 .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
 .link-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero .cta-row .btn,.cta-row .btn{width:auto;min-width:20rem}
 .tool .btn,#qform .btn,#q-start{width:auto;min-width:16rem}
 .q-nav .btn,.q-nav .btn-sec{min-width:0}
 .wrap{padding:0 28px}
}
@media (min-width:48rem){
 .hero{padding-bottom:40px}
 .hero-home{padding:48px 0 56px}
 .answer{padding:20px 24px;font-size:1.1875rem}
 .tool{padding:28px}
 .result{padding:24px}
 .sec{padding:56px 0}
 .foot-cols{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:64rem){
 .body-calc{max-width:var(--wrap)}
 .body-calc>form#calc{max-width:none}
 .body-calc:has(>form#calc):has(>#result:not([hidden]))>#result{max-width:none}
 .tool fieldset.group{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:1.25rem}
 .tool fieldset.group>legend,.tool fieldset.group>.cards,.tool fieldset.group>.err{grid-column:1/-1}
 .body-calc:has(>form#calc):has(>#result:not([hidden])){display:grid;grid-template-columns:minmax(0,1.2fr) minmax(20rem,.85fr);column-gap:1.75rem;align-items:start}
 .body-calc:has(>form#calc):has(>#result:not([hidden]))>:not(form#calc):not(#result){grid-column:1/-1}
 .body-calc:has(>form#calc):has(>#result:not([hidden]))>#result{position:sticky;top:96px;margin-top:1.4em}
 .hero-home h1{max-width:20ch}
 .tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
 .link-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:67.5rem){
 .site-header{position:sticky;top:0}
 .head-row{flex-wrap:nowrap}
 .main-nav{order:1;width:auto;border:0;margin:0 0 0 auto;padding:0}
 .main-nav ul{display:flex;gap:6px}
 .main-nav a{padding:0 14px}
 .btn-head{order:2}
 .brand img{width:168px}
 [id]{scroll-margin-top:96px}
}
/* SEO review fix 1: tables fit the card on phones 440px and narrower */
@media (max-width:440px){table{font-size:.9375rem}th,td{padding:.6rem .5rem}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Lead first, next step second: the existing introduction is fully visible, not collapsed.
   Only visual placement changes. Original DOM/text/link/heading order is retained. */
.hero>.wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.hero h1{grid-row:1}
.hero .answer,.hero .answer>p{display:contents}
.hero .intro-lead{grid-row:2;display:block;font-size:1.1875rem;line-height:1.55;margin:0 0 1em;color:var(--text)}
.hero .intro-rest{grid-row:4;display:block;font-size:1.125rem;line-height:1.6;border-left:5px solid var(--red);border-radius:0 12px 12px 0;padding:14px 16px;margin:0 0 1em;background:#fff;box-shadow:0 6px 24px rgba(11,31,71,.06)}
.hero .cta-row{grid-row:3;margin:.2em 0 1.4em;order:initial}
.hero .byline{grid-row:5;order:initial;margin:0}
.hero-home .intro-rest{background:var(--soft)}
.hero-page>.wrap,.band-page>.wrap{max-width:var(--read)}
.hero-calc>.wrap>*,.body-calc>*{max-width:var(--read)}
@media(min-width:64rem){
 .hero-home>.wrap{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:0 56px;align-items:center}
 .hero-home h1{grid-column:1;grid-row:1}
 .hero-home .intro-lead{grid-column:1;grid-row:2}
 .hero-home .cta-row{grid-column:1;grid-row:3;margin:.4em 0 0}
 .hero-home .intro-rest{grid-column:2;grid-row:1/4;align-self:center;margin:0;padding:32px 30px;font-size:1.25rem;line-height:1.6;background:#fff;border:1px solid var(--line);border-left:1px solid var(--line);border-top:8px solid var(--red);border-radius:24px;box-shadow:0 18px 50px rgba(11,31,71,.12)}
}
