/*
 * Copyright 2020 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */
:root {
  --gutter: 2.4rem;
  --nav-height: 8rem;
  --type-header2: 3.2rem;
  --type-header3: 2.4rem;
  --type-header4: 2.4rem;
  --type-body3: 1.6rem;
  --fg: #001823;
  --fg-muted: #5e7079;
  --link: #245a73;
  --link-hover: #001823;
  --focus: #001823;
  --accent-text: #b82d1f;
  --btn-primary-bg: #db3725;
  --btn-primary-fg: #fff;
  --btn-primary-bg-hover: #b82d1f;
  --btn-primary-fg-hover: #fff;
  --btn-secondary-bg: #fff;
  --btn-secondary-fg: #db3725;
  --btn-secondary-border: #db3725;
  --btn-secondary-bg-hover: #fff;
  --btn-secondary-fg-hover: #b82d1f;
  --btn-secondary-border-hover: #b82d1f;
  --btn-accent-bg: #30718d;
  --btn-accent-fg: #fff;
  --btn-accent-bg-hover: #245a73;
  --btn-accent-fg-hover: #fff;
  color: var(--fg);
}

@media (width > 640px) {
  :root {
    --gutter: 4rem;
    --type-header2: 4rem;
    --type-header3: 3.2rem;
  }
}
@media (width >= 992px) {
  :root {
    --type-header2: 5.6rem;
    --type-header3: 4rem;
    --type-header4: 3.2rem;
    --type-body3: 2rem;
  }
}
@media (width > 1150px) {
  :root {
    --nav-height: 13rem;
  }
}
@font-face {
  font-family: roboto-fallback;
  ascent-override: 91%;
  size-adjust: 100.06%;
  src: local("Arial");
}
@font-face {
  font-family: ibm-plex-serif-fallback;
  ascent-override: 98%;
  size-adjust: 117.12%;
  src: local("Times New Roman");
}
html {
  font-size: 62.5%;
}

body {
  display: none;
  margin: 0;
  background-color: #fff;
  color: var(--fg);
  font-family: roboto, roboto-fallback, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
}

body.appear {
  display: block;
}

