/* Kingsley Lawson claim check. Matches the live React page: maroon
   #7e2225, light bubble questions, white option cards, green progress bar. */
:root {
  --primary: #7e2225;
  --secondary: #fff2f3;
  --bubble: #f7eaea;
  --ink: #1d1f23;
  --text: #212529;
  --muted: #555;
  --line: #dee2e6;
  --err: #ae0000;
  --bar: #5fc774;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Same stack as live, which names Poppins but never loads it, so visitors see
   their system sans-serif. Kept that way so the page looks the same. */
body { margin: 0; font-family: "Poppins", sans-serif; font-weight: 400; color: var(--text); background: #fff; line-height: 1.5; }
img { max-width: 100%; }
button { font: inherit; cursor: pointer; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h5 { font-family: inherit; }

.test-banner { background: #111; color: #fff; text-align: center; font-size: 13px; padding: 6px 12px; }

/* Header: logo left, SSL badge right */
.top { position: sticky; top: 0; z-index: 5; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .1); display: flex; align-items: center; justify-content: space-between; padding: 13px 31px; min-height: 70px; }
.top .logo { height: 44px; width: auto; display: block; }
.top .ssl { height: 50px; width: auto; display: block; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 16px; }

/* Headline */
.hero { text-align: center; padding: 44px 0 0; }
.hero h1 { width: 710px; max-width: 100%; margin: 0 auto 8px; font-size: 40px; line-height: 1.15; font-weight: 800; text-transform: uppercase; letter-spacing: .2px; color: var(--text); text-wrap: balance; }
.hero h1 span { color: var(--primary); font-weight: 800; }
.hero p { width: 710px; max-width: 100%; margin: 0 auto; color: var(--muted); font-size: 16px; }

/* Progress */
.progress { width: 456px; max-width: 100%; margin: 56px auto 0; position: relative; }
.progress .bar { height: 15px; border-radius: 5px; background: #eee; overflow: hidden; position: relative; }
.progress .fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--bar); }
.progress .ptext { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1; color: #000; }
.progress .ptext b { font-weight: 600; }

/* Question */
.question { width: 936px; max-width: 100%; margin: 30px auto 0; padding: 15px 0; }
/* The avatar image carries the bubble pointer, so the bubble starts right after it. */
.bubble { display: flex; align-items: flex-start; gap: 0; text-align: left; width: 520px; max-width: 100%; margin: 0 auto; position: relative; }
.bubble img { width: 84px; height: 66px; flex: 0 0 84px; object-fit: contain; }
.bubble > div { position: relative; flex: 1; background: var(--bubble); color: var(--ink); border-radius: 5px; padding: 10px 15px; }
.bubble b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.bubble span { display: block; font-size: 25px; line-height: 1.2; }
.question .bubble { padding-bottom: 15px; border-bottom: 1px solid #ddd; width: 100%; max-width: 824px; }
.question .bubble > div { max-width: 436px; }
.question > .bubble { justify-content: center; }

.tiles { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; margin-top: 10px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: .3rem; box-shadow: 0 2px 12px rgba(0, 0, 0, .065); margin: 1%; width: 23%; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 5px; transition: .3s; }
.tile img { width: 80px; height: 80px; object-fit: contain; margin: 6px 0; }
.tile span { font-size: 1.25rem; line-height: 1.4; }
.tile:hover, .tile:focus-visible { border-color: var(--primary); background: var(--secondary); color: var(--primary); outline: none; }
.qnote { flex: 0 0 100%; max-width: 100%; font-size: 12px; text-align: center; margin: 4px auto 0; }

.radios { display: flex; flex-wrap: wrap; justify-content: center; max-width: 824px; margin: 10px auto 0; }
.radio { display: flex; align-items: center; gap: 14px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 2px 12px rgba(0, 0, 0, .065); margin: 1%; flex: 0 0 48%; max-width: 48%; min-height: 74px; padding: 0 16px; font-size: 1.25rem; transition: all .2s ease-in-out; }
.radio i { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; border: 1px solid #ced4da; }
.radio:hover, .radio:focus-visible { background: var(--secondary); color: var(--primary); border-color: var(--primary); outline: none; }

/* Date of injury */
.datebox { position: relative; width: 520px; max-width: 100%; margin: 20px auto 0; }
.field.date { height: 59px; cursor: pointer; font-size: 20px; border: 2px solid rgb(122, 119, 109); }
.cal { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); z-index: 4; max-width: 360px; margin: 0 auto; background: #fff; border: 1px solid #aeaeae; border-radius: .3rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); overflow: hidden; }
.cal-head { background: var(--primary); color: #fff; padding: 10px 8px 6px; position: relative; text-align: center; }
.cal-title { font-weight: 700; font-size: 16px; }
.cal-prev, .cal-next { position: absolute; top: 8px; background: none; border: 0; color: #fff; font-size: 14px; padding: 4px 8px; }
.cal-prev { left: 6px; }
.cal-next { right: 6px; }
.cal-drops { display: flex; gap: 10px; justify-content: center; margin: 6px 0; }
.cal-drops select { font: inherit; font-size: 14px; color: #000; background: #fff; border: 0; border-radius: 3px; padding: 2px 4px; }
.cal-names, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-names span { font-size: 13px; padding: 4px 0; }
.cal-grid { padding: 6px; gap: 2px; }
.cal-day { background: none; border: 0; border-radius: .3rem; padding: 7px 0; font-size: 14px; color: #000; }
.cal-day:hover:not([disabled]) { background: #f0f0f0; }
.cal-day.today { font-weight: 700; }
.cal-day[disabled] { color: #ccc; cursor: default; }

/* Contact */
.contact { width: 450px; max-width: 100%; margin: 30px auto 0; padding: 15px 0; }
.almost { text-align: center; }
.bubble.solid > div { background: var(--primary); color: #fff; }
.bubble.solid span { font-size: 1.75em; line-height: normal; }
.almost .lead { color: #6c757d; font-size: 1.25rem; font-weight: 300; max-width: 764px; margin: 12px auto 16px; }
.flabel { display: block; font-size: 14px; font-weight: 600; text-transform: uppercase; line-height: normal; margin: 20px 0 7px; }
.flabel i { font-style: normal; }
.inbox { position: relative; }
.ico { position: absolute; left: 0; top: 0; bottom: 0; width: 48px; background-repeat: no-repeat; background-position: center; background-size: 30px; }
.ico-user { background-image: url(/assets/user-ico-2.webp); }
.ico-email { background-image: url(/assets/email-ico-2.webp); }
.ico-mobile { background-image: url(/assets/phone-ico-2.webp); }
.field { width: 100%; font: inherit; font-size: 1.25rem; color: var(--text); background: #fff; border: 2px solid #dee2e6; border-radius: 5px; padding: 12px 14px; }
.inbox .field { padding-left: 52px; height: 59px; }
.field::placeholder { color: #7a776d; font-size: 1.25rem; font-weight: 400; }
.field:focus { outline: none; border-color: var(--primary); }
.field[aria-invalid="true"] { border-color: var(--err); }
.field.area { min-height: 120px; padding-left: 7px; resize: vertical; }
.err { color: var(--err); font-size: 14px; margin-top: 6px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 60px; margin-top: 30px; border: 0; border-radius: 5px; background: var(--primary); color: #fff; font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 3px 6px rgba(0, 0, 0, .16); }
.btn:disabled { opacity: .8; cursor: progress; }
.spin { width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.consent { text-align: center; font-size: 16px; margin: 40px 0 0; }
.consent a { color: #007bff; }

/* Why choose */
.why { margin: 80px auto 48px; max-width: 1400px; }
.why h2 { text-align: center; font-size: 34px; font-weight: 700; margin: 0 0 24px; color: var(--text); }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; }
.why li { display: flex; gap: 16px; align-items: flex-start; margin-top: 1rem; }
.why li img { width: 72px; height: 72px; flex: 0 0 72px; object-fit: contain; }
.why h5 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.why p { margin: 0; }

/* Footer */
.foot { border-top: 1px solid #eee; box-shadow: -6px 0 4px rgba(0, 0, 0, .125); background: #fff; text-align: center; padding: 30px 16px; font-size: 12px; color: #868e96; }
.foot-links { margin-bottom: 4px; }
.foot-links a { color: #212529; font-size: 12px; text-decoration: underline; }
.foot-co { margin: 0; }

.toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 20; max-width: calc(100% - 32px); background: #e74c3c; color: #fff; padding: 12px 18px; border-radius: 6px; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); font-size: 15px; }

/* Thank-you, DNQ, privacy */
.page-title { background: #7c2028; color: #fff; text-align: center; padding: 90px 16px 50px; }
.page-title h1 { margin: 0 0 8px; font-size: 2.25rem; font-weight: 500; }
.page-title p { margin: 0; }
.inner { max-width: 1140px; margin: 0 auto; padding: 50px 16px; }
.thanks { background-size: cover; background-position: center; text-align: center; padding: 70px 16px 60px; }
.thanks h1 { font-size: clamp(40px, 9vw, 56px); font-weight: 700; line-height: 1.15; margin: 0 auto 10px; max-width: 720px; color: #000; }
.thanks .thankyouTxt { font-size: 20px; font-weight: 600; max-width: 600px; margin: 0 auto 30px; color: #000; }
.thanks .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.thankyouCard { border: 3px solid #000; border-radius: 12px; padding: 20px 20px 30px; text-transform: uppercase; background: #fff; }
.thankyouCard.done { opacity: .25; }
.thankyouCard img { width: 40px; height: 40px; display: block; margin: 20px auto; }
.thankyouCard h4 { font-size: 22px; font-weight: 700; margin: 0 0 16px; }
.thankyouCard p { font-size: 18px; font-weight: 700; margin: 0; }
.offers h3 { margin-top: 0; }
.offers ul { padding-left: 20px; }
.offers li { margin-bottom: 18px; }
.offers h5 { font-size: 1.25rem; margin: 0 0 6px; }
.offers .offer_button { text-transform: uppercase; }
.legal { font-size: 15px; }
.legal p { margin: 0 0 1rem; }

@media (max-width: 992px) {
  .why ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .hero h1 { font-size: 26px; }
  .tile { padding: 10px 15px 0; }
  .thanks .cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top { padding: 8px 16px; min-height: 0; }
  .top .logo, .top .ssl { height: 30px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 24px; line-height: 27px; }
  .hero p { font-size: 16px; }
  .progress { margin-top: 32px; }
  .bubble span { font-size: 18px; line-height: 20px; }
  .bubble.solid span { font-size: 22px; line-height: 1.2; }
  .tile { width: 47%; min-height: 56px; padding: 0 15px; }
  .tile span { font-size: 1.25rem; }
  .radio { flex: 0 0 100%; max-width: 100%; }
  .why h2 { font-size: 1.5rem; }
  .why h5 { font-size: 1rem; }
  .why ul { grid-template-columns: 1fr; }
  .almost .lead { font-size: 16px; }
}

/* DNQ page: grey panel with offer cards, as live */
.dnq-main { background: #eee; padding-bottom: 40px; }
.page-title.plain { background: transparent; color: #000; padding: 110px 16px 60px; }
.page-title.plain h1 { font-size: clamp(36px, 8vw, 52px); font-weight: 400; line-height: 1.2; max-width: 900px; margin: 0 auto 10px; }
.page-title.plain p { font-size: 20px; max-width: 900px; margin: 0 auto; }
.dnq-main .inner { padding-top: 10px; }
.partnerOffer { background: #f3f3f3; border: 1px solid #ddd; border-radius: 4px; padding: 20px 20px 10px; }
.partnerOffer h3 { font-size: 34px; font-weight: 400; margin: 0 0 12px; }
.partnerOffer ul { list-style: none; padding: 0; margin: 0; }
.partnerOffer li { border: 1px solid #ddd; border-radius: 4px; padding: 20px; margin-bottom: 14px; }
.partnerOffer h5 { font-size: 24px; font-weight: 400; line-height: 1.3; margin: 0 0 12px; }
.partnerOffer li span { line-height: 2.2; }
.offer_button { display: inline-block; background: #d0222c; color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; padding: 10px 14px; margin-top: 12px; line-height: 1.4; }
.desclaimerText { font-size: 14px; margin: 10px 0 20px; }
