*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: #0b1220; }
h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: .3em; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: #64748b; font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  font-size: 15px; transition: transform .05s ease, background .15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: #0b4dff; color: #fff; }
.btn-primary:hover { background: #0a3fd6; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: #0f172a; border-color: #cbd5e1; }
.btn-ghost:hover { border-color: #0f172a; }
.btn-sm { padding: 8px 16px; font-size: 14px; background: #0b4dff; color: #fff; }
.btn-sm:hover { background: #0a3fd6; }
.btn-block { width: 100%; padding: 14px 22px; font-size: 16px; }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef2f7;
}
.hdr-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #0b1220; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, #0b4dff 0%, #22d3ee 100%);
  color: #fff; font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: -0.02em;
}
.logo-txt { font-size: 18px; letter-spacing: -0.01em; }
.nav { display: flex; gap: 22px; margin-left: 32px; flex: 1; }
.nav a { color: #334155; font-size: 15px; font-weight: 500; }
.nav a:hover { color: #0b4dff; text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.badge {
  display: inline-block; padding: 6px 12px; background: #eff6ff; color: #0b4dff;
  border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.lead { font-size: 18px; color: #475569; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin: 28px 0 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 22px; font-weight: 800; color: #0b1220; }
.hero-stats span { font-size: 13px; color: #64748b; }
.hero-card {
  background: #fff; border: 1px solid #e5edf7; border-radius: 18px;
  padding: 28px; box-shadow: 0 20px 40px -20px rgba(11,77,255,.18);
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.mini-metric {
  padding: 16px; background: #f8fafc; border-radius: 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.mini-metric b { font-size: 22px; font-weight: 800; color: #0b1220; }
.mm-lbl { font-size: 12px; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }

/* Section common */
section { padding: 72px 0; }
.sec-lead { color: #475569; max-width: 640px; margin-bottom: 40px; font-size: 17px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Services */
.services { background: #ffffff; }
.card {
  padding: 26px; border: 1px solid #e5edf7; border-radius: 14px;
  background: #fff; transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: #0b4dff; transform: translateY(-2px); }
.ico { font-size: 28px; margin-bottom: 12px; }
.card p { color: #475569; margin: 0; }

/* How */
.how { background: #f8fafc; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.step { padding: 24px; background: #fff; border-radius: 14px; border: 1px solid #e5edf7; }
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  background: #0b4dff; color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: #475569; margin: 0; }

/* Pricing */
.pricing { background: #ffffff; }
.tariff {
  padding: 32px; border: 1px solid #e5edf7; border-radius: 16px;
  background: #fff; position: relative;
}
.tariff-pop { border-color: #0b4dff; box-shadow: 0 20px 40px -22px rgba(11,77,255,.35); }
.tag {
  position: absolute; top: -12px; left: 32px;
  background: #0b4dff; color: #fff; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.price { font-size: 28px; font-weight: 800; color: #0b1220; margin-bottom: 20px; }
.price span { font-size: 14px; font-weight: 500; color: #64748b; margin-left: 4px; }
.tariff ul { list-style: none; padding: 0; margin: 0; }
.tariff li {
  padding: 10px 0; border-top: 1px solid #eef2f7; color: #334155; font-size: 14px;
}
.tariff li:first-child { border-top: none; }

/* Lead form */
.lead-sec { background: #0b1220; color: #e2e8f0; }
.lead-sec h2 { color: #fff; }
.lead-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.lead-txt p { color: #94a3b8; font-size: 17px; margin-bottom: 24px; }
.lead-benefits { list-style: none; padding: 0; margin: 0; }
.lead-benefits li { padding: 8px 0; color: #cbd5e1; }
.lead-form {
  background: #fff; color: #0f172a; padding: 32px; border-radius: 16px;
  display: grid; gap: 14px;
}
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: #334155; }
.lead-form input, .lead-form select, .lead-form textarea {
  padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 8px;
  font: inherit; color: #0f172a; background: #fff;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid #0b4dff; outline-offset: -1px; border-color: #0b4dff;
}
.lead-form textarea { resize: vertical; min-height: 80px; }
.lead-form .chk { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; color: #475569; line-height: 1.5; font-weight: 400; }
.lead-form .chk input { margin-top: 3px; }
.form-msg {
  padding: 12px 14px; border-radius: 8px; font-size: 14px; margin-top: 4px;
}
.form-msg.ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-msg.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Contact */
.contact { background: #f8fafc; }
.contact h3 { margin-bottom: 10px; }
.contact p { color: #475569; margin: 4px 0; font-size: 15px; }

/* Footer */
.ft { background: #0b1220; color: #94a3b8; padding: 40px 0; }
.ft .logo { color: #fff; }
.ft-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.ft nav { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.ft nav a { color: #cbd5e1; font-size: 14px; }
.ft nav a:hover { color: #fff; }
.ft .muted { margin-top: 12px; }

/* Legal pages */
.legal { padding: 60px 0 80px; max-width: 780px; }
.legal h1 { font-size: 32px; margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin-top: 32px; margin-bottom: 12px; }
.legal p, .legal li { color: #334155; font-size: 15px; }
.legal ul { padding-left: 20px; }
.unsub-form {
  max-width: 480px; margin-top: 24px;
  padding: 24px; border: 1px solid #e5edf7; border-radius: 14px; background: #f8fafc;
}
.unsub-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.unsub-form input {
  padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .hero { padding: 48px 0 56px; }
  .hero-in, .lead-in { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hdr-in { gap: 12px; }
  .hero-card { grid-template-columns: 1fr; }
  .ft-in { flex-direction: column; }
  .ft nav { align-items: flex-start; }
}
