:root {
  --bg: #f6f3ee;
  --text: #181b22;
  --muted: #646b78;
  --line: #ddd8cf;
  --card: #ffffff;
  --primary: #3559c7;
  --primary-deep: #26429b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(180deg, #f6f3ee 0%, #eceff3 100%);
  color: var(--text);
}

.page {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 88px;
}

.page > * + * {
  margin-top: 64px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(31, 42, 68, 0.08);
}

.hero {
  text-align: center;
  padding: 56px 28px;
}

.section-gap {
  margin-top: 12px;
}

.badge, .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.badge {
  padding: 8px 12px;
  background: #edf1fb;
  color: var(--primary-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

h1, h2, h3 { margin: 0; }

h1 {
  margin-top: 16px;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 0.95;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
  margin: 14px 0 8px;
}

.subtitle, p, li {
  line-height: 1.7;
  color: var(--muted);
}

.subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 1.06rem;
}

.subtitle.compact {
  max-width: 700px;
  margin-top: 0;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

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

.button.secondary {
  background: #f1f3f7;
  color: var(--text);
}

.microcopy {
  margin-top: 14px;
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

ul {
  margin: 0;
  padding-left: 20px;
}

.steps .step {
  width: 40px;
  height: 40px;
  background: #edf1fb;
  color: var(--primary-deep);
  font-weight: 800;
}

.pricing {
  text-align: center;
}

.lead-form {
  width: min(100%, 680px);
  margin: 24px auto 0;
  display: grid;
  gap: 14px;
  text-align: left;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #faf9f6;
  font: inherit;
  color: var(--text);
}

.lead-form textarea {
  resize: vertical;
}

.submit-button {
  border: none;
  cursor: pointer;
  margin-top: 6px;
}

.compact-hero {
  max-width: 760px;
  margin: 40px auto 0;
}

.manual-box {
  width: min(100%, 620px);
  margin: 24px auto 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #faf9f6;
  text-align: center;
}

.manual-title {
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 700;
}

.manual-text {
  margin: 0 0 10px;
}

.manual-code {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: #edf1fb;
  color: var(--primary-deep);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
}

.secondary-actions {
  margin-top: 16px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  margin: 8px 0 18px;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.price-box ul {
  display: inline-block;
  text-align: left;
}

@media (max-width: 820px) {
  .page > * + * {
    margin-top: 36px;
  }

  .two-cols,
  .three-cols {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 20px;
  }
}
