:root {
  --bg: #ffffff;
  --fg: #0b0b0b;
  --card: #f3f3f3;
  --accent: #1f6feb;
  --muted: #666;
  --border: #ddd;
}
html[data-theme="dark"] {
  --bg: #0b0b0b;
  --fg: #f0f0f0;
  --card: #161616;
  --accent: #58a6ff;
  --muted: #aaa;
  --border: #2a2a2a;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: system-ui, Segoe UI, Roboto, sans-serif;
  background: var(--bg); color: var(--fg);
  font-size: 18px;
}
h1 { font-size: 2.75rem; margin: 0.5rem 0 1.5rem 0; }
h2 { font-size: 2rem; margin: 0.5rem 0; }
h3 { font-size: 1.5rem; margin: 0.5rem 0; }
p { font-size: 1.125rem; line-height: 1.6; }
li { font-size: 1.125rem; line-height: 1.6; }
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 10;
}
.brand .logo { font-size: 1.4rem; margin-right: 8px; }
.nav {
  display: flex;
  align-items: center;
}
.nav button {
  margin-left: 8px; background: none; border: none; color: var(--fg);
  padding: 6px 10px; border-radius: 6px; cursor: pointer;
}
.mobile-menu-btn {
  display: none;
}
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  z-index: 20;
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border: none;
  background: none;
  color: var(--fg);
  cursor: pointer;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu button:last-child {
  border-bottom: none;
}
.mobile-menu button:hover {
  background: var(--accent);
  color: var(--bg);
}
main { max-width: 1000px; margin: 24px auto; padding: 0 16px; }
.card {
  border: 1px solid var(--border); border-radius: 12px; padding: 32px; margin-bottom: 24px; background: var(--card);
}
.card h2 { margin-top: 0; }
.form-status { margin-top: 8px; color: var(--muted); }
.card ul {
  margin: 1.5rem 0;
}

.card li {
  margin: 1rem 0;
}
#contactForm label,
#newsletterForm label {
  display: block;
  margin-bottom: 2rem;
}
#contactForm label span,
#newsletterForm label span {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
#contactForm input,
#contactForm textarea,
#newsletterForm input {
  display: block;
  width: 70%;
  height: 3rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg);
  font-family: inherit;
  font-size: 1rem;
}
#contactForm textarea {
  height: auto;
  min-height: 7rem;
  resize: vertical;
}
#contactForm button[type="submit"],
#newsletterForm button[type="submit"] {
  display: block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  height: 3rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-banner {
  position: fixed;
  bottom: 12px;
  right: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  max-width: 350px;
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}
.cookie-banner button {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
}
.cookie-banner button:last-child {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.footer {
  border-top: 1px solid var(--border); margin-top: 32px; padding: 20px 16px; text-align: center; color: var(--muted);
}
@media (max-width: 720px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
  p { font-size: 1rem; }
  li { font-size: 1rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--fg);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 8px;
  }
  .mobile-menu.active {
    display: flex;
  }
  .nav button[data-target] { display: none; }
  #contactForm input,
  #contactForm textarea,
  #newsletterForm input {
    width: 100%;
    font-size: 1rem;
  }
  #contactForm button[type="submit"],
  #newsletterForm button[type="submit"] {
    width: 100%;
    font-size: 1rem;
  }
  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--border);
    flex-direction: row;
    gap: 8px;
    padding: 12px;
    z-index: 9999;
  }
  .cookie-banner p {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
  }
  .cookie-banner button {
    flex: 0 0 auto;
    min-width: 80px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}
