/* Claims Review Process — page styles. All rules scoped under .crv
   Site tokens are read with live-value fallbacks so the file also works standalone. */

.crv {
  --crv-ink: var(--bs-heading-color-hex, #1e2d3b);
  --crv-body: #212124;
  --crv-muted: #495356;
  --crv-blue: var(--bs-primary-hex, #0072bc);
  --crv-blue-dark: #005b96;
  --crv-sky: #80b7e3;
  --crv-sky-soft: #d8ecf9;
  --crv-tint: var(--bs-light-hex, #f2f8fc);
  --crv-line: var(--bs-secondary-border-hex, #e7e7e7);
  --crv-green: #9fd086;
  --crv-r: var(--bs-border-radius, 10px);
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  color: var(--crv-body);
  background: var(--crv-tint);
  -webkit-font-smoothing: antialiased;
}
.crv *, .crv *::before, .crv *::after { box-sizing: border-box; }
.crv a { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }

.crv-wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.crv-wrap--narrow { max-width: 908px; }

/* Type */
.crv-h1 { font-family: 'Catamaran', sans-serif; font-weight: 800; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 18px; max-width: 19ch; text-wrap: balance; }
.crv-h2 { font-family: 'Catamaran', sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 12px; text-wrap: balance; }
.crv-h3 { font-family: 'Catamaran', sans-serif; font-weight: 800; font-size: 20px; line-height: 1.22; margin: 0 0 10px; }
.crv-h3--sm { font-size: 19px; line-height: 1.25; margin-bottom: 8px; }
.crv-kicker { font-family: 'Catamaran', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--crv-blue); margin: 0 0 10px; }
.crv-kicker--accent { color: var(--crv-sky); }
.crv-lede { font-size: 18px; line-height: 1.6; color: var(--crv-muted); margin: 0 0 14px; max-width: 58ch; }
.crv-lede:last-child { margin-bottom: 0; }
.crv-head { max-width: 60ch; margin-bottom: 34px; }

/* Sections */
.crv-sec { padding: 68px 0; border-bottom: 1px solid var(--crv-line); }
.crv-sec--white { background: #fff; }
.crv-sec--tint { background: var(--crv-tint); }
.crv-sec--dark { background: var(--crv-ink); color: #fff; border-bottom: 0; }
.crv-sec--dark .crv-lede { color: var(--crv-sky-soft); }
.crv-sec--narrow { border-bottom: 0; }
.crv-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; align-items: start; }

/* Hero */
.crv-hero { position: relative; background: var(--crv-ink); color: #fff; overflow: hidden; }
.crv-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; animation: crvDrift 26s ease-in-out infinite alternate; }
.crv-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, #1e2d3b 22%, rgba(30,45,59,.82) 72%, rgba(30,45,59,.55) 100%); }
.crv-hero__inner { position: relative; padding-top: 64px; padding-bottom: 60px; }
.crv-hero__lede { font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--crv-tint); max-width: 62ch; margin: 0 0 26px; }
.crv-hero__meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 16px; color: var(--crv-sky); margin: 0; }
.crv-hero__meta .crv-dot { opacity: .5; }
@keyframes crvDrift { from { transform: scale(1.06); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }

/* Value band */
.crv-band { background: var(--crv-blue); color: #fff; }
.crv-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; padding-top: 24px; padding-bottom: 24px; }
.crv-band__item { display: flex; gap: 12px; align-items: flex-start; }
.crv-band__n { font-family: 'Catamaran', sans-serif; font-weight: 800; font-size: 26px; line-height: 1; color: var(--crv-sky); }
.crv-band__item b { display: block; font-weight: 700; font-size: 16px; }
.crv-band__item span:not(.crv-band__n) { display: block; font-size: 15px; line-height: 1.4; color: var(--crv-sky-soft); }

/* Cards */
.crv-card { background: #fff; border: 1px solid var(--crv-line); border-radius: var(--crv-r); padding: 26px; }
.crv-card p { font-size: 16px; line-height: 1.55; color: var(--crv-muted); margin: 0; }
.crv-card--tint { background: var(--crv-tint); padding: 28px; }
.crv-card--lift { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.crv-card--lift:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(30,45,59,.10); border-color: #cfe2f1; }
.crv-card--rule { border-left: 4px solid var(--crv-blue); padding: 24px; transition: transform .22s ease, box-shadow .22s ease; }
.crv-card--rule:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(30,45,59,.10); }
.crv-grid { display: grid; gap: 18px; }
.crv-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.crv-grid--4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Who is in the room */
.crv-dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.crv-dots li { position: relative; padding-left: 20px; }
.crv-dots li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--crv-blue); }
.crv-dots b { display: block; font-weight: 700; font-size: 17px; }
.crv-dots span { display: block; font-size: 16px; line-height: 1.45; color: var(--crv-muted); }

/* Steps */
.crv-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; max-width: 860px; }
.crv-step { display: flex; gap: 20px; }
.crv-step__mark { position: relative; flex: none; width: 44px; }
.crv-step__n { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--crv-ink); color: #fff; font-family: 'Catamaran', sans-serif; font-weight: 800; font-size: 19px; }
.crv-step__mark::after { content: ""; position: absolute; left: 21px; top: 52px; bottom: -32px; width: 2px; background: #dce3e8; }
.crv-step--last .crv-step__mark::after { display: none; }
.crv-step__when { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--crv-blue); margin: 0 0 4px; }
.crv-step__body .crv-h3 { font-size: 22px; margin-bottom: 8px; }
.crv-step__body p:last-child { font-size: 17px; line-height: 1.6; color: var(--crv-muted); margin: 0; max-width: 62ch; }

/* Come prepared */
.crv-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.crv-checks li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--crv-r); padding: 16px 18px; font-size: 17px; line-height: 1.5; }
.crv-checks li::before { content: "\2713"; flex: none; font-family: 'Catamaran', sans-serif; font-weight: 800; font-size: 18px; line-height: 1.3; color: var(--crv-green); }

