:root {
  --ink: #102433;
  --muted: #5a7183;
  --line: #d7e7f2;
  --paper: #ffffff;
  --page: #f4f9fc;
  --alt: #eaf4fa;
  --tg: #2aabee;
  --tg-dark: #1b93d1;
  --navy: #0e2433;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Onest, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.inner.narrow {
  width: min(760px, calc(100% - 40px));
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.mark {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--tg);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--tg);
  white-space: nowrap;
}

.btn:hover {
  background: var(--tg-dark);
  border-color: var(--tg-dark);
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--page);
  border-color: #b9d6e8;
}

.btn-block {
  width: 100%;
  margin-top: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 28px;
  background:
    linear-gradient(180deg, #eef7fc 0%, #fff 78%);
  text-align: center;
}

.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.hero .inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--tg-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  margin: 0 auto 16px;
  max-width: 16em;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.lead {
  margin: 0 auto 28px;
  max-width: 38em;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 48px auto 0;
  max-width: 820px;
  padding: 8px 0 24px;
}

.stats div {
  padding: 18px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stats b {
  display: block;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.stats span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--page);
}

.label {
  margin: 0 0 8px;
  color: var(--tg-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.sub {
  margin: 0 0 28px;
  max-width: 40em;
  color: var(--muted);
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.grid-3 .card {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease;
}

.grid-3 .card:hover {
  border-color: #8ecdee;
  background: #f7fbfe;
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.16);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .grid-3 .card {
    transition: none;
  }

  .grid-3 .card:hover {
    transform: none;
  }
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

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

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e7f4fb;
  color: var(--tg-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li > div {
  min-width: 0;
}

.steps b {
  display: block;
  margin-bottom: 4px;
}

.steps span {
  display: block;
  color: var(--muted);
}

.steps span strong {
  color: var(--ink);
  font-weight: 700;
}

.price-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card .term {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.price-card .sum {
  margin: 4px 0 14px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #000;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-card .sum span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: #000;
  opacity: 0.38;
}

.price-card ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.price-card li {
  padding: 6px 0 6px 16px;
  position: relative;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tg);
}

.featured {
  border-color: #9fd4f0;
  box-shadow: 0 0 0 1px #c5e6f6;
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7f4fb;
  color: var(--tg-dark);
  font-size: 12px;
  font-weight: 600;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-right: 2px solid var(--tg);
  border-bottom: 2px solid var(--tg);
  transform: rotate(45deg);
  transition: transform 0.28s ease;
  margin-top: -4px;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq-panel {
  overflow: hidden;
  height: 0;
  transition: height 0.32s ease;
}

.faq-panel p {
  margin: 10px 0 4px;
  color: var(--muted);
}

.cta {
  background: var(--navy);
  color: #fff;
  padding: 40px 0;
}

.cta p {
  margin: 8px 0 0;
  color: #b7c9d6;
}

.cta .btn {
  background: var(--tg);
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.footer {
  background: #0b1c28;
  color: #8aa0b0;
  font-size: 13px;
  padding: 22px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .header-row {
    justify-content: space-between;
  }

  .stats,
  .grid-3,
  .cta-row,
  .footer-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    padding-top: 48px;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .steps li {
    grid-template-columns: 40px 1fr;
  }
}
