@import url('brand.css');

:root {
  /* brand colors */
  --brand-blue: #0e99cb;
  --brand-dark-blue: #072e66;
  --brand-red: #fc363e;
  --brand-red-hover: #da2128;
  --brand-light-blue: #81d7f6;

  /* semantic colors */
  --background-color: #fff;
  --light-color: #f3f3f3;
  --dark-color: #072e66;
  --text-color: #072e66;
  --link-color: #072e66;
  --link-hover-color: #072e66;

  /* fonts */
  --body-font-family: 'Didact Gothic', sans-serif;
  --heading-font-family: 'Open Sans Condensed', sans-serif;

  /* body sizes */
  --body-font-size-m: 16px;
  --body-font-size-s: 14px;
  --body-font-size-xs: 12px;

  /* heading sizes */
  --heading-font-size-xxl: 32px;
  --heading-font-size-xl: 28px;
  --heading-font-size-l: 24px;
  --heading-font-size-m: 20px;
  --heading-font-size-s: 18px;
  --heading-font-size-xs: 16px;

  /* nav height */
  --nav-height: 78px;

  /* spacing */
  --content-max-width: 1200px;
}

@media (width >= 900px) {
  :root {
    --heading-font-size-xxl: 48px;
    --heading-font-size-xl: 38px;
    --heading-font-size-l: 30px;
    --heading-font-size-m: 22px;
    --heading-font-size-s: 20px;
    --heading-font-size-xs: 18px;
    --body-font-size-m: 16px;
    --body-font-size-s: 14px;
    --body-font-size-xs: 13px;
  }
}

body {
  display: none;
  margin: 0;
  background-color: var(--background-color);

  /* One continuous wash across the full page height. Many closely-spaced stops
     keep the blue→white transition fully gradual with no perceptible boundary —
     white is only reached at the very bottom, so it always reads as a blend. */
  background-image: linear-gradient(
    180deg,
    rgb(50 190 240) 0%,
    rgb(73 197 241) 12%,
    rgb(101 205 243) 24%,
    rgb(131 214 245) 36%,
    rgb(162 222 247) 48%,
    rgb(190 230 249) 60%,
    rgb(214 238 251) 72%,
    rgb(235 245 252) 84%,
    rgb(250 252 254) 94%,
    rgb(255 255 255) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--text-color);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size-m);
  font-weight: 400;
  line-height: 1.2;
}

body.appear {
  display: block;
}

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

@media (width >= 900px) {
  header {
    height: calc(var(--nav-height) + 36px);
  }
}

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

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

/* headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0.8em;
  margin-bottom: 0.25em;
  font-family: var(--heading-font-family);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-dark-blue);
  scroll-margin: 40px;
}

h1 { font-size: var(--heading-font-size-xxl); }
h2 { font-size: var(--heading-font-size-xl); }
h3 { font-size: var(--heading-font-size-l); }
h4 { font-size: var(--heading-font-size-m); }
h5 { font-size: var(--heading-font-size-s); }
h6 { font-size: var(--heading-font-size-xs); }

/* Visually hidden but available to assistive tech (e.g. section headings added
   to keep a valid heading hierarchy without altering the visual design). */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

code,
pre {
  font-size: var(--body-font-size-s);
}

pre {
  padding: 16px;
  border-radius: 8px;
  background-color: var(--light-color);
  overflow-x: auto;
  white-space: pre;
}

main > div {
  margin: 0 16px;
}

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

/* links */
a:any-link {
  color: var(--link-color);
  text-decoration: none;
  overflow-wrap: break-word;
  transition: color 0.2s ease;
}

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

/* buttons */
p.button-wrapper {
  margin: 12px 0;
}

a.button:any-link,
button.button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin: 0;
  border: 4px solid rgb(255 255 255 / 85%);
  border-radius: 28px;
  padding: 10px 50px;
  font-family: var(--body-font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: var(--brand-red);
  background-image: linear-gradient(40deg, #fc363e, #fc4f56);
  color: #fff;
  min-width: 150px;
  text-align: center;
  transition: all 0.3s;
}

a.button::after,
button.button::after {
  content: '\2192';
  font-size: 1.2em;
}

a.button:hover,
button.button:hover {
  background-color: var(--brand-red-hover);
  background-image: linear-gradient(40deg, #da2128, #e63a40);
  color: #fff;
  text-decoration: none;
}

a.button[aria-disabled="true"],
button.button:disabled {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

a.button.secondary,
button.button.secondary {
  border-color: var(--brand-dark-blue);
  background: transparent;
  color: var(--brand-dark-blue);
}

a.button.secondary:hover,
button.button.secondary:hover {
  background-color: var(--brand-dark-blue);
  color: #fff;
}

/* Download button style (ellipse with download arrow) */
a.button[href$=".pdf"],
a.button[download] {
  position: relative;
  background: #fff;
  background-image: none;
  color: var(--brand-dark-blue);
  border: 2px solid var(--brand-dark-blue);
  padding: 11px 85px 11px 50px;
}

a.button[href$=".pdf"]::after,
a.button[download]::after {
  content: '↓';
  font-size: 1.4em;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

a.button[href$=".pdf"]:hover,
a.button[download]:hover {
  background-color: var(--brand-dark-blue);
  background-image: none;
  color: #fff;
}

/* images */
main img {
  max-width: 100%;
  width: auto;
  height: auto;
}

.icon {
  display: inline-block;
  height: 24px;
  width: 24px;
}

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

/* sections */
main > .section {
  margin: 0;
}

main > .section > div {
  max-width: var(--content-max-width);
  margin: auto;
  padding: 0 24px;
}

main > .section > .cards-info-wrapper,
main > .section > .columns-promo-wrapper {
  max-width: unset;
}

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

@media (width >= 900px) {
  main > .section > div {
    padding: 0 32px;
  }
}

/* section metadata */
main .section.light,
main .section.highlight {
  background-color: var(--light-color);
  margin: 0;
  padding: 40px 0;
}

main .section.blue {
  background-color: var(--brand-blue);
  margin: 0;
  padding: 40px 0;
}

main .section.blue h1,
main .section.blue h2,
main .section.blue h3,
main .section.blue p {
  color: #fff;
}

main .section.dark {
  background-color: var(--brand-dark-blue);
  margin: 0;
  padding: 40px 0;
}

main .section.dark h1,
main .section.dark h2,
main .section.dark h3,
main .section.dark p,
main .section.dark a:any-link {
  color: #fff;
}
