:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --fg: #0b1220;
  --fg-muted: #475569;
  --border: #e5e7eb;
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-soft: #eff6ff;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --max: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: 120ms ease;
  text-decoration: none;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.nav {
  position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--fg); }
.brand-dot { color: var(--brand); }

.hero { padding: 96px 0 64px; }
.eyebrow {
  display: inline-block; background: var(--brand-soft); color: var(--brand);
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.h1 {
  font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.02em;
  margin: 20px 0 16px; font-weight: 800;
}
.lead { color: var(--fg-muted); font-size: 19px; max-width: 720px; margin: 0; }
.cta-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.fine { color: var(--fg-muted); margin-top: 16px; font-size: 14px; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.015em; margin: 0 0 12px; font-weight: 700; }
.h3 { font-size: 18px; margin: 0 0 8px; font-weight: 600; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .pricing { grid-template-columns: 1fr; } }
.price-card { position: relative; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.price-card.popular { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.price-badge { position: absolute; top: -12px; right: 20px; background: var(--brand); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.price-amount { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.price-amount small { font-size: 14px; color: var(--fg-muted); font-weight: 500; }
.price-list { list-style: none; padding: 0; margin: 16px 0 24px; }
.price-list li { padding: 6px 0; color: var(--fg-muted); }
.price-list li::before { content: "✓"; color: var(--success); margin-right: 8px; font-weight: 700; }

.input, .select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; background: #fff;
}
.label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }

.footer { padding: 48px 0; color: var(--fg-muted); border-top: 1px solid var(--border); font-size: 14px; }

.alert { padding: 12px 14px; border-radius: 10px; margin: 12px 0; font-size: 14px; }
.alert-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.centered { text-align: center; }
.muted { color: var(--fg-muted); }
