:root {
  --background: #f7f8fc;
  --surface: #ffffff;
  --surface-muted: #eef2f7;
  --text: #172033;
  --text-muted: #5e687b;
  --primary: #2457d6;
  --primary-dark: #183f9f;
  --accent: #102654;
  --border: #dce2ec;
  --shadow: 0 18px 45px rgba(20, 37, 74, 0.09);
  --radius: 20px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 850px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.navigation a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.navigation a:hover {
  color: var(--primary);
}

.hero {
  padding: 110px 0 105px;
  background:
    radial-gradient(circle at 85% 20%, rgba(75, 128, 255, 0.2), transparent 33%),
    linear-gradient(135deg, #f8faff 0%, #e9efff 100%);
}

.hero-content {
  max-width: 930px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.18;
}

h1 {
  max-width: 900px;
  margin-bottom: 25px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 38px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.hero-text {
  max-width: 720px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(19px, 2.5vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--border);
  color: var(--text);
}

.button-secondary:hover {
  background: #ffffff;
  color: var(--primary);
}

.button-light {
  background: #ffffff;
  color: var(--accent);
}

.button-light:hover {
  background: #e9efff;
  color: var(--accent);
}

.section {
  padding: 95px 0;
}

.section-muted {
  background: var(--surface-muted);
}

.section-accent {
  background: var(--accent);
  color: #ffffff;
}

.section-accent .section-label {
  color: #9bbaff;
}

.section-accent h2 {
  margin-bottom: 20px;
}

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

.card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.price {
  margin: 18px 0;
  color: var(--primary);
  font-size: 25px;
  font-weight: 850;
}

.note {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--text-muted);
}

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  counter-reset: work-step;
  list-style: none;
  gap: 16px;
}

.steps li {
  position: relative;
  min-height: 78px;
  padding: 22px 25px 22px 78px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.steps li::before {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--primary);
  border-radius: 50%;
  color: #ffffff;
  content: counter(work-step);
  counter-increment: work-step;
  font-weight: 800;
}

.text-block {
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.text-block h3:not(:first-child) {
  margin-top: 32px;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
  gap: 70px;
}

.contact-grid > div:first-child > p:not(.section-label) {
  max-width: 600px;
  color: #ced9f5;
}

.details {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.details p {
  margin: 0 0 12px;
}

.details a {
  color: #ffffff;
}

.footer {
  padding: 28px 0;
  background: #09152f;
  color: #b7c3df;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
}

.payment-provider {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
}

.payment-provider-link {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ffffff;
}

.payment-provider-link img {
  display: block;
  max-width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer a {
  color: #dce5fa;
}

@media (max-width: 900px) {
  .header {
    position: static;
  }

  .header-inner {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .navigation {
    gap: 12px 18px;
  }

  .hero {
    padding: 80px 0;
  }

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

  .contact-grid {
    gap: 35px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .navigation {
    display: none;
  }

  .hero,
  .section {
    padding: 65px 0;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 31px;
  }

  .card,
  .text-block,
  .details {
    padding: 24px;
  }

  .steps li {
    padding: 70px 22px 22px;
  }

  .steps li::before {
    top: 18px;
    left: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
