/* CriticalAsset inside the InsureMEP sites (proposal, 2026-10-06).
   InsureMEP keeps its chrome (dark, Anton). CriticalAsset is the product, so wherever it
   appears it wears its own look: white and sky, navy type, blue→cyan, Inter only. */
:root {
  --ca-ink: #0f1d45;
  --ca-navy: #1e3a8a;
  --ca-blue: #2563eb;
  --ca-sky-blue: #3b82f6;
  --ca-cyan: #0ea5e9;
  --ca-sky: #eef5ff;
  --ca-bg: #f7faff;
  --ca-line: #dbe5f5;
  --ca-muted: #52617f;
  --ca-grad: linear-gradient(90deg, #2563eb, #0ea5e9);
}

/* --- the product mark, everywhere it appears ---------------------------------- */
.ca-mark { width: 18px; height: 18px; flex: none; }
.ca-mark path { fill: #fff; stroke: #4587f5; stroke-width: 34; stroke-linejoin: round; }

/* Header: "Log in" becomes the way into the product page */
.top .ca-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 9px; border-radius: 999px; border: 1px solid #4587f57a; background: #3b82f61f; color: #fff; font: 600 14px/1 Inter, sans-serif; text-decoration: none; white-space: nowrap; }
.top .ca-pill:hover, .top .ca-pill[aria-current] { background: #3b82f6; border-color: #3b82f6; }
.top .ca-pill b { font-weight: 700; }

/* Announcement bar, first thing under the header on the home page */
.ca-announce { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; padding: 11px 16px; background: linear-gradient(90deg, #e6f0ff, #f3f8ff 55%, #e6f6ff); color: var(--ca-ink); text-decoration: none; font: 500 14.5px/1.4 Inter, sans-serif; text-align: center; border-bottom: 1px solid var(--ca-line); }
.ca-announce .ca-new { font: 700 10.5px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--ca-grad); padding: 5px 8px; border-radius: 5px; }
.ca-announce b { color: var(--ca-navy); }
.ca-announce .go { color: var(--ca-blue); font-weight: 700; white-space: nowrap; }
.ca-announce:hover .go { text-decoration: underline; }

/* "Runs on CriticalAsset" — the small link that ties a feature to the product */
.ca-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 8px; border-radius: 999px; border: 1px solid #4587f566; background: #3b82f61a; color: #d5e5ff; font: 600 13px/1.2 Inter, sans-serif; text-decoration: none; white-space: nowrap; }
.ca-chip:hover { background: #3b82f6; color: #fff; }
.ca-chip .ca-mark { width: 15px; height: 15px; }
.paper .ca-chip, .ca-band .ca-chip { background: #e7f0ff; border-color: #bcd2f7; color: var(--ca-navy); }
.paper .ca-chip:hover, .ca-band .ca-chip:hover { background: var(--ca-blue); color: #fff; }
p.ca-chip-row { margin: 18px 0 0; }

/* --- "Powered by CriticalAsset" band inside InsureMEP pages ------------------- */
.ca-band { background: radial-gradient(900px 420px at 85% 0%, #dbeafe, transparent 70%), var(--ca-bg); color: var(--ca-ink); padding: 92px 0; position: relative; overflow: hidden; }
.ca-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#1e3a8a0a 1px, transparent 1px), linear-gradient(90deg, #1e3a8a0a 1px, transparent 1px); background-size: 34px 34px; pointer-events: none; }
.ca-band .wrap { position: relative; }
.ca-band-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: end; }
.ca-band .ca-logo { height: 34px; width: auto; margin-bottom: 22px; }
.ca-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.ca-tile { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--ca-line); border-radius: 14px; padding: 20px 20px 18px; text-decoration: none; color: var(--ca-ink); box-shadow: 0 12px 30px #1e3a8a0f; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ca-tile:hover { transform: translateY(-3px); border-color: #93b4f0; box-shadow: 0 18px 40px #1e3a8a1f; }
.ca-tile small { font: 700 11px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ca-sky-blue); }
.ca-tile strong { font-size: 1.12rem; letter-spacing: -.01em; }
.ca-tile span { color: var(--ca-muted); font-size: 14.5px; line-height: 1.5; }
.ca-tile em { margin-top: auto; padding-top: 6px; font-style: normal; font-weight: 700; color: var(--ca-blue); font-size: 14px; }

/* --- shared CriticalAsset type and buttons ------------------------------------ */
.ca-k { font: 700 12.5px/1.3 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ca-sky-blue); margin: 0 0 14px; }
.ca-h1, .ca-h2 { font-family: Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.035em; margin: 0; color: var(--ca-ink); }
.ca-h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; }
.ca-h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.05; }
.ca-h1 .c, .ca-h2 .c { background: var(--ca-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ca-lede { font-size: clamp(1.06rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--ca-muted); max-width: 660px; margin: 18px 0 0; }
.ca-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15.5px; color: #fff; background: var(--ca-grad); padding: 14px 22px; border-radius: 10px; box-shadow: 0 12px 30px #2563eb40; white-space: nowrap; }
.ca-btn:hover { filter: brightness(1.07); }
.ca-btn.line { background: #fff; color: var(--ca-navy); border: 1.5px solid #c5d6f3; box-shadow: none; }
.ca-btn.line:hover { border-color: var(--ca-blue); }
.ca-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* --- the product page ---------------------------------------------------------- */
.ca-page { background: #fff; color: var(--ca-ink); }
.ca-page a { color: var(--ca-blue); }
.ca-page .ca-btn { color: #fff; } .ca-page .ca-btn.line { color: var(--ca-navy); }
.ca-sub { position: sticky; top: 70px; z-index: 30; background: #ffffffeb; backdrop-filter: blur(12px); border-bottom: 1px solid var(--ca-line); }
.ca-sub .wrap { display: flex; align-items: center; gap: 26px; height: 58px; }
.ca-sub .wrap > a { flex: none; }
.ca-sub img { height: 26px; width: auto; max-width: none; }
.ca-sub nav { display: flex; gap: 20px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.ca-sub nav::-webkit-scrollbar { display: none; }
.ca-sub nav a { color: var(--ca-muted); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; padding: 6px 0; }
.ca-sub nav a:hover { color: var(--ca-blue); }
.ca-page section[id] { scroll-margin-top: 136px; }

.ca-hero { position: relative; overflow: hidden; padding: 76px 0 92px; background: radial-gradient(800px 520px at 88% 10%, #dbeafe, transparent 70%), radial-gradient(700px 420px at 0% 100%, #e0f2fe, transparent 70%), #fff; }
.ca-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#1e3a8a09 1px, transparent 1px), linear-gradient(90deg, #1e3a8a09 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.ca-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ca-hero .ca-logo { height: 44px; width: auto; margin-bottom: 26px; }
.ca-intro { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ca-navy); background: #fff; border: 1px solid var(--ca-line); padding: 8px 12px 8px 8px; border-radius: 999px; margin: 0 0 22px; box-shadow: 0 6px 18px #1e3a8a12; }
.ca-intro span { color: #fff; background: var(--ca-grad); padding: 4px 7px; border-radius: 999px; font-size: 10.5px; }

/* hero stage: the web record, a phone on top, the 3D replica floating */
.ca-stage { position: relative; padding: 0 0 44px 44px; }
.ca-browser { background: #fff; border: 1px solid var(--ca-line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px #1e3a8a2b; }
.ca-browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f4f7fc; border-bottom: 1px solid var(--ca-line); font: 600 11.5px Inter, sans-serif; color: var(--ca-muted); }
.ca-browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3dcec; }
.ca-browser .bar b { margin-left: 10px; font-weight: 600; background: #fff; border: 1px solid var(--ca-line); border-radius: 6px; padding: 3px 10px; }
.ca-browser img { width: 100%; height: auto; }
.ca-phone { width: 178px; background: #0b1020; padding: 7px; border-radius: 30px; box-shadow: 0 30px 60px #0f1d4559, inset 0 0 0 1.5px #2c3550; }
.ca-phone img { border-radius: 24px; width: 100%; height: auto; }
.ca-stage .ca-phone { position: absolute; left: 0; bottom: 0; }
.ca-float { position: absolute; right: -14px; bottom: 6px; width: 210px; background: #fff; border: 1px solid var(--ca-line); border-radius: 12px; padding: 8px; box-shadow: 0 24px 50px #1e3a8a26; }
.ca-float img { border-radius: 8px; width: 100%; height: auto; }
.ca-float small { display: block; font: 600 11.5px/1.35 Inter, sans-serif; color: var(--ca-muted); padding: 6px 4px 2px; }

.ca-sec { padding: 92px 0; position: relative; }
.ca-sec.alt { background: var(--ca-bg); }
.ca-sec.dark { background: radial-gradient(900px 500px at 90% 0%, #1e3a8a, transparent 70%), #0b1638; color: #fff; }
.ca-sec.dark .ca-h2 { color: #fff; }
.ca-sec.dark .ca-lede { color: #c3d3f2; }
.ca-sec.dark .ca-k { color: #7cc4ff; }
.ca-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ca-split.rev > :first-child { order: 2; }

/* two brands */
.ca-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.ca-brand { border-radius: 18px; padding: 30px 30px 28px; }
.ca-brand img { height: 34px; width: auto; margin-bottom: 20px; }
.ca-brand h3 { font-size: 1.35rem; letter-spacing: -.02em; margin: 0 0 10px; }
.ca-brand p { margin: 0; line-height: 1.6; }
.ca-brand small { display: block; margin-top: 18px; font: 700 11px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.ca-brand.imep { background: linear-gradient(140deg, #050f2b, #0b2a7a); color: #fff; }
.ca-brand.imep p { color: #c6d6f5; } .ca-brand.imep small { color: #29c7ff; }
.ca-brand.ca { background: #fff; border: 1px solid var(--ca-line); box-shadow: 0 18px 40px #1e3a8a14; }
.ca-brand.ca p { color: var(--ca-muted); } .ca-brand.ca small { color: var(--ca-sky-blue); }
.ca-twoline { margin: 22px 0 0; text-align: center; font-weight: 700; color: var(--ca-navy); font-size: 1.05rem; }

/* the map: every InsureMEP feature and the capability under it */
.ca-map { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; }
.ca-map li { display: grid; grid-template-columns: minmax(0, .8fr) 44px minmax(0, 1.5fr); align-items: center; gap: 12px; background: #fff; border: 1px solid var(--ca-line); border-radius: 14px; padding: 18px 22px; box-shadow: 0 8px 22px #1e3a8a0b; }
.ca-map .f small, .ca-map .p small { display: block; font: 700 10.5px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 7px; }
.ca-map .f small { color: #0b3bb8; } .ca-map .p small { color: var(--ca-sky-blue); }
.ca-map .f strong { font-size: 1.05rem; }
.ca-map .arr { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ca-sky); color: var(--ca-blue); font-weight: 800; }
.ca-map .p strong { display: block; font-size: 1.02rem; margin-bottom: 3px; }
.ca-map .p span { color: var(--ca-muted); font-size: 14.5px; line-height: 1.55; }
.ca-map .p a { font-weight: 700; font-size: 14px; text-decoration: none; margin-left: 6px; white-space: nowrap; }

/* feature list */
.ca-feats { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ca-feats li { position: relative; padding-left: 34px; }
.ca-feats li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--ca-grad); }
.ca-feats li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg); }
.ca-feats strong { display: block; }
.ca-feats span { color: var(--ca-muted); font-size: 15px; line-height: 1.55; }
.ca-sec.dark .ca-feats span { color: #c3d3f2; }

/* phones in a row */
.ca-phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.ca-phones figure { margin: 0; }
.ca-phones .ca-phone img { aspect-ratio: 1206 / 2622; object-fit: contain; object-position: top; background: #f2f3f8; }
.ca-phones.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 840px; }
.ca-phones .ca-phone { width: 100%; }
.ca-phones figcaption { font-size: 13.5px; line-height: 1.45; color: var(--ca-muted); margin-top: 12px; }

/* web shots */
.ca-webs { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; margin-top: 46px; align-items: start; }
.ca-webs .col { display: grid; gap: 18px; }
.ca-webs figure { margin: 0; }
.ca-webs figcaption { font-size: 13.5px; color: var(--ca-muted); margin-top: 10px; line-height: 1.45; }

/* movies */
.ca-movie { margin: 0; }
.ca-movie video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 14px; background: #eef3fb; border: 1px solid var(--ca-line); box-shadow: 0 18px 40px #1e3a8a1a; }
.ca-movie figcaption { margin-top: 10px; font-size: 14px; color: var(--ca-muted); }
.ca-movie figcaption b { color: var(--ca-ink); }

/* specialists */
.ca-crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.ca-crew > div { background: #ffffff0d; border: 1px solid #ffffff22; border-radius: 16px; padding: 26px; }
.ca-crew h3 { font-size: 2rem; letter-spacing: -.03em; margin: 0; font-weight: 800; }
.ca-crew em { display: block; font-style: normal; font: 700 11.5px/1.3 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #7cc4ff; margin: 6px 0 14px; }
.ca-crew p { margin: 0; color: #c9d7f3; line-height: 1.6; font-size: 15px; }
.ca-crew q { display: block; margin-top: 14px; color: #fff; font-weight: 600; font-size: 14.5px; quotes: "“" "”"; }
.ca-licenses { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.ca-licenses span { font: 600 12px/1 Inter, sans-serif; color: #e5eeff; background: #3b82f633; border: 1px solid #3b82f666; padding: 6px 9px; border-radius: 999px; }
.ca-owned { margin-top: 26px; display: flex; gap: 12px; align-items: center; color: #c3d3f2; font-size: 15px; }
.ca-owned b { color: #fff; }

/* CARS */
.ca-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; list-style: none; margin: 0; padding: 0; counter-reset: k; }
.ca-cats li { counter-increment: k; display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--ca-line); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.ca-cats li::before { content: counter(k, decimal-leading-zero); color: var(--ca-sky-blue); font-weight: 800; font-size: 12.5px; }
.ca-cats li b { color: var(--ca-muted); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 13px; }
.ca-bandrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.ca-bandrow span { font: 800 14px/1 Inter, sans-serif; padding: 9px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--ca-line); color: var(--ca-navy); }
.ca-bandrow span:first-child { background: var(--ca-grad); color: #fff; border-color: transparent; }

/* trust */
.ca-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.ca-rules > div { background: #fff; border: 1px solid var(--ca-line); border-radius: 14px; padding: 22px; }
.ca-rules i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ca-sky); color: var(--ca-blue); font-style: normal; font-weight: 800; font-size: 13px; margin-bottom: 14px; }
.ca-rules strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.ca-rules span { color: var(--ca-muted); font-size: 14.5px; line-height: 1.55; }

/* closing */
.ca-close { background: linear-gradient(120deg, #1e3a8a, #2563eb 55%, #0ea5e9); color: #fff; border-radius: 22px; padding: 52px 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; box-shadow: 0 40px 80px #1e3a8a40; }
.ca-close .ca-h2 { color: #fff; }
.ca-close p { color: #dceaff; margin: 12px 0 0; font-size: 1.08rem; line-height: 1.6; max-width: 640px; }
.ca-close .ca-btn { background: #fff; color: var(--ca-navy); box-shadow: none; }
.ca-close .ca-btn.line { background: transparent; color: #fff; border-color: #ffffff80; }
.ca-close .ca-actions { margin-top: 0; }
.ca-page .ca-close .ca-btn { color: var(--ca-navy); } .ca-page .ca-close .ca-btn.line { color: #fff; }

@media (max-width: 1000px) {
  .top .ca-pill { margin-left: auto; }
  .top .ca-pill + .btn.small { margin-left: 0; }
  .top .menu { margin-left: 10px; order: 3; }
  .ca-band-head, .ca-hero .wrap, .ca-split, .ca-webs, .ca-close { grid-template-columns: minmax(0, 1fr); }
  .ca-split.rev > :first-child { order: 0; }
  .ca-tiles, .ca-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ca-crew, .ca-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ca-stage { max-width: 560px; }
}
@media (max-width: 640px) {
  .top .ca-pill { padding: 6px 10px 6px 7px; font-size: 13px; }
  .ca-band, .ca-sec { padding: 64px 0; }
  .ca-tiles, .ca-crew, .ca-rules, .ca-two, .ca-cats { grid-template-columns: minmax(0, 1fr); }
  .ca-phones { grid-template-columns: repeat(4, 68%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .ca-phones.three { grid-template-columns: repeat(3, 68%); }
  .ca-phones figure { scroll-snap-align: start; }
  .ca-map li { grid-template-columns: minmax(0, 1fr); }
  .ca-map .arr { transform: rotate(90deg); width: 34px; height: 34px; }
  .ca-sub img { height: 22px; }
  .ca-sub .wrap { gap: 16px; }
  .ca-stage { padding: 0 0 30px 22px; }
  .ca-phone { width: 130px; border-radius: 24px; padding: 5px; }
  .ca-phone img { border-radius: 19px; }
  .ca-phones .ca-phone { width: 100%; }
  .ca-float { width: 150px; right: -6px; }
  .ca-close { padding: 30px 22px; }
  .ca-btn { white-space: normal; text-align: center; justify-content: center; }
}

/* Footer: "Powered by CriticalAsset" under the InsureMEP mark */
.foot .ca-foot { display: inline-flex; flex-direction: column; gap: 7px; margin-top: 10px; text-decoration: none; color: var(--muted); font: 600 11px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.foot .ca-foot img { height: 22px; width: auto; margin: 0; }
.foot .ca-foot:hover span { color: #fff; }
