:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-alt: #eef3ff;
  --text: #1c2430;
  --muted: #4f5b6c;
  --accent: #0057b8;
  --accent-dark: #003f86;
  --border: #d6deeb;
  --shadow: 0 8px 30px rgba(8, 33, 63, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.section.alt {
  background: var(--surface-alt);
}

.hero {
  background: linear-gradient(130deg, #0f3770 0%, #0057b8 55%, #2f88f3 100%);
  color: #fff;
  border-bottom: none;
}

.hero .label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.3px;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.25;
}

h1 {
  font-size: clamp(32px, 5vw, 50px);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero p {
  color: rgba(255, 255, 255, 0.94);
}

.lead {
  font-size: 20px;
  max-width: 880px;
}

.btn {
  display: inline-block;
  margin-top: 12px;
  background: #fff;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.code-line {
  font-size: 19px;
  color: var(--text);
}

.cards {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cards li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.cards p {
  margin-bottom: 0;
}

.steps {
  margin: 20px 0 0;
  padding-left: 22px;
}

.steps li {
  margin-bottom: 14px;
  color: var(--muted);
}

.contact {
  border-bottom: none;
}

.contact-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-dark);
}

.footer {
  background: #0e213f;
  color: #d8e6ff;
  padding: 28px 0;
}

.footer p {
  margin: 0;
  color: #d8e6ff;
}

@media (max-width: 840px) {
  .section {
    padding: 58px 0;
  }

  .lead {
    font-size: 18px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
