:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #15171a;
  --muted: #5b616b;
  --line: #e3e4e8;
  --accent: #4f46e5;
  --accent-soft: #eef0ff;
  --check: #16a34a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 17px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }

/* Hero */
.hero { padding: 72px 0 56px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; margin: 12px 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 56px 0; }
section h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.01em; }
section p.sub { color: var(--muted); margin: 0 0 28px; max-width: 680px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.stat b { display: block; font-size: 28px; letter-spacing: -0.01em; }
.stat span { color: var(--muted); font-size: 14px; }
.note { color: var(--muted); font-size: 13px; margin-top: 12px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 6px; background: #dcfce7; color: var(--check); font-weight: 700; display: grid; place-items: center; font-size: 13px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

table.rates { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
table.rates th, table.rates td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
table.rates th { background: var(--accent-soft); font-weight: 600; }
table.rates tr:last-child td { border-bottom: 0; }

.cta { background: var(--ink); color: #fff; border-radius: 18px; padding: 40px; }
.cta h2 { color: #fff; }
.cta p { color: #c7cad1; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: #3a3f48; }

/* Legal pages */
.legal { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 40px; margin: 40px auto; max-width: 820px; }
.legal h1 { margin-top: 0; font-size: 30px; }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal .updated { color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }
.site-footer .spacer { margin-right: auto; }

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .nav { display: none; }
  .legal, .cta { padding: 24px; }
}
