:root {
  --blue: #5361f6;
  --navy: #14213a;
  --muted: #536075;
  --yellow: #ffd12d;
  --footer: #f5f8fc;
  --line: #e3e9f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--navy);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1190px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  height: 82px;
  background: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 38px;
  color: #101b31;
  font-size: 14px;
/*  font-weight: 700;*/
}

.nav-links a:first-child {
  color: #293ed2;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #101b31;
  font-size: 14px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  padding: 0 26px;
  box-shadow: 0 14px 28px rgba(83, 97, 246, 0.18);
}

.about-hero {
  min-height: 980px;
  padding: 120px 0 106px;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 223, 112, 0.22), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f9fafc 25%, #dce4f7 100%);
}

.about-inner {
  text-align: center;
}

.about-inner h1 {
  margin: 0 0 30px;
  color: #151922;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 900;
}

.about-inner > p {
  max-width: 860px;
  margin: 0 auto;
  color: #263854;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(900px, 100%);
  margin: 72px auto 0;
}

.about-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 240px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  padding: 45px 34px 32px;
  box-shadow: 0 20px 45px rgba(44, 54, 96, 0.04);
}

.about-card.featured::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--blue);
}

.about-card h2 {
  margin: 22px 0 12px;
  color: #10131d;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.about-card p {
  margin: 0;
  color: #384252;
  font-size: 14px;
  line-height: 1.8;
}

.card-icon {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 12px 18px rgba(83, 97, 246, 0.28));
}

.icon-blue {
  fill: var(--blue);
}

.icon-blue-soft {
  fill: #4655ed;
}

.icon-yellow {
  fill: var(--yellow);
}

.icon-white {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer {
  background: var(--footer);
  padding: 88px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 170px 170px 170px;
  gap: 86px;
}

.footer-about p {
  max-width: 500px;
  margin: 28px 0 0;
  color: #617088;
  font-size: 14px;
  line-height: 2;
}

.footer h3 {
  margin: 22px 0 26px;
  color: #202938;
  font-size: 14px;
  font-weight: 800;
}

.footer-grid > div:not(.footer-about) a {
  display: block;
  margin-bottom: 20px;
  color: #68758b;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 86px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: #708098;
  font-size: 13px;
}

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

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, 1190px);
  }

  .site-header,
  .nav {
    height: 72px;
  }

  .nav-actions > a:not(.pill-link) {
    display: none;
  }

  .pill-link {
    padding: 0 18px;
  }

  .about-hero {
    min-height: auto;
    padding: 74px 0 72px;
  }

  .about-inner h1 {
    font-size: 38px;
  }

  .about-inner > p {
    font-size: 15px;
    line-height: 1.85;
  }

  .about-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .about-card {
    min-height: 220px;
  }

  .footer {
    padding-top: 62px;
  }

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