:root {
  color-scheme: only light;
  --navy: #101b30;
  --navy-light: #1a2941;
  --orange: #f2a43a;
  --ink: #152338;
  --muted: #526074;
  --line: #dce1e8;
  --red: #a42b2d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.7; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #c57516; outline-offset: 6px; }
a, button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 5.2vw, 4.9rem); font-weight: 650; }
h2 { font-size: clamp(2.15rem, 3.5vw, 3.25rem); font-weight: 600; }
h3 { font-size: 1.65rem; font-weight: 600; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; background: #fff; padding: 12px 20px; z-index: 100; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { color-scheme: only light; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; width: 252px; height: 78px; flex-shrink: 0; background: #fff; }
.brand img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
nav { display: flex; align-items: center; gap: 28px; font-size: .9375rem; font-weight: 550; }
nav a { padding-block: 10px; }
nav a:hover { color: var(--red); }
.nav-contact { padding: 10px 18px; border: 1px solid var(--line); border-radius: 4px; display: flex; gap: 24px; }
.hero { background: var(--navy); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; padding-block: 80px; align-items: center; }
.eyebrow { font-size: .8125rem; font-weight: 650; letter-spacing: .12em; line-height: 1.6; }
.hero .eyebrow { color: var(--orange); margin-bottom: 26px; }
h1 span { color: var(--orange); }
.hero-description { margin-top: 28px; color: #c3cedd; font-size: 1.125rem; max-width: 570px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 13px 22px; border-radius: 4px; font-weight: 600; font-size: .9375rem; transition: background .18s ease, transform .18s ease, filter .18s ease; }
.button:focus-visible { outline: 3px solid #c57516; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.button:active { transform: translateY(1px); filter: brightness(.96); }
.button-primary { background: var(--orange); color: var(--navy); }
.text-link { display: inline-flex; align-items: center; gap: 15px; font-size: .9375rem; font-weight: 550; text-underline-offset: 6px; }
.text-link:hover { text-decoration: underline; }
.specialism { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; font-size: .875rem; color: #aebdd2; }
.platform-panel { min-width: 0; padding: 30px 30px 24px; background: var(--navy-light); border: 1px solid #3b4961; border-top: 3px solid var(--orange); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.panel-heading .eyebrow { color: #adbbcf; margin: 0; font-size: .75rem; }
.platform-name { font-size: 1.125rem; font-weight: 650; }
.platform-panel h2 { font-size: 2.25rem; line-height: 1.2; margin-block: 26px; }
.platform-row { display: grid; grid-template-columns: 48px 1fr 16px; gap: 14px; align-items: center; border-top: 1px solid #3b4961; padding-block: 23px; }
.module-code { color: var(--orange); font-size: .9375rem; font-weight: 650; }
.platform-row strong { display: block; font-size: 1rem; font-weight: 550; }
.platform-row small { display: block; color: #afbed1; font-size: .875rem; margin-top: 4px; }
.platform-row:hover strong { color: var(--orange); }
.platform-row > span:last-child { color: var(--orange); }
.panel-note { border-top: 1px solid #3b4961; padding-top: 20px; font-size: .875rem; color: #afbed1; }
.section-space { padding-block: 88px; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 90px; align-items: end; margin-bottom: 42px; }
.section-heading .eyebrow, .contact .eyebrow { color: var(--red); margin-bottom: 18px; }
.section-heading > p { color: var(--muted); max-width: 480px; font-size: 1.0625rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.benefit { border-top: 2px solid var(--orange); padding-top: 24px; }
.benefit-number { display: block; color: var(--muted); font-size: .8125rem; font-weight: 650; letter-spacing: .08em; margin-bottom: 20px; }
.benefit h3 { font-size: 1.5rem; }
.benefit p { color: var(--muted); margin-top: 15px; }
.source-note { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9375rem; }
.source-note p { color: var(--muted); }
.capabilities { background: #f2f5f9; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.capability { background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; }
.module-label { font-size: 2.8rem; line-height: 1; letter-spacing: -.04em; font-weight: 650; color: var(--red); margin-bottom: 28px; }
.capability h3 { font-size: 1.5rem; line-height: 1.25; }
.capability p { color: var(--muted); margin-top: 18px; padding-bottom: 28px; }
.capability-caption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 550; }
.platform-source { margin-top: 28px; }
.modernization-callout { display: grid; grid-template-columns: 1.25fr .85fr; gap: 64px; padding: 42px; margin-bottom: 42px; background: var(--navy); color: #fff; border-top: 3px solid var(--orange); }
.modernization-callout .eyebrow { color: var(--orange); margin-bottom: 16px; }
.modernization-callout h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.modernization-callout p { color: #c3cedd; margin-top: 18px; max-width: 700px; }
.modernization-callout .modernization-lead { color: #fff; font-size: 1.15rem; font-weight: 600; }
.modernization-callout .button { margin-top: 26px; }
.modernization-list { align-self: center; list-style: none; padding: 0; margin: 0; border-top: 1px solid #3b4961; }
.modernization-list li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid #3b4961; color: #d7dfeb; font-size: .9375rem; }
.modernization-list li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 7px; height: 7px; background: var(--orange); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px; box-shadow: inset 0 3px 0 var(--orange); }
.service-wide { grid-column: 1 / -1; }
.service-index { display: block; color: var(--muted); font-size: .8125rem; font-weight: 650; letter-spacing: .08em; margin-bottom: 25px; }
.service h3 { font-size: 1.9rem; }
.service p { color: var(--muted); margin-top: 20px; }
.service-list { padding: 0; margin: 24px 0 0; list-style: none; }
.service-list li { position: relative; padding: 8px 0 8px 18px; border-top: 1px solid #edf0f4; color: #43516a; font-size: .9375rem; line-height: 1.45; }
.service-list li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 6px; height: 6px; background: var(--orange); }
.service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.service-groups h4 { margin: 0; font-size: 1rem; letter-spacing: .02em; color: var(--red); text-transform: uppercase; }
.service-groups .service-list { margin-top: 12px; }
.tags { padding: 0; margin: 24px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: #f1f4f8; padding: 5px 10px; border-radius: 3px; font-size: .875rem; color: #43516a; }
.approach-section { background: #f2f5f9; padding-block: 72px; }
.approach-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: 100px; }
.approach-section .eyebrow { color: var(--red); margin-bottom: 22px; }
.approach-intro { color: var(--muted); margin-top: 24px; max-width: 400px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding-block: 24px; border-bottom: 1px solid #ced6e1; }
.steps li:first-child { padding-top: 0; }
.step-number { color: var(--red); font-size: .9375rem; font-weight: 650; padding-top: 3px; }
.steps h3 { font-size: 1.5rem; }
.steps p { margin-top: 10px; color: var(--muted); }
.ai-section { background: var(--navy); color: #fff; padding-block: 72px; }
.ai-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.ai-section .eyebrow { color: var(--orange); margin-bottom: 22px; }
.ai-section h2 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.2; }
.ai-section h2 span { color: var(--orange); }
.ai-copy p { color: #c3cedd; font-size: 1.0625rem; }
.ai-copy .text-link { color: var(--orange); margin-top: 24px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.contact h2 { margin-bottom: 24px; }
.contact p { color: var(--muted); max-width: 500px; }
.contact-details { border-left: 2px solid var(--orange); padding-left: 32px; }
.contact-label { font-size: .8125rem; font-weight: 650; letter-spacing: .1em; }
.email-link { display: flex; align-items: center; gap: 16px; font-size: clamp(1.15rem, 2.3vw, 1.75rem); font-weight: 550; margin: 12px 0 18px; }
.email-link:hover { color: var(--red); }
.contact-details p { font-size: .9375rem; }
.button-dark { background: var(--navy); color: #fff; margin-top: 26px; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-2px); }
  .button-primary:hover { background: #ffbc60; }
  .button-dark:hover { background: #2d4160; }
}
footer { border-top: 1px solid var(--line); padding-block: 28px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; color: var(--muted); font-size: .875rem; }
.footer-inner a:hover { text-decoration: underline; }
.footer-note { margin-top: 14px; color: var(--muted); font-size: .8125rem; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero-grid { gap: 36px; }
  nav { gap: 18px; }
  .section-heading, .contact-grid, .ai-grid, .approach-grid { gap: 42px; }
  .platform-panel { padding-inline: 22px; }
  .benefit-grid { gap: 24px; }
  .capability { padding: 24px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 54px; gap: 40px; }
  .hero-copy { max-width: 660px; }
  h1 { font-size: clamp(3rem, 7.5vw, 4.8rem); }
  .platform-panel { max-width: 660px; }
  .platform-panel h2 br { display: none; }
  .platform-row { padding-block: 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading > p { max-width: 650px; }
  .benefit-grid, .capability-grid { grid-template-columns: 1fr; gap: 24px; }
  .capability { display: grid; grid-template-columns: 95px 1fr; column-gap: 24px; }
  .module-label { grid-row: 1 / 4; margin: 0; }
  .capability p { padding-bottom: 20px; }
  .capability-caption { grid-column: 2; }
  .section-space { padding-block: 60px; }
  .service { padding: 28px; }
  .service h3 { font-size: 1.65rem; }
  .modernization-callout { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .service-groups { grid-template-columns: 1fr; gap: 24px; }
  .approach-grid, .ai-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .approach-intro { max-width: 600px; }
  .ai-section, .approach-section { padding-block: 54px; }
  .contact-details { max-width: 550px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .hero-grid { padding-block: 40px; }
  h1 { font-size: clamp(2.15rem, 9vw, 3rem); }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .07em; }
  .hero-description { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .platform-panel h2 { font-size: 1.8rem; }
  .platform-row { grid-template-columns: 38px 1fr 12px; gap: 10px; }
  .platform-row strong { font-size: .9375rem; }
  .platform-row small { font-size: .875rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-wide { grid-column: auto; }
  .modernization-callout { padding: 26px 22px; margin-inline: -2px; }
  .capability { display: flex; padding: 24px; }
  .module-label { margin-bottom: 22px; }
  .contact-details { padding-left: 20px; }
  .email-link { font-size: 1.25rem; gap: 10px; }
  .footer-inner { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button:hover, .button:active, .service:hover, .benefit:hover { transform: none !important; }
}
@media (forced-colors: active) { .button, .tags li { border: 1px solid ButtonText; } }

/* Page navigation stays reachable above mobile browser safe areas. */
.scroll-controls {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scroll-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #c67a1b;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 3px 12px rgb(16 27 48 / 20%);
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1;
}
.scroll-button:hover { background: #ffbc60; }
.scroll-button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
#page-top { scroll-margin-top: 0; }
#page-bottom { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
@media (forced-colors: active) {
  .scroll-button { border: 1px solid ButtonText; }
}

/* One shared navigation: disclosure on mobile/tablet, inline on desktop. */
.menu-toggle { display: none; }
.menu-icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }
.menu-toggle:focus-visible { outline: 3px solid #c57516; outline-offset: 3px; }
@media (max-width: 1024px) {
  .header-inner { min-height: 76px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; padding-block: 10px; }
  .site-header .brand { width: 190px; max-width: 100%; height: 56px; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); cursor: pointer; }
  .menu-toggle:hover { background: #f2f5f9; }
  #main-navigation { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; min-width: 0; padding-block: 12px 6px; margin-top: 10px; border-top: 1px solid var(--line); font-size: 1rem; }
  .navigation-ready #main-navigation { display: none; }
  .navigation-ready .menu-toggle[aria-expanded="true"] + #main-navigation { display: flex; }
  #main-navigation a { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; border-radius: 4px; overflow-wrap: anywhere; }
  #main-navigation a:hover { background: #f2f5f9; }
  #main-navigation a:focus-visible { outline-offset: 2px; }
  #main-navigation .nav-contact { justify-content: space-between; margin-top: 8px; padding-inline: 16px; background: var(--orange); color: var(--navy); border-color: var(--orange); font-weight: 600; }
  #main-navigation .nav-contact:hover { background: #ffbc60; }
}
@media (max-width: 767px) {
  .site-header .header-inner { width: calc(100% - 36px); min-height: 64px; padding-block: 8px; }
  .site-header .brand { width: 164px; height: 48px; }
}

/* Homepage refinement */
html { scroll-padding-top: 20px; }
.hero-grid { grid-template-columns: 1.3fr .9fr; padding-block: 68px; }
.hero h1 { font-size: clamp(2.65rem, 4.2vw, 4.15rem); max-width: 760px; }
.hero-tagline { margin-top: 23px; color: #fff; font-size: 1.1rem; font-weight: 600; }
.hero-tagline span { color: var(--orange); }
.hero-description { margin-top: 14px; }
.benefits-section { background: #f8fafc; }
.benefit-grid { gap: 18px; }
.benefit { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); padding: 24px; }
.benefit-number { margin-bottom: 14px; }
.benefit h3 { font-size: 1.3rem; line-height: 1.25; }
.benefit p { margin-top: 10px; }
.transparency-note { max-width: 850px; margin-top: 32px; color: var(--muted); font-size: .9375rem; }
.section-space { padding-block: 72px; }
.service-grid { border: 0; gap: 18px; }
.service { border: 1px solid var(--line); padding: 27px; min-width: 0; }
.benefit, .service { transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .benefit:hover, .service:hover { transform: translateY(-3px); box-shadow: 0 9px 20px rgb(16 27 48 / 10%); }
  .service:hover { box-shadow: inset 0 3px 0 var(--orange), 0 9px 20px rgb(16 27 48 / 10%); }
}
.service:focus-within { box-shadow: inset 0 3px 0 var(--orange), 0 0 0 2px rgb(197 117 22 / 40%); }
.service h3 { font-size: 1.5rem; }
.service p { margin-top: 12px; }
.service-keywords { font-size: .875rem; font-weight: 600; color: var(--red) !important; line-height: 1.6; }
.service-disclosure { margin-top: 18px; border-top: 1px solid var(--line); }
.service-disclosure summary { display: list-item; cursor: pointer; padding-block: 14px; font-weight: 600; color: var(--navy); }
.service-disclosure summary:hover { color: var(--red); }
.service-disclosure summary:focus-visible { outline: 3px solid #c57516; outline-offset: 2px; }
.service-detail { padding-bottom: 12px; }
.service-detail .service-list { margin-top: 0; }
.service-detail .service-groups { margin-top: 12px; }
.migration-section { background: #f2f5f9; }
.modernization-callout { margin-bottom: 0; }
.migration-path { display: grid; gap: 10px; align-self: center; list-style: none; margin: 0; padding: 0; }
.migration-path li { position: relative; display: flex; align-items: center; gap: 16px; min-height: 78px; padding: 14px 18px; border: 1px solid #40516b; border-radius: 8px; background: #25344d; }
.migration-path li:not(:last-child)::after { content: "↓"; position: absolute; z-index: 1; left: 30px; bottom: -17px; color: var(--orange); font-size: 1.15rem; line-height: 1; }
.migration-step-number { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(238, 151, 57, .16); color: var(--orange); font-size: .75rem; font-weight: 700; }
.migration-path strong, .migration-path small { display: block; }
.migration-path strong { color: #fff; font-size: 1rem; line-height: 1.3; }
.migration-path small { margin-top: 3px; color: #c3cedd; font-size: .875rem; line-height: 1.4; }
.modernization-callout .modernization-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-grid article { padding-top: 18px; border-top: 2px solid var(--orange); }
.trust-grid h3 { font-size: 1.2rem; }
.trust-grid p { margin-top: 10px; color: var(--muted); }
.capabilities { padding-block: 58px; }
.ai-section { padding-block: 58px; }
.site-header nav { gap: clamp(10px, 1.4vw, 22px); font-size: .875rem; }
.site-header .brand { width: 210px; height: 70px; }
@media (max-width: 1100px) {
  .modernization-callout { grid-template-columns: 1fr; }
  .migration-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .migration-path li:nth-child(3) { grid-column: 2; grid-row: 2; }
  .migration-path li:nth-child(4) { grid-column: 1; grid-row: 2; }
  .migration-path li:nth-child(2)::after { content: "↓"; }
  .migration-path li:nth-child(1)::after { content: "→"; left: auto; right: -15px; bottom: 50%; transform: translateY(50%); }
  .migration-path li:nth-child(3)::after { content: "←"; left: -15px; bottom: 50%; transform: translateY(50%); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header .brand { width: 190px; height: 56px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 48px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .site-header .brand { width: 164px; height: 48px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .section-space { padding-block: 52px; }
  .hero-grid { padding-block: 40px; }
  .hero h1 { font-size: clamp(2.05rem, 8vw, 2.8rem); }
  .benefit-grid, .trust-grid, .service-grid { grid-template-columns: 1fr; }
  .service-wide { grid-column: auto; }
  .benefit, .service { padding: 22px; }
  .migration-path { grid-template-columns: 1fr; }
  .migration-path li:nth-child(3), .migration-path li:nth-child(4) { grid-column: auto; grid-row: auto; }
  .migration-path li:nth-child(1)::after, .migration-path li:nth-child(3)::after { content: "↓"; left: 30px; right: auto; bottom: -17px; transform: none; }
  .modernization-callout .modernization-list { grid-template-columns: 1fr; }
  .modernization-callout { padding: 24px 20px; }
  .source-note { flex-direction: column; }
}
