:root {
  --brand: #1D63B7;
  --brand-dark: #0F1B2D;
  --ink: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --bg: #F8FAFC;
  --max: 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: #fff;
  line-height: 1.65;
}

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

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--brand);
}
.brand .logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2BB7C4, var(--brand));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800;
}
.nav a { color: var(--muted); font-weight: 600; margin-left: 22px; font-size: 15px; }
.nav a:hover { color: var(--brand); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg), #fff);
  padding: 72px 0 56px;
  text-align: center;
}
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.5px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
}
.btn:hover { background: #18539a; text-decoration: none; }

/* Features */
.features { padding: 56px 0; }
.features h2 { text-align: center; font-size: 28px; margin: 0 0 36px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
}
.card .ico { font-size: 26px; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: 32px; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 8px; }
.legal p, .legal li { color: #1f2937; font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal .callout {
  border: 1px solid #BFDBFE;
  background: #EFF6FF;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: var(--muted); margin-left: 18px; }

@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  .site-footer .container { flex-direction: column; text-align: center; }
  .site-footer a { margin: 0 9px; }
}
