:root {
  --bg: #ffffff;
  --text: #171717;
  --muted: #5b5b66;
  --line: #e5e7ef;
  --surface: #ffffff;
  --tint: #e8eaf6;
  --brand: #3949ab;
  --brand-strong: #2f3f9d;
  --dark: #212121;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(21, 25, 52, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Ubuntu', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

a {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 5px;
  border: 1px solid transparent;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn:hover {
  background: #2b2b2b;
}

.btn--ghost {
  background: var(--dark);
  border-color: transparent;
}

.btn--ghost:hover {
  background: #2b2b2b;
}

.btn--sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-overlay {
  position: fixed;
  inset: 0 0 auto 0;
  background: transparent;
}

.site-header.is-overlay.is-scrolled {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, .06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
}

.site-logo {
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  transition: color .2s ease;
  flex-shrink: 0;
}

.site-header.is-overlay:not(.is-scrolled) .site-logo,
.site-header.is-overlay:not(.is-scrolled) .site-nav a,
.site-header.is-overlay:not(.is-scrolled) .site-nav__trigger,
.site-header.is-overlay:not(.is-scrolled) .site-nav__mail {
  color: #fff;
}

.site-header.is-overlay.is-scrolled .site-logo,
.site-header.is-overlay.is-scrolled .site-nav__mail {
  color: var(--brand);
}

.site-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .9);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.site-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #111;
  border-radius: 2px;
}

.site-header.is-overlay:not(.is-scrolled) .site-menu-toggle {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .18);
}

.site-header.is-overlay:not(.is-scrolled) .site-menu-toggle span {
  background: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.site-nav ul {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.site-nav li {
  padding: 0 15px;
}

.site-nav li:first-child {
  padding-left: 0;
}

.site-nav li:last-child {
  padding-right: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  padding: 10px 0;
}

.site-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}


.site-nav__trigger {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  padding: 10px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.site-nav__trigger::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.site-nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 210px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .12);
}

.site-nav__submenu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.site-nav__submenu.is-open,
.site-nav__item--has-sub:hover .site-nav__submenu {
  display: grid;
}

.site-nav__submenu a {
  color: var(--text) !important;
  padding: 10px 10px;
  border-radius: 8px;
}

.site-nav__submenu a:hover {
  background: #f3f5fd;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 0;
}

.site-nav__mail {
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

.site-header.is-overlay:not(.is-scrolled) .site-nav__actions .btn {
  background: transparent;
  border-color: rgba(255, 255, 255, .95);
  color: #fff;
}

.site-header.is-overlay:not(.is-scrolled) .site-nav__actions .btn:hover {
  background: rgba(255, 255, 255, .12);
}

.site-header.is-overlay.is-scrolled .site-nav__actions .btn {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.site-header.is-overlay.is-scrolled .site-nav__actions .btn:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .06), rgba(0, 0, 0, .06)), url('/assets/img/__.jpg') center/cover no-repeat;
}

.hero__bg::after {
  content: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100svh;
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero__typed {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-height: 110px;
  margin-bottom: 8px;
}

.hero__typed-text,
.hero__cursor {
  font-size: 109px;
  line-height: 1.17;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}

.hero__cursor {
  margin-left: 0;
  animation: blink 1s step-end infinite;
}

.hero h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.55;
  letter-spacing: 0;
  font-weight: 300;
  padding: 15px 0 30px;
}

.hero__descr {
  color: #fff;
}

.hero__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.hero .btn {
  min-height: 56px;
  border-radius: 5px;
  background: #212121;
  font-size: 16px;
  padding-inline: 40px;
  font-weight: 700;
}

.hero .btn--ghost {
  background: #212121;
  border-color: transparent;
}

.hero--article .hero__content {
  padding-bottom: 25vh;
}

.hero--article .hero__uptitle {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 2.5px;
  margin-bottom: 25px;
  color: #fff;
}

.hero--article h1 {
  font-size: 72px;
  font-weight: 600;
  line-height: 1.23;
  letter-spacing: 0px;
  padding: 0 0 30px;
  max-width: none;
  margin: 0;
}

.hero--article .hero__descr {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.55;
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 28px;
  height: 28px;
  border-right: 2px solid rgba(255, 255, 255, .9);
  border-bottom: 2px solid rgba(255, 255, 255, .9);
  transform: translateX(-50%) rotate(45deg);
  opacity: .8;
  animation: nudge 1.8s ease-in-out infinite;
}

.site-header.is-overlay .site-header__inner {
  padding-top: 0;
}

.site-header .btn--sm {
  min-height: 40px;
  border-radius: 5px;
  font-size: 14px;
  padding-inline: 14px;
}

.site-header.is-overlay:not(.is-scrolled) .site-nav a:hover,
.site-header.is-overlay:not(.is-scrolled) .site-nav__trigger:hover {
  opacity: .7;
}

@keyframes nudge {

  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotate(45deg);
  }

  50% {
    transform: translateX(-50%) translateY(6px) rotate(45deg);
  }
}

