.ems-editorial {
  --ems-rule: #d7e1e9;
  --ems-muted: #50677d;
  background: #fff;
}

.ems-editorial main {
  background: #fff;
}

.ems-editorial .site-nav a[data-active="true"] {
  color: var(--brand-700);
}

.ems-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
}

.ems-hero {
  padding: clamp(8.5rem, 12vw, 11rem) 0 clamp(4.5rem, 6vw, 6rem);
  border-bottom: 1px solid var(--ems-rule);
}

.ems-hero__copy {
  position: relative;
  padding-top: 0;
}

.ems-label {
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-700);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ems-label--neutral {
  color: var(--ems-muted);
}

.ems-hero h1 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(2.6rem, 5.2vw, 4.7rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.ems-intro {
  max-width: 35rem;
  margin-top: 1.5rem;
  color: var(--ems-muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.72;
}

.ems-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.ems-button,
.ems-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.6;
}

.ems-button {
  padding: .85rem 1.2rem;
  border: 1px solid var(--brand-700);
  border-radius: 5px;
  background: var(--brand-700);
  color: #fff;
  text-align: center;
}

.ems-button:hover,
.ems-button:focus-visible {
  background: #174e6e;
  border-color: #174e6e;
}

.ems-button:active {
  transform: translateY(1px);
}

.ems-text-link {
  justify-content: flex-start;
  gap: .65rem;
  color: var(--brand-700);
  text-underline-offset: .3em;
}

.ems-text-link::after {
  content: "\2192";
}

.ems-text-link:hover,
.ems-text-link:focus-visible {
  text-decoration: underline;
}

.ems-editorial main a:focus-visible {
  outline: 2px solid var(--brand-700);
  outline-offset: 4px;
}

.ems-trust {
  margin-top: 1.4rem;
  color: var(--ems-muted);
  font-size: .75rem;
  line-height: 1.8;
}

.ems-trust span {
  margin-inline: .6rem;
}

.ems-workspace,
.ems-outcomes {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--ems-rule);
  border-radius: 6px;
  background: #f9fbfd;
  color: var(--color-text);
}

.ems-hero .ems-layout {
  position: relative;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.ems-workspace {
  --ems-ui-unit: .85rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 10px 30px rgba(16, 38, 61, .06);
}

.ems-workspace figcaption {
  display: flex;
  align-items: center;
  gap: calc(.8 * var(--ems-ui-unit));
  padding: calc(.85 * var(--ems-ui-unit)) calc(1 * var(--ems-ui-unit));
  border-bottom: 1px solid #cdd7e2;
  background: #e7ecf1;
  font-size: calc(.75 * var(--ems-ui-unit));
}

.ems-workspace figcaption strong {
  font-size: calc(.8125 * var(--ems-ui-unit));
}

.ems-workspace__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: calc(.5 * var(--ems-ui-unit)) calc(1.25 * var(--ems-ui-unit));
  padding: calc(.75 * var(--ems-ui-unit)) calc(1 * var(--ems-ui-unit));
  border-bottom: 1px solid var(--ems-rule);
  color: var(--ems-muted);
  font-size: calc(.6875 * var(--ems-ui-unit));
}

.ems-workspace__toolbar strong {
  color: var(--color-text);
}

.ems-workspace__toolbar strong span {
  margin-left: calc(.4 * var(--ems-ui-unit));
}

.ems-workspace__panes {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) minmax(0, 1.15fr);
  gap: calc(.5 * var(--ems-ui-unit));
  padding: calc(.5 * var(--ems-ui-unit));
  background: #e9edf2;
}

.ems-workspace__trips,
.ems-workspace__narrative,
.ems-workspace__coding {
  min-width: 0;
  border: 1px solid var(--ems-rule);
  border-radius: 3px;
  background: #fff;
}

.ems-workspace__pane-label {
  margin: 0;
  padding: calc(.75 * var(--ems-ui-unit));
  color: var(--ems-muted);
  font-size: calc(.6875 * var(--ems-ui-unit));
  font-weight: 600;
  line-height: 1.6;
}

