* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --surface: #f5f7fa;
  --border: #dde1e8;
  --text: #222222;
  --muted: #555555;
  --accent: #1a56db;
  --accent-hover: #1443b0;
  --heading: #111827;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 18px;
}

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

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  border-bottom: 2px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav .logo {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
  text-decoration: none;
}
nav .links { display: flex; gap: 2rem; }
nav .links a { color: var(--muted); font-size: 1rem; text-decoration: none; }
nav .links a:hover { color: var(--accent); text-decoration: underline; }

/* HERO */
.hero {
  text-align: center;
  padding: 5rem 2rem 3.5rem;
  max-width: 850px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--heading);
  line-height: 1.3;
}
.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.9;
}

/* SECTIONS */
section {
  padding: 3.5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
section:last-of-type { border-bottom: none; }
section h2 {
  font-size: 2rem;
  margin-bottom: 1.75rem;
  text-align: center;
  color: var(--heading);
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}
.card h3 {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--heading);
}
.card p { font-size: 1rem; color: var(--muted); line-height: 1.8; }

/* CTA */
.cta {
  text-align: center;
  padding: 3.5rem 2rem;
}
.cta p { margin-bottom: 2rem; }
.cta a.btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s;
}
.cta a.btn:hover { background: var(--accent-hover); }

/* FOOTER */
footer {
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 2px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.95rem;
}
footer .footer-links { margin-bottom: 0.75rem; }
footer .footer-links a { margin: 0 1rem; }

/* LEGAL PAGES */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.legal h1 { font-size: 2.2rem; margin-bottom: 0.5rem; color: var(--heading); }
.legal .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 2.5rem; }
.legal h2 { text-align: left; font-size: 1.35rem; margin: 2.5rem 0 0.75rem; color: var(--heading); }
.legal p, .legal li { color: var(--muted); font-size: 1.05rem; margin-bottom: 0.85rem; line-height: 1.8; }
.legal ul { padding-left: 1.5rem; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero h1 { font-size: 2rem; }
  nav { flex-direction: column; gap: 0.75rem; }
  .card-grid { grid-template-columns: 1fr; }
}
