/* Figma shared header and footer, nodes 1:120 and 7:555. */
@font-face {
  font-family: "Inter Drzio";
  src: url("../fonts/inter-latin-400-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro Drzio";
  src: url("../fonts/be-vietnam-pro-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --drzio-control-hover-duration: 250ms;
  --drzio-control-hover-ease: ease;
}

/* Animate visual feedback without moving or resizing controls. */
:where(.figma-header a, .figma-header button, .figma-footer a,
  main a, main button, main input[type="submit"], main input[type="button"], main input[type="reset"]) {
  transition-property: color, background-color, border-color, box-shadow, opacity;
  transition-duration: var(--drzio-control-hover-duration);
  transition-timing-function: var(--drzio-control-hover-ease);
}
@font-face {
  font-family: "Be Vietnam Pro Drzio";
  src: url("../fonts/be-vietnam-pro-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.figma-header {
  --header-height: 86px;
  height: var(--header-height);
  margin-bottom: calc(-1 * var(--header-height));
  border: 0;
  background: rgba(0, 0, 0, .19);
  color: #fff;
  backdrop-filter: none;
  font-family: "Inter Drzio", Inter, Arial, sans-serif;
}

.inner-page:not(.page-about) .figma-header,
.page-about .figma-header {
  background: #171717;
}

.inner-page:not(.page-about) .figma-header {
  margin-bottom: 0;
}

.figma-header .site-header__inner {
  display: flex;
  width: calc(100% - 160px);
  max-width: 1280px;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 16px 0;
}

.figma-header .site-header__brand {
  align-self: flex-start;
  flex: 0 0 215.58px;
  width: 215.58px;
  line-height: 0;
}

.figma-header .site-header__brand img {
  display: block;
  width: 100%;
  height: 48px;
  object-fit: contain;
}

.figma-header .site-nav { margin-left: auto; }
.figma-header .site-nav__list {
  display: flex;
  align-items: center;
  gap: 41.65px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.figma-header .site-nav__list li { margin: 0; }
.figma-header .site-nav__list a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.figma-header .site-nav__list a:hover,
.figma-header .site-nav__list a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.figma-header .site-nav__list a[aria-current="page"] { color: #fff; }
.figma-header .site-nav__list li:last-child a {
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 8px;
  background: #e02b20;
  color: #fff;
  transition-property: color, background-color, border-color, box-shadow, opacity;
  transition-duration: var(--drzio-control-hover-duration);
  transition-timing-function: var(--drzio-control-hover-ease);
}
.figma-header .site-nav__list li:last-child a:hover,
.figma-header .site-nav__list li:last-child a:focus-visible { background: #c72319; text-decoration: none; }
.figma-header .menu-toggle { display: none; }

.figma-footer {
  min-height: 0;
  padding: 100px 80px 24px;
  overflow: visible;
  background: #171717;
  color: #e4e4e4;
  font-family: "Inter Drzio", Inter, Arial, sans-serif;
  font-weight: 400;
}
.figma-footer::before { display: none; }
.figma-footer .site-footer__inner {
  display: flex;
  width: 100%;
  max-width: none;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin: 0;
}
.figma-footer .site-footer__brand {
  display: block;
  width: 160px;
  height: 35.625px;
  line-height: 0;
}
.figma-footer .site-footer__brand img {
  display: block;
  width: 160px;
  height: 35.625px;
  object-fit: contain;
}
.figma-footer .site-footer__nav { line-height: 1.3; }
.figma-footer .site-footer__nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.figma-footer .site-footer__nav li { margin: 0; }
.figma-footer .site-footer__nav a {
  color: #e4e4e4;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.32px;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.figma-footer .site-footer__nav a:hover,
.figma-footer .site-footer__nav a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.figma-footer .site-footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #e4e4e4;
  font-size: 14px;
  letter-spacing: -.28px;
  line-height: 1.3;
  text-align: center;
}
.figma-footer .site-footer__contact a {
  color: #d72620;
  font-size: 16px;
  letter-spacing: -.32px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.figma-footer .site-footer__bottom {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #404040;
  color: #e4e4e4;
  font-size: 14px;
  letter-spacing: -.28px;
  line-height: 1.3;
  text-align: center;
}

/* Keep the desktop CTA inside the viewport at the five-pixel menu boundary. */
@media (min-width: 1101px) and (max-width: 1105px) {
  .figma-header .site-nav { transform: translateX(-6px); }
}

@media (max-width: 1100px) {
  .figma-header { --header-height: 72px; background: #171717; }
  .figma-header .site-header__inner { width: 100%; padding: 12px 24px; }
  .figma-header .site-header__brand { flex-basis: 192px; width: 192px; }
  .figma-header .site-header__brand img { height: auto; aspect-ratio: 705 / 157; }
  .figma-header .menu-toggle {
    display: inline-grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 8px;
    color: #fff;
  }
  .figma-header .site-nav {
    position: fixed;
    z-index: 1;
    top: var(--header-height);
    right: 0;
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    margin: 0;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #171717;
  }
  .figma-header .site-nav__list { align-items: stretch; flex-direction: column; gap: 4px; }
  .figma-header .site-nav__list li { border: 0; }
  .figma-header .site-nav__list a { min-height: 48px; padding: 12px 8px; font-size: 16px; }
  .figma-header .site-nav__list li:last-child a { display: inline-flex; min-height: 54px; margin-top: 12px; padding: 14px 20px; }
  body.nav-open .figma-header { position: fixed; top: 0; right: 0; left: 0; margin-bottom: 0; }
  .admin-bar.nav-open .figma-header { top: 32px; }
  .admin-bar .figma-header .site-nav { height: calc(100dvh - var(--header-height) - 32px); }
}
@media (max-width: 782px) {
  .admin-bar.nav-open .figma-header { top: 46px; }
  .admin-bar .figma-header .site-nav { height: calc(100dvh - var(--header-height) - 46px); }
}
@media (max-width: 600px) {
  .figma-header .site-header__inner { padding-inline: 20px; }
  .figma-header .site-header__brand { flex-basis: 168px; width: 168px; max-width: calc(100% - 72px); }
  .figma-footer { padding: 72px 24px 24px; }
  .figma-footer .site-footer__inner { gap: 32px; }
  .figma-footer .site-footer__nav ul { gap: 16px 24px; }
  .figma-footer .site-footer__bottom { margin-top: 32px; }
}