/* FAQ */
.crv-faq { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.crv-faq__item { border: 1px solid var(--crv-line); border-radius: var(--crv-r); overflow: hidden; background: #fff; }
.crv-faq__q { width: 100%; display: flex; gap: 16px; align-items: center; justify-content: space-between; background: none; border: 0; padding: 20px 22px; cursor: pointer; text-align: left; font: inherit; font-family: 'Catamaran', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--crv-ink); transition: background-color .2s ease; }
.crv-faq__q:hover { background: var(--crv-tint); }
.crv-faq__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--crv-tint); color: var(--crv-ink); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.crv-faq__q[aria-expanded="true"] .crv-faq__icon { transform: rotate(45deg); background: var(--crv-blue); color: #fff; }
.crv-faq__a { animation: crvPanelIn .28s cubic-bezier(.2,.7,.3,1) both; }
.crv-faq__a p { padding: 0 22px 22px; font-size: 17px; line-height: 1.6; color: var(--crv-muted); margin: 0; }
@keyframes crvPanelIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Motion — hero copy */
.crv-anim { animation: crvHeroIn .7s cubic-bezier(.2,.7,.3,1) both; }
.crv-anim--1 { animation-duration: .6s; }
.crv-anim--2 { animation-delay: .08s; }
.crv-anim--3 { animation-delay: .16s; }
.crv-anim--4 { animation-delay: .24s; }
@keyframes crvHeroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Motion — scroll reveal. Only applied once JS sets .js-crv-reveal on <html>, so it fails open. */
.js-crv-reveal .crv [data-reveal] > * { opacity: 0; transform: translateY(22px); }
.js-crv-reveal .crv [data-reveal].is-in > * { opacity: 1; transform: none; transition: opacity .62s cubic-bezier(.2,.7,.3,1), transform .62s cubic-bezier(.2,.7,.3,1); }
.js-crv-reveal .crv [data-reveal].is-in > *:nth-child(2) { transition-delay: .07s; }
.js-crv-reveal .crv [data-reveal].is-in > *:nth-child(3) { transition-delay: .14s; }
.js-crv-reveal .crv [data-reveal].is-in > *:nth-child(4) { transition-delay: .21s; }
.js-crv-reveal .crv [data-reveal].is-in > *:nth-child(5) { transition-delay: .28s; }
.js-crv-reveal .crv [data-reveal].is-in > *:nth-child(n+6) { transition-delay: .35s; }

@media (max-width: 640px) {
  .crv-sec { padding: 48px 0; }
  .crv-hero__inner { padding-top: 48px; padding-bottom: 44px; }
  .crv-hero__meta { gap: 10px 14px; font-size: 15px; }
  .crv-two { gap: 32px; }
}

@media print {
  .crv-hero__bg { display: none; }
  .crv-hero, .crv-sec--dark { background: #fff !important; color: #000 !important; }
  .crv [data-reveal] > *, .crv-anim { opacity: 1 !important; transform: none !important; animation: none !important; }
  .crv-faq__a[hidden] { display: block !important; }
}

@media (prefers-reduced-motion: reduce) {
  .crv *, .crv *::before, .crv *::after { animation: none !important; transition: none !important; }
  .js-crv-reveal .crv [data-reveal] > * { opacity: 1; transform: none; }
}

/* ============================================================================
   ICA theme reconciliation — appended 2026-09-18, claims-review build.
   Everything above this line is the design export, shipped untrimmed.
   Nothing above is edited; these rules only restate what the live theme breaks.
   ============================================================================ */

/* 1. Navy token. The export reads --bs-heading-color-hex for --crv-ink with a navy
   fallback, but on this theme that variable is #212124 (body ink), not navy — so the
   hero, the dark band, the step discs and the FAQ summaries all render near-black
   instead of navy. Navy on this theme is --bs-tertiary-hex. Same pairing the footer,
   contact, mega-menu and common-injuries stylesheets already use. */
.crv {
  --crv-ink: var(--bs-tertiary-hex, #1e2d3b);
  --crv-body: var(--bs-heading-color-hex, #212124);
}

/* 2. Theme collision. The ICA theme sets h1/h2/h3 colour directly, and a direct rule
   beats the design's inherited colour — this is what rendered home-page headings at
   1.14:1. Restate colour wherever the page inverts onto a dark ground. */
.crv-hero h1, .crv-hero .crv-h1, .crv-hero .crv-hero__lede { color: #fff; }
.crv-hero .crv-kicker--accent { color: var(--crv-sky); }
.crv-sec--dark h2, .crv-sec--dark .crv-h2 { color: #fff; }
.crv-sec--dark .crv-kicker--accent { color: var(--crv-sky); }
.crv-sec--dark .crv-lede, .crv-sec--dark .crv-checks li { color: var(--crv-sky-soft); }
.crv-band__item b, .crv-band__n { color: inherit; }
.crv-band__n { color: var(--crv-sky); }
.crv-band__item b { color: #fff; }

/* 3. Headings on light grounds. Same direct-rule collision, opposite direction: the
   design expects .crv-h2/.crv-h3 to carry navy, the theme may recolour the element. */
.crv-sec--white .crv-h2, .crv-sec--tint .crv-h2,
.crv-sec--white .crv-h3, .crv-sec--tint .crv-h3 { color: var(--crv-ink); }
.crv-card .crv-h3 { color: var(--crv-ink); }

/* 4. Step connector. The export hid it with a hand-applied .crv-step--last class, which
   goes stale the moment an editor adds or removes a step row. Drive it off :last-child
   so the timeline stays correct whatever the row count is. */
.crv-steps > .crv-step:last-child .crv-step__mark::after { display: none; }

/* 5. FAQ as details/summary. The export's accordion was a button plus a [hidden] panel,
   which leaves every answer unreachable if the script fails. The markup is now native
   details/summary; these rules restyle the disclosure triangle away and move the open
   state from [aria-expanded] onto [open]. The .crv-faq__q rules above still apply —
   summary carries that class. */
.crv-faq__item > summary { list-style: none; }
.crv-faq__item > summary::-webkit-details-marker { display: none; }
.crv-faq__item > summary::marker { content: ""; }
.crv-faq__q { user-select: none; }
.crv-faq__item[open] > summary .crv-faq__icon { transform: rotate(45deg); background: var(--crv-blue); color: #fff; }
.crv-faq__item[open] > .crv-faq__a { animation: crvPanelIn .28s cubic-bezier(.2,.7,.3,1) both; }
.crv-faq__a > p:first-child { padding-top: 0; }
.crv-faq__a > :last-child { margin-bottom: 0; }
.crv-faq__a { padding: 0 22px 22px; }
.crv-faq__a p { padding: 0; font-size: 17px; line-height: 1.6; color: var(--crv-muted); margin: 0 0 12px; }

/* 6. Fail-open, restated for this page's own script. The export gates reveal on
   .js-crv-reveal; keep that, and make sure a print or reduced-motion context can never
   leave a section at opacity 0 even if the observer never fires. */
@media (prefers-reduced-motion: reduce) {
  .crv-hero__bg { animation: none !important; }
  .js-crv-reveal .crv [data-reveal] > * { opacity: 1 !important; transform: none !important; }
}
.crv noscript ~ * { opacity: 1 !important; }

/* ============================================================================
   Post-Gate-5 fix, 2026-09-19 — measured on the live page, not the export.
   ============================================================================ */

/* Value-band sentences were #d8ecf9 on #0072bc at 15px = 4.18:1, under the 4.5
   AA needs for normal-size text. (The bold line above each one is #fff at
   5.08:1 and was already fine.) Lightened to #eaf4fc = 4.56:1, which keeps the
   sentence visibly secondary to the bold line rather than flattening both to
   white. Scoped to the band so the dark section's own --crv-sky-soft text,
   measured at 9.64:1 and 11.57:1, is left alone. Same defect class as
   429fd4b on employee-transportation. */
.crv-band__item span:not(.crv-band__n) { color: #eaf4fc; }
