:root {
  color-scheme: light;
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  color: #14213d;
  background: #f5f7fb;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.hero {
  min-height: 560px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 28%, rgba(59, 130, 246, .46), transparent 32%),
    linear-gradient(135deg, #0f2444, #173f78 62%, #2563eb);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav div {
  display: flex;
  gap: 24px;
}

.nav a {
  text-decoration: none;
}

.brand {
  font-size: 22px;
  font-weight: 700;
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: 88px auto 0;
  max-width: 760px;
}

.hero h1 {
  margin: 8px 0 16px;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.hero-content > p:not(.eyebrow) {
  max-width: 680px;
  font-size: 19px;
  color: #dbeafe;
}

.eyebrow {
  margin: 0;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero .eyebrow {
  color: #93c5fd;
}

.primary {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 20px;
  border-radius: 10px;
  color: #1e3a8a;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}

main section,
.document {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

h2 {
  margin: 8px 0 24px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

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

.cards article,
.trust,
.contact figure {
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 35, 70, .06);
}

.cards article {
  padding: 26px;
}

.cards h3 {
  margin: 0 0 8px;
}

.cards p,
.contact p,
.document p,
.document li {
  color: #526173;
}

.trust {
  padding: 48px;
}

.trust > div {
  max-width: 760px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: center;
}

.contact figure {
  margin: 0;
  padding: 24px;
  text-align: center;
}

.qr-crop {
  position: relative;
  width: 320px;
  height: 326px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.qr-crop img {
  position: absolute;
  width: 531px;
  max-width: none;
  height: auto;
  left: -106px;
  top: -377px;
}

figcaption {
  margin-top: 12px;
  color: #526173;
}

.compact-header {
  color: #fff;
  background: linear-gradient(135deg, #0f2444, #2563eb);
}

.document {
  max-width: 820px;
  min-height: 70vh;
}

.document h1 {
  margin: 8px 0 20px;
  font-size: clamp(34px, 6vw, 54px);
}

.document h2 {
  margin-top: 42px;
  font-size: 25px;
}

footer {
  padding: 28px max(20px, calc((100% - 1120px) / 2));
  display: flex;
  justify-content: space-between;
  color: #64748b;
  background: #e9eef6;
}

@media (max-width: 780px) {
  .nav div {
    gap: 12px;
  }

  .cards,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact figure {
    width: min(100%, 440px);
  }

  .trust {
    padding: 30px;
  }
}
