:root {
  color: #172f55;
  background: #f2f7fd;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #f2f7fd;
}

button,
a {
  color: inherit;
  font: inherit;
}

.hero {
  min-height: 358px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 48% 70% at 86% 105%, rgba(90, 151, 224, 0.24), transparent 70%),
    linear-gradient(145deg, #0c376e 0%, #104789 50%, #1759a6 100%);
}

.hero__inner {
  width: min(1156px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 51px;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 42px;
  color: #c8daf3;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-line span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #82b9ff;
}

h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
}

.environment-badge {
  display: grid;
  width: 138px;
  height: 46px;
  margin: 20px auto 0;
  place-items: center;
  border: 1px solid rgba(168, 205, 250, 0.68);
  border-radius: 23px;
  color: #dcecff;
  font-size: 17px;
  font-weight: 600;
}

.main-content {
  width: min(1156px, calc(100% - 48px));
  margin: -65px auto 0;
  position: relative;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.entry-card {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 24px;
  gap: 20px;
  align-items: center;
  min-height: 130px;
  padding: 26px 31px 26px 33px;
  border: 1px solid #cadcf0;
  border-radius: 7px;
  color: #1756a4;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30, 76, 128, 0.06);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.entry-card:hover {
  border-color: #7dafe8;
  box-shadow: 0 8px 22px rgba(30, 76, 128, 0.13);
  transform: translateY(-2px);
}

.entry-card:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.entry-card__number {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 5px;
  background: #e5effb;
  font-size: 21px;
  font-weight: 700;
}

.entry-card__content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.entry-card__content strong {
  font-size: 23px;
  line-height: 1.25;
}

.entry-card__content > span {
  color: #526783;
  font-size: 16px;
}

.entry-card__arrow {
  justify-self: end;
  color: #0865d8;
  font-size: 25px;
}

footer {
  padding: 40px 24px 28px;
  color: #70829a;
  font-size: 13px;
  text-align: center;
}

dialog {
  width: min(420px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #172f55;
  box-shadow: 0 24px 70px rgba(4, 25, 51, 0.28);
}

dialog::backdrop {
  background: rgba(8, 31, 61, 0.52);
}

.dialog-content {
  padding: 32px;
  text-align: center;
}

.dialog-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1759a6;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.dialog-content h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.dialog-content p {
  margin: 0 0 24px;
  color: #526783;
  line-height: 1.7;
}

.dialog-content button {
  min-width: 112px;
  min-height: 40px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: #1759a6;
  cursor: pointer;
}

@media (max-width: 760px) {
  .hero {
    min-height: 310px;
  }

  .hero__inner {
    width: calc(100% - 28px);
    padding-top: 36px;
  }

  .brand-line {
    gap: 10px;
    margin-bottom: 35px;
    font-size: 14px;
  }

  h1 {
    max-width: 330px;
    margin-right: auto;
    margin-left: auto;
    font-size: 36px;
  }

  .environment-badge {
    width: 112px;
    height: 38px;
    font-size: 14px;
  }

  .main-content {
    width: calc(100% - 28px);
    margin-top: -48px;
  }

  .entry-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .entry-card {
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    gap: 14px;
    min-height: 108px;
    padding: 20px 18px;
  }

  .entry-card__number {
    width: 42px;
    height: 42px;
  }

  .entry-card__content strong {
    font-size: 19px;
  }

  .entry-card__content > span {
    font-size: 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .entry-card {
    transition: none;
  }
}