/*
 * Copyright 2020 Adobe. All rights reserved.
 * Wrench Group design tokens and global styles.
 */

:root {
  /* brand colors */
  --color-brand: #026499;
  --color-brand-dark: #014d76;
  --color-brand-light: #d9e8f0;
  --color-ink: #0f1923;
  --color-body: #1f2d3a;
  --color-mid: #374151;
  --color-muted: #546070;
  --color-off: #f5f8fa;
  --tw-bg-opacity: 1;
  --color-cloud-gray: rgb(245 248 250 / var(--tw-bg-opacity, 1));
  --color-border: #e4e8ed;
  --background-color: #fff;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --light-color: var(--color-off);
  --dark-color: var(--color-ink);
  --text-color: var(--color-body);
  --link-color: var(--color-brand);
  --link-hover-color: var(--color-brand-dark);

  /* hero overlay colors */
  --color-overlay-dark-5: rgb(5 15 25 / 5%);
  --color-overlay-dark-35: rgb(5 15 25 / 35%);
  --color-overlay-dark-95: rgb(5 15 25 / 95%);
  --color-white-10: rgb(255 255 255 / 10%);
  --color-white-15: rgb(255 255 255 / 15%);
  --color-white-18: rgb(255 255 255 / 18%);
  --color-white-20: rgb(255 255 255 / 20%);
  --color-white-22: rgb(255 255 255 / 22%);
  --color-white-35: rgb(255 255 255 / 35%);
  --color-white-45: rgb(255 255 255 / 45%);
  --color-white-50: rgb(255 255 255 / 50%);
  --color-white-70: rgb(255 255 255 / 70%);
  --color-white-80: rgb(255 255 255 / 80%);

  /* typography */
  --body-font-family: barlow, barlow-fallback, sans-serif;
  --heading-font-family: barlow-condensed, barlow-condensed-fallback, sans-serif;
  --font-display: var(--heading-font-family);
  --font-body: var(--body-font-family);

  /* body sizes */
  --body-font-size-m: 18px;
  --body-font-size-s: 16px;
  --body-font-size-xs: 14px;
  --body-font-size-lg: clamp(1rem, 1.3vw, 1.15rem);

  /* heading sizes */
  --heading-font-size-xxl: clamp(4.5rem, 10vw, 8.5rem);
  --heading-font-size-xl: clamp(2.6rem, 5vw, 5.5rem);
  --heading-font-size-l: clamp(1.8rem, 3.2vw, 3.6rem);
  --heading-font-size-m: clamp(1.25rem, 2vw, 1.5rem);
  --heading-font-size-s: 1.25rem;
  --heading-font-size-xs: 1.15rem;

  /* layout */
  --layout-max-width: 1440px;
  --section-padding-y: clamp(96px, 11vw, 152px);
  --section-padding-y-sm: clamp(48px, 5vw, 80px);
  --section-padding-x: clamp(24px, 5vw, 80px);
  --nav-height: 72px;

  /* motion */
  --motion-duration-fast: 0.22s;
  --motion-duration-medium: 0.8s;
  --motion-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-ease-image: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-stagger-step: 80ms;

  /* eyebrow */
  --eyebrow-size: 0.68rem;
  --eyebrow-spacing: 0.22em;

  /* news card */
  --news-card-date-color:#9ca3af;
}

@media (width >= 900px) {
  :root {
    --body-font-size-m: 17px;
    --body-font-size-s: 15px;
    --body-font-size-xs: 13px;
  }
}

body {
  display: none;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size-m);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.appear {
  display: block;
}

/* Universal Editor: reveal scroll-animated content immediately */
html:has(meta[name="urn:adobe:aue:config:service"]) [data-anim] {
  opacity: 1;
  transform: none;
  transition: 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;
  margin-bottom: 20px;
  font-family: var(--heading-font-family);
  font-weight: 600;
  line-height: 66.656px;
  text-transform: uppercase;
  color: var(--color-ink);
  scroll-margin: calc(var(--nav-height) + 16px);
}

h1 em,
h2 em,
h3 em {
  font-style: normal;
  color: var(--color-brand);
}

h1 { font-size: var(--heading-font-size-xxl); }

h2 {
  font-size: var(--heading-font-size-xl);
  line-height: 0.92;
}

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); }

@media (width <= 768px) {
  h2 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
}

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

.body-lg{
  margin-bottom: 40px;
}

p.body-lg,
.body-lg,
div.body-lg > :is(p, ul, ol),
.body-large .body-lg > :is(p, ul, ol) {
  font-size: var(--body-font-size-lg);
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-mid);
}

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

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

main > div {
  margin: 0;
}

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

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

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

/* eyebrow blocks — reset block wrapper spacing */
.eyebrow.block,
.body-large.block,
.bordered-list.block {
  margin: 0;
}

/* eyebrow */
.eyebrow,
p.eyebrow,
div.eyebrow > :is(p, h6):first-child {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
  font-size: var(--eyebrow-size);
  font-weight: 500;
  letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 16.32px;
}