.skip-link {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 100;
  padding: 1.2rem 1.6rem;
  border-radius: 4px;
  background: #001823;
  color: #fff;
  font-weight: 500;
  transform: translateY(calc(-100% - 1.6rem));
}
.skip-link:focus-visible {
  transform: none;
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.skip-link:any-link, .skip-link:hover {
  color: #fff;
  text-decoration: underline;
}

main [tabindex="-1"]:focus {
  outline: none;
}

header {
  height: var(--nav-height);
}

header .header,
footer .footer {
  visibility: hidden;
}

header .header[data-block-status=loaded],
footer .footer[data-block-status=loaded] {
  visibility: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0.8em;
  margin-bottom: 0.25em;
  scroll-margin-top: calc(var(--nav-height) + 1.6rem);
}

h1 {
  font-size: var(--type-header2);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: var(--type-header4);
  font-weight: 300;
  line-height: 1.2;
}

h3 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

h4 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

h5 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

h6 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

:is(h1, h2, h3, h4, h5, h6) :is(strong, b) {
  font-weight: 700;
}

.lead,
main .default-content-wrapper :is(p, ul, ol) {
  font-size: var(--type-body3);
  line-height: 1.5;
}

small,
.small {
  font-size: 1.2rem;
  line-height: 1.5;
}

.serif {
  font-family: ibm-plex-serif, ibm-plex-serif-fallback, serif;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

p,
dl,
ol,
ul,
pre,
blockquote {
  margin-top: 0.8em;
  margin-bottom: 0.25em;
}

code,
pre {
  font-size: 1.6rem;
}

pre {
  padding: 1.6rem;
  border-radius: 8px;
  background-color: #f8f8f8;
  overflow-x: auto;
  white-space: pre;
}

main > div {
  margin: 4rem 1.6rem;
}

input,
textarea,
select,
button {
  font: inherit;
}

a:any-link {
  color: var(--link);
  text-decoration: none;
  overflow-wrap: break-word;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

main :is(p, li) a:any-link:not(.button) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

p.button-wrapper {
  margin: 1.2rem 0;
}

a.button:any-link,
button.button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 5.6rem;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 1.2rem 2.4rem;
  font: inherit;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.button:any-link:focus-visible,
button.button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

a.button.primary,
button.button.primary {
  border-color: var(--btn-primary-bg);
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
}
a.button.primary:hover,
button.button.primary:hover {
  border-color: var(--btn-primary-bg-hover);
  background-color: var(--btn-primary-bg-hover);
  color: var(--btn-primary-fg-hover);
}

a.button.secondary,
button.button.secondary {
  border-color: var(--btn-secondary-border);
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-fg);
}
a.button.secondary:hover,
button.button.secondary:hover {
  border-color: var(--btn-secondary-border-hover);
  background-color: var(--btn-secondary-bg-hover);
  color: var(--btn-secondary-fg-hover);
}

a.button.accent,
button.button.accent {
  border-color: var(--btn-accent-bg);
  background-color: var(--btn-accent-bg);
  color: var(--btn-accent-fg);
}
a.button.accent:hover,
button.button.accent:hover {
  border-color: var(--btn-accent-bg-hover);
  background-color: var(--btn-accent-bg-hover);
  color: var(--btn-accent-fg-hover);
}

a.button.link:any-link {
  min-width: 0;
  min-height: 2.4rem;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  white-space: normal;
}
a.button.link:any-link:hover {
  color: var(--accent-text);
  text-decoration-thickness: 2px;
}

a.button[aria-disabled=true],
button.button:is(:disabled, [aria-disabled=true], .disable) {
  border-color: #f8f8f8;
  background-color: #f8f8f8;
  color: #505050;
  cursor: not-allowed;
}

a.button[aria-disabled=true],
button.button:disabled {
  pointer-events: none;
}

:is(a, button).button.secondary:is([aria-disabled=true], .disable) {
  border-color: #c7ccce;
  background-color: #fff;
  color: #7b8a92;
}

.block-copy > :first-child {
  margin-top: 0;
}

.block-copy .eyebrow {
  display: block;
  margin-bottom: 1.6rem;
  color: var(--accent-text);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.block-copy :is(h1, h2, h3, h4, h5, h6) .eyebrow {
  font-size: 1.6rem;
  line-height: 1.5;
}

.block-copy .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.block-copy .actions p.button-wrapper {
  flex: 1 1 100%;
  margin: 0;
}

.block-copy .actions a.button {
  width: 100%;
}

.block-copy .actions a.button.link {
  width: auto;
}

@media (width > 640px) {
  .block-copy .actions p.button-wrapper {
    flex: 0 1 auto;
  }
  .block-copy .actions a.button:not(.link) {
    width: auto;
    min-width: 17rem;
  }
}
@media (width <= 640px) {
  .block.focus-m-top-left .block-media img {
    object-position: left top;
  }
  .block.focus-m-top .block-media img {
    object-position: center top;
  }
  .block.focus-m-top-right .block-media img {
    object-position: right top;
  }
  .block.focus-m-left .block-media img {
    object-position: left center;
  }
  .block.focus-m-right .block-media img {
    object-position: right center;
  }
  .block.focus-m-bottom-left .block-media img {
    object-position: left bottom;
  }
  .block.focus-m-bottom .block-media img {
    object-position: center bottom;
  }
  .block.focus-m-bottom-right .block-media img {
    object-position: right bottom;
  }
}
@media (width > 640px) {
  .block.focus-top-left .block-media img {
    object-position: left top;
  }
  .block.focus-top .block-media img {
    object-position: center top;
  }
  .block.focus-top-right .block-media img {
    object-position: right top;
  }
  .block.focus-left .block-media img {
    object-position: left center;
  }
  .block.focus-right .block-media img {
    object-position: right center;
  }
  .block.focus-bottom-left .block-media img {
    object-position: left bottom;
  }
  .block.focus-bottom .block-media img {
    object-position: center bottom;
  }
  .block.focus-bottom-right .block-media img {
    object-position: right bottom;
  }
}
main img {
  max-width: 100%;
  width: auto;
  height: auto;
}

.icon {
  display: inline-block;
  height: 2.4rem;
  width: 2.4rem;
}

.icon img {
  height: 100%;
  width: 100%;
}

main > .section {
  margin: 4rem 0;
}

main > .section > div {
  max-width: 125.2rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main > .section:first-of-type {
  margin-top: 0;
}

main > .section > div + div {
  margin-top: 3.2rem;
}

main > .section > .section-heading-wrapper + div {
  margin-top: 4.8rem;
}

main > .section > div > :first-child {
  margin-top: 0;
}

main > .section > div > :last-child {
  margin-bottom: 0;
}

main > .section:is(.gray, .light-teal, .teal, .dark-teal) {
  margin: 0;
  padding: 4rem 0;
}

main > .section.gray {
  background-color: #f2f3f3;
}

main > .section.light-teal {
  background-color: #f0f9fa;
}

main > .section.teal {
  --fg: #fff;
  --fg-muted: #fff;
  --link: #fff;
  --link-hover: #fff;
  --focus: #fff;
  --accent-text: #fff;
  --btn-primary-bg: #fff;
  --btn-primary-fg: #30718d;
  --btn-primary-bg-hover: #e8f9fa;
  --btn-primary-fg-hover: #245a73;
  --btn-secondary-bg: transparent;
  --btn-secondary-fg: #fff;
  --btn-secondary-border: #fff;
  --btn-secondary-bg-hover: #245a73;
  --btn-secondary-fg-hover: #fff;
  --btn-secondary-border-hover: #fff;
  --btn-accent-bg: #fff;
  --btn-accent-fg: #30718d;
  --btn-accent-bg-hover: #e8f9fa;
  --btn-accent-fg-hover: #245a73;
  color: var(--fg);
  background-color: #30718d;
}

main > .section.dark-teal {
  --fg: #fff;
  --fg-muted: #fff;
  --link: #fff;
  --link-hover: #fff;
  --focus: #fff;
  --accent-text: #fff;
  --btn-primary-bg: #fff;
  --btn-primary-fg: #30718d;
  --btn-primary-bg-hover: #e8f9fa;
  --btn-primary-fg-hover: #245a73;
  --btn-secondary-bg: transparent;
  --btn-secondary-fg: #fff;
  --btn-secondary-border: #fff;
  --btn-secondary-bg-hover: #245a73;
  --btn-secondary-fg-hover: #fff;
  --btn-secondary-border-hover: #fff;
  --btn-accent-bg: #fff;
  --btn-accent-fg: #30718d;
  --btn-accent-bg-hover: #e8f9fa;
  --btn-accent-fg-hover: #245a73;
  color: var(--fg);
  background-color: #1a3d4d;
}

@media (width >= 992px) {
  main > .section:is([data-layout=sidebar], [data-layout=sidebar-first], [data-layout=halves]) {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 3.2rem;
    align-items: start;
    padding-inline: max(var(--gutter), (100% - 125.2rem) / 2);
  }
  main > .section:is([data-layout=sidebar], [data-layout=sidebar-first], [data-layout=halves]) > div {
    grid-column: 1/span 7;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
  }
  main > .section[data-layout=sidebar] > div:last-child:not(:only-child) {
    grid-column: 9/span 4;
    grid-row: 1/span 50;
    margin-top: 0;
  }
  main > .section[data-layout=halves] > div {
    grid-column: 1/span 6;
  }
  main > .section[data-layout=halves] > div:last-child:not(:only-child) {
    grid-column: 7/span 6;
    grid-row: 1/span 50;
    margin-top: 0;
  }
  main > .section[data-layout=sidebar-first] {
    grid-template-rows: auto 1fr;
    padding-inline: max(var(--gutter), (100% - 125.2rem) / 2 - var(--gutter));
  }
  main > .section[data-layout=sidebar-first] > div {
    grid-column: 1/span 6;
  }
  main > .section[data-layout=sidebar-first] > div:first-child:not(:only-child) {
    grid-column: 8/span 5;
    grid-row: 1;
  }
  main > .section[data-layout=sidebar-first] > div:nth-child(2) {
    grid-row: 1/span 2;
    margin-top: 0;
  }
  main > .section[data-layout=sidebar-first] > div:last-child:nth-child(n+3) {
    grid-column: 8/span 5;
    grid-row: 2;
  }
}
main > .section[data-layout=sidebar-first] > .default-content-wrapper :is(p, ul, ol) {
  font-family: ibm-plex-serif, ibm-plex-serif-fallback, serif;
}

main > .section[data-layout=sidebar-first] > .default-content-wrapper :is(h2, h3) {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (width >= 992px) and (height >= 800px) {
  main > .section[data-layout=sidebar] > div:last-child:not(:only-child) {
    position: sticky;
    top: calc(var(--nav-height) + 3.2rem);
  }
}
