* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Segoe UI",
    sans-serif;
  color: #21313f;
  background:
    radial-gradient(circle at 14% 10%, rgba(126, 199, 218, 0.48) 0, rgba(126, 199, 218, 0) 30%),
    radial-gradient(circle at 86% 16%, rgba(147, 177, 255, 0.34) 0, rgba(147, 177, 255, 0) 28%),
    linear-gradient(135deg, #f2fbff 0%, #f8fbff 48%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(74, 148, 180, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 148, 180, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 76%);
}

.site {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 16px 56px;
}

.hero {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 56px 8px 34px;
}

.small-label {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #4d8fa8;
  font-weight: 800;
}

.site-title {
  margin: 0;
  font-size: clamp(56px, 16vw, 142px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: #3d9fbd;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.94),
    0 14px 34px rgba(61, 159, 189, 0.23),
    0 30px 74px rgba(61, 159, 189, 0.15);
}

.lead {
  max-width: 720px;
  margin: 28px auto 0;
  color: #436071;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 650;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.card {
  min-height: 240px;
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(244, 252, 255, 0.90) 100%);
  border: 1px solid rgba(77, 143, 168, 0.18);
  box-shadow:
    0 22px 48px rgba(63, 111, 136, 0.13),
    0 8px 18px rgba(63, 111, 136, 0.07);
}

.card:nth-child(1) {
  transform: rotate(-1.4deg);
}

.card:nth-child(2) {
  transform: translateY(12px) rotate(1deg);
}

.card:nth-child(3) {
  transform: rotate(-0.6deg);
}

.card-kicker {
  margin: 0 0 12px;
  color: #4d8fa8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card h2 {
  margin: 0 0 14px;
  color: #263c4b;
  font-size: 22px;
  line-height: 1.35;
}

.card p {
  margin: 0;
  color: #526b7a;
  font-size: 14px;
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #55b6d2 0%, #5b8fe8 100%);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(82, 149, 206, 0.20);
}

.footer {
  padding: 0 16px 34px;
  text-align: center;
  color: #4d8fa8;
}

.footer p {
  margin: 0;
}

.copyright {
  font-size: 13px;
  font-weight: 700;
}

.powered {
  margin-top: 7px !important;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: rgba(77, 143, 168, 0.70);
}

@media (max-width: 820px) {
  .hero {
    min-height: 38vh;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .card,
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 480px) {
  .site {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    min-height: 34vh;
    padding-top: 42px;
    padding-bottom: 24px;
  }

  .small-label {
    font-size: 12px;
  }

  .site-title {
    font-size: clamp(58px, 19vw, 82px);
  }

  .lead {
    margin-top: 22px;
    font-size: 15px;
  }

  .card {
    min-height: auto;
    padding: 20px;
    border-radius: 24px;
  }

  .card h2 {
    font-size: 20px;
  }
}
