* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: #333;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body a {
  text-decoration: none;
}

body .btn {
  display: inline-block;
  padding: 18px 34px;
  border: 0;
  border-radius: 4px;
  background: #2279ff;
  box-shadow: 0 8px 5px -6px rgba(0, 0, 0, .35);
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  transition: .3s ease-in-out;
}

body .btn:hover {
  border-radius: 50px;
  background: #0f62df;
}

main .hero {
  display: flex;
  min-height: 720px;
  align-items: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #eff9fb 0%, #f8fcff 48%, #e8f3fb 100%);
  background-position: center;
}

main .hero .wrap,
main .safe .wrap {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

main .hero .content {
  text-align: center;
}

main .hero .content .desc-wrap {
  color: #000;
  text-align: center;
  animation: rise-in 1s ease both;
}

main .hero .content .desc-wrap h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #333;
  font-size: 35px;
  letter-spacing: -1px;
  line-height: 1.2;
}

main .hero .content .desc-wrap h1 img {
  display: inline-block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

main .hero .content .desc-wrap h3 {
  margin-top: 16px;
  color: #000;
  font-style: italic;
  font-size: 21px;
}

main .hero .content .desc-wrap .desc {
  max-width: 690px;
  margin: 14px auto 22px;
  font-size: 17px;
}

main .hero .content .desc-wrap .agreement {
  max-width: 650px;
  margin: 10px auto 0;
  font-size: 12px;
  line-height: 20px;
}

main .hero .content .desc-wrap .agreement a {
  color: #191978;
  text-decoration: underline;
}

.steps {
  display: flex;
  width: min(100%, 520px);
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 25px auto;
}

.step {
  position: relative;
  min-width: 96px;
  text-align: center;
}

.step span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-weight: 700;
}

.step.active span,
.step.completed span {
  border-color: #2279ff;
  background: #2279ff;
  color: #fff;
}

.step p {
  font-size: 12px;
  line-height: 1.35;
}

.line {
  position: relative;
  flex: 1;
  height: 3px;
  overflow: hidden;
  margin-top: 15px;
  background: #ccc;
}

.line.active {
  background: #2279ff;
}

main .safe {
  margin: 60px auto;
  padding: 0 20px;
}

main .safe .content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

main .safe .content .route-preview {
  width: 100%;
  max-width: 560px;
  border: 1px solid #e3eaf0;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(22, 49, 80, .12);
}

main .safe .content .desc {
  max-width: 620px;
}

main .safe .content .desc h2 {
  color: #333;
  font-size: 40px;
  line-height: 1.2;
}

main .safe .content .desc h2 span {
  color: #2279ff;
}

main .safe .content .desc > p:not(.disclaimer) {
  margin: 20px auto;
}

.feature-list {
  margin: 0 0 25px;
  padding-left: 22px;
}

.feature-list li {
  margin: 7px 0;
}

.disclaimer {
  margin-top: 10px;
  color: #666;
  font-size: .85em;
  font-style: italic;
}

footer {
  padding: 20px;
  border-top: 1px solid #e9edf2;
  color: #333;
  text-align: center;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 0 10px;
  padding: 0;
}

footer ul li {
  list-style: none;
  font-size: 13px;
}

footer ul li a {
  color: #333;
  font-size: 14px;
}

footer ul li a:hover {
  color: #0073e6;
  transition: .3s;
}

footer p {
  margin: 0;
  font-size: 13px;
}

.site-header {
  border-bottom: 1px solid #e9edf2;
  background: #fff;
}

.header-content,
.main-nav,
.footer-content,
.footer-content nav {
  display: flex;
  align-items: center;
}

.header-content {
  width: min(100% - 40px, 1120px);
  min-height: 74px;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.brand img,
.footer-brand img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.main-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: #333;
  font-size: 14px;
}

.main-nav a,
.footer-content nav a {
  color: inherit;
}

.main-nav a:hover,
.footer-content nav a:hover {
  color: #2279ff;
}

.main-nav .button-small {
  padding: 10px 17px;
  border-radius: 4px;
  background: #2279ff;
  color: #fff;
  font-weight: 700;
}

.main-nav .button-small:hover {
  background: #0f62df;
  color: #fff;
}

.legal-page {
  min-height: 70vh;
  padding: 55px 20px 70px;
  background: #f7fafc;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 38px;
  border: 1px solid #e3eaf0;
  border-radius: 6px;
  background: #fff;
}

.legal-content h1 {
  margin: 0 0 8px;
  color: #333;
  font-size: 36px;
  line-height: 1.2;
}

.legal-content .updated {
  margin: 0 0 28px;
  color: #666;
  font-size: 13px;
}

.legal-content h2 {
  margin: 26px 0 8px;
  color: #333;
  font-size: 20px;
}

.legal-content p,
.legal-content li {
  color: #444;
  font-size: 15px;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li {
  margin: 6px 0;
}

.legal-content a {
  color: #1457c5;
  text-decoration: underline;
}

.site-footer {
  padding: 20px;
}

.footer-content {
  width: min(100%, 1120px);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
}

.footer-content nav {
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.copyright {
  width: 100%;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  body .btn {
    padding: 20px 40px;
    font-size: 26px;
  }
}

@media (min-width: 1024px) {
  main .hero {
    min-height: calc(100vh - 74px);
  }

  main .safe .content {
    text-align: left;
  }
}

@media (max-width: 767px) {
  main .hero {
    min-height: 620px;
    padding: 58px 18px;
  }

  main .hero .content .desc-wrap h1 {
    font-size: 31px;
  }

  main .safe .content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  main .safe .content .desc h2 {
    font-size: 34px;
  }

  main .safe .content .desc {
    text-align: left;
  }

  .header-content {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }

  .legal-content {
    padding: 26px 20px;
  }
}

@media (max-width: 420px) {
  .steps {
    gap: 4px;
  }

  .step {
    min-width: 78px;
  }

  .step p {
    font-size: 10px;
  }

  body .btn {
    padding: 16px 27px;
    font-size: 18px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