@keyframes blink {

  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.section {
  padding: 135px 0 150px;
}

.section--tint {
  background: var(--tint);
}

.section--cta {
  background: linear-gradient(180deg, #3949ab 0%, #313f98 100%);
  color: #fff;
}

.section__head {
  text-align: center;
  margin-bottom: 44px;
}

.section__head h2 {
  font-size: 42px;
  line-height: 1.23;
  letter-spacing: 0;
  font-weight: 600;
}

.section__head p {
  max-width: 800px;
  margin: 40px auto 0;
  color: #212121;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 300;
}

.section--cta .section__head p,
.section--cta .cta-copy p {
  color: rgba(255, 255, 255, .88);
}

.cards {
  display: grid;
  gap: 20px;
}

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

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

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

.card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.card--service {
  padding: 0;
  text-align: center;
}

.card--service img {
  width: 50px;
  height: 50px;
  margin: 0 auto 25px;
}

.card--service h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}

.card--service p {
  margin: 18px 0 0;
  color: #212121;
  font-size: 16px;
  font-weight: 300;
}

.services-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.services-links a {
  color: var(--brand);
  font-weight: 500;
  text-decoration-thickness: 1px;
}

.card--team-member {
  padding: 0;
  text-align: center;
}

.card--team-member img {
  width: 200px;
  height: 200px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 25px;
}

.card--team-member h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.muted {
  color: #212121;
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 300;
}

.team-contact {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  justify-items: center;
}

.team-contact a {
  color: var(--brand);
  text-decoration: none;
}

.card--review {
  margin: 0;
  padding: 0 10px;
  border-left: none;
  text-align: left;
}

.card--review p {
  margin: 0;
  color: #212121;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

.card--review cite {
  display: block;
  margin-top: 28px;
  color: #212121;
  font-weight: 600;
  font-size: 20px;
  font-style: normal;
}

.cta-center {
  max-width: 700px;
  margin: 0 auto;
}

.lead-form-wrapper {
  background: #fff;
  border-radius: 5px;
  padding: 40px;
  box-shadow: 0 18px 44px rgba(12, 18, 52, .22);
}

.lead-form-wrapper .section__head {
  margin-bottom: 24px;
}

.lead-form-wrapper .section__head h2 {
  font-size: clamp(24px, 4vw, 36px);
}

.cta-contact-center {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
}

.cta-contact-center span {
  color: rgba(255, 255, 255, .7);
  font-weight: 300;
}

.cta-contact-center a {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: start;
}

.cta-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.cta-copy p {
  margin: 16px 0 0;
  font-size: 18px;
  max-width: 540px;
}

.cta-contact {
  margin-top: 22px;
}

.cta-contact a {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

.lead-form {
  background: #fff;
  color: var(--text);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(12, 18, 52, .22);
}

.lead-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.lead-form label>span {
  font-size: 14px;
  color: #4a4a58;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid #d7dbe8;
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  font: inherit;
  color: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(57, 73, 171, .18);
  border-color: var(--brand);
}

.lead-form__checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.lead-form__checkbox input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  padding: 0;
}

.lead-form__checkbox span {
  font-size: 13px;
  line-height: 1.45;
}

.lead-form__checkbox a {
  color: var(--brand);
}

.lead-form__actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.lead-form__note {
  margin: 0;
  font-size: 13px;
  color: #52566a;
  display: none;
}

.lead-form__note.is-visible {
  display: block;
}

.lead-form__note a {
  color: var(--brand);
}

.site-footer {
  background: #171717;
  color: #fff;
  padding: 22px 0 30px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.site-footer__brand {
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}

.site-footer__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer__links a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: 14px;
}

.site-footer__meta {
  display: grid;
  gap: 4px;
  text-align: right;
}

.site-footer__meta a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.site-footer__meta span {
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
}

@media (max-width: 1024px) {

  .cards--services,
  .cards--team,
  .cards--reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--line);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .12);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    margin: 0;
  }

  .site-nav li {
    padding: 0;
  }

  .site-nav__item {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__item--has-sub {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .site-nav__trigger {
    text-align: left;
    padding: 10px 4px;
    color: inherit !important;
  }

  .site-nav__item--has-sub:hover .site-nav__submenu {
    display: none;
  }

  .site-nav__item--has-sub .site-nav__submenu.is-open {
    display: grid;
  }

  .site-nav__submenu {
    position: static;
    min-width: 0;
    margin: 4px 0 6px;
    box-shadow: none;
    border-color: rgba(0, 0, 0, .06);
    background: #f7f8fd;
  }

  .site-nav ul a {
    display: block;
    padding: 10px 4px;
    color: var(--text) !important;
  }

  .site-nav__actions {
    margin: 8px 0 0;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__mail {
    color: var(--text) !important;
  }
}

.section--legal {
  padding-top: 180px;
}

.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: .8em;
  color: #171717;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  line-height: 1.6;
  font-weight: 300;
  font-size: 18px;
  color: #212121;
}

.prose ul,
.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose li {
  margin-top: .5em;
  margin-bottom: .5em;
  line-height: 1.6;
  font-weight: 300;
  font-size: 18px;
  color: #212121;
}

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .hero__content {
    min-height: 100svh;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero__typed {
    min-height: 78px;
    margin-bottom: 10px;
  }

  .hero__typed-text,
  .hero__cursor {
    font-size: clamp(32px, 12vw, 92px);
  }

  .hero h1 {
    font-size: clamp(16px, 4.5vw, 24px);
    max-width: 100%;
  }

  .hero--article .hero__uptitle {
    font-size: 10px;
  }

  .hero--article h1 {
    font-size: clamp(28px, 8vw, 72px);
  }

  .hero--article .hero__descr {
    font-size: clamp(16px, 5vw, 24px);
  }

  .hero__actions {
    width: 100%;
    margin: 20px auto 0;
    max-width: 400px;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    white-space: normal;
    padding-inline: 20px;
    height: auto;
    padding-block: 15px;
  }

  .site-logo {
    font-size: 20px;
  }

  .card--service h3 {
    font-size: 24px;
  }

  .card--service p {
    font-size: 14px;
  }

  .cards--services,
  .cards--team,
  .cards--reviews {
    grid-template-columns: 1fr;
  }

  .section__head {
    margin-bottom: 28px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__meta {
    text-align: center;
  }
}