:root {
  --page-width: 1200px;
  --ink: #262626;
  --muted: #4f4f4f;
  --red: #e34234;
  --red-hover: #e86055;
  --yellow: #ffcc00;
  --grey: #f2f3f4;
  --line-height-copy: 1.55;
  --radius-lg: 30px;
  --radius-sm: 6px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Ubuntu", Arial, sans-serif;
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--red);
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.frame {
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
}

.frame--header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 92px;
}

.topbar {
  background: #fff;
}

.topbar--mobile {
  display: none;
}

.brandline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #000;
}

.brandline__icon {
  width: 48px;
  height: 48px;
}

.brandline__text {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
}

.wordmark__image {
  width: 298px;
  height: auto;
}

.docknav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.docknav__link,
.header-mail {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

.header-mail {
  font-weight: 500;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.cta--gold {
  color: var(--ink);
  background: var(--yellow);
}

.cta--gold:hover,
.cta--gold:focus-visible {
  background: #ffd739;
}

.cta--red {
  color: #fff;
  background: var(--red);
}

.cta--red:hover,
.cta--red:focus-visible {
  background: var(--red-hover);
}

.cta--dark {
  width: 100%;
  min-height: 54px;
  color: #fff;
  background: #000;
}

.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.burger__line {
  width: 26px;
  height: 2px;
  background: #000;
}

.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  padding: 20px;
  background: rgba(235, 235, 235, 0.98);
}

.menu-sheet.is-open {
  display: block;
}

.menu-sheet__inner {
  position: relative;
  height: 100%;
}

.menu-sheet__nav {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.menu-sheet__link {
  display: block;
  margin: 20px auto;
  color: #000;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
}

.menu-sheet__bottom {
  position: absolute;
  right: 0;
  bottom: 40px;
  left: 0;
  text-align: center;
}

.menu-sheet__copy,
.menu-sheet__mail {
  margin: 20px 0 0;
  color: #000;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
}

.hero-slab {
  padding-bottom: 30px;
}

.hero-slab__panel {
  position: relative;
  min-height: 698px;
  padding: 60px 59px 58px;
  background: var(--red);
  border-radius: var(--radius-lg);
}

.hero-slab__title {
  max-width: 1040px;
  margin: 0;
  color: #fff;
  font-size: 50px;
  line-height: 1.2;
  font-weight: 400;
}

.hero-slab__image-wrap {
  position: absolute;
  right: 59px;
  bottom: 58px;
  left: 59px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-slab__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.text-band {
  padding: 38px 0;
}

.text-band--intro {
  padding-top: 45px;
  padding-bottom: 45px;
}

.text-band__copy {
  max-width: 1060px;
  margin: 0 auto;
  color: var(--ink);
  text-align: center;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 400;
}

.split-cards,
.category-matrix,
.workflow-block,
.contact-card {
  padding-top: 30px;
}

.feature-block {
  display: grid;
  grid-template-columns: 661px 580px;
  gap: 0;
  min-height: 437px;
  margin-bottom: 30px;
}

.feature-block__surface {
  position: relative;
  padding: 36px 60px;
  background: var(--grey);
  border-radius: var(--radius-lg);
}

.feature-block__media {
  align-self: stretch;
}

.feature-block__image {
  width: 100%;
  height: 437px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.feature-block__title {
  margin: 0;
  color: #000;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 500;
}

.feature-block__text,
.feature-block__list {
  max-width: 441px;
  margin: 24px 0 0;
  color: #000;
  font-size: 20px;
  line-height: var(--line-height-copy);
  font-weight: 400;
}

.feature-block__list {
  padding-left: 22px;
}

.feature-block .cta {
  position: absolute;
  left: 60px;
  bottom: 36px;
  min-width: 170px;
  padding-right: 24px;
  padding-left: 24px;
  font-size: 20px;
  font-weight: 400;
}

.category-matrix {
  padding-bottom: 30px;
}

.category-matrix__grid {
  display: grid;
  grid-template-columns: repeat(3, 379px);
  gap: 21px 11px;
}

.category-tile {
  min-height: 210px;
  padding: 45px 26px;
  background: var(--grey);
  border-radius: var(--radius-lg);
}

.category-tile__icon {
  width: 48px;
  height: 48px;
}

.category-tile__title {
  margin: 12px 0 0;
  color: #000;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
}

.text-band--contract {
  padding-bottom: 0;
}

.workflow-block .feature-block__surface {
  padding-bottom: 110px;
}

.contact-card {
  padding-bottom: 90px;
}

.contact-card__panel {
  min-height: 437px;
  padding: 44px 60px;
  background: var(--grey);
  border-radius: var(--radius-lg);
}

.contact-card__title {
  margin: 0;
  color: #000;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 500;
}

.contact-card__details {
  margin-top: 24px;
  color: #000;
  font-size: 20px;
  line-height: 2;
  font-weight: 400;
}

.contact-card__details p {
  margin: 0;
}

.popup-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.popup-shell.is-open {
  display: block;
}

.popup-shell__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.popup-shell__dialog {
  position: relative;
  z-index: 1;
  width: min(90vw, 720px);
  margin: 50px auto;
  overflow: hidden;
  background: var(--grey);
  border-radius: var(--radius-lg);
}

.popup-shell__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.popup-shell__media img {
  width: 100%;
  height: auto;
}

.popup-shell__content {
  padding: 40px 45px;
}

.popup-shell__title {
  margin: 0 0 11px;
  color: var(--ink);
  text-align: center;
  font-size: 36px;
  line-height: 1.23;
  font-weight: 700;
}

.popup-shell__lead {
  margin: 0 0 24px;
  color: var(--ink);
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

.lead-form__field {
  width: 100%;
  height: 54px;
  margin-bottom: 25px;
  padding: 0 20px;
  color: #000;
  background: transparent;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
}

.lead-form__field.is-invalid {
  border-color: #b93125;
}

.lead-form__note,
.lead-form__status {
  margin: 20px 0 0;
  color: var(--ink);
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

.lead-form__status[data-state="error"] {
  color: #b93125;
}

.lead-form__status[data-state="success"] {
  color: #1c7a4a;
}

@media (max-width: 1200px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
  }

  .category-matrix__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .topbar--desktop {
    display: none;
  }

  .topbar--mobile {
    display: block;
  }

  .hero-slab__panel {
    min-height: 400px;
    padding: 26px 10px 10px;
    border-radius: 0;
  }

  .hero-slab__title {
    font-size: 28px;
  }

  .hero-slab__image-wrap {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .hero-slab__image {
    height: 190px;
  }

  .text-band {
    padding-top: 15px;
    padding-bottom: 0;
  }

  .text-band__copy {
    font-size: 24px;
  }

  .feature-block {
    grid-template-columns: 1fr;
    min-height: 520px;
    margin-bottom: 15px;
  }

  .feature-block__surface {
    min-height: 352px;
    padding: 250px 30px 79px;
  }

  .feature-block__media {
    order: -1;
    margin-bottom: -352px;
    padding: 0 10px;
  }

  .feature-block__image {
    height: auto;
    max-height: 226px;
  }

  .feature-block__title {
    font-size: 24px;
  }

  .feature-block__text,
  .feature-block__list {
    max-width: 262px;
    font-size: 13px;
  }

  .feature-block .cta {
    left: 30px;
    bottom: 19px;
    min-width: 170px;
    font-size: 20px;
  }

  .workflow-block .feature-block__surface {
    padding-bottom: 96px;
  }

  .category-matrix__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-tile {
    min-height: 160px;
    padding: 26px 19px;
  }

  .category-tile__title {
    font-size: 13px;
  }

  .contact-card__panel {
    min-height: 345px;
    padding: 36px 30px;
  }

  .contact-card__title {
    font-size: 24px;
  }

  .contact-card__details {
    font-size: 13px;
    line-height: 1.8;
  }

  .popup-shell__dialog {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
  }

  .popup-shell__content {
    padding: 20px;
  }
}
