html,
body {
  margin: 0;
  min-height: 100%;
  background: #fbf9f8;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

body {
  padding: 0;
  overflow-x: hidden;
}

.home-info {
  background: #ffffff;
}

.home-info__inner {
  width: min(100%, 1440px);
  max-width: 100%;
  margin: 0 auto;
  padding: 72px 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.home-info__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.home-info__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.home-info__title {
  margin: 18px 0 0;
  color: #1b1c1c;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.home-info__desc {
  margin: 18px 0 0;
  color: #666666;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 290px;
}

@media (max-width: 1100px) {
  .home-info__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
    padding: 56px 24px;
  }
}

@media (max-width: 640px) {
  .home-info__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 16px;
  }

  .home-info__title {
    font-size: 22px;
  }

  .home-info__desc {
    margin-top: 14px;
    font-size: 15px;
    max-width: 320px;
  }
}

.home-quote {
  background: #f5f5f5;
  overflow: hidden;
}

.home-quote__inner {
  position: relative;
  width: min(100%, 1440px);
  max-width: 100%;
  margin: 0 auto;
  padding: 84px 40px 92px;
  text-align: center;
}

.home-quote__shield {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -58%);
  color: #eeeeee;
  font-size: clamp(170px, 28vw, 420px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.home-quote__mark {
  position: relative;
  z-index: 1;
  color: #0f4ab4;
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
}

.home-quote__text {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  margin: 8px auto 0;
  color: #1b1c1c;
  font-size: clamp(40px, 4vw, 66px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.home-quote__accent-wrap {
  display: inline-block;
  vertical-align: baseline;
  max-width: 100%;
}

.home-quote__accent {
  display: inline-block;
  color: #4f449a;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.06em solid #4f449a;
  width: 0;
  animation:
    quoteTyping 3.2s steps(24, end) 0.5s infinite alternate,
    quoteCaret 0.75s step-end infinite;
}

.home-quote__author {
  position: relative;
  z-index: 1;
  margin: 36px 0 0;
  color: #0f4ab4;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

@keyframes quoteTyping {
  0% {
    width: 0;
  }

  55%,
  100% {
    width: 100%;
  }
}

@keyframes quoteCaret {
  0%,
  49% {
    border-color: #4f449a;
  }

  50%,
  100% {
    border-color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-quote__accent {
    width: auto;
    border-right: 0;
    animation: none;
  }
}

@media (max-width: 1100px) {
  .home-quote__inner {
    padding: 72px 24px 80px;
  }

  .home-quote__text {
    width: min(100%, 820px);
    font-size: clamp(34px, 4.8vw, 52px);
  }

  .home-quote__shield {
    font-size: clamp(150px, 26vw, 320px);
  }
}

@media (max-width: 767px) {
  .home-quote__inner {
    padding: 56px 16px 64px;
  }

  .home-quote__mark {
    font-size: 64px;
  }

  .home-quote__text {
    width: 100%;
    margin-top: 0;
    font-size: clamp(28px, 8.5vw, 40px);
    line-height: 1.2;
  }

  .home-quote__accent {
    white-space: normal;
    border-right: 0;
    width: auto;
    animation: none;
  }

  .home-quote__author {
    margin-top: 28px;
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .home-quote__shield {
    font-size: clamp(120px, 32vw, 190px);
    transform: translate(-50%, -50%);
  }
}
