.models-page {
  --models-ink: #112b43;
  --models-muted: #4c6471;
  --models-line: #d8e3e5;
  --models-paper: #f3f7f7;
  --models-teal: #087f84;
  --models-green: #397552;
  color: var(--models-ink);
  background: #fff;
}

.models-page *, .models-page *::before, .models-page *::after { box-sizing: border-box; }
.models-page .container { width: min(1220px, calc(100vw - 48px)); }
.models-page h1, .models-page h2, .models-page h3, .models-page p { letter-spacing: 0; }
.models-page p { font-size: 17px; line-height: 1.62; }
.models-page h2 { margin: 0; color: var(--models-ink); font-size: 38px; line-height: 1.18; }
.models-page h3 { margin: 0; color: var(--models-ink); font-size: 20px; line-height: 1.3; }
.models-page a:focus-visible { outline: 3px solid #63d5d6; outline-offset: 3px; }
.models-page .eyebrow { margin: 0 0 14px; color: var(--models-teal); font-size: 13px; line-height: 1.3; font-weight: 800; text-transform: uppercase; }
.models-page .button { min-height: 52px; height: auto; padding: 13px 20px; white-space: normal; text-align: center; }
.models-page .models-note { max-width: 820px; margin: 25px 0 0; color: var(--models-muted); font-size: 15px; }
.models-page .models-note a, .models-page .models-prose a, .models-page .models-levels a { color: #075e75; text-decoration: underline; text-underline-offset: 3px; }

.models-hero { color: #fff; background: #08263d; }
.models-hero__inner { padding-top: 24px; padding-bottom: 48px; }
.models-breadcrumbs { margin: 0 0 30px; }
.models-breadcrumbs li, .models-breadcrumbs a, .models-breadcrumbs span { color: #d8e8ed; }
.models-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 38px; align-items: center; }
.models-hero__copy, .models-hero__visual { min-width: 0; }
.models-hero .eyebrow { color: #79dad4; }
.models-hero h1 { max-width: 800px; margin: 0 0 18px; color: #fff; font-size: 47px; line-height: 1.1; overflow-wrap: break-word; }
.models-hero p { max-width: 760px; color: #d8e8eb; }
.models-hero .models-hero__lead { margin: 0 0 14px; color: #fff; font-size: 18px; line-height: 1.55; }
.models-hero__copy > p:not(.eyebrow):not(.models-hero__lead) { margin: 0; }
.models-hero__visual { margin: 0; }
.models-hero__visual img { display: block; width: 100%; height: auto; aspect-ratio: 620 / 500; }
.models-hero__visual--compact { display: none; }
.models-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.models-hero .button--ghost, .models-final .button--ghost { color: #fff; border-color: #a5c6cc; background: transparent; }
.models-hero .button--ghost:hover, .models-final .button--ghost:hover { color: #08263d; background: #fff; }

.models-section { padding: 78px 0; }
.models-section--soft, .models-section--levels { background: var(--models-paper); }
.models-section--levels { padding-top: 54px; }
.models-heading { max-width: 820px; margin-bottom: 32px; }
.models-heading > p:not(.eyebrow) { margin: 16px 0 0; color: var(--models-muted); }
.models-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid #96c8ca; }
.models-levels li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; min-width: 0; padding: 24px 24px 20px 0; }
.models-levels li:not(:last-child) { margin-right: 18px; border-right: 1px solid var(--models-line); }
.models-levels li > span { color: var(--models-teal); font-size: 15px; font-weight: 800; }
.models-levels h3 { margin-bottom: 13px; }
.models-levels p { margin: 0; color: var(--models-muted); font-size: 16px; }
.models-levels a { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 700; }

.models-systems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.models-system { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid var(--models-line); border-radius: 6px; }
.models-system:nth-child(2) { border-top: 4px solid #1f78a3; }
.models-system:nth-child(1) { border-top: 4px solid #d07a48; }
.models-system:nth-child(3) { border-top: 4px solid #388873; }
.models-system p { margin: 13px 0 16px; color: var(--models-muted); font-size: 16px; }
.models-system ul { display: grid; gap: 9px; margin: 0 0 22px; padding: 0; list-style: none; }
.models-system li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; }
.models-system li::before { position: absolute; top: 9px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--models-teal); content: ''; }
.models-system a { margin-top: auto; color: #075e75; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.models-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 32px; }
.models-capabilities article { min-width: 0; padding-top: 18px; border-top: 2px solid #9fc7c7; }
.models-capabilities span { display: block; margin-bottom: 16px; color: var(--models-teal); font-size: 14px; font-weight: 800; }
.models-capabilities p { margin: 11px 0 0; color: var(--models-muted); font-size: 16px; }
.models-columns { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; }
.models-columns .models-heading { margin: 0; }
.models-work { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.models-work li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--models-line); }
.models-work span { color: var(--models-teal); font-size: 14px; font-weight: 800; }
.models-work p { margin: 0; font-size: 16px; }

.models-deliverables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; }
.models-deliverables article { padding: 20px 0 24px; border-top: 1px solid var(--models-line); }
.models-deliverables h3 { font-size: 19px; }
.models-deliverables p { margin: 10px 0 0; color: var(--models-muted); font-size: 16px; }
.models-prose p:first-child { margin-top: 0; }
.models-prose h3 { margin: 0 0 9px; padding-top: 18px; border-top: 1px solid var(--models-line); }
.models-prose h3:not(:first-child) { margin-top: 30px; }
.models-prose p { margin: 0; }
.models-prose .models-note { margin-top: 16px; }
.models-calibration { display: grid; gap: 13px; margin: 30px 0 0; padding: 18px 20px; border-left: 3px solid var(--models-teal); background: #f1f6f6; }
.models-calibration > div { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; color: var(--models-muted); font-size: 14px; }
.models-calibration i { display: block; height: 9px; border-radius: 2px; background: #277a8b; }
.models-calibration > div:last-child i { width: 93%; background: #72a981; }
.models-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 50px; }
.models-inputs > div { padding: 20px 0; border-top: 1px solid var(--models-line); }
.models-inputs p { margin: 9px 0 0; color: var(--models-muted); font-size: 16px; }
.models-checklist { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.models-checklist li { position: relative; padding: 15px 0 15px 26px; border-top: 1px solid var(--models-line); font-size: 16px; line-height: 1.5; }
.models-checklist li::before { position: absolute; top: 23px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--models-green); content: ''; }

.models-section--projects { color: #fff; background: #123c4b; scroll-margin-top: 92px; }
.models-section--projects .eyebrow { color: #9ce2d7; }
.models-section--projects h2 { color: #fff; }
.models-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.models-projects article { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid #67919b; border-radius: 6px; }
.models-projects__place { margin: 0 0 17px; color: #a2e2d7; font-size: 13px !important; font-weight: 800; text-transform: uppercase; }
.models-projects h3 { font-size: 19px; }
.models-projects h3 a { color: #fff; text-decoration: none; }
.models-projects h3 a:hover { text-decoration: underline; }
.models-projects article > p:not(.models-projects__place) { margin: 14px 0 20px; color: #dfeced; font-size: 16px; }
.models-projects__link { margin-top: auto; color: #9ce2d7; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.models-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 36px; }
.models-articles article { min-width: 0; padding: 18px 0; border-top: 1px solid var(--models-line); }
.models-articles a { color: var(--models-ink); text-decoration: none; }
.models-articles a:hover { color: #086e84; text-decoration: underline; }
.models-articles p { margin: 11px 0 0; color: var(--models-muted); font-size: 16px; }
.models-faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 60px; }
.models-faq__items article { padding: 18px 0; border-top: 1px solid var(--models-line); }
.models-faq__items h3 { font-size: 18px; }
.models-faq__items p { margin: 10px 0 0; color: var(--models-muted); font-size: 16px; }
.models-final { color: #fff; background: #09283c; }
.models-final__inner { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.models-final__inner > div:first-child { max-width: 760px; }
.models-final .eyebrow { color: #8adcd5; }
.models-final h2 { color: #fff; }
.models-final p:not(.eyebrow) { color: #dbe9ec; }
.models-final .models-actions { flex: 0 0 260px; flex-direction: column; margin: 0; }

@media (max-width: 1024px) {
  .models-hero__grid { gap: 26px; }
  .models-hero h1 { font-size: 42px; }
  .models-columns { gap: 40px; }
}

@media (max-width: 768px) {
  .models-service-page .crii-max-chat-widget { display: none; }
  .models-section { padding: 54px 0; }
  .models-page h2 { font-size: 32px; }
  .models-hero__inner { padding-bottom: 42px; }
  .models-breadcrumbs { margin-bottom: 24px; }
  .models-hero__grid { grid-template-columns: 1fr; }
  .models-hero__visual { width: min(520px, 100%); margin: 0 auto; }
  .models-levels, .models-systems, .models-projects { grid-template-columns: 1fr; }
  .models-levels li:not(:last-child) { margin-right: 0; border-right: 0; border-bottom: 1px solid var(--models-line); }
  .models-systems { gap: 12px; }
  .models-capabilities, .models-deliverables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models-columns, .models-faq { grid-template-columns: 1fr; gap: 30px; }
  .models-final__inner { flex-direction: column; align-items: flex-start; }
  .models-final .models-actions { flex-basis: auto; flex-direction: row; width: 100%; }
}

@media (max-width: 600px) {
  .models-page .container { width: calc(100vw - 32px); }
  .models-page p { font-size: 16px; }
  .models-page h2 { font-size: 29px; }
  .models-hero h1 { font-size: 32px; overflow-wrap: anywhere; }
  .models-hero .models-hero__lead { font-size: 17px; }
  .models-hero .eyebrow { margin-bottom: 10px; }
  .models-hero p { line-height: 1.5; }
  .models-hero__visual:not(.models-hero__visual--compact) { display: none; }
  .models-hero__visual--compact { display: block; width: min(320px, 100%); margin: 0 auto; }
  .models-hero__visual--compact img { aspect-ratio: 320 / 130; }
  .models-actions { flex-direction: column; }
  .models-actions .button { width: 100%; }
  .models-capabilities, .models-deliverables, .models-inputs, .models-articles { grid-template-columns: 1fr; }
  .models-system { padding: 22px; }
  .models-final .models-actions { flex-direction: column; }
}
