:root {
  --bg: #ffffff;
  --ink: #14213d;
  --muted: #5b6478;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --soft: #f4f6fb;
  --line: #e3e8f1;
  --ok: #16a34a;
  --radius: 14px;
  --maxw: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
}
.brand span { color: var(--brand); }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--soft), #fff);
  padding: 64px 0 48px;
  text-align: center;
}
.hero h1 {
  font-size: 2.3rem;
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 28px;
}
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--brand-dark); }
.btn-block { display: block; width: 100%; text-align: center; }

.hero-sub {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Sections */
section { padding: 48px 0; }
section h2 {
  font-size: 1.6rem;
  margin: 0 0 24px;
  text-align: center;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); }

/* Features */
.features-section { background: #fff; }
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  text-align: center;
  padding: 8px;
}
.ficon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Pricing */
.pricing-section { background: var(--soft); border-top: 1px solid var(--line); }
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 8px 30px rgba(20, 33, 61, 0.06);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-card h3 { margin: 4px 0 12px; font-size: 1.2rem; }
.price { margin-bottom: 6px; }
.price .amount { font-size: 3rem; font-weight: 800; color: var(--ink); }
.price .per { color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); margin: 0 0 22px; font-size: 0.92rem; }
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  text-align: left;
}
.price-list li {
  padding: 9px 0 9px 28px;
  position: relative;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.price-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 800;
}

/* FAQ */
.faq-section { background: #fff; }
.faq {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.qa {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.qa h3 { margin: 0 0 6px; font-size: 1.05rem; }
.qa p { margin: 0; color: var(--muted); }

/* Signup */
.signup {
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 560px;
  margin: 0 auto;
}
.card-intro {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
.field-hint {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
.consent input { margin-top: 4px; }
.fineprint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}
.form-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.form-error.show { display: block; }

.signup-success {
  display: none;
  text-align: center;
  padding: 8px 4px;
}
.signup-success.show { display: block; }
.signup-success .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 14px;
}
.signup-success h3 { margin: 0 0 10px; font-size: 1.25rem; }
.signup-success p { color: var(--muted); margin: 0 0 12px; }

/* Setup / instruction steps */
.instructions { counter-reset: step; }
.instruction {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.instruction:last-child { border-bottom: none; }
.instruction .num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.instruction h3 { margin: 4px 0 6px; font-size: 1.1rem; }
.instruction p { margin: 0 0 6px; color: var(--muted); }
.code-chip {
  display: inline-block;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  color: var(--ink);
}
.note {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 24px;
}

/* Success page */
.success { text-align: center; padding: 64px 0; }
.success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
}
.success h1 { margin: 0 0 12px; }
.success p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }

.cta-row { margin-top: 28px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer a { color: var(--muted); margin-left: 16px; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }

/* Legal pages */
.legal { padding: 48px 0; }
.legal h1 { font-size: 2rem; margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 28px; }
.legal h2 { text-align: left; font-size: 1.25rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; }

@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .hero h1 { font-size: 1.8rem; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .nav a:not(:last-child) { display: none; }
}
