@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/branding/fonts/ibm-plex-sans-latin-300-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/branding/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/branding/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/branding/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
}

:root {
  --ink: #161616;
  --muted: #525252;
  --border: #e0e0e0;
  --border-strong: #c6c6c6;
  --paper: #f4f4f4;
  --blue: #0f62fe;
  --blue-hover: #0043ce;
  --blue-soft: #edf5ff;
  --violet-soft: #f1ebff;
  font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: white;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
input, textarea, button { font: inherit; }
a { color: var(--blue-hover); }
button { cursor: pointer; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.027em; text-wrap: pretty; }
strong { font-weight: 600; }
[id] { scroll-margin-top: 110px; }
:is(a, button, input, textarea, summary):focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { color: white; background: var(--blue-hover); }

.container { width: min(1520px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 12px 16px; border: 2px solid var(--blue); background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.masthead { position: sticky; z-index: 10; top: 0; background: white; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; min-height: 88px; align-items: stretch; }
.brand { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 174px; }
.header-inner > .brand { padding-right: clamp(16px, 3vw, 46px); border-right: 1px solid var(--border-strong); }
.main-nav { display: flex; flex: 1; align-items: stretch; padding-inline: 10px; }
.main-nav a { display: flex; align-items: center; padding-inline: clamp(10px, 1.3vw, 22px); color: var(--ink); font-size: 15px; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { background: var(--paper); }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 50px; padding: 12px 16px; border: 1px solid transparent; font-size: 16px; font-weight: 500; line-height: 1.3; text-decoration: none; }
.button-primary { color: white; background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.button-outline { color: var(--blue-hover); background: white; border-color: var(--blue); }
.button-outline:hover { background: var(--blue-soft); }
.header-quote { align-self: center; flex-shrink: 0; }
.arrow { font-family: Arial, sans-serif; font-size: 22px; font-weight: 400; line-height: 1; }

.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 4vw, 64px); padding-block: clamp(42px, 5vw, 76px); }
.hero h1 { max-width: 17ch; color: var(--blue); font-size: clamp(42px, 4.25vw, 68px); font-weight: 300; line-height: 1.06; letter-spacing: -.027em; }
.hero-detail { max-width: 47ch; margin-top: 20px; color: var(--muted); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; }
.hero-pricing { display: flex; gap: 22px; width: fit-content; margin-top: 18px; padding-block: 10px; border-block: 1px solid var(--border); }
.hero-pricing div + div { padding-left: 22px; border-left: 1px solid var(--border); }
.hero-pricing dt { color: var(--muted); font-size: 14px; }
.hero-pricing dd { color: #001d6c; font-size: 24px; font-weight: 500; line-height: 1.14; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.migration-figure { min-width: 0; padding: clamp(8px, 1.3vw, 19px); border: 1px solid #d0e2ff; background: var(--blue-soft); }
.mapping-window { min-width: 0; border: 1px solid var(--border-strong); background: #f7f9fc; }
.mapping-heading { display: flex; align-items: center; gap: 12px; padding: 16px clamp(14px, 2vw, 24px); border-bottom: 1px solid var(--border); background: white; }
.mapping-heading img { flex: 0 0 auto; width: 38px; }
.mapping-label { font-size: 13px; color: var(--muted); }
.mapping-heading h2 { font-size: 23px; font-weight: 500; line-height: 1.2; }
.mapping-grid { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); align-items: start; gap: clamp(5px, 1vw, 16px); padding: clamp(12px, 2vw, 24px); }
.mapping-side { min-width: 0; }
.endpoint { display: grid; gap: 1px; min-height: 68px; padding: 9px 12px; border-left: 3px solid; }
.endpoint-source { background: var(--blue-soft); border-color: var(--blue); }
.endpoint-target { background: var(--violet-soft); border-color: #6929c4; }
.endpoint-label { color: var(--muted); font-size: 13px; }
.endpoint strong { align-self: start; font-size: clamp(14px, 1.25vw, 17px); line-height: 1.25; }
.mapping-direction { display: grid; place-items: center; align-self: stretch; color: var(--blue-hover); font-size: 20px; }
.mapping-list { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.mapping-list li { display: flex; flex-direction: column; gap: 4px; min-height: 65px; padding: 9px 11px; border: 1px solid var(--border); background: white; }
.mapping-list span { color: var(--muted); font-size: 12px; line-height: 1.25; }
.mapping-list strong { font-size: clamp(13px, 1vw, 15px); font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.mapping-summary { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); background: white; }
.mapping-summary div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px clamp(12px, 2vw, 24px); }
.mapping-summary div + div { border-left: 1px solid var(--border); }
.mapping-summary dt { color: var(--muted); font-size: 13px; }
.mapping-summary dd { color: var(--blue-hover); font-size: 22px; line-height: 1; }
figcaption { margin-top: 10px; color: #001d6c; font-size: 14px; line-height: 1.4; }

.section { padding-block: clamp(48px, 6vw, 86px); }
.section-muted { border-block: 1px solid var(--border); background: var(--paper); }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(33px, 4vw, 54px); line-height: 1.08; }
.section-heading p { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 38px); align-items: start; }
.table-frame { min-width: 0; padding: 0; border: 1px solid var(--border-strong); background: white; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { padding: 15px 16px; text-align: left; color: var(--ink); font-size: 19px; font-weight: 500; }
thead { background: var(--blue-soft); }
th, td { padding: 12px 16px; border-top: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.35; }
th { font-weight: 500; }
.report-summary { padding: clamp(18px, 2.6vw, 30px); border-left: 3px solid var(--blue); background: var(--blue-soft); }
.report-summary h3, .coverage-card h3 { font-size: 24px; line-height: 1.2; }
.report-summary ul, .coverage-list { display: grid; gap: 10px; margin: 15px 0 0; padding-left: 20px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.report-summary li::marker, .coverage-list li::marker { color: var(--blue-hover); }

.path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--border-strong); border-top: 3px solid var(--blue); }
.path-grid li { border-right: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); padding: clamp(18px, 3vw, 32px); }
.path-grid h3 { font-size: clamp(22px, 2.2vw, 32px); }
.path-grid p { margin-top: 10px; color: var(--muted); line-height: 1.54; }
.coverage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.coverage-card { padding: clamp(20px, 3vw, 34px); border: 1px solid var(--border-strong); background: white; }
.faq-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 30px; }
.faq-list { border-top: 1px solid var(--border-strong); }
details { border-bottom: 1px solid var(--border-strong); }
summary { padding: 17px 2px; cursor: pointer; font-size: 17px; font-weight: 500; }
summary::marker { color: var(--blue); }
details p { padding-bottom: 18px; color: var(--muted); line-height: 1.55; }

.pricing-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.pricing-packs li { border: 1px solid var(--border-strong); border-top: 3px solid var(--blue); padding: clamp(14px, 2.2vw, 26px); background: white; }
.pricing-packs h3 { font-size: 19px; }
.pricing-packs strong { display: block; margin-block: 10px 7px; color: #001d6c; font-size: clamp(22px, 3.2vw, 39px); font-weight: 500; line-height: 1.05; overflow-wrap: anywhere; }
.pricing-packs p, .pricing-note { color: var(--muted); line-height: 1.45; }
.pricing-note { margin-top: 14px; font-size: 14px; }
.pricing-quote { margin-top: clamp(36px, 5vw, 64px); }
.pricing-quote h2 { font-size: clamp(28px, 3.4vw, 43px); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: 'count estimate' 'contact estimate'; gap: 19px clamp(18px, 3vw, 38px); align-items: start; }
#quote-form { border: 1px solid var(--border-strong); padding: clamp(18px, 3vw, 30px); background: white; }
.quote-count { grid-area: count; }
.quote-contact { grid-area: contact; display: grid; gap: 19px; min-width: 0; }
#quote-form label { display: block; min-width: 0; font-size: 15px; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }
#quote-form :is(input, textarea) { display: block; width: 100%; padding: 12px; margin-top: 7px; min-height: 48px; border: 0; border-bottom: 1px solid #8d8d8d; border-radius: 0; background: var(--paper); color: var(--ink); }
#quote-form textarea { resize: vertical; }
#quote-form input[aria-invalid='true'] { border-bottom-color: #a2191f; }
.field-error { margin-top: 7px; color: #a2191f; font-size: 14px; }
.quote-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { flex: 1 1 195px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.quote-action button:disabled { opacity: .68; cursor: default; }
.quote-status { font-size: 15px; line-height: 1.45; }
.quote-status:empty { display: none; }
.quote-status[data-state='success'] { color: #0e6027; }
.quote-status:is([data-state='error'], [data-state='verification']) { color: #a2191f; }
.estimate { grid-area: estimate; padding: clamp(16px, 3vw, 28px); border-left: 3px solid var(--blue); background: var(--blue-soft); }
.estimate h3 { font-size: 17px; font-weight: 500; letter-spacing: 0; }
.estimate-total { display: block; margin-top: 10px; color: #001d6c; font-size: clamp(27px, 4vw, 45px); font-weight: 500; line-height: 1.08; }
.estimate-total:empty, .estimate-scope:empty { display: none; }
.estimate-scope, .estimate-note { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.estimate-lines { margin: 16px 0 0; padding: 0; border-top: 1px solid #bfd2ee; list-style: none; }
.estimate-lines li { display: flex; justify-content: space-between; gap: 10px; padding-block: 8px; border-bottom: 1px solid #bfd2ee; font-size: 15px; }
.estimate-lines li span:last-child { font-weight: 600; white-space: nowrap; }
.footer { padding: 64px 0 24px; border-top: 1px solid #525252; background: var(--ink); color: white; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 64px; padding-bottom: 56px; }
.footer .brand { width: 196px; max-width: 100%; }
.footer .brand img { width: 100%; }
.footer-nav h2 { margin-bottom: 24px; font-size: .9375rem; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.footer-nav a { display: block; width: fit-content; margin-bottom: 14px; color: #c6c6c6; font-size: .9375rem; line-height: 1.5; text-decoration: none; }
.footer-nav a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.footer a:focus-visible { outline-color: #78a9ff; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-top: 24px; border-top: 1px solid #525252; }
.footer-bottom p { max-width: 580px; color: #c6c6c6; font-size: .8125rem; line-height: 1.6; }

@media (max-width: 1199px) {
  .footer-main { gap: 40px; }
}

@media (max-width: 767px) {
  .footer { padding-top: 48px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-bottom: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}

@media (max-width: 540px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 960px) {
  .container { width: calc(100% - 40px); }
  .hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; }
  .hero h1 { font-size: clamp(37px, 4.75vw, 57px); }
  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  [id] { scroll-margin-top: 140px; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 0; align-items: center; }
  .header-inner > .brand { grid-column: 1; grid-row: 1; margin-right: 7px; padding-right: 0; border-right: 0; }
  .brand img { width: 143px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--border); padding: 0; justify-content: space-between; }
  .main-nav a { min-height: 44px; padding-inline: 6px; font-size: 14px; }
  .header-quote { grid-column: 2; grid-row: 1; min-height: 42px; gap: 8px; padding: 8px 11px; font-size: 14px; }
  .header-quote .arrow { font-size: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 38px 44px; }
  .hero h1 { max-width: 15ch; }
  .hero-detail { margin-top: 16px; }
  .review-grid, .quote-grid, .faq-section { grid-template-columns: minmax(0, 1fr); }
  .quote-grid { grid-template-areas: 'count' 'estimate' 'contact'; }
  .pricing-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-section { gap: 0; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 32px); }
  .main-nav a { padding-inline: 4px; font-size: 13px; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 43px); }
  .actions { gap: 8px; }
  .actions .button { gap: 9px; min-height: 46px; padding: 10px 8px; font-size: 14px; }
  .actions .arrow { font-size: 18px; }
  .mapping-grid { grid-template-columns: minmax(0, 1fr) 15px minmax(0, 1fr); }
  .endpoint, .mapping-list li { padding-inline: 7px; }
  .path-grid, .coverage-grid { grid-template-columns: minmax(0, 1fr); }
  table { font-size: 13px; }
  th, td { padding: 10px 8px; }
}