.ems-workspace__trips > .ems-workspace__pane-label {
  border-bottom: 1px solid var(--ems-rule);
  color: var(--color-text);
}

.ems-workspace__trips li {
  padding: calc(.85 * var(--ems-ui-unit)) calc(.65 * var(--ems-ui-unit));
  border-bottom: 1px solid var(--ems-rule);
  font-size: calc(.75 * var(--ems-ui-unit));
  line-height: 1.65;
}

.ems-workspace__trips li span,
.ems-workspace__trips li small,
.ems-workspace__trips li em {
  display: block;
  margin-top: calc(.2 * var(--ems-ui-unit));
  color: var(--ems-muted);
  font-size: calc(.6875 * var(--ems-ui-unit));
  font-style: normal;
}

.ems-workspace__trips .ems-workspace__selected {
  border-left: 3px solid #2b918c;
  padding-left: calc(calc(.65 * var(--ems-ui-unit)) - 3px);
  background: #edf5f4;
}

.ems-workspace__trips li em {
  color: #246d69;
  font-weight: 600;
}

.ems-workspace__tabs {
  display: flex;
  border-bottom: 1px solid var(--ems-rule);
  background: #f5f7fa;
}

.ems-workspace__tabs button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: calc(.45 * var(--ems-ui-unit)) calc(.3 * var(--ems-ui-unit));
  border-bottom: 2px solid transparent;
  color: var(--ems-muted);
  font-size: calc(.6875 * var(--ems-ui-unit));
  line-height: 1.45;
}

.ems-workspace__tabs button[aria-selected="true"] {
  border-color: #2b918c;
  color: #246d69;
  background: #fff;
}

.ems-workspace__tabs button:hover {
  color: var(--color-text);
  background: #edf2f6;
}

.ems-workspace__tabs button:focus-visible,
.ems-workspace__panel:focus-visible {
  position: relative;
  outline: 2px solid var(--brand-700);
  outline-offset: -3px;
  z-index: 1;
}

.ems-workspace__panel {
  padding: calc(.75 * var(--ems-ui-unit));
  min-height: calc(26 * var(--ems-ui-unit));
}

.ems-workspace__panel > .ems-workspace__pane-label {
  padding: calc(.85 * var(--ems-ui-unit)) 0 calc(.25 * var(--ems-ui-unit));
}

.ems-workspace__panel p {
  margin: 0 0 calc(.85 * var(--ems-ui-unit));
  color: var(--ems-muted);
  font-size: calc(.75 * var(--ems-ui-unit));
  line-height: 1.8;
}

.ems-workspace__citation {
  padding: calc(.75 * var(--ems-ui-unit));
  border: 1px solid var(--ems-rule);
  border-radius: 3px;
  background: #f5f7fa;
}

