:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1c2733;
  --muted: #5b6b7b;
  --brand: #1f6feb;
  --brand-dark: #1655b8;
  --border: #e3e8ee;
  --radius: 12px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

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

h1, h2, h3 { line-height: 1.2; color: var(--text); }
h1 { font-size: 2.6rem; margin: 0 0 .4em; }
h2 { font-size: 1.8rem; margin: 0 0 .8em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }

.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.nav a { color: var(--muted); margin-left: 28px; font-weight: 500; }
.nav a:hover { color: var(--brand); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(160deg, #eef3fb 0%, #ffffff 70%);
  padding: 96px 0 80px;
  text-align: center;
}
.hero .lead { font-size: 1.4rem; color: var(--text); margin: 0 0 .6em; font-weight: 500; }
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 640px; margin: 0 auto 2em; }

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background .15s ease;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { text-align: center; }

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(28, 39, 51, .08); }
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.contact-list .label { display: inline-block; width: 90px; font-weight: 600; color: var(--muted); }

/* Legal pages */
.legal h2 { text-align: left; font-size: 1.3rem; margin-top: 1.6em; }
.legal p { color: var(--text); }

/* Footer */
.site-footer { background: #0e1620; color: #c4d0dc; padding: 48px 0 32px; margin-top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; }
.site-footer strong { color: #fff; }
.site-footer .muted { color: #8da0b3; }
.footer-nav a { color: #c4d0dc; margin-left: 20px; }
.footer-nav a:first-child { margin-left: 0; }
.copyright { width: 100%; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #1d2a38; font-size: .9rem; }

@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  .hero { padding: 64px 0 56px; }
  .nav a { margin-left: 16px; font-size: .95rem; }
  .footer-inner { flex-direction: column; }
  .footer-nav a { margin: 0 16px 0 0; }
}