p.eyebrow::before,
div.eyebrow > :is(p, h6):first-child::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--color-brand);
  flex-shrink: 0;
}

.eyebrow-light,
p.eyebrow-light,
div.eyebrow-light > :is(p, h6):first-child,
div.eyebrow.eyebrow-light > :is(p, h6):first-child {
  color: rgb(255 255 255 / 50%);
}

.eyebrow-light::before,
p.eyebrow-light::before,
div.eyebrow-light > :is(p, h6):first-child::before,
div.eyebrow.eyebrow-light > :is(p, h6):first-child::before {
  background: rgb(255 255 255 / 40%);
}

/* bordered list (partnership-style bullet list) */
.bordered-list ul,
div.bordered-list > ul {
  list-style: none;
  margin: 1rem 0 2rem;
  padding: 0;
}

.bordered-list li,
div.bordered-list > ul > li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-mid);
}

.bordered-list li:first-child,
div.bordered-list > ul > li:first-child {
  border-top: 1px solid var(--color-border);
}

.bordered-list li::before,
div.bordered-list > ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-brand);
}

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

a.button:any-link,
button.button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0.8rem 32px;
  font-family: var(--body-font-family);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 18.72px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all var(--motion-duration-fast);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}

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

a.button.primary,
button.button.primary {
  background-color: var(--color-brand);
  color: #fff;
}

p.button-container.full-width,
p.button-wrapper.full-width {
  width: 100%;
}

a.button.full-width,
button.button.full-width,
p.button-container.full-width a.button,
p.button-wrapper.full-width a.button {
  width: 100%;
  max-width: none;
  justify-content: center;
}

a.button.primary:hover,
a.button.primary:focus-visible,
button.button.primary:hover,
button.button.primary:focus-visible {
  background-color: var(--color-brand-dark);
  color: #fff;
}

a.button.secondary,
button.button.secondary {
  background: var(--color-white-10 );
  color: var(--background-color);
  border: 1.5px solid  var(--color-white-22);
}

a.button.secondary:hover,
a.button.secondary:focus-visible,
button.button.secondary:hover,
button.button.secondary:focus-visible {
  border: 1.5px solid var(--color-white-22);
  color: var(--background-color);
  background: var(--color-white-18);
}

a.button.ghost-white,
button.button.ghost-white {
  background: rgb(255 255 255 / 10%);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 22%);
}

a.button.ghost-white:hover,
a.button.ghost-white:focus-visible,
button.button.ghost-white:hover,
button.button.ghost-white:focus-visible {
  background: rgb(255 255 255 / 18%);
}

a.button.accent,
button.button.accent {
  border-color: var(--color-brand);
  background-color: var(--color-brand);
  color: #fff;
}

a.button.accent:hover,
a.button.accent:focus-visible,
button.button.accent:hover,
button.button.accent:focus-visible {
  background-color: var(--color-brand-dark);
}

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;
  padding: var(--section-padding-y) 0;
}

main > .section > div {
  max-width: var(--layout-max-width);
  margin: auto;
  padding: 0 var(--section-padding-x);
}

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

main .section.light,
main .section.highlight,
main .section.off-white {
  background-color: var(--color-off);
  margin: 0;
}

main .section.cloud-gray {
  background-color: var(--color-cloud-gray);
  margin: 0;
}

main .section.button-center .button-wrapper {
    justify-content: center;
    display: flex;
}

main .section.brand-blue {
  background-color: var(--color-brand);
  color: #fff;
  margin: 0;
}

main .section.brand-blue h1,
main .section.brand-blue h2,
main .section.brand-blue h3,
main .section.brand-blue h4 {
  color: #fff;
}

main .section.brand-blue h1 em,
main .section.brand-blue h2 em,
main .section.brand-blue h3 em {
  color: #fff;
}

main .section.ink {
  background-color: var(--color-ink);
  color: #fff;
  margin: 0;
}

main .section.border-top {
  border-top: 1px solid var(--color-border);
}

main .section.compact {
  padding: var(--section-padding-y-sm) 0;
}

main .section.no-padding {
  padding: 0;
}

main .section.no-padding > div {
  max-width: none;
  padding: 0;
}

main .section.brand-section {
  padding-top: clamp(80px, 10vw, 128px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

main .section.brand-section h2{
  margin-bottom: 1.25rem;
}

main .section.brand-section .eyebrow{
  margin-top: 0;
}

main .section.brand-section >.body-large-wrapper >.body-large >.body-lg{
  margin-bottom: 0;
}

main .section.max-width-600 >.body-large-wrapper >.body-large {
  max-width: 600px;
}

main .section.max-width-700 >.body-large-wrapper >.body-large {
  max-width: 700px;
}


/* focus */
:focus-visible {
  outline: 2.5px solid var(--color-brand);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border-width: 0;
  clip-path: inset(50%);
}
