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

:root {
  --bg: hsl(210, 20%, 98%);
  --fg: hsl(220, 25%, 10%);
  --card: hsl(0, 0%, 100%);
  --primary: hsl(220, 70%, 45%);
  --primary-fg: hsl(0, 0%, 100%);
  --secondary: hsl(35, 90%, 55%);
  --secondary-fg: hsl(0, 0%, 100%);
  --muted: hsl(210, 15%, 93%);
  --muted-fg: hsl(220, 10%, 45%);
  --accent: hsl(220, 60%, 95%);
  --accent-fg: hsl(220, 70%, 35%);
  --border: hsl(214, 25%, 88%);
  --radius: 0.75rem;
}

body { font-family: system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--fg); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 1rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--border); background: hsla(0,0%,100%,0.9); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 700; color: var(--fg); text-decoration: none; }
.logo svg { color: var(--primary); }
.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--muted-fg); font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--fg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; border: none; cursor: pointer; text-decoration: none; transition: opacity 0.2s; }
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-secondary { background: var(--secondary); color: var(--secondary-fg); }
.btn-outline { background: transparent; border: 1px solid hsla(0,0%,100%,0.3); color: var(--primary-fg); }
.btn-outline-dark { background: transparent; border: 1px solid var(--border); color: var(--fg); }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }

/* Hero */
.hero { background: var(--primary); padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, hsla(220,70%,55%,0.4), transparent 60%); }
.hero-content { position: relative; }
.hero h1 { font-size: clamp(1.875rem, 5vw, 3.75rem); font-weight: 800; color: var(--primary-fg); letter-spacing: -0.025em; }
.hero p { margin-top: 1rem; font-size: 1.125rem; color: hsla(0,0%,100%,0.85); max-width: 42rem; margin-left: auto; margin-right: auto; }
.hero-buttons { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-muted { background: hsl(210, 15%, 96%); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 1.5rem; font-weight: 700; }
.section-title p { color: var(--muted-fg); margin-top: 0.5rem; }

/* Grid */
.grid-2 { display: grid; gap: 2rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; } }

/* Cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.card-sm { padding: 1rem; }
.card-center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.icon-circle { width: 3rem; height: 3rem; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--accent-fg); }
.icon-lg { color: var(--primary); margin-bottom: 0.75rem; }

.label { font-size: 0.75rem; font-weight: 500; color: var(--muted-fg); text-transform: uppercase; letter-spacing: 0.05em; }
.value { font-size: 0.875rem; font-weight: 600; margin-top: 0.25rem; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--card); padding: 2rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.footer-links a { font-size: 0.875rem; color: var(--muted-fg); }
.footer-links a:hover { color: var(--fg); }
.footer-copy { margin-top: 1rem; text-align: center; font-size: 0.75rem; color: var(--muted-fg); }
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
  .nav { display: flex; }
}

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: var(--card); border-top: 1px solid var(--border); padding: 1rem 1.5rem; box-shadow: 0 -4px 12px rgba(0,0,0,0.1); display: none; }
.cookie-banner.active { display: block; }
.cookie-inner { max-width: 1024px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cookie-inner p { font-size: 0.875rem; color: var(--muted-fg); text-align: center; }
.cookie-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }
@media (min-width: 768px) { .cookie-inner { flex-direction: row; justify-content: space-between; } .cookie-inner p { text-align: left; } }

/* Policy pages */
.policy { max-width: 768px; margin: 0 auto; padding: 3rem 1rem; }
.policy h1 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1.5rem; }
.policy h2 { font-size: 1.125rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.policy p { color: var(--muted-fg); margin-bottom: 1rem; }
.policy strong { color: var(--fg); }
.back-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; margin-bottom: 2rem; }

/* SVG icons inline */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }

@media (max-width: 767px) {
  .nav-desktop { display: none; }
}
