:root {
  --text: #111;
  --muted: #444;
  --bg: #fff;
  --border: #e8e8e8;
  --card: #fafafa;
  --radius: 14px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  max-width: 980px;
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

.nav-toggle {
  margin-left: auto;
  border: 1px solid var(--border);
  background: white;
  padding: 8px 10px;
  border-radius: 10px;
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 14px;
  margin: 0 0 0 auto;
  padding: 0;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover { background: #f3f3f3; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle {
  border: 0;
  background: transparent;
  font: inherit;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.dropdown-toggle:hover { background: #f3f3f3; }

.dropdown-menu {
  position: absolute;
  top: 42px;
  left: 0;
  min-width: 180px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  margin: 0;
  display: none;
}

.dropdown-menu a { display: block; }

.dropdown.open .dropdown-menu { display: block; }

/* Page sections */
.hero { padding: 28px 0 6px; }
.hero h1 { font-size: 2.2rem; margin: 0 0 10px; }
.lead { color: var(--muted); font-size: 1.05rem; margin: 0 0 18px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.button {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
}
.button-secondary {
  background: transparent;
  color: #111;
  border: 1px solid #111;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
}

.card h2 { margin-top: 0; }
.card a { text-decoration: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 30px; }

/* Mobile */
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding: 10px 0 0;
  }
  .nav-links.open { display: flex; }
  .dropdown-menu { position: static; border: 0; padding: 0; }
  .cards { grid-template-columns: 1fr; }
}
