:root {
  color-scheme: light;
  --ink: #202326;
  --muted: #f1f2f3;
  --line: #e7e8e9;
  --accent: #b51f2b;
  --content: 1220px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, sans-serif;
}

.placeholder {
  display: block;
  border-radius: 3px;
  background: linear-gradient(100deg, #e8e9ea 25%, #f2f3f4 45%, #e8e9ea 65%);
  background-size: 250% 100%;
  animation: shimmer 2.2s ease-in-out infinite;
}

.placeholder--dark {
  background: linear-gradient(100deg, #34383b 25%, #474c50 45%, #34383b 65%);
  background-size: 250% 100%;
}

@keyframes shimmer {
  to { background-position-x: -250%; }
}

.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  color: #fff;
}

.header-inner {
  width: min(1380px, calc(100% - 64px));
  min-height: 96px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  border-bottom: 1px solid rgb(255 255 255 / 24%);
}

.brand-mark {
  width: 152px;
  height: 42px;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
}

.nav-link,
.mobile-nav a {
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link {
  position: relative;
  padding-block: 12px;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: #c8323d;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link:focus-visible,
.mobile-nav a:focus-visible,
.menu-toggle:focus-visible,
.brand-mark:focus-visible,
.footer-nav-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.mobile-menu {
  display: none;
  position: relative;
}

.menu-toggle {
  width: 42px;
  height: 38px;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 2px;
  cursor: pointer;
  list-style: none;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 4px;
  content: "";
  background: #fff;
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 190px;
  gap: 0;
  padding: 8px 18px;
  color: #fff;
  background: #222629;
  box-shadow: 0 14px 30px rgb(0 0 0 / 20%);
}

.mobile-nav a {
  padding-block: 14px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.inner-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: 140px max(32px, calc((100vw - 1220px) / 2)) 64px;
  background: #292d30;
}

.inner-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(17 19 21 / 75%), rgb(17 19 21 / 18%)),
    linear-gradient(135deg, #494e51, #25292c 66%, #383d40);
}

.inner-hero-content {
  position: relative;
  display: grid;
  width: min(570px, 100%);
  gap: 16px;
}

.inner-hero-content .placeholder {
  height: 32px;
  background-color: #f1f1f1;
  opacity: 0.85;
}

.inner-hero-content .placeholder:first-child {
  width: 72px;
  height: 5px;
  margin-bottom: 6px;
  background: #c8323d;
}

.inner-hero-content .placeholder:nth-child(2) {
  width: 82%;
  height: 38px;
}

.inner-hero-content .placeholder:nth-child(3) {
  width: 60%;
  height: 8px;
  background-color: #aeb1b3;
}

.page-section {
  padding-block: 88px;
}

.page-section--soft {
  background: #f5f5f4;
}

.page-container {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

.page-section-heading {
  display: grid;
  justify-items: center;
  gap: 13px;
  margin: 0 auto 42px;
}

.page-section-heading .placeholder:first-child {
  width: 82px;
  height: 5px;
  background: #b51f2b;
}

.page-section-heading .placeholder:nth-child(2) {
  width: min(350px, 80%);
  height: 22px;
  background: #565b5e;
}

.page-section-heading .placeholder:nth-child(3) {
  width: min(460px, 94%);
  height: 7px;
}

.page-section-heading .placeholder:nth-child(4) {
  width: 65%;
  height: 7px;
}

.page-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.page-media {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: linear-gradient(145deg, #d9dbdc, #f0f1f1);
}

.page-media::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 35%;
  content: "";
  background: #b51f2b;
}

.page-copy {
  display: grid;
  justify-items: start;
  gap: 15px;
}

.page-copy .placeholder:first-child {
  width: 80px;
  height: 5px;
  margin-bottom: 6px;
  background: #b51f2b;
}

.page-copy .placeholder:nth-child(2) {
  width: 86%;
  height: 24px;
  margin-bottom: 6px;
  background: #565b5e;
}

.page-copy .placeholder:nth-child(n+3) {
  width: 96%;
  height: 7px;
}

.page-copy .placeholder:nth-child(4) {
  width: 87%;
}

.page-copy .placeholder:nth-child(5) {
  width: 67%;
}

.page-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.page-card-visual {
  position: relative;
  aspect-ratio: 1.05;
  margin-bottom: 18px;
  overflow: hidden;
  background: #eff0f1;
}

.page-card-visual::before {
  position: absolute;
  inset: 18% 20%;
  content: "";
  border: 9px solid #d0d2d3;
  border-radius: 35% 35% 8px 8px;
  background: linear-gradient(145deg, #dadcdd, #f8f8f8);
}

.page-card:nth-child(2) .page-card-visual::before {
  inset: 22% 18%;
  border-radius: 50%;
}

.page-card:nth-child(3) .page-card-visual::before {
  inset: 16% 26%;
  border-radius: 8px;
}

.page-card .placeholder:nth-child(2) {
  width: 66%;
  height: 12px;
  margin-bottom: 12px;
  background: #62676a;
}

.page-card .placeholder:nth-child(3) {
  width: 92%;
  height: 6px;
  margin-bottom: 8px;
}

.page-card .placeholder:nth-child(4) {
  width: 64%;
  height: 6px;
}

.page-banner {
  min-height: 220px;
  display: grid;
  align-content: center;
  gap: 16px;
  background: #24282b;
}

.page-banner .placeholder:first-child {
  width: min(450px, 76%);
  height: 23px;
  background: #f0f0f0;
}

.page-banner .placeholder:nth-child(2) {
  width: min(330px, 60%);
  height: 7px;
  background: #969b9e;
}

.page-banner .placeholder:nth-child(3) {
  width: 132px;
  height: 40px;
  margin-top: 6px;
  background: #b51f2b;
}

.site-footer {
  padding-block: 58px 26px;
  color: #fff;
  background: #202427;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 42px;
}

.footer-brand {
  width: 145px;
  height: 38px;
  margin-bottom: 20px;
  background: #575d60;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-column > .placeholder:first-child {
  width: 90px;
  height: 10px;
  margin-bottom: 7px;
  background: #c6c8c9;
}

.footer-column .placeholder:not(:first-child) {
  width: 76%;
  height: 6px;
  background: #565c5f;
}

.footer-nav-link {
  width: fit-content;
  color: #d6d8d9;
  font-size: 13px;
  text-decoration: none;
}

.footer-nav-link:hover,
.footer-nav-link:focus-visible {
  color: #fff;
}

.footer-bottom {
  min-height: 48px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #414649;
}

.footer-bottom .placeholder {
  width: 180px;
  height: 6px;
  background: #565c5f;
}

@media (max-width: 960px) {
  .main-nav {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .header-inner,
  .page-container {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-mark {
    width: 122px;
    height: 34px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .inner-hero {
    min-height: 380px;
    padding: 120px 20px 44px;
  }

  .page-section {
    padding-block: 64px;
  }

  .page-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-media {
    min-height: 290px;
  }

  .page-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .footer-grid {
    gap: 32px 22px;
  }

  .footer-bottom {
    align-items: center;
    flex-wrap: wrap;
    padding-top: 18px;
  }
}

@media (max-width: 420px) {
  .page-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
