/* Base */
:root {
  --bg: #ffffff;
  --text: #111827; /* slate-900 */
  --muted: #6b7280; /* gray-500 */
  --primary: #2563eb; /* blue-600 */
  --primary-700: #1d4ed8;
  --secondary: #0f766e; /* teal-700 */
  --border: #e5e7eb; /* gray-200 */
  --relief: #f8fafc; /* slate-50 */
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { font-weight: 700; }
.nav { display: flex; gap: 14px; flex-wrap: wrap; }
.nav-link { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-link:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 64px 0 24px;
}
.hero-inner h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.lead { color: var(--muted); max-width: 800px; }
.hero-cta { display: flex; gap: 12px; margin-top: 20px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat-card { background: var(--relief); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.stat { font-size: 28px; font-weight: 700; color: var(--primary); }
.label { color: var(--muted); }

/* Sections */
.section { padding: 48px 0; }
.alt { background: #fcfdff; }
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.relief { box-shadow: var(--shadow); background: var(--relief); }
.bullets { padding-left: 18px; }
.bullets li { margin-bottom: 6px; }
.check-list { padding-left: 18px; }
.check-list li { margin-bottom: 6px; }

.feature { text-align: center; border: 1px solid var(--border); border-radius: 16px; padding: 20px; background: var(--bg); box-shadow: var(--shadow); }
.feature .icon { font-size: 28px; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial blockquote { font-size: 16px; }
.testimonial figcaption { color: var(--muted); margin-top: 8px; }

.contact { list-style: none; padding: 0; }
.contact li { margin-bottom: 6px; }
.notice { border: 1px solid var(--border); border-radius: 16px; padding: 20px; background: var(--bg); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 24px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; padding: 20px 0; align-items: center; }
.footer-links { display: flex; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-700); border-color: var(--primary-700); }
.btn-secondary { background: #fff; color: var(--text); }
.btn-secondary:hover { background: var(--relief); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(680px, calc(100% - 32px)); background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); z-index: 50; }
.cookie-content { display: flex; gap: 12px; align-items: center; padding: 12px; }
.cookie-content p { margin: 0; color: var(--muted); }

/* Legal pages */
.legal .section h1 { font-size: 28px; margin-bottom: 12px; }
.legal .section h2 { font-size: 20px; margin-top: 20px; }
.legal .section ul { padding-left: 18px; }

/* Responsive */
@media (max-width: 980px) {
  .cards, .grid-3, .hero-stats, .testimonials { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 620px) {
  .cards, .grid-3, .hero-stats, .testimonials { grid-template-columns: 1fr; }
}