.ems-workspace__citation strong {
  color: var(--ems-muted);
  font-size: calc(.625 * var(--ems-ui-unit));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.ems-workspace__citation p {
  margin: calc(.5 * var(--ems-ui-unit)) 0 0;
  font-size: calc(.6875 * var(--ems-ui-unit));
}

.ems-workspace__subnote,
.ems-workspace__panel .ems-workspace__subnote {
  margin: 0;
  padding: calc(.75 * var(--ems-ui-unit));
  color: var(--ems-muted);
  font-size: calc(.625 * var(--ems-ui-unit));
  line-height: 1.7;
}

.ems-workspace__panel .ems-workspace__subnote {
  padding: 0;
}

.ems-workspace__case {
  display: flex;
  flex-direction: column;
  gap: calc(.4 * var(--ems-ui-unit));
  padding: calc(.85 * var(--ems-ui-unit)) calc(.75 * var(--ems-ui-unit));
  border-bottom: 1px solid var(--ems-rule);
  font-size: calc(.8125 * var(--ems-ui-unit));
}

.ems-workspace__case span {
  color: #815416;
  font-size: calc(.6875 * var(--ems-ui-unit));
}

.ems-workspace__coding dl {
  padding: 0 calc(.75 * var(--ems-ui-unit));
}

.ems-workspace__coding dl > div {
  display: grid;
  grid-template-columns: calc(3 * var(--ems-ui-unit)) minmax(0, 1fr);
  gap: calc(.25 * var(--ems-ui-unit));
  padding: calc(.9 * var(--ems-ui-unit)) 0;
  border-bottom: 1px solid var(--ems-rule);
}

.ems-workspace__coding dt {
  color: var(--ems-muted);
  font-size: calc(.625 * var(--ems-ui-unit));
  line-height: 1.8;
  text-transform: uppercase;
}

.ems-workspace__coding dd {
  font-size: calc(.75 * var(--ems-ui-unit));
  line-height: 1.6;
}

.ems-workspace__coding dd span {
  display: block;
  margin-top: calc(.25 * var(--ems-ui-unit));
  color: var(--ems-muted);
  font-size: calc(.6875 * var(--ems-ui-unit));
}

.ems-workspace__review-note {
  margin: calc(.75 * var(--ems-ui-unit));
  padding: calc(.65 * var(--ems-ui-unit)) calc(.5 * var(--ems-ui-unit));
  background: #edf5f4;
  color: #246d69;
  text-align: center;
  font-size: calc(.6875 * var(--ems-ui-unit));
  font-weight: 600;
}

.ems-workspace__rationale > div {
  padding-block: calc(.8 * var(--ems-ui-unit));
  border-bottom: 1px solid var(--ems-rule);
  font-size: calc(.75 * var(--ems-ui-unit));
  line-height: 1.7;
}

.ems-workspace__rationale dt {
  color: var(--ems-muted);
  font-size: calc(.6875 * var(--ems-ui-unit));
}

.ems-workspace__rationale dd {
  margin-top: calc(.25 * var(--ems-ui-unit));
  font-weight: 600;
}

.ems-outcomes dt {
  color: var(--ems-muted);
  font-size: .75rem;
  line-height: 1.7;
}
.ems-report-note {
  margin: 0;
  padding: .85rem 1.25rem;
  border-top: 1px solid var(--ems-rule);
  color: var(--ems-muted);
  font-size: .6875rem;
  line-height: 1.7;
}

.ems-white {
  background: #fff;
}

#ems-capabilities,
#ems-integrations {
  scroll-margin-top: 7rem;
}

.ems-section-heading {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.ems-section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.ems-section-heading p,
.ems-capability p,
.ems-proof__point p,
.ems-integration p,
.ems-partner p {
  margin-top: .85rem;
  color: var(--ems-muted);
  font-size: .9375rem;
  line-height: 1.85;
}

.ems-capabilities,
.ems-integrations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
}

.ems-capability {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.75rem 0 2rem;
  border-top: 1px solid var(--ems-rule);
}

.ems-index {
  padding-top: .15rem;
  color: var(--brand-700);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.8;
}

.ems-capability h3,
.ems-integration h3,
.ems-partner h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.02em;
}

.ems-capability p {
  margin-top: .6rem;
}

.ems-section-link {
  margin-top: .5rem;
}

.ems-proof {
  background: #0b2032;
  color: #fff;
}

.ems-proof .ems-label,
.ems-proof .ems-index {
  color: #a6d1eb;
}

.ems-proof .ems-section-heading p,
.ems-proof__point p {
  color: #cbd7e1;
}

.ems-proof__point {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: .8rem;
  padding: 1.3rem 0;
  border-top: 1px solid #344c60;
}

.ems-proof__point h3 {
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.6;
}

.ems-proof__point p {
  margin-top: .4rem;
  font-size: .875rem;
}

.ems-outcomes figcaption {
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--ems-rule);
  font-size: 1rem;
  font-weight: 700;
}

.ems-outcomes__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 1.5rem;
}

