:root {
  --brand: #2E3869;
  --brand-light: #3d4a85;
  --surface: #F4F5F9;
  --text: #1e2233;
  --muted: #5b6178;
  --border: #e2e4ee;
  --radius: 14px;
  --max: 960px;
}

* { 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(--text);
  background: #fff;
  line-height: 1.6;
}

a { color: var(--brand); }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand);
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--brand); }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  gap: 8px;
  padding-left: 14px;
  margin-left: 6px;
  border-left: 1px solid var(--border);
}
.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.lang-switch a:hover { color: var(--brand); }
.lang-switch a.active { color: var(--brand); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--surface), #fff);
  padding: 56px 22px 40px;
  text-align: center;
}
.hero-inner { max-width: var(--max); margin: 0 auto; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--brand);
  margin: 0 0 10px;
}
.hero p.tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 560px;
}
.hero-shot {
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(46, 56, 105, 0.18);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 13px 26px;
  text-decoration: none;
  font-weight: 700;
}

/* Feature strip */
.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature h3 { margin: 0 0 6px; color: var(--brand); font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 22px 64px;
}
.legal h1 { color: var(--brand); font-size: 1.8rem; }
.legal h2 { color: var(--brand); font-size: 1.2rem; margin-top: 2em; }
.legal .updated { color: var(--muted); font-weight: 600; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }

/* Reveal-on-scroll animation (progressive enhancement: reveal.js adds .reveal) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-links a:hover { color: var(--brand); }
.footer-copy { color: var(--muted); font-size: 0.9rem; }