.ems-outcomes__metrics > div {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--ems-rule);
}

.ems-outcomes__metrics > div:nth-child(even) {
  padding-left: 1.25rem;
  border-left: 1px solid var(--ems-rule);
}

.ems-outcomes dd {
  margin-top: .4rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.ems-outcomes__table {
  width: calc(100% - 3rem);
  margin: 1.5rem;
  border-collapse: collapse;
  table-layout: fixed;
}

.ems-outcomes__table caption {
  padding-bottom: .75rem;
  text-align: left;
  font-size: .8125rem;
  font-weight: 700;
}

.ems-outcomes__table th,
.ems-outcomes__table td {
  padding: .65rem 0;
  vertical-align: top;
  font-size: .75rem;
  font-weight: 500;
}

.ems-outcomes__table th {
  text-align: left;
}

.ems-outcomes__value-column {
  width: 3rem;
}

.ems-outcomes__table td {
  width: 3rem;
  text-align: right;
  font-weight: 700;
}

.ems-outcomes__track {
  display: block;
  height: 4px;
  margin-top: .6rem;
  background: #e1e7ed;
}

.ems-outcomes__track > span {
  display: block;
  height: 100%;
  background: var(--brand-700);
}

.ems-integration {
  padding: 2rem 0;
  border-top: 2px solid var(--color-text);
}

.ems-integration__logo {
  width: auto;
  max-width: 180px;
  height: 36px;
  margin-bottom: 1.5rem;
  object-fit: contain;
  object-position: left center;
}

.ems-integration ul {
  display: grid;
  gap: .5rem;
  margin-top: 1.25rem;
  padding-left: 1.2rem;
  list-style: disc;
  color: var(--ems-muted);
  font-size: .8125rem;
  line-height: 1.7;
}

.ems-integration li::marker {
  color: var(--brand-700);
}

.ems-partner {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ems-rule);
}

.ems-partner > div {
  max-width: 44rem;
}

.ems-partner .ems-text-link {
  flex-shrink: 0;
}

.ems-closing {
  border-top: 1px solid var(--ems-rule);
  background: #f6f8fa;
}

.ems-closing__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4rem;
}

.ems-closing .ems-section-heading {
  margin: 0;
}

.ems-closing .ems-actions {
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}

@media (max-width: 1199px) {
  .ems-hero .ems-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ems-workspace {
    --ems-ui-unit: 1rem;
    width: 100%;
    max-width: 38rem;
  }
}

@media (max-width: 1023px) {
  .ems-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .ems-hero__copy {
    max-width: 42rem;
    padding: 0;
  }

  .ems-outcomes {
    width: 100%;
    max-width: 42rem;
  }

  .ems-proof .ems-section-heading {
    max-width: 40rem;
  }

  .ems-closing__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ems-closing .ems-actions {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .ems-hero {
    padding: 7.5rem 0 3.5rem;
  }

  .ems-capabilities,
  .ems-integrations {
    grid-template-columns: minmax(0, 1fr);
  }

  .ems-capability {
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: .75rem;
    padding-block: 1.5rem;
  }

  .ems-partner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .ems-section-heading {
    margin-bottom: 2rem;
  }

  .ems-workspace__panes {
    grid-template-columns: minmax(0, 1fr);
  }

  .ems-workspace__trips ul,
  .ems-workspace__coding dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ems-workspace__panel {
    min-height: 20rem;
  }

  .ems-workspace__coding dl > div {
    margin-inline: .25rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .ems-outcomes figcaption {
    padding-inline: 1rem;
  }

  .ems-outcomes__metrics {
    padding-inline: 1rem;
  }

  .ems-outcomes__table {
    width: calc(100% - 2rem);
    margin-inline: 1rem;
  }
}

@media (max-width: 359px) {
  .ems-button {
    width: 100%;
  }

  .ems-outcomes__metrics > div:nth-child(even) {
    padding-left: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ems-button:active {
    transform: none;
  }
}